.lightbox_container {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--dark-rgb);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 50px;
    padding-right: 50px;
}

.lightbox_container .close-gallery {
    position: absolute;
    top: 24px;
    left: 50%;
    color: var(--light-text);
}


.lightbox_container  .close-gallery:hover {
    cursor: pointer;
    text-decoration: underline;
}

.lightbox_gallery {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1400px;
}

.image_nav_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 80vh;
    position: relative;
}

.image_nav_container .arrow {
    width: 50px;
    padding: 10px;
    border-radius: 50px;
    background-color: var(--accent);
}


.image_nav_container .arrow:hover {
    cursor: pointer;
    transition: 0.2s;
    opacity: 0.7;
}

img.lightbox_image, video.lightbox_image {
    height: 80% !important;
    max-width: 90% !important;
    object-fit: contain;
    margin-left: 15px;
    margin-right: 15px;
}

video.lightbox_image {
    background-color: #000;
}

video.lightbox_image::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox_film_strip {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
}

.lightbox_film_strip img {
    max-width: 100px !important;
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
    object-fit: cover;
    box-sizing: border-box;
    transition: 0.2s;
}

.lightbox_film_strip img:hover {
    border: 2px solid var(--accent);
    cursor: pointer;
}

.lightbox_film_strip .viewing {
    border: 3px solid var(--accent);
}

@media (max-width: 768px)
{
    .lightbox_container {
       
        padding-left: 15px;
        padding-right: 15px;
    }

    .image_nav_container .arrow {
        position: absolute;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        width: 35px;
    }

    .image_nav_container .arrow[data-direction="right"] {
    left: 70%;
    }

    .image_nav_container .arrow[data-direction="left"] {
        left: 30%;
        }

        img.lightbox_image, video.lightbox_image {
            height: 80%;
            width: 100%;
            max-width: unset !important;
            object-fit: contain;
            margin-left: 0px;
            margin-right: 0px;
        }

        .lightbox_film_strip {
           margin-top: 35px;
        }

        .lightbox_film_strip img {
            max-width: 20px;
            margin-left: 2px;
            margin-right: 2px;
            height: 65px !important;
            object-fit: cover;
        }

        .lightbox_container .close-gallery {
    position: absolute;
    top: 15px;
    left: 43%;
    color: var(--light-text);
}
}
