/* gallery.css */

body {
    background-color: rgba(0, 0, 0, 0.7);
        font-family: "Montserrat", sans-serif;

}

/* Neu */

 .gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(200px, 1fr));
   /* position: fixed; */
    width: 80%;
    grid-gap: 10px;
    margin: 0 auto;
}

.gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    overflow: hidden;
    cursor: pointer;
}

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


/* Responsives Design */

@media (max-width: 1300px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1050px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Lightbox */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}

.lightbox-image {
    max-width: 80%;
    max-height: 80%;
    margin: 10% auto;
    display: block;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fff;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

/* ENDE Lightbox  */

