.container-img {
    display: flex;
    flex-direction: row;
    background: #EFEEEE;
    align-content: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

@media all and (max-width: 800px) {
    .container-img {
        flex-direction: column;
        padding-top: 20px;
    }

    #img-box {

    }
}

.box {
    position: relative;
}

.container-img:has(input:checked) .images > #bottom2 {
    opacity: 0;
}

.container-img:has(input:checked) .images > #bottom {
    opacity: 0;
}

.top {
    position: absolute;
    width: 333px;
    height: 222px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bottom {
    position: relative;
    width: 333px;
    height: 222px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}

.switch {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: inline-block;
    width: 58px;
    height: 21px;
    margin: 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #5456A2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #5456A2;
}


input:focus + .slider {
    box-shadow: 0 0 1px #5456A2;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(37px);

}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.on {
    display: none;
}

.on {
    color: white;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 30%;
    font-size: 10px;
    font-family: "Helvetica Neue", sans-serif;
    font-weight: 11;
}

.off {
    color: white;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    right: 1px;
    font-size: 10px;
    font-family: "Helvetica Neue", sans-serif;
    font-weight: 11;
}

input:checked + .slider .on {
    display: block;
}

input:checked + .slider .off {
    display: none;
}
