/* Globale Stile */

/* Schriftarten */
@font-face {
    font-family: 'Azonix';
    src: url('../assets/Azonix-1VB0.otf') format('opentype');

}

@font-face {
    font-family: 'Futura';
    src: url('../assets/futura_light_bt.ttf') format('opentype');

}

/* Reset-Styles */
* {
    margin: 0; /* Kein Außenabstand */
    padding: 0; /* Kein Innenabstand */
    box-sizing: border-box; /* Box-Modell */
}

/* Grundlegende Stile */
body {
    font-family: 'Futura', sans-serif; /* Schriftart */
    background-image: url('../assets/hintergrund-sterne.jpg'); /* Nahtloses Bild */
    background-size: cover; /* Bild füllt den gesamten Hintergrund */
    background-repeat: repeat; /* Wiederholt das Bild */
    background-position: center; /* Zentriert den Hintergrund */
    color: white;
    line-height: 1.8; /* Zeilenhöhe */
    font-size: 1rem; /* Schriftgröße */
}
.content {
    text-align: center;
    padding: 20px;
    background-color: transparent; /* Halbtransparenter Hintergrund */
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Azonix', sans-serif; /* Headlines in Azonix */
    letter-spacing: 1px;
    text-transform: uppercase;
}

img {
    max-width: 100%; /* Bilder passen sich der Breite an */
    height: auto; /* Höhe automatisch */
    border-radius: 10px; /* Abgerundete Ecken */
}

a {
    text-decoration: none; /* Keine Unterstreichung */
    color: #fff; /* Weiße Schriftfarbe */
    transition: color 0.2s; /* Übergangseffekt */
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    top: 0;
    padding: 0 32px;
    min-height: 64px;
    position: sticky;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    max-width: 1200px;
    margin: 32px auto 0 auto;
    width: 80%;
    border-radius: 16px;
    border: #fff 1px solid;
}

.nav-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav-logo {
    height: 36px;
    width: auto;
    display: block;
}

.nav-center {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: 100%;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-center a {
    color: #fff;
    text-decoration: none;
    font-family: 'Azonix', sans-serif;
    font-size: 1rem;
    padding: 8px 0;
    transition: color 0.2s;
}

.nav-center a:hover {
    color: #ff6363;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-family: 'Azonix', sans-serif;
    font-size: 1rem;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
    background: #222;
    color: #ff6363;
}

.nav-action {
    background: #fff;
    color: #111;
    font-weight: bold;
    border-radius: 6px;
    padding: 8px 18px;
    margin-left: 8px;
    transition: background 0.2s, color 0.2s;
}

.nav-action:hover {
    background: #ff6363;
    color: #fff;
}

/* Burger-Menü für kleine Bildschirme */
.burger-menu {
    display: none;
}

@media (max-width: 1200px) {
    .nav-center, .nav-right {
        display: none;
    }
    .burger-menu {
        display: block;
        position: absolute;
        right: 24px;
        top: 18px;
    }
    .dropdown-menu {
        display: none;
        position: absolute;
        right: 24px;
        top: 56px;
        background: #222;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        z-index: 1000;
        min-width: 180px;
    }
    .burger-menu.active .dropdown-menu {
        display: block;
    }
    .dropdown-menu a {
        display: block;
        padding: 14px 24px;
        color: #fff;
        text-decoration: none;
        font-family: 'Azonix', sans-serif;
        font-size: 1rem;
        border-bottom: 1px solid #333;
    }
    .dropdown-menu a:last-child {
        border-bottom: none;
    }
    .dropdown-menu a:hover {
        background: #ff6363;
        color: #fff;
    }
}

/* Styling für den Footer */
footer {
    text-align: center;
    background-color: #333;
    color: white;
    bottom: 0;
    width: 100%;
    height: 5%;
}


/* Grid Layout */
body {
    --gutter: 10vw; /* z.B. 10% links und rechts */
    display: grid;
    gap: 1rem;
    grid-template-columns:
        [page-start]
            minmax(0, var(--gutter))
            [content-start]
            1fr
            [middle-start]
            3fr
            [middle-end]
            1fr
            [content-end]
            minmax(0, var(--gutter))
        [page-end];
}

.navbar {
    grid-column: content;
}

.content {
    grid-column: content;
}

.footer {
    grid-column: page; /* Footer über alle Spalten */
}

/* Grid Layout */