/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: futura, sans-serif;
}

section{
  min-height: 80vh;
  /* padding: 60px 20px; */
  @media screen and (min-width: 900px) {
    padding: 50px;
  }
  @media screen and (min-width: 1300px) {
    padding: 70px;
  }
  @media screen and (min-width: 1500px) {
    padding: 90px;
  }
}

.container-half{
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  @media screen and (min-width: 750px) {
    width: 85%;
  }
  /* @media screen and (min-width: 992px) {
    width: 50%;
  } */
}

/* intro Section */
.intro {
  display: flex;
  align-items: center; /* Vertikale Zentrierung des Inhalts */
  justify-content: center; /* Optionale horizontale Zentrierung */
  background-color: #F7F3ED;
  height: 100vh;
  gap: 20px; /* Platz zwischen Text und Bild */
}

.intro-text {
  display: flex;
  flex-direction: column; /* Text-Inhalt wird vertikal gestapelt */
  justify-content: center; /* Vertikale Zentrierung innerhalb des Textcontainers */
  align-items: flex-start; /* Linksbündige Ausrichtung des Texts */
  text-align: left; /* Textinhalt bleibt linksbündig */
  /*flex: 1; /* Nimmt gleichmäßig Platz ein */
}

.intro-text h1{
  text-align: start;
}

.intro-image img, .space-image img {
  width: 100%;
  height: auto; /* Passt die Höhe proportional an */
  max-width: 800px;
  max-height: 500px; /* Beide Bilder auf dieselbe maximale Höhe beschränken */
  border-radius: 60px;
  object-fit: cover; /* Passt das Bild so an, dass es den Container gleichmäßig ausfüllt */
}

/* Creative Space Section */
.creative-space {
  background-color: #F3CCE7; /* Pink */
  min-height: 100vh;
}

.container-creative-space{
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 20px; /* Platz zwischen Text und Bild */
  margin-bottom: 100px;
}

.space-text h1 {
  margin-bottom: 20px;
  color: #FC6C20;
}

.space-text p {
  margin-bottom: 15px;
}

/* Events Section */

.events {
  background-color: #F3CCE7; /* Pink */
  text-align: left;
  padding: 20px; /* Abstand innen */
}

.events h2 {
  color: #FC6C20; /* Orange */
  margin-bottom: 20px;
  text-align: center;
}


.container-events {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Ermöglicht Umbruch der Boxen */
  padding: 20px;
}

.event-subtitle {
  color: #f3cce7; /* Gleiche Farbe wie der Rest des Texts */
  margin: 10px; /* Platz oberhalb und unterhalb */
}

/* Event-Box Styling */
.event-box {
  background-color: #FC6C20;
  color: #f3cce7;
  border-radius: 10px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  padding: 20px;
  width: 350px;
  text-align: center;
  transition: transform 0.3s ease;
  min-height: 300px;
  overflow: hidden; /* Schneidet überschüssigen Inhalt ab */
  display: flex; /* Für bessere vertikale Ausrichtung */
  flex-direction: column; /* Richtet den Inhalt vertikal aus */
  justify-content: space-between; /* Verteilt den Inhalt innerhalb der Box */
}

.event-box:hover {
  transform: scale(1.05);
}

.event-box h2 {
  margin: 10px;
  color: #f3cce7;
}

.event-box p {
  color: #f3cce7;
}

/* Button Styling */
.event-box button {
  background-color: #f3cce7;
  color: #FC6C20;
  border: none;
  padding: 12px 24px; /* Größerer Abstand für Touch-Geräte */
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s;
  font-weight: bold;
}

.event-box button:hover {
background-color: #f5aade;
}

/* Tablet und Smartphone (bis max-width: 1024px) */
@media (max-width: 1024px) {
  section {
    padding: 30px;
    height: auto; /* Automatische Höhe */
  }

  .intro {
    flex-direction: column; /* Vertikale Anordnung */
    text-align: center;
  }

  .intro-text {
    display: flex;
    flex-direction: column; /* Text bleibt vertikal ausgerichtet */
    align-items: center; /* Links ausgerichtet */
    justify-content: center; /* Vertikal zentrieren */
  }

  .intro-text h1{
    text-align: center;
  }

  .intro-text p{
    text-align: center;
  }

  .intro-image img {
    width: auto; /* Verhindert zu starke Verkleinerung */
    min-width: 300px; /* Mindestens 300px Breite */
    border-radius: 30px; /* Abgerundete Ecken bleiben */
    margin-bottom: 50px;
  }

  .container-creative-space {
    flex-direction: column; /* Inhalte untereinander */
    text-align: left; /* Kein zentrierter Text */
    padding: 20px;
    margin-bottom: 40px;
  }

  .space-text {
    display: flex;
    flex-direction: column; /* Text bleibt vertikal ausgerichtet */
    align-items: flex-start; /* Links ausgerichtet */
    justify-content: center; /* Vertikal zentrieren */
  }

  .space-text h2 {
    margin-bottom: 20px;
    color: #FC6C20;
  }

  .space-image img {
    width: auto; /* Verhindert zu starke Verkleinerung */
    min-width: 300px; /* Mindestens 300px Breite */
    border-radius: 30px; /* Abgerundete Ecken bleiben */
  }
  .container-arrows{
    display: inline-block;
  }
}

/* Sehr kleine Smartphones (bis max-width: 480px) */
@media (max-width: 480px) {
  
  .intro {
    padding: 30px 10px; /* Weniger Platz für kleine Bildschirme */
    padding-top: 80px;
  }

  .intro-image img {
    width: 100%; /* Vollbreite auch auf sehr kleinen Geräten */
    max-width: none;
    border-radius: 10;
  }


  .space-image img {
    width: 100%; /* Vollbreite auch auf sehr kleinen Geräten */
    max-width: none;
    border-radius: 10;
  }
  .container-arrows{
    display: none;
  }

}
