


h1 {
  background-color: white;
  text-align: center;
  color: black;
  font-family: "Verdana";
width: 100%;
height: auto;

}



h2 {padding-top: 50px;
  padding-bottom: 70px;
text-align: center;
text-decoration: none;
list-style-type: none;}

footer {
  text-decoration: none;
  font-size: 80%;
  padding-top: 25px;
  padding-right: 5px;
  padding-bottom: 5px;
  padding-left: 5px;


list-style-type: none;
  color: black;
  text-align: center;
  border-top: 2px;
}

a {
  color: black; /* Normale schwarze Schrift */
  text-decoration: underline; /* Unterstrichen */
  font-weight: normal; /* Normale Schriftstärke */
  transition: all 0.3s ease; /* Weicher Übergang bei Hover */
  padding-left: 20px;
}

a:hover {
  font-weight: bold; /* Fett bei Hover */
  color: #8DC74A;

}

main {

 text-align: center;
font-size: 100%;}

 p {color: #8DC74A;
 padding-top: 20px;
text-align: center;
font-weight: bold;
text-decoration: underline;}

/* Verwende Flexbox, um den Container zu zentrieren */
.container {
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
         /* Vertikal zentrieren */
    height: 100vh;           /* Container auf volle Höhe des Viewports setzen */
}

/* Text-Box bleibt linksbündig */
.text-box {
    width: 50%;              /* Optional: Breite der Text-Box */
    text-align: left;
    font-size: 100%;       /* Links ausgerichteter Text */
}


h1, p, h2 {
    margin: 0;               /* Entferne Standardabstände */
    padding: 2px 0;         /* Füge Polsterung hinzu */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
}

header {
    width: 100%;
    height: 100vh; /* Volle Höhe des Viewports */
    background-image: url('images/Bild10.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    max-width: 1200px; /* Maximale Breite */
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 140px; /* Gleichmäßiger Abstand */
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: box-shadow 0.3s ease; /* Sanfter Übergang */
}

nav img {
    width: 80px;
    height: 80px;
    transition: box-shadow 0.3s ease; /* Sanfter Übergang */
}

nav img:hover {
    box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.7),
                0px 4px 25px rgba(0, 0, 255, 0.3);
    border-radius: 5px; /* Weiche Ecken */
}

/* Responsive Anpassungen */
nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 140px; /* Standard-Gap für Desktop */
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 1190px) {
    nav ul {
        gap: 0px; /* Kleinere Abstände für Tablets */
    }
    nav img {
        width: 50px; /* Kleinere Icons */
        height: 50px;
    }
}

@media (max-width: 759px) {
    nav ul {
        flex-direction: column; /* Vertikale Anordnung für Smartphones */
        gap: 20px;
    }

    nav img {
        width: 50px; /* Kleinere Icons */
        height: 50px;
    }
}
.link-container {
    position: relative; /* Optional, falls der Link innerhalb eines Containers positioniert werden soll */
}

/* Der Link wird mittig auf der Seite positioniert */
.kontakt {
    position: relative; /* Bleibt immer an der selben Stelle, unabhängig vom Scrollen */

    left: 45%;
    transform: translate(-50%, -50%);
    text-decoration: none;
    font-size: 20px;
    padding: 10px 20px;
  }

  .imgright {
    padding-left: 30%;


  }
  header {
    background-image: url('images/Bild10.jpg');
}

/* Tablet-Hintergrund */
@media (max-width: 1190px) {
    header {
        background-image: url('images/Bild11.jpg');
    }
}

/* Smartphone-Hintergrund */
@media (max-width: 759px) {
    header {
        background-image: url('images/Bild12.jpg');
    }
}

.back {
  list-style-type: none;
}

section {
  padding-left: 10px;
}
.nav-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}
