/* lightbox */
.light-box-div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsla(0, 0%, 0%, 0.75);
}

.hidden {
    display: none;
}

.light-box {
    width: 500px;
    height: 620px;
}

/* close button inside lightbox */
svg.close {
    position: absolute;
    right: 0;
    top: -35px;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

#close-path {
    scale: 1.5;
    fill: #ffffff;
}

svg.close:hover #close-path {
    fill: var(--Orange);
}

/* END OF close button inside lightbox */

/* lightbox images holder */
.lightbox-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

/* big image*/
.lightbox-image-large {
    position: relative;
}

img.lightbox-preview {
    border-radius: 15px;
    width: 100%;
}

/* small images / thumbnails*/
.lightbox-image-small {
    /* margin: 0 auto; */
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

img.lightbox-thumbnail {
    width: 20%;
    border-radius: 10px;
}

img.lightbox-thumbnail:hover {
    opacity: 0.8;
}

img.lightbox-thumbnail.active {
    border: 3px solid var(--Orange);
    opacity: 0.7;
}

/* previous and next buttons inside lightbox */
.previous-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--White);
}

.previous-btn {
    left: -22px;
}

.next-btn {
    right: -22px;
}

svg.previous,
svg.next {
    width: 12px;
    height: 18px;
}

.previous-btn:hover #previous-path,
.next-btn:hover #next-path {
    stroke: var(--Orange);
}

/* END of previous and next button styles */

@media only screen and (max-width:600px) {
    .light-box-div {
        align-items: baseline;
    }

    .light-box {
        margin-top: 5rem;
        width: 300px;
        height: 370px;
    }

}