.masonry-gallery .gallery-item {
    width: calc(33% - 13.33px);
    margin-bottom: 20px;
}






#gallery-lightbox {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#gallery-lightbox .lightbox-bg {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
}

#gallery-lightbox .lightbox-img {
    max-width: 90%;
    max-height: 90%;
    z-index: 10000;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}


.gallery-item {

    &:hover .gallery-content {
        opacity: 1;
    }

    & .gallery-content {
        position: absolute;
        inset: 0;
        z-index: 999;
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
        background: #00000059;
        backdrop-filter: blur(4px);
        pointer-events: none;
        opacity: 0;
        transition: 300ms ease-in;
    
        & h3 {
            font-family: 'Kalice-Trial', sans-serif !important;
            font-size: 24px;
            font-weight: 500;
            line-height: 1;
            letter-spacing: -0.02em;
            color: #F5F5F5;
            text-align: center;
            margin: 0;
        }
    
        & p {
            font-size: 16px;
            font-weight: 350;
            line-height: 1em;
            letter-spacing: -0.03em;
            color: #F5F5F5;
            text-align: center;
            margin-bottom: 4px;
        }
    }

}

@media screen and (width <= 768px) {
    .masonry-gallery .gallery-item {
        width: calc(50% - 5px);
        margin-bottom: 10px;
    }
}