/* Reset einige Standardbrowserstile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Grundlegende Stile */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding: 20px;
    margin: 0;
    padding: 0;
    height: 100vh; /* Viewport height, damit das Bild den gesamten Bildschirm ausfüllt */
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('sachs.jpg'); /* Ersetze den Pfad durch den tatsächlichen Pfad zu deinem Bild */
    background-position: center; /* Zentriert das Bild */
    background-repeat: no-repeat; /* Verhindert das Wiederholen des Bildes */
    background-size: cover; /* Skaliert das Bild, um den gesamten Hintergrund zu füllen */
    background-attachment: fixed; /* Das Hintergrundbild bleibt beim Scrollen fixiert */
        color: #fff; /* Weißer Text für den Kontrast zum Hintergrundbild */
    text-align: center;
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparenter Hintergrund für den Inhalt */
    border-radius: 10px;
}

/* Layout für Header, Main und Footer */
header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-right: 10px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

header nav ul li a:hover {
    text-decoration: underline;
}

main {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
}

main article {
    flex: 2;
    padding: 20px;
    background-color: #fff;
    margin-right: 20px;
}

main aside {
    flex: 1;
    padding: 20px;
    background-color: #fff;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Stile für Überschriften und Text */
h1, h2 {
    color: #333;
    margin-bottom: 10px;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

p {
    margin-bottom: 15px;
}

/* Responsive Design für kleinere Bildschirme */
@media (max-width: 768px) {
    main {
        flex-direction: column;
    }

    main article {
        margin-right: 0;
    }
}
