/* Standard-Styling für die gesamte Webseite */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Header und Navigation */
header {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Abschnitt-Styling mit flexiblen Breiten */
section {
    max-width: 1200px; /* Maximalbreite für große Bildschirme */
    width: 90%; /* Standardbreite als 90% des Bildschirms */
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Responsiver Umgang mit eingebetteten Inhalten */
iframe, embed {
    width: 100%; /* Nimmt immer die volle Breite des Eltern-Containers ein */
    height: 600px; /* Standardhöhe, kann angepasst werden */
}

img {
    width: 100%; /* Bilder passen sich der Bildschirmbreite an */
    height: auto; /* Automatische Höhe, um Proportionen zu wahren */
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 20px;
    background-color: #4CAF50;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Mobile Anpassungen mit Media Queries */
@media only screen and (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    iframe, embed {
        height: 400px; /* Kleinere Höhe für mobile Geräte */
    }

    section {
        width: 95%; /* Weniger Padding für kleinere Bildschirme */
    }

    footer {
        padding: 15px;
    }
}
