/* Grundlegende Reset und Box-Sizing Regeln */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

header {
    display: flex;
    align-items: center; /* Zentriert die Elemente vertikal */
    justify-content: center; /* Zentriert die Elemente horizontal */
    background-color: #202020;
    color: #fff;
    padding: 1rem;
    text-align: center;
    position: relative;
}

header a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none; /* Entfernt die Unterstreichung */
}

header img {
    margin-right: 10px; /* Fügt einen rechten Abstand zum Logo hinzu */
}

header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('header-image.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
    z-index: -1;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #333;
    padding: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
    color: #c7d5e0;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

 footer {
      background: #202020;
      color: white;
      text-align: center;
      padding: 1rem;
      position: fixed;
      bottom: 0;
      width: 100%;
    }
    footer ul {
      list-style: none;
      padding: 0;
    }
    footer ul li {
      display: inline;
      margin-right: 20px;
    }
    footer ul li a {
      color: white;
      text-decoration: none;
    }

img.landscape, .feature-img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Schlichte und elegante Trennlinien */
hr {
    border: 0;
    height: 1px;
    background-color: #ccc;
    margin: 2rem 0;
}

/* Responsive Design-Anpassungen */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    header {
        padding: 1rem 0;
    }
}

/* Media Query für größere Bildschirme */
@media (min-width: 768px) {
    .feature-img {
        width: 50%; /* Reduziert die Breite der Bilder auf 50% für größere Bildschirme */
    }
}
footer {
    margin-top: 40px; /* Fügt einen oberen Rand vor dem <footer> hinzu */
}
