#galerie {
    height: calc(100vh - var(--header-height));
    scroll-margin-top: var(--header-height);
    text-align: center;
    background-color: #eceeeb
}

.galerie {
    display: flex;
    justify-content: center;
    gap: 2em;
}

.galerie-item {
    width: 280px;
    text-align: center;
}

.image-s {
    display: none;
}

.galerie-item a {
    color: black;
    text-decoration: none;
}

.galerie-item img {
    width: 100%;
    height: 420px;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
    cursor: pointer;
    object-fit: cover;
    object-position: center;
}

.galerie-item img:hover {
    transform: translateY(-5px);
}

.galerie-item p {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
}

.stanou {
    filter: grayscale(30%) brightness(85%);
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .galerie {
        flex-direction: column;
        padding: 0 20px;
    }

    .galerie-item {
        width: 100%;
    }

    .image-s {
        display: block;
    }

    .image-l {
        display: none;
    }

    .galerie-item img {
        width: 100%;
        height: 30vh;
        aspect-ratio: 3/4;
    }

    .galerie-item p {
        margin: 0;
    }
}