/* .overlay-endpoint{
    position: absolute !important;
    z-index: 1 !important;
    background-color: red;
}
.overlay-connection{
    position: absolute !important;
    z-index: -1 !important;
} */
#hydrogen-cylinder{
    position: absolute;
    top: 5%;
    left: 0.4%;
    width: 5%;
    height: 30%;
}
#oxygen-cylinder{
    position: absolute;
    top: 6%;
    left: 41.8%;
    width: 5%;
    height: 30%;
}
#pipe1{
    position: absolute;
    top: 30.3%;
    left: -1.8%;
    width: 12%;
    height: 29%;
}
#pipe2{
    position: absolute;
    top: 29.8%;
    left: 37%;
    width: 12%;
    height: 29.9%;
}
#cell-text-a1{
    padding-right: 12px;
    padding-bottom: 5px;

    position: absolute;
    top: 45%;
    left: 18.5%;
    font-size: 1.2rem;
    font-weight: bold;
    /* color: white; */
    z-index: 10000;
}
#cell-text-a2{
    padding-left: 12px;
    padding-bottom: 5px;
    position: absolute;
    top: 45%;
    left: 26%;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 10000;
    /* color: white; */
}
#cell-text{
    position: absolute;
    bottom: 0.5%;
    left: 16%;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}
#outer-border-cell{
    position: absolute;
    bottom: 6%;
    left: 6%;
    box-sizing: border-box;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 7px;
    height: 45%;
    width: 35%;
    display: flex;
}
#left-portion{
    box-sizing: border-box;
    width: 30%;
    border-right: 2px solid black;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    clip-path: path('M 10 0 Q 0 0 0 10 L 0 57.6 Q 0 67.6 10 67.6 L 57.6 67.6 Q 70 65 74.5 74.5 L 74.5 246 Q 73 253 66 252.5 L 10 252.5 Q 0 260 0 270 L 0 310 Q 0 330 10 330 L 190 330 L 200 0 L 10 0 Z');
    height: 100%;
    background-color: rgba(120, 202, 229, 0.906);
    box-shadow: inset 5px 5px 10px rgb(10, 183, 241),inset 5px 5px 15px rgb(10, 183, 241),inset -5px -5px 10px rgb(10, 183, 241),inset -5px -5px 15px rgb(10, 183, 241);
    display: flex;
    align-items: center;
}
#right-portion{
    box-sizing: border-box;
    width: 30%;
    border-left: 2px solid black;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    clip-path: path('M 154 0 Q 154 0 154 10 L 154 60 Q 154 67.5 144 67.5 L 85 68 Q 80 70 80 80 L 80 235 Q 78 255 90 253 L 147 253 Q 156 253 154 270 L 154 310 Q 200 320 190 320 L 0 330 L 0 0 L 190 0 Z');
    height: 100%;
    background-color: rgba(255, 166, 0, 0.906);
    box-shadow: inset 5px 5px 10px rgb(235, 125, 7),inset 5px 5px 15px rgb(235, 125, 7),inset -5px -5px 10px rgb(235, 125, 7),inset -5px -5px 15px rgb(235, 125, 7);
    display: flex;
    align-items: center;
    justify-content: end;
}
#white-left,#white-right{
    box-sizing: border-box;
    border: 2px solid black;
    height: 59%;
    width: 50%;
    border-radius: 10px;
}
#white-left{
    box-shadow: 5px 5px 10px rgb(10, 183, 241),5px 5px 15px rgb(10, 183, 241),-5px -5px 10px rgb(10, 183, 241),-5px -5px 15px rgb(10, 183, 241);
}
#white-right{
    box-shadow: 5px 5px 10px rgb(235, 125, 7),5px 5px 15px rgb(235, 125, 7),-5px -5px 10px rgb(235, 125, 7),-5px -5px 15px rgb(235, 125, 7);
}
#middle-portion{
    box-sizing: border-box;
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    background-color: bisque;
}
#anode,#cathod{
    box-sizing: border-box;
    width: 10%;
    height: 100%;
    border: 2px solid black;
    background-color: green;
    box-shadow: inset 0 0 5px black,inset 0 0 6px black;
    border-radius: 5px;
    writing-mode: vertical-rl; /* Vertical, right to left */
    text-orientation: upright; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}