@font-face {
    font-family: 'NightMachine';
    src: url('fonts/NightMachine.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ViridianCollege';
    src: url('fonts/ViridianCollege.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Impact';
    src: url('fonts/impact.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Impact', sans-serif;
    background-color: #084b91;
    color: #fdec00;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.section {
    padding: 40px 20px;
    background-color: #084b91;
    margin: 20px 0;
    border-radius: 5px;
    scroll-margin-top: 150px; /* Höhe deines fixierten Menüs + etwas Puffer */
    max-width: 1080px;
}

header {
    width: 100%;
    padding: 50px;
    text-align: center;
}

.logo-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    /* padding-top: 160px; */
}

h2 {
    font-size: 2em;
    font-family: 'NightMachine', sans-serif;
    color: #fdec00;
}

h4 {
    font-family: 'NightMachine', sans-serif;
    color: #fdec00;
}

p {

    color: #ffffff;
}



.menu a {
    margin: 0 15px;
    color: #fdec00;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;

    box-shadow: 10px 11px 15px 4px rgba(0,0,0,1);

}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #084b91;
    font-family: 'ViridianCollege', sans-serif;
    text-align: center;
    font-size: 1.5em;
    padding: 50px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}


.menu a:hover {
    background-color: white;
    color: #084b91;
    text-shadow: 0 0 5px #fdec00;
}

.menu a:active,
.menu a:focus {
    background-color: yellow;
    color: #084b91;
}

.menu a[href="#start"]:visited,
.menu a[href="#newdrops"]:visited,
.menu a[href="#impressionen"]:visited,
.menu a[href="#behindbtf"]:visited {
    background-color: yellow;
    color: #084b91;
}

/* Hamburger Icon - versteckt auf Desktop */
.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 2.5em;
    color: #fdec00;
    cursor: pointer;
    z-index: 1100;
}

/* Responsive für kleine Bildschirme */
@media (max-width: 1023px) {
    .menu {
        font-family: 'ViridianCollege', sans-serif;
        flex-direction: column;
        padding: 15px 0;
        font-size: 1.2em;
        background-color: #084b91;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    /* Menü sichtbar, wenn "active" Klasse gesetzt */
    .menu.active {
        transform: translateX(0);
    }

    .menu a {
        display: block;
        margin: 20px auto;
        max-width: 200px;
        padding: 12px 25px;
    }

    /* Hamburger Icon sichtbar */
    .menu-toggle {
        display: block;
    }

    .section {
        scroll-margin-top: 0px;
        margin: 10px 0;
    }

    .logo-img {
        padding-top: 0px;
    }
}


.gallery {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding-top: 30px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    z-index: 1;
    position: relative;
    cursor: pointer;
}

/* Hover-Vergrößerung nur bei Geräten mit Maus */
@media (hover: hover) and (pointer: fine) {
    .gallery img:hover {
        transform: scale(1.05);
    }

    @media (min-width: 768px) {
        .gallery img:hover {
            transform: scale(2.5);
            z-index: 10;
            position: relative;
        }
    }
}

/* Klick-Vergrößerung */
.gallery img.zoomed {
    transform: scale(1.2);
    z-index: 10;
    position: relative;
}

/* Größerer Klick-Zoom ab Tablet */
@media (min-width: 768px) {
    .gallery img.zoomed {
        transform: scale(2.5);
    }
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 8px 20px;
    font-size: 1rem;
    border-radius: 50px;
}

textarea {
    width: 100%;
    padding: 8px 20px;
    font-size: 1rem;
    border-radius: 20px;
}

.mail-button {
    margin: 0 15px;
    color: #fdec00;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 10px 11px 15px 4px rgba(0,0,0,1);
    background-color: transparent;
    cursor: pointer;
    font-family: 'ViridianCollege', sans-serif;
    font-size: 1rem;
}

.mail-button:hover {
    background-color: white;
    color: #084b91;
    text-shadow: 0 0 5px #fdec00;
}

.mail-button:active,
.mail-button:focus {
    background-color: yellow;
    color: #084b91;
}

footer {
    padding: 10px;
    text-align: center;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

footer p {
    color: #ffffff;
    text-align: center;
    font-size: small;
    font-family: 'Courier New', Courier, monospace;
    margin-top: 20px;
}
