body{
background-color:gray;
}
h1{
text-align:center;
  color:beige;
  font-size:30pt;
}
h2{
font-size:20pt;
}
p{
font-size:14pt;
}
/* Die schwarze Bar */
nav {
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  transition: top 0.3s;
}

/* Der Text 'AIRBUSFAN' links */
nav div {
    color: #ffffff;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 20px;
}

/* Die Liste der Links */
nav ul {
    display: flex;
    list-style-type: none; /* Entfernt die blauen Punkte */
    margin: 0;
    padding: 0;
}

/* Abstände zwischen den Links */
nav ul li {
    padding: 0 20px;
}

/* Das Aussehen der Links */
nav ul li a {
    color: #cccccc;
    text-decoration: none; /* Entfernt den Unterstrich */
    font-family: sans-serif;
    font-size: 14px;
    text-transform: uppercase;
}

/* WICHTIG: Damit dein Text nicht unter der Leiste klebt */
body {
    margin: 0;
    padding-top: 80px;
    background-color: #333333;
    color: white;
    font-family: sans-serif;
}
/* Wenn der Bildschirm schmaler als 600px ist (Handy) */
@media screen and (max-width: 600px) {
    nav {
        flex-direction: column; /* Stapelt Logo und Liste übereinander */
        height: auto; /* Die Leiste passt sich der Höhe an */
        padding: 10px 0;
    }

    nav ul {
        flex-direction: column; /* Stapelt die Links untereinander */
        align-items: center;
        width: 100%;
    }

    nav ul li {
        padding: 5px 0; /* Mehr Platz zum Antippen mit dem Finger */
    }

    nav div {
        margin-bottom: 10px; /* Abstand zwischen Logo und Links */
    }

    body {
        padding-top: 130px; /* Mehr Platz oben, weil die Leiste dicker wird */
    }
}
/* Diese Klasse wird vom JavaScript gesteuert */
nav.nav-hidden {
    top: -70px; /* Schiebt die Leiste aus dem Sichtfeld nach oben */
}
/* Der normale Zustand der Links */
nav ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease; /* Macht das Aufleuchten sanft */
}

/* Der Leuchteffekt beim Drüberfahren */
nav ul li a:hover {
    color: #ffffff; /* Wird strahlend weiß */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 
                 0 0 20px rgba(255, 255, 255, 0.5); /* Der eigentliche Glüheffekt */
    transform: scale(1.1); /* Wird minimal größer */
}
intro-section {
    max-width: 800px;
    margin-bottom: 30px; /* Platz zum Bild darunter */
}

/* Die Bild-Box */
image-section img {
    display: block;        /* Verhindert, dass Text daneben fließen kann */
    max-width: 100%;       /* Bild wird nie breiter als der Bildschirm */
    width: 800px;          /* Deine gewünschte Standardbreite */
    height: auto;
    border-radius: 8px;
    margin-left: 100;        /* Garantiert die Ausrichtung ganz links */
}
