/* Allgemeine Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: black;
}

/* Hintergrundvideo */
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#background-video2 {
    display: none;

}

/* Navigation */
nav {
    position: fixed; /* Fixiere die Navigation */
    top: 0;
    left: 0;
    width: 100%;
    display: flex; /* Flexbox für gleichmäßige Verteilung */
    justify-content: space-between; /* Links, Mitte, Rechts korrekt verteilen */
    align-items: center; /* Zentriert die Inhalte vertikal */
    padding: 10px 50px;
    background-color: transparent;
    z-index: 10; /* Navigation bleibt über anderen Elementen */
    border-bottom: 1px solid white;
}

.nav-center {
    flex: 1; /* Sorgt dafür, dass der mittlere Bereich Platz einnimmt */
    display: flex; /* Aktiviert Flexbox im mittleren Container */
    justify-content: center; /* Zentriert den Inhalt horizontal */
    align-items: center; /* Zentriert den Inhalt vertikal */
    text-align: center; /* Zentriert Text, falls vorhanden */
}

.nav-left, 
.nav-right {
    display: flex;
    flex: 1;
    justify-content: flex-start; /* Inhalte links beginnen */
}

.nav-right {
    justify-content: flex-end; /* Inhalte rechts enden */
}

.nav-left a, 
.nav-right a {
    margin: 0 20px; /* Verringerung der Abstände zwischen den Links */
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 300;
}

nav a.active {
    text-decoration: underline; /* Unterstreicht beim Hover */
    text-underline-offset: 3px; /* Abstand zur Schrift */
    text-decoration-thickness: 1px; /* Dicke der Unterstreichung */
}

nav a:hover {
    text-decoration: underline; /* Unterstreicht beim Hover */
    text-underline-offset: 3px; /* Abstand zur Schrift */
    text-decoration-thickness: 1px; /* Dicke der Unterstreichung */
}

.logo {
    padding-top: 12px;
    height: 55px;
}

/* Vertikale Logos links fixiert */
.vertical-logos {
    position: fixed;
    top: 40%;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 50px; /* Abstand zwischen den Logos */
    z-index: 10;
}

.vertical-logos img {
    width: 25px; /* Größe der Logos anpassen */
    height: auto;
    cursor: pointer;
}

.vertical-logos img:hover {
    opacity: 0.8; /* Leichter Hover-Effekt */
}


.footer {
    text-align: center;
    padding: 20px;
    position: fixed; /* Fixiere den Footer am unteren Rand */
    bottom: 0; /* Footer wird ganz unten positioniert */
    left: 0; /* Beginnt am linken Rand */
    width: 100%; /* Footer nimmt die gesamte Seitenbreite ein */
    background-color: transparent; /* Optional, für klare Abgrenzung */
    z-index: 1000;
}

.impressum-link {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px; /* Für gleichmäßige Abstände zwischen Buchstaben */
    text-transform: uppercase;
}

.impressum-link:hover {
    text-decoration: underline; /* Unterstreicht beim Hover */
    text-underline-offset: 3px; /* Abstand zur Schrift */
    text-decoration-thickness: 1px; /* Dicke der Unterstreichung */
}

/* Inhalt (falls benötigt) */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.content p {
    font-size: 1.2rem;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 25px;
    cursor: pointer;
    position: fixed; /* Hamburger Menu left top */
    top: 20px;
    right: 20px;
    z-index: 900; /* Ensure it's above other content */
}

.hamburger-menu .bar {
    background-color: white;
    height: 3px;
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #333;
    width: 100%;
    height: 100vh;
    padding-top: 60px;
    z-index: 800;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 10px;
    text-align: center;
}

/* Aktiviertes Menü (wird angezeigt) */
.mobile-menu.active {
    display: flex; /* Verwendet Flexbox, um die Links zu zentrieren */
    position: fixed; /* Menü wird über andere Elemente angezeigt */
    top: 0; /* Menü startet ganz oben */
    bottom: 0;
    left: 0; /* Menü startet ganz links */
    height: 100vh; /* Höhe des Menüs soll den gesamten Bildschirm ausfüllen */
    width: 100vw; /* Breite des Menüs soll den gesamten Bildschirm ausfüllen */
    background-color: rgba(0, 0, 0, 0.9); /* Schwarzer Hintergrund */
    justify-content: center; /* Zentriert die Menü-Elemente horizontal */
    align-items: center; /* Zentriert die Menü-Elemente vertikal */
    flex-direction: column; /* Organisiert die Links untereinander */
}

.mobile-menu a.active {
    text-decoration: underline; /* Unterstreicht beim Hover */
    text-underline-offset: 3px; /* Abstand zur Schrift */
    text-decoration-thickness: 1px; /* Dicke der Unterstreichung */
}

.mobile-menu a:hover {
    text-decoration: underline; /* Unterstreicht beim Hover */
    text-underline-offset: 3px; /* Abstand zur Schrift */
    text-decoration-thickness: 1px; /* Dicke der Unterstreichung */
}

.mobile-menu a.impressum-nav {
    font-size: 15px; /* Andere Schriftgröße für den Impressum-Link */
    font-family: 'Arial', sans-serif; /* Andere Schriftart für den Impressum-Link */
    font-weight: normal;  /* Entfernen von fett, falls verwendet */
    text-transform: none;  /* Entfernen von Großbuchstaben */
    margin-top: 25px;  /* Abstand zwischen Impressum und den anderen Links */
    padding-top: 130px; /* Padding hinzufügen, um den Abstand weiter anzupassen */
    color: #f8f8f8; /* Andere Farbe */
    z-index: 9099;
}

/* Media Queries */
@media (max-width: 820px) {

    body {
        margin: 0;
        padding: 0;
        overflow-y: scroll; /* Scrollen ermöglichen */
    }

    .nav-center {
    flex-direction: column;
    height: 10px;
    position: fixed; /* Hamburger Menu left top */
    top: 20px;
    left: 20px;
    }

    .nav-left, .nav-right {
        display: none;
    }

    nav {
        border-bottom: none;
    }
    
    

    .logo {
        width: auto; /* Verhindert das Verzerren durch feste Breite */
        max-width: 40px; /* Definiert die maximale Breite */
        height: auto; /* Setzt die Höhe proportional zur Breite */
    }

    .hamburger-menu {
        display: flex;
    }

    .mobile-menu.active {
        display: flex;
    }

    .footer {
        display: none;
    }

    .vertical-logos {
        top: 90%;
        position: fixed;
        left: 50%;
        transform: translateX(-50%); /* Mittig ausrichten */
        flex-direction: row; /* Horizontale Anordnung */
        gap: 20px; /* Abstand zwischen den Logos */
        z-index: 1;
    }

    #background-video {
        display: none;
    }

    #background-video2 {
        display: block;
        width: 100%;
        height: 100%;
    }

}
