/* Basis-Stile für das Navbar-Menü */
* {
    box-sizing: border-box;
}

body {
    font-family: Verdana, sans-serif;
    padding: 0;
    margin: 0 auto; /* Horizontales Zentrieren */
    width: 1024px; /* Feste Breite für den Body */
    font-size: 20px;
    background-color: #F6FFE0;
}



.background-overlay {
    position: relative; /* Überprüfen Sie, ob Positionierungsregeln passen */
    overflow: hidden;
}



.background-overlay img {
    position: absolute; /* Positioniert das Bild absolut im Container */
    width: 1024px; /* Feste Breite für den Body */
    height: AUTO;
    object-fit: cover; /* Bild füllt den Container ohne Verzerrung */
    z-index: 0; /* Hintergrundbild hinter dem Text */
}

.content {
    position: relative; /* Stellt sicher, dass der Text über dem Hintergrundbild liegt */
    background-color: rgba(246, 255, 224, 0.8); /* Optional: Hintergrundfarbe mit Transparenz für bessere Lesbarkeit */
    padding: 20px;
    margin: 20px auto; /* Zentriert den Textbereich */
    border-radius: 10px; /* Optionale abgerundete Ecken */
    max-width: 1024px; /* Maximale Breite für den Textbereich */
    z-index: 1; /* Sicherstellt, dass der Text über dem Hintergrundbild liegt */
}
.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #1b5463;
    margin-top: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}
.navbar li {
    position: relative;
    display: inline-block;
    background-color: #1b5463;
    padding: 12px;
    height: 50px;

}
.navbar li a {
    color: white; 
    text-decoration: none;
    padding: 12px;
    height: 50px;
}

.navbar li:hover {
    background-color: #04AA6D;
}
.navbar .active .sub-menu {
    background-color: #04AA6D;

}

.navbar li:hover .sub-menu {
    display: block;
}
/* Stil für den aktiven Navigationspunkt */
.navbar .active > a {
    background-color: #04AA6D; /* Ändere die Farbe nach Bedarf */
    color: white; /* Ändere die Textfarbe nach Bedarf */
}


.navbar .active .sub-menu {
    display: block; /* Zeigt das Untermenü an, wenn das übergeordnete Element aktiv ist */
    height: 50px;

}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #04AA6D; /* Gleiche Hintergrundfarbe wie die Navbar */
    list-style-type: none;
    margin: 0;
    padding: 0;
    min-width: 150px; /* Feste Mindestbreite */
    white-space: nowrap; /* Verhindert Zeilenumbrüche */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000; 
}
.sub-menu li {
    display: block; /* Sicherstellen, dass die Liste blockweise ist */
    padding: 12px; /* Padding für vertikalen Abstand */
    background-color: #1b5463; /* Hintergrundfarbe */
    width: 100%; /* Breite auf 100% setzen */
}

.sub-menu li a {
    color: #fff;
    display: block; /* Link als Blockelement, um die volle Breite zu nutzen */
    text-decoration: none; /* Unterstreichung entfernen */
}

.sub-menu li:hover {
    background-color: #04AA6D; /* Hover-Farbe für Sub-Menü */
}

.fade {
    animation-name: fade;
    animation-duration: 10s;
}

@keyframes fade {
    from { opacity: .4; }
    to { opacity: 1; }
}

/* Weitere allgemeine Stile */
.header {
    text-align: center;
    padding-top: 20px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000; /* Damit der Header immer oben bleibt */
    background-color: #F6FFE0; /* Hintergrundfarbe des Hauptbereichs */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optionaler Schatten für den Header */
    height: 90px;
}

.header h1 {
    font-size: 32px;
}

/* Stile für die Trennlinien */
.separator {
    width: 100%;
    height: 0.5px;
    background-color: #04AA6D;
    margin-top: 10px;
    margin-bottom: 10px;
}

.separator.large {
    height: 7px;
}

/* Stile für den Content-Bereich */
.message {
    text-align: center;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.content {
    padding: 0 20px 10px 20px;
}

h3, p, strong {
    margin: 0;
    padding: 0 0px;
}

h3 {
    margin-left: 0px;
}

strong {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Footer-Stile */
.footer {
    background-color: #1b5463;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    margin-top: 25px;
}

.footer a {
    color: white;
    text-decoration: none;
    margin-right: 5px;
    font-size: 14px;
    padding: 10px 20px;
}

.footer a:hover,
.footer a:focus,
.footer a:active {
    background-color: #04AA6D;
}

/* Container-Stile */
#container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #F6FFE0;
    padding: 0 0px;
    border-left: 1px solid black;
    border-right: 0.5px solid black;
    box-shadow: 20px 0px 20px -10px rgba(190, 190, 190, 0.8), -20px 0px 20px -10px rgba(190, 190, 190, 0.8);
}

/* Banner-Stile */
.banner-container {
    width: 100%;
    overflow: hidden;
    background-color: #f6ffE0;
}

.banner-container img {
    width: 100%;
    height: auto;
}

.left-container, .right-container {
    background-color: #f6ffE0;
}
/* Basis-Stil für alle Links */
a {
    color: black; /* Linkfarbe wird schwarz */
    text-decoration: none; /* Entfernt die Unterstreichung */
}

/* Stil für Links beim Hover (wenn man mit der Maus darüber fährt) */
a:hover {
    color: black; /* Link bleibt schwarz beim Hover */
    text-decoration: underline; /* Optional: Unterstreichung beim Hover */
}

/* Optional: Stil für besuchte Links */
a:visited {
    color: black; /* Farbe für bereits besuchte Links */
}

/* Optional: Stil für aktive Links */
a:active {
    color: black; /* Farbe für aktive Links */
}

.hidden {
    display: none;
}


/* Responsive Design */
@media only screen and (max-width: 480px) {
    .banner-container img {
        max-height: 200px;
    }
 body {
    font-size: 12px;
    padding: 0 10px;
  }
}


