

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: 
    linear-gradient(rgba(27, 25, 25, 0.5), rgba(27, 25, 25, 0.5)),
    url("../Bilder/AW.png");

        background-size: cover;       /* Bild füllt Bildschirm */
        background-position: center;  /* zentriert */
        background-repeat: no-repeat; /* kein Wiederholen */
        background-attachment: fixed; /* optional: Parallax-Effekt */
}

h1 { 

  /* Layout/Abstände/Größe */
  height: 100px;  /* Höhe des Elements, Inhaltsbibliothek: 03_Formatierungen */
  display: flex;  /* Kombination der Flex-Eigenschaften, 08_Layoutgestaltung */

  /* Position */
  align-items: center; /* Elemente senkrecht zentriert werden */
  justify-content: center; /* wie der Platz zwischen oder um Elemente herum verteilt wird */

  /* Design */
  background-image: linear-gradient(to right, #1e293b, #7bb0de); /* Es erstellt einen Farbverlauf von links nach rechts – von Blau  zu Türkis */
  color: white; /* Schriftfarbe weiß */
  text-transform: uppercase;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2rem;
  letter-spacing: 2px;
  padding: 20px 0;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.4); /* Textschatten: 3px:Schatten nach rechts,  3px: Schatten nach unten, 8px: Unschärfe des Schattens (je höher, desto weicher),  rgba(0,0,0,0.4): schwarze Farbe mit 40 % Transparenz */

  /*Animation*/
  animation: erscheinen 1s;
} 

  @keyframes erscheinen{
    from{
      opacity: 0;
    }
    to{
      opacity: 1;
    }
  }



nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    position: relative; /* Bezugspunkt für Linie*/
    display:flex;
    transition:0.3s ease;
    display: inline-block;
    padding: 5px 5px;
    
}

nav a::after {  /* ::after= erzeugt eine Linie unter dem Link*/
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px; /* Abstand unter dem Text */
  width: 0;     /*width: 0 → 100% → Linie fährt rein*/
  height: 1px;
  background-color: white;
  
}

nav a:hover::after {
  width: 100%;
}

nav a:hover{
    color: #5cdce2;
    font-size: 20px;
    transition:0.5s ease-in-out;
}

/* ── Main ── */
main {
  flex: 1;
  padding: 2rem;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

main > a {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgb(56, 87, 110);
  text-decoration: none;
}

main > a:hover {
  text-decoration: underline;
}

/* ── Verantwortlicher Block ── */
.box {
  background:#1e293b;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  box-shadow: 0px 5px 20px black;
  opacity: 0.8; /* Transparenz */
  transition: 0.3s ease;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  color:white
}



 h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color:#7bb0de;
}

 a {
  color: rgb(106, 144, 173);
}
footer {
    text-align: center;
    padding: 20px;
    margin: 20px;
}

footer .footer-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #1e293b;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s ease;
}

footer .footer-button:hover {
    background-color: #555;
    transform: scale(1.05);
}


.back {
    position: fixed;
    bottom: 20px; /* Abstand nach unten */
    left: 20px;   /* Abstand nach links */
    z-index: 1000;
}

.back img {
    width: 40px;
    height: auto;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

/* Hover Effekt */
.back img:hover {
    transform: scale(1.3);
}
.emoji-big {
  display: inline-block;
  font-size: 52px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

