/* Importeieren google font */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: black;
}
/* Styline the Heading of Image Gallery */
.heading{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    background: #121FCF;
    background: linear-gradient(to right, #0e85e0 0%, #26ff1a 100%);
    -webkit-background-clip: text;
    /*-webkit-text-fill-color: transparent;*/
    color: white;
    padding: 20px;
}
/* style vun der Gallerie Sectioun */
.gallery {
    width: 90%;
    margin:0 auto;
    display:grid;
    /*grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));*/
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 20px;
    justify-content:center;
    align-items: center;
    color: white;
}

/* Style pro Bild */
.gallery-img {
    /*width: 250px;
    height: 250px;*/
    width: 200px;
    height: 200px;
    cursor: pointer;
    transition: transform 0.2s;
    object-fit: cover;
}
/* Hover = Bild mei greuss */
.gallery-img:hover {
    transform: scale(1.1);
    cursor: zoom-in;
}
/* Bild klick */
.image-popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

/* kreiz knäppchen */
.close-button {
    position: absolute;
    top: 20px;
    right: 50px;
    font-size:60px;
    color: #fff;
    cursor: pointer;
}
.close-button:hover{
    color: red;
}

/* wann een op bild klickt dass et greuss gett */
#popupImage {
    display: block;
    max-width: 80%;
    max-height: 80%;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* biller mei responsive fier mobil geräter */
@media (max-width:670px) {
    .gallery{
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-gap: 10px;
    }
    .gallery-img{
        width:150px;
        height: 150px;
    }

    .heading{
        font-size: 20px;
    }
}
@media screen and (min-width: 2560px) {
    .gallery {
        zoom: 1.3; /* Für Chrome, Safari, Edge */
    }
}
@media screen and (min-width: 3840px) {
    .gallery {
        zoom: 2 !important; /* Setzt den Zoom auf 230% */
    }
}