/* Optional custom styles */
:root {
  --flyer-red: #df6373;
}


html {
    scroll-behavior: smooth;
}
  
body {
  font-family: 'Raleway', sans-serif;
  background-color: #fff;
  color: #333;
}

h3 {
  color: #222;
}

section#informationen p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Header: "Bavarian Summer" */
header h1 {
  font-family: 'Pacifico', cursive;
  font-size: 3rem;
  margin: 0;
}

header {
  background-color: var(--flyer-red);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

/* Alle Hauptüberschriften */
section h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: var(--flyer-red);
  margin-bottom: 1.5rem;
}

nav {
  background-color: var(--flyer-red);
  color: white;
  display: flex;
  justify-content: center;
  padding: 1rem;
  gap: 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Navbar-Links */
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.2s ease;
  transition: text-decoration 0.2s ease;
}

nav a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

@media (max-width: 400px) {
  nav {
    flex-direction: row;
    align-items: flex-start;
    padding: 0.5rem 1rem;
  }

  nav a {
    margin-right: 0rem;
    font-size: 0.875rem; /* kleinerer Text */
    padding: 0.25rem 0;
  }

  nav .space-x-4 > *:not(:last-child) {
    margin-right: 0.5rem;
  }

}

.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  background-image: url('images/munich.jpeg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text h1 {
  font-family: 'Birthstone Bounce', cursive;
  font-size: 3rem;
  color: var(--flyer-red);
  margin: 0;
  font-weight: 600;
  font-style: normal;
  text-align: center;
  white-space: nowrap;
}

.brush {
  background-image: url('images/brush.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding: 10rem 20rem;
  display: inline-block;
}

.subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  margin-top: 0.5rem;
  color: var(--flyer-red);
  font-weight: 300;
  letter-spacing: 1px;
  text-align: center;
}

@media (max-width: 768px) {
  .brush {
    background-size: 250% contain;
    padding: 6rem 12rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .brush {
    background-size: 300% contain;
    padding: 5rem 10rem;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 1rem;
  }
}

.logo-img {
  height: 200px;
  width: auto;
}

@media (max-width: 600px) {
  .logo-img {
    height: 150px;
  }
}

@media (max-width: 400px) {
  .logo-img {
    height: 100px;
  }
}

.section-white {
  background-color: white;
}

.section-red {
  background-color: #e6cdd0;
}

.footer{
  background-color: var(--flyer-red);
  color: white;
}

.infobanner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banneroverlay {
  background-color: rgba(235, 59, 74, 0.95); /* Flyer-Rot mit etwas Transparenz */
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-top: 2rem;
}

.banneroverlay h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: white;
}

.banneroverlay p {
  margin: 0.3rem 0;
  font-size: 1rem;
}

.banneroverlay a {
  color: white;
  text-decoration: underline;
  font-weight: bold;
}
