.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;
}

.location {
  margin-top: 50px;
}

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

/* Stile für den Text */
.location p {
  line-height: 1.5;
  margin-bottom: 25px;
}

/* Stile für das Bild */
.anfahrt img {
  max-width: 100%; /* Das Bild auf die volle Breite der Umgebung anpassen */
  height: 500px;
  margin-top: 20px; /* Füge einen Abstand zum Text hinzu */
}

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

  .content {
    width: 80%;
    text-align: center;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
  }

  .location {
    margin-top: 50px;
  }
}

/* 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;
  }

  .location {
    margin-top: 50px;
  }

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

/* 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 */
  }
}

/* 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 */
  }
}
