body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: darkgoldenrod;
    color: white (238, 32, 32);
}

/* Überschrift */
h1 {
    
        background-image: url('fotos/Landschaft.png');
        background-size: cover; /*oder cover; /* Bild anpassen, füllt den gesamten Header aus */
        background-position: center; /* Bild zentrieren */
        background-repeat: no-repeat; /* verhindert Wiederholungen des Bildes */
        height: 250px; /*höhe des Header*/
        display: flex;
        align-items: center;
        justify-content: center;
        color: white; /*Textfarbe*/
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0,5); /*leichter Schatten für bessere Lesbarkeit */
        text-align: center;
    }
h1 img {
        max-width: 100%; /* damit das Bild nicht zu groß wird */
        height: auto;
} 

/*-----------------------------------------------------------------*/

/* Navigationszeile */
nav ul {
    list-style-type: none;
    padding: 0;
    background: #9ea3a9;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center; /* Vertikale Ausrichtung */
}
nav ul li {
    margin: 0 15px; /* Abstand zwischen den Links */
}
nav ul li a {
    color: rgb(15, 14, 14);
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block; /* Inline-Block für bessere Handhabung */
}
/*-------------------------------------------------------------------*/
/* Hauptbereich */
main {
    padding: 20px;
}
/* Fusszeile */
footer {
    text-align: center;
    background: #9ea3a9;
    color: rgb(8, 8, 8);
    padding: 10px;
    position: fixed;
    width: 100%;
    bottom
    : 0;
}

/*----------Fotos-------------------*/
.container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.container1 img, .container2 img, .container3 img {
    max-width: 100%;
    height: auto;
    flex: 1 1 30%; /* Flex-Grow, Flex-Shrink, Flex-Basis */
    margin: 10px;
}


/*---------- Text in der Mitte-------------------*/
.zentriert1 {
    width: 90%;
    left: 5%;
    top: auto;
    position: relative;
    text-align: center; /* Text zentrieren */
    margin: 20px auto; /* Abstand oben und unten */
    padding: 20px; /* Innenabstand */
    background-color: rgba(0, 0, 0, 0.5); /* Hintergrundfarbe mit Transparenz */
    color: white; /* Textfarbe */
    border-radius: 10px; /* Abgerundete Ecken */

}

/* Media Queries für mobile Geräte */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .container1 img, .container2 img, .container3 img {
        flex: 1 1 100%;
        margin: 10px 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 10px 0;
    }

    h1 {
        height: auto;
        padding: 20px;
    }
}

/*------------------------------------------------------------------------------
