
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* padding: 20px; */
}

.galleryImageContainer {
    margin: 18px;

    position: relative;
    overflow: hidden;
    max-width: 300px;

    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

    /* border: 1px solid green; */
    /* margin: 18px;
    cursor: pointer; */
    
    /* border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

.galleryImageContainer img {
    cursor: pointer;
    /* border: 1px solid rgba(0, 0, 0, 0.2); */
    border-radius: 10px;
    
    -webkit-transform: scale(1);
    transform: scale(1);

    transition: all 0.3s ease-in-out;

    -webkit-backface-visibility: hidden;
}

.galleryImageContainer a:hover img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}


/* Lightbox styles */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-direction: column;

    z-index: 1000;
    /* border: 2px solid green; */
}

#lightbox img {
    max-width: 90%;
    max-height: 70vh;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
}


.pswpIcon {
    fill: #ffffff;
    color: #4f4f4f;
}



#close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    /* font-size: 24px; */
    
    z-index: 2;

    width: 35px;
    height: 35px;
    border: 1px solid #fff;
    border-radius: 50%;

    color: #fff;
    cursor: pointer;
}

#close-btn:hover {
    /* background-color: #ccaacc; */
    opacity: 0.7;
}

/* Style for navigation buttons */
#prev-btn,
#next-btn {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);
    font-size: 20px;
    color: #fff;

    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    /* padding: 10px; */
    cursor: pointer;
    transition: background-color 0.3s;
}

#prev-btn {
    left: 10px;
}

#next-btn {
    right: 10px;

    left: auto;
    /* right: 14px; */
    transform: scale(-1, 1);
}

#prev-btn:hover,
#next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Styles for thumbnails */
.thumbnail-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail {
    max-width: 60px;
    width: 55px;
    cursor: pointer;

    margin-top: 15px;
    margin-left: 5px;
    margin-right: 5px;
    border: 2px solid #fff;
    transition: opacity 0.3s;

    opacity: 0.5;
}

.thumbnail:hover,
.thumbnail.active-thumbnail {
    opacity: 1;
}