.lightbox {
    display: grid;
    gap: 20px;
}

.c-2 {
    grid-template-columns: repeat(2, 1fr);
}

.c-3 {
    grid-template-columns: repeat(3, 1fr);
}

.c-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (width <=900px) {
    .c-2, .c-3, .c-4 {
        grid-template-columns: unset;
    }
}

.lightbox__photo[data-zoomable=true] {
    cursor: zoom-in;
}

#lightbox__zoom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
}

#lightbox__zoom__container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox__zoom img {
    padding: 100px;
    max-height: calc(100vh - 100px);
    cursor: zoom-out;
}

@media (width <=900px) {
    #lightbox__zoom img {
        padding: 20px;
    }
}

#lightbox__zoom button {
    background-image: url("/static/images/close.svg");
    background-repeat: no-repeat;
    background-color: white;
    width: 26px;
    height: 26px;
    position: absolute;
    top: 30px;
    right: 30px;
    border: none;
}
