.gallery{
    columns: 4;
    column-gap: 10px;
    margin-left: 10px;
    margin-right: 10px;

}

.card{
    break-inside: avoid;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card img{
    width: 100%;
    display: block;
    transition: 0.3s;
}

.card:hover img{
    transform: scale(1.05);
}

#imageViewer{
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;

    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
}

#zoomedImage{
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/* =========================
   VERSION TELEPHONE
   ========================= */

@media screen and (max-width: 768px) {

    .gallery{
    columns: 2;
    column-gap: 10px;
    margin-left: 10px;
    margin-right: 10px;
    }

}
