.main-container {
  display: flex;
  justify-content: center; /* Zentriert den Content horizontal */
  min-height: 100vh; /* Minimale Höhe auf 100% des Viewport setzen */
}

.content {
  width: 80%; /* Breite des Hauptinhalts auf 80% des Elternelements setzen */
  max-width: 1200px; /* Maximale Breite des Inhalts festlegen, um zu große Breiten zu vermeiden */
  text-align: center;
  margin-top: 30px;
}

.ansprechpartner {
  margin-top: 50px;
}

.ueberschrift {
  font-size: 14pt;
  margin: 0 auto;
}

.timeline {
  width: 600px;
  height: auto;
  position: relative; /* Ändere die Positionierung auf relative */
  margin: 0 auto;
  margin-bottom: 50px;
}

.event {
  display: flex;
  align-items: center;
  margin-top: 30px;
  padding-left: 96px;
  z-index: 0;
  position: relative; /* Ändere die Positionierung auf relative */
}

.line {
  height: 2px;
  width: 40px;
  background-color: black;
  margin: 0 30px;
}

.detail {
  display: flex;
  flex-direction: column;
  width: 250px;
}

.line-vert {
  display: flex;
  height: 500px;
  width: 2px;
  background-color: black;
  margin-left: 195px;
  position: absolute; /* Ändere die Positionierung auf absolute */
  top: 25px;
}

.icon {
  width: 50px;
  height: 50px;
  margin-right: 0px;
}

.icon img {
  width: 50px;
  height: 50px;
}

.text_tagesablauf {
  display: flex;
  margin: auto;
  margin-top: 2rem;
  justify-content: center;
}

.text_tagesablauf p {
  margin: auto;
}

@media only screen and (max-width: 600px) {
  .main-container {
    display: flex;
    justify-content: center;
    min-height: 100vh;
  }

  .content {
    width: 80%; /* Breite des Hauptinhalts auf 80% des Elternelements setzen */
    max-width: 1200px; /* Maximale Breite des Inhalts festlegen, um zu große Breiten zu vermeiden */
    text-align: center;
    margin-top: 30px;
  }

  .ansprechpartner {
    margin-top: 50px;
  }

  .ueberschrift {
    font-size: 14pt;
    margin: 0 auto;
  }

  .timeline {
    width: auto;
    height: auto;
    position: relative; /* Ändere die Positionierung auf relative */
    margin: 0 auto;
  }

  .event {
    display: flex;
    align-items: center;
    margin-top: 30px;
    padding-left: 0;
    z-index: 0;
    position: relative; /* Ändere die Positionierung auf relative */
  }

  .line {
    height: 2px;
    width: 40px;
    background-color: black;
    margin: 0 30px;
  }

  .detail {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    width: 150px;
  }

  .line-vert {
    display: flex;
    height: 550px;
    width: 2px;
    background-color: black;
    margin-left: 100px;
    position: absolute; /* Ändere die Positionierung auf absolute */
    top: 25px;
  }

  .icon {
    width: 50px;
    height: 50px;
    margin-right: 0px;
  }

  .icon img {
    width: 50px;
    height: 50px;
  }

  .text_tagesablauf {
    display: flex;
    margin: auto;
    margin-top: 5rem;
    justify-content: center;
  }

  .text_tagesablauf p {
    margin: auto;
  }
}

/* Anpassungen für Tablets, mittelgroße Bildschirme */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  .main-container {
    display: flex;
    justify-content: center;
    min-height: 100vh;
  }

  .content {
    width: 80%; /* Breite des Hauptinhalts auf 80% des Elternelements setzen */
    max-width: 1200px; /* Maximale Breite des Inhalts festlegen, um zu große Breiten zu vermeiden */
    text-align: center;
    margin-top: 30px;
  }

  .ansprechpartner {
    margin-top: 50px;
  }

  .ueberschrift {
    font-size: 14pt;
    margin: 0 auto;
  }

  .timeline {
    width: auto;
    height: auto;
    position: relative; /* Ändere die Positionierung auf relative */
    margin: 0 7em auto;
  }

  .event {
    display: flex;
    align-items: center;
    margin-top: 30px;
    padding-left: 0;
    z-index: 0;
    position: relative; /* Ändere die Positionierung auf relative */
  }

  .line {
    height: 2px;
    width: 40px;
    background-color: black;
    margin: 0 30px;
  }

  .detail {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    width: 150px;
  }

  .line-vert {
    display: flex;
    height: 550px;
    width: 2px;
    background-color: black;
    margin-left: 100px;
    position: absolute; /* Ändere die Positionierung auf absolute */
    top: 25px;
  }

  .icon {
    width: 50px;
    height: 50px;
    margin-right: 0px;
  }

  .icon img {
    width: 50px;
    height: 50px;
  }

  .text_tagesablauf {
    display: flex;
    margin: auto;
    margin-top: 5rem;
    justify-content: center;
  }

  .text_tagesablauf p {
    margin: auto;
  }
}

/* Anpassungen für Tablets, mittelgroße Bildschirme */
@media only screen and (min-width: 1024px) and (max-width: 1489px) {
  .main-container {
    display: flex;
    justify-content: center; /* Zentriert den Content horizontal */
    min-height: 0; /* Minimale Höhe auf 100% des Viewport setzen */
  }

  .content {
    width: 80%; /* Breite des Hauptinhalts auf 80% des Elternelements setzen */
    max-width: 1200px; /* Maximale Breite des Inhalts festlegen, um zu große Breiten zu vermeiden */
    text-align: center;
    margin-top: 30px;
  }

  .ansprechpartner {
    margin-top: 50px;
  }

  .ueberschrift {
    font-size: 14pt;
    margin: 0 auto;
  }

  .timeline {
    width: auto;
    height: auto;
    position: relative; /* Ändere die Positionierung auf relative */
    margin: 0 7em auto;
  }

  .event {
    display: flex;
    align-items: center;
    margin-top: 30px;
    padding-left: 0;
    z-index: 0;
    position: relative; /* Ändere die Positionierung auf relative */
  }

  .line {
    height: 2px;
    width: 40px;
    background-color: black;
    margin: 0 30px;
  }

  .detail {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    width: 200px;
  }

  .line-vert {
    display: flex;
    height: 550px;
    width: 2px;
    background-color: black;
    margin-left: 100px;
    position: absolute; /* Ändere die Positionierung auf absolute */
    top: 25px;
  }

  .icon {
    width: 50px;
    height: 50px;
    margin-right: 0px;
  }

  .icon img {
    width: 50px;
    height: 50px;
  }

  .text_tagesablauf {
    display: flex;
    margin: auto;
    margin-top: 5rem;
    justify-content: center;
  }

  .text_tagesablauf p {
    margin: auto;
  }

  .ueberschrift {
    font-size: 16pt; /* Adjust font size as needed */
  }
}

/* Anpassungen für Tablets, mittelgroße Bildschirme */
@media only screen and (min-width: 1024px) and (max-width: 1489px) {
  .container {
    display: flex; /* Setzt den Container auf flex */
  }

  .main-container {
    flex: 1; /* Der Hauptinhalt nimmt den verbleibenden Platz ein */
    min-height: 100vh; /* Nehmen Sie das gesamte verfügbare vertikale Platz ein */
    /* Behalten Sie die restlichen Stile bei, oder passen Sie wie nötig an */
  }

  .ueberschrift {
    font-size: 16pt; /* Adjust font size as needed */
  }
}
