
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    height: 100vh;
}

.header, .footer {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #fff;
    color: black;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.header {
    height: 40px;
    top: 0;
}

.footer {
    height: 40px;
    bottom: 0;
    color:black;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-menu, .footer-menu {
    display: flex;
    gap: 15px;
}

.nav-menu a, .footer-menu a {
    color: rgb(22, 22, 22);
    text-decoration: none;
}

.nav-menu a:hover, .footer-menu a:hover {
    text-decoration: underline;
}

.footer-menu li {
    display: inline-block;
    margin: 0 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0px;  /* Grösse Grid Zwischenraum */
    margin-top: 0px; /* Platz für Header */
    margin-bottom: 40px; /* Platz für Footer */
    padding: 0px;  /* Abstand zwischen Bildern */
    /*overflow-y: auto; /* Vertikales Scrollen */
    max-height: calc(100vh - 80px); /* Maximalhöhe abzüglich Header und Footer */
}

.gallery-item {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.copyright {
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .gallery-container {
        grid-template-columns: 1fr;
        margin: 40px 0;
        height: auto; /* Automatische Höhe 
        overflow-y:auto;*/
    }

    .gallery-item {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 1025px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .gallery-item {
        min-width: 300px;
        max-width: 100%;
    }

}

     /* Scrollbar anpassen */
/* Für Webkit-basierte Browser (wie Chrome/Safari) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 6px;
} 
