body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    min-height: 100vh; /* Stellt sicher, dass der Body mindestens so groß wie das Fenster ist */
    display: flex;
    flex-direction: column;
}

header {
    position: relative;
    height: 300px;
    color: #fff;
}

header .overlay {
    background-color: rgba(0, 0, 0, 0.6); /* Halbtransparente Schicht */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

header h1, header p {
    margin: 0;
}

nav {
    margin-top: 10px; /* Abstand zwischen dem Text und den Links */
}

.nav-link {
    color: #ffcc00; /* Helle Farbe für Links */
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold; /* Fettgedruckt für bessere Sichtbarkeit */
}

.nav-link:hover {
    text-decoration: underline; /* Unterstreichung bei Hover */
}

main {
    flex: 1; /* Sorgt dafür, dass der Main-Bereich den restlichen Platz einnimmt */
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

h2 {
    color: #333;
}

button, .button {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

button:hover, .button:hover {
    background-color: #555;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed; /* Fixiert den Footer */
    bottom: 0;
    width: 100%;
    left: 0;
}
