.battery-container {
    position: absolute;
    height: 200px;
    /* width: 900px; */
    aspect-ratio: 3/2;
    top: 15%;
    left: 5%;
    background-color: lightblue;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.battery-container::after{
  content: "Lithium-ion Battery";
  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: 210px;
  font-weight: bold;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
}

.Li-ion {
    display: flex;
    z-index: 4;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    background: radial-gradient(circle at 30% 30%, #e28372, #8B0000);
    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: 10px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: Arial, sans-serif;
}
#pipe1,#pipe3{
    width: 4%;
    height: 100%;
    background-color: blue;
}
#pipe2{
    width: 4%;
    height: 100%;
    background-color: gray;
}
#pipe4{
    position: absolute;
    width: 100%;
    height: 6%;
    background-color: blue;
    bottom: 0;
}
#negative-electrode{
    position: absolute;
    width: 4%;
    height: 25%;
    border: 1px solid black;
    background: linear-gradient(to right, white, brown);
    top: -9.9%;
    left:24%;
    z-index: 0;
    span{
        padding-left: 15px;
    }
}
#positive-electrode{
    position: absolute;
    width: 4%;
    height: 25%;
    border: 1px solid black;
    background: linear-gradient(to right, white, brown);
    top: -9.9%;
    right: 24%;
    span{
        padding-left: 15px;
    }
}
#blockA,#blockB{
    width: 28%;
    height: 70%;
    background-image: url("../assets/graphite.png");
    background-size: contain;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#blockB{
    background-image: none;
    background-color: lightgreen;
}
.layerA,.layerB{
    width: 100%;
    height: 7%;
    background-color: orangered;
    border: 1px solid black;
}