.main-container {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  width: 80%;
}

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

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

.present {
  margin-top: 50px;
  line-height: 1.5;
}

.sparschweingif {
  display: flex;
  flex-wrap: nowrap; /* Kein Umbruch, alle Elemente nebeneinander */
  justify-content: center;
  overflow-x: auto; /* Horizontales Scrollen, falls die Bilder zu breit sind */
  margin-top: 50px;
}

.bild img {
  width: 100%; /* Breite des Bildes auf 100% setzen */
  height: auto; /* Automatische Höhe beibehalten */
}

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

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

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

  .present {
    margin-top: 50px;
    line-height: 1.5;
  }

  .sparschweingif {
    display: flex;
    flex-wrap: nowrap; /* Kein Umbruch, alle Elemente nebeneinander */
    justify-content: center;
    overflow-x: auto; /* Horizontales Scrollen, falls die Bilder zu breit sind */
    margin-top: 50px;
  }

  .bild img {
    width: 100%; /* Breite des Bildes auf 100% setzen */
    height: auto; /* Automatische Höhe beibehalten */
  }

  .sparschweingif img {
    width: 100%; /* Breite des Bildes auf 100% setzen, damit es sich innerhalb des Containers anpasst */
    height: auto;
    object-fit: contain; /* Sorgt dafür, dass das Bild vollständig sichtbar ist, ohne abgeschnitten zu werden */
  }
}

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

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

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

  .present {
    margin-top: 50px;
    line-height: 1.5;
  }

  .sparschweingif {
    display: flex;
    flex-wrap: nowrap; /* Kein Umbruch, alle Elemente nebeneinander */
    justify-content: center;
    overflow-x: auto; /* Horizontales Scrollen, falls die Bilder zu breit sind */
    margin-top: 50px;
  }

  .bild img {
    width: 100%; /* Breite des Bildes auf 100% setzen */
    height: auto; /* Automatische Höhe beibehalten */
  }

  .sparschweingif img {
    width: 100%; /* Breite des Bildes auf 100% setzen, damit es sich innerhalb des Containers anpasst */
    height: auto;
    object-fit: contain; /* Sorgt dafür, dass das Bild vollständig sichtbar ist, ohne abgeschnitten zu werden */
  }
}

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

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

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

  .present {
    margin-top: 50px;
    line-height: 1.5;
  }

  .sparschweingif {
    display: flex;
    flex-wrap: nowrap; /* Kein Umbruch, alle Elemente nebeneinander */
    justify-content: center;
    overflow-x: auto; /* Horizontales Scrollen, falls die Bilder zu breit sind */
    margin-top: 50px;
  }

  .bild img {
    width: 100%; /* Breite des Bildes auf 100% setzen */
    height: auto; /* Automatische Höhe beibehalten */
  }

  .sparschweingif img {
    width: 100%; /* Breite des Bildes auf 100% setzen, damit es sich innerhalb des Containers anpasst */
    height: auto;
    object-fit: contain; /* Sorgt dafür, dass das Bild vollständig sichtbar ist, ohne abgeschnitten zu werden */
  }
}
