.single-img{
    max-height: 75vh;
    max-width: 90vw;
    margin: 1rem auto;
    display: block;
}

.double-img-wrapper{
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 90vw;
}

.double-img{
    max-height: 75vh;
    max-width: 40%;
    margin: 1rem;
    object-fit: contain;
}

.video-container{
    width: 75vw;
    height: calc(75vw * 0.5625);
    border: none;
    margin: 1rem auto;
    max-height: 75vh;
    max-width: calc(75vh * 1.777777);
}

.video{
    width: 100%;
    height: 100%;
}

.video-thumbnail{
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.toggle-resolution{
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    background-color: var(--background-color);
    color: var(--secondary-color);
}

#lightbox-shade{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: var(--background-color);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    cursor: pointer;
}

.lightbox-close{
    position: fixed;
    top: 1rem;
    right: 1rem;
    color: var(--background-color);
    font-size: 4rem;
    cursor: pointer;
    z-index: 102;
    display: none;
    width: 4rem;
    height: 4rem;
    border-radius: 4rem;
    background-color: rgba(51, 51, 51, 0.5);
    justify-content: center;
    align-items: center;
}

.lightbox{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 95vh;
    max-width: 95vw;
    display: none;
    z-index: 101;
}

#lightbox-image{
    max-height: 95vh;
    max-width: 95vw;
    object-fit: contain;
}


@media screen and (max-width: 890px){
    .double-img-wrapper{
        display: block;
        max-width:100%;
    }
    .double-img{
        max-width: 90vw;
        display: block;
        margin: 1rem auto;
    }
}
