body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: url(/img/kluft-zunft-icon.svg) fixed no-repeat center;

  background-color: #f2f2f2;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 100%;
}

h1 {
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0;
}

h2 {
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

a:visited {
  color: inherit;
}

header {
  width: 100%;
  height: 100px; /* Höhe des Headers, kann angepasst werden */
  z-index: 1000; /* sicherstellen, dass der Header immer oben bleibt */
}

.logo-container {
  text-align: center;
  margin-top: 3vh;
}

.logo-container img {
  max-height: 80px; /* Maximale Höhe des Logos, kann angepasst werden */
  height: auto;
  width: auto;
  margin-left: 10px;
}

.brand-container img {
    margin-top: 50px;
    max-width: 150px; /* Maximale Höhe des Logos, kann angepasst werden */
    height: auto;
    width: auto;
    padding: 0 50px;
    vertical-align: middle;
    vertical-align: -webkit-baseline-middle;
    -webkit-transition: all .8s ease-in-out;
    -webkit-transform: scale(0.9);
}
.brand-container img:hover {
    -webkit-transform: scale(1.0);
}

main {
  flex: 1;
  display: flex;
  justify-content: center; /* Zentriert den Container horizontal */
  align-items: center; /* Zentriert den Container vertikal */
  padding: 20px;
}

#container {
  max-width: 1200px; /* Maximale Breite des Containers */
  width: 100%;
  padding: 20px;
  color: #1d4668;
  text-align: center;
}

.textfeld {
  display: inline-block;
  font-size: 15px;
  max-width: 800px;
}

.textfeld ul {
  padding-inline-start: 0;
  list-style-type: none;
}

.textfeld a {
  font-weight: 800;
}

.textfeld a:hover {
  color: #5571a2;
}

.mt-10vh{
    margin-top: 10vh;
}

footer {
    margin-top: auto;
    min-height: 100px; /* Höhe des Footers, kann angepasst werden */
    display: flex;
    justify-content: space-between; /* Elemente links, Mitte und rechts verteilen */
    align-items: center;
    background-color: #1d4668; /* Hintergrundfarbe des Footers */
    flex-wrap: wrap; /* Ermöglicht das Umbruch der Elemente */
    padding-left: 20px; /* Abstand links vom Bildschirmrand */
    padding-right: 20px; /* Abstand rechts vom Bildschirmrand */
  }
  
  .footer-item {
    flex: 1;
    color: #f2f2f2;
  }
  
  .footer-item:nth-child(1) {
    text-align: left;
  }
  
  .footer-item:nth-child(2) {
    text-align: center;
  }
  
  .footer-item:nth-child(3) {
    text-align: right;
  }
  
  .footer-item a {
    color: #f2f2f2;
    line-height: 1.5;
  }
  
  .footer-item a:hover {
    color: #5571a2;
  }
  
  .footer-item p {
    font-size: 8px;
    letter-spacing: 2px;
    margin: 10px 0px 0px;
  }

  .button {
    background-color: #f2f2f2; 
    border: none;
    color: #1d4668;
    padding: 12px 60px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 4px 2px;
    transition-duration: 0.2s;
    cursor: pointer;
    border: 1px solid #1d4668;
  }

  .button:hover {
    background-color: #1d4668;
    color: #f2f2f2;
    border: 1px solid #1d4668;
  }
  
  /* Breakpoint für kleinere Bildschirme */
  @media (max-width: 768px) {
    .footer-item {
      text-align: center; /* Alle Elemente auf kleineren Bildschirmen zentrieren */
      margin: 10px;
    }
    .footer-item:nth-child(1),
    .footer-item:nth-child(3) {
      order: 1; /* Erste und dritte Elemente in die zweite Zeile verschieben */
    }
    .footer-item:nth-child(2) {
      order: 2; /* Zweites Element in die erste Zeile verschieben */
      flex: 1 1 100%; /* Nimmt die gesamte Breite ein */
    }
  }