body {
    font-family: "Roboto", serif;
    font-weight: 400;
    font-style: normal;
    color: #000;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

body a {
    text-decoration: none;
}

body a:hover {
    text-decoration: underline;
}

body a:link {
 color: #000;
}

body a:visited {
 color: #000;
}

.header-container {
    position: fixed;
    top: 0;
    left: 10%;
    width: 80%;
    z-index: 1000;
}

header {
    background-color: rgba(255, 255, 255, 1); /* Gleiche Hintergrundfarbe wie der Body */
    padding: 20px;
    border-bottom: 1px solid #ddd;
    position: fixed;
    width: 70%; /* Reduziere die Breite des Headers */
    top: 0;
    left: 15%; /* Zentriere den Header, indem du 5% von beiden Seiten einfügst */
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

header .logo {
    text-align: left;
    color: #a3bacc;
}

header .logo div {
    font-size: 35px;
    font-weight: bold;
}

header .logo .sub-logo {
    font-size: 23px;
    font-weight: normal;
}

.hamburger-menu {
    font-size: 18px;
    cursor: pointer;
    display: block; /* Sicherstellen, dass das Hamburger-Menü angezeigt wird */
    color: #000; /* Dunkle Schriftfarbe */
}

/* Mouseover-Effekt für das Hamburger-Menü */
.hamburger-menu:hover {
    color: #f0f0f0; /* Helle Farbe bei Mouseover */
}

nav {
    flex-direction: column;
    align-items: flex-end; /* Menü rechtsbündig */
    position: fixed;
    top: 60px;
    right: 0; /* Menü bündig am rechten Rand */
    width: 100%; /* Breite auf Mobile Ansicht anpassen */
    max-width: 300px; /* Maximalbreite für das Menü */
    background-color: #fff;
    border-top: 1px solid #ddd;
    display: none; /* Standardmäßig nicht sichtbar */
    box-sizing: border-box; /* Verhindert Überlappung des Inhalts */
    z-index: 1001; /* Sicherstellen, dass das Menü über dem Scrollbalken liegt */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

nav ul li {
    width: 100%;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 17px;
    padding: 15px 20px;
    width: 100%;
}

/* Mouseover-Effekt für Menüelemente */
nav ul li a:hover {
    background-color: #a3bacc; /* Hellgrauer Hintergrund bei Mouseover */
    color: #fff;
    border-radius: 5px;
}

nav.open {
    display: flex;
}

/* Overlay für das mobile Menü */
nav.overlay {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw; /* Volle Breite des Viewports */
    height: 100vh; /* Volle Höhe des Viewports */
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; /* Verhindert Überlappung des Inhalts */
    padding: 0; /* Sicherstellen, dass kein zusätzliches Padding vorhanden ist */
}

nav.overlay ul {
    flex-direction: column;
    align-items: center;
}

nav.overlay ul li a {
    font-size: 17px;
    color: #fff;
    padding: 10px 30px;
}

/* Mouseover-Effekt für mobile Menüelemente */
nav.overlay ul li a:hover {
    background-color: #a3bacc;
    color: #fff;
}

.main-content {
    width: 60%;
    margin-left: 11.5%;
}

section {
    text-align: justify;
    padding: 160px 20px 1px;
    max-width: 85%;
    margin: auto;
    scroll-behavior: smooth; /* Weicher Sprung zu den Sektionen */
}

section h1 {
    margin-top: 60px;
    font-size: 26px;
    margin-bottom: 40px; /* Abstand zwischen Überschrift und Text vergrößert */
}

section h2 {
    font-size: 20px;
}

section p {
    margin-bottom: 25px;
    font-size: 17px;
}

section ul {
    list-style: square;
}

section li {
    font-size: 17px;
    margin-bottom: 10px;
}

section a:hover {
    color: #a3bacc;
    text-decoration: underline;
}

.portrait {
    width: 95%;
    margin-top: 20px; /* Abstand zwischen Text und Porträt */
}

table {
    width: 100%;
}

footer {
    font-size: 14px;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    margin-top: 30px;
}

footer p {
    margin: 0;
}

footer a {
    color: #000000;
    text-decoration: none;
}

footer a:hover {
    color: #a3bacc;
    text-decoration: underline;
}


/* Zusätzliche CSS-Regeln für Desktop-Menü */

@media (min-width: 768px) {
    nav {
        position: static;
        width: auto;
        max-width: none; /* Keine maximale Breite auf großen Bildschirmen */
        display: flex; /* Menü auf großen Bildschirmen anzeigen */
        right: auto; /* Menü wird standardmäßig am rechten Rand des Containers ausgerichtet */
        background: none; /* Kein Hintergrund auf großen Bildschirmen */
        border: none; /* Kein Border auf großen Bildschirmen */
        flex-direction: row; /* Horizontal auf großen Bildschirmen */
        padding: 0; /* Kein Padding auf großen Bildschirmen */
    }

    nav ul {
        display: flex;
    }

    nav ul li {
        width: auto;
    }

    nav ul li a {
        padding: 10px 20px;
    }

    .hamburger-menu {
        display: none; /* Hamburger-Menü auf Desktops ausblenden */
    }
}


