#main_photo{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    width: 100%;
}

#left_photo, #right_photo{
    width: 100%;
    max-width: 25rem;
    height: 35rem;
    border-radius: 25%;
    border: 3px solid;
    overflow: hidden;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.img_photo_adult, .img_photo_child{
    width: 100%;
    max-width: 25rem;
    height: 100%;
    max-height: 35rem;
    background-image: url("/img/adlt_hoodie/unique6.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 25%;
    transition: transform 0.5s;
}

.img_photo_child{
    background-image: url("/img/ch_hoodie/unique.jpg");
}

.img_photo_adult::before, .img_photo_child::before {
    content: "";
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 25%;
}

#left_photo:hover .img_photo_adult:before,
#left_photo:focus .img_photo_adult:before {
    display: block;
}

#left_photo:hover .img_photo_adult,
#left_photo:focus .img_photo_adult {
    transform: scale(1.3);
    transform: rotateY(360deg);
    background-image: url("/img/adlt_hoodie/unique7.jpg");
    transition: 1.5s;
}

#right_photo:hover .img_photo_child,
#right_photo:focus .img_photo_child {
    transform: scale(1.3);
    transform: rotateY(360deg);
    background-image: url("/img/ch_hoodie/unique2.jpg");
    transition: 1.5s;
}

.span_img {
    position: absolute;
    left: 18%;
    top: 45%;
    color: rgba(241, 241, 241, 0.75);
    font-family: sans-serif;
    visibility: hidden;
    font-size: 200%;
    height: 100%;
    max-height: 100px;
    width: 100%;
    max-width: 400px;
    text-shadow: 2px 2px 3px #1d1d1f, 2px 2px 5px #dba42d;
}

#left_photo:hover .span_img, #right_photo:hover .span_img,
#left_photo:focus .span_img, #right_photo:focus .span_img {
    display: block;
    visibility: visible;
    cursor: pointer;
}

@media screen and (max-width: 767px){
    .span_img {
        visibility: visible;
    }
}