.super-capacitor-container {
  position: absolute;
  bottom: 7%;
  left: 2%;
  height: 200px;
  /* aspect-ratio: 3/2; */
  width: 350px;
  border: 2px solid black;
  background-color: gray;
  display: flex;
  justify-content: space-between;
}
.super-capacitor-container::after{
  content: "Super Capacitor";
  position: absolute;
  background-image: url("../assets/plank.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid black;
  border-radius: 5px;
  font-size: 1.2rem;
  padding: 2px;
  text-align: center;
  width: 175px;
  font-weight: bold;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
}
.rode {
  position: absolute;
  width: 3%;
  height: 20%;
  bottom: 100%;
  background-color: black;
  z-index: 10;
}

#s1 {
  left: 3%;
  span{
    padding-left: 15px;
  }
}

#s2 {
  right: 3%;
  span{
    padding-left: 15px;
  }
}

#black-1,
#black-2 {
  height: 100%;
  width: 10%;
  background-color: black;
}

#black-2 {
  left: 1%;
}

.separator {
  position: absolute;
  height: 100%;
  width: 5%;
  background-color: white;
  z-index: 1;
  left: 47.5%;
  border-left: 2px solid skyblue;
  border-right: 2px solid skyblue;
}

.container {
  position: absolute;
  width: 30%;
  height: 100%;
  background-color: lightblue;
}

#plusContainer {
  left: 20%;
  border-left: 2px solid black;
}

#minusContainer {
  right: 20%;
  border-right: 2px solid black;
}

.ion {
  display: flex;
  z-index: 2;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 30% 30%, #1E90FF, #034269);
  border-radius: 50%;
  box-shadow: -3px 3px 8px rgba(0, 0, 0, 0.3), inset -3px -3px 8px rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: Arial, sans-serif;
}

.negative-ion {
  background: radial-gradient(circle at 30% 30%, #FF6347, #8B0000);
}

/* For the plusContainer ions */
#plusContainer .ion:nth-child(1) {
  top: 0%;
}

#plusContainer .ion:nth-child(2) {
  top: 10%;
}

#plusContainer .ion:nth-child(3) {
  top: 20%;
}

#plusContainer .ion:nth-child(4) {
  top: 30%;
}

#plusContainer .ion:nth-child(5) {
  top: 40%;
}

#plusContainer .ion:nth-child(6) {
  top: 50%;
}

#plusContainer .ion:nth-child(7) {
  top: 60%;
}

#plusContainer .ion:nth-child(8) {
  top: 70%;
}

#plusContainer .ion:nth-child(9) {
  top: 80%;
}

#plusContainer .ion:nth-child(10) {
  top: 90%;
}

/* For the mirror ions in minusContainer */
#minusContainer .ion:nth-child(1) {
  top: 0%;
}

#minusContainer .ion:nth-child(2) {
  top: 10%;
}

#minusContainer .ion:nth-child(3) {
  top: 20%;
}

#minusContainer .ion:nth-child(4) {
  top: 30%;
}

#minusContainer .ion:nth-child(5) {
  top: 40%;
}

#minusContainer .ion:nth-child(6) {
  top: 50%;
}

#minusContainer .ion:nth-child(7) {
  top: 60%;
}

#minusContainer .ion:nth-child(8) {
  top: 70%;
}

#minusContainer .ion:nth-child(9) {
  top: 80%;
}

#minusContainer .ion:nth-child(10) {
  top: 90%;
}

.electron {
  display: flex;
  z-index: 2;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 30% 30%, #FFD700, #FFA500);
  border-radius: 50%;
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.3), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-family: Arial, sans-serif;
}

/* Electrons in plusContainer */
#plusContainer .electron:nth-child(11) {
  top: 0%;
}

/* 9th child overall, but 1st electron in plus */
#plusContainer .electron:nth-child(12) {
  top: 10%;
}

#plusContainer .electron:nth-child(13) {
  top: 20%;
}

#plusContainer .electron:nth-child(14) {
  top: 30%;
}

#plusContainer .electron:nth-child(15) {
  top: 40%;
}

#plusContainer .electron:nth-child(16) {
  top: 50%;
}

#plusContainer .electron:nth-child(17) {
  top: 60%;
}

#plusContainer .electron:nth-child(18) {
  top: 70%;
}

#plusContainer .electron:nth-child(19) {
  top: 80%;
}

#plusContainer .electron:nth-child(20) {
  top: 90%;
}

/* Electrons in minusContainer */
#minusContainer .electron:nth-child(11) {
  top: 0%;
}

#minusContainer .electron:nth-child(12) {
  top: 10%;
}

#minusContainer .electron:nth-child(13) {
  top: 20%;
}

#minusContainer .electron:nth-child(14) {
  top: 30%;
}

#minusContainer .electron:nth-child(15) {
  top: 40%;
}

#minusContainer .electron:nth-child(16) {
  top: 50%;
}

#minusContainer .electron:nth-child(17) {
  top: 60%;
}

#minusContainer .electron:nth-child(18) {
  top: 70%;
}

#minusContainer .electron:nth-child(19) {
  top: 80%;
}

#minusContainer .electron:nth-child(20) {
  top: 90%;
}