@import url("https://fonts.googleapis.com/css2?family=Tilt+Neon&display=swap&");
@import url("https://fonts.googleapis.com/css2?family=Neonderthaw&family=Sofia&family=Tilt+Neon&display=swap");
:root {
  --menuContainerHeightMobile: 7vh;
  --neon-magenta-core: #e42885;
  --neon-magenta-soft: rgba(228, 40, 133, 0.7);
  --neon-blue-core: #00a8ff;
  --neon-blue-soft: rgba(0, 168, 255, 0.7);
  --neon-white-core: #ffffff;
  --neon-white-soft: rgba(255, 255, 255, 0.7);

}
body {
  background-color: black;
  margin: 0;
  padding: 0;
}
section {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
}
hr {
  width: 100%;
  height: 3px;
  background-image: linear-gradient(
    to right,
    transparent,
    white,
    white,
    white,
    transparent
  );
  border: none;
}

#snowflakesContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.snowflake{
  --snowflakeSize: 1vw;
  --flakeStartPosTranslated: 0vw; 
  --flakeEndPosTranslated: 0vw; 
  --flakeStartPosUntranslated: 0vw; 
  --animation-duration: 6s;
  --animation-delay: 7s;

  width: var(--snowflakeSize);
  height: var(--snowflakeSize);
  background: rgb(189, 210, 255);
  border-radius: 50%;
  position: absolute;
  top: -5vh;
  left: var(--flakeStartPosUntranslated);
  pointer-events: none;
  animation: snowfall var(--animation-duration) linear infinite;
  animation-delay: var(--animation-delay);
}

@keyframes snowfall{
  0%{
    transform: translate3d(var(--flakeStartPosTranslated), 0, 0);
  }
  100%{
    transform: translate3d(var(--flakeEndPosTranslated), 110vh, 0);
  }
}

/* Navigation */
#menuContainer {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  isolation: isolate;
  width: 100%;
  height: var(--menuContainerHeightMobile);

  display: flex;
  flex-direction: row;
  background-color: var(--neon-magenta-core);
  justify-content: space-between;
  align-content: center;
  align-items: center;
  box-shadow:
    0 2px 2px var(--neon-white-core),
    0 2px 6px var(--neon-white-core),
    0 2px 14px rgba(255, 255, 255, 0.95),
    0 2px 28px var(--neon-white-soft),
    0 2px 45px rgba(255, 255, 255, 0.45);
}
#menuContainer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  z-index: 3;
  box-shadow:
    0 2px 2px var(--neon-white-core),
    0 2px 6px var(--neon-white-core),
    0 2px 14px rgba(255, 255, 255, 0.95),
    0 2px 28px var(--neon-white-soft),
    0 2px 45px rgba(255, 255, 255, 0.45);
}
#menuContainer > a > p {
  color: white;
  font-family: "Neonderthaw", cursive;
  font-size: 2.2em;
  margin: 0;
  padding-left: 12px;
  text-shadow:
    0 0 2px var(--neon-white-core),
    0 0 6px var(--neon-white-core),
    0 0 14px rgba(255, 255, 255, 0.95),
    0 0 28px var(--neon-white-soft),
    0 0 45px rgba(255, 255, 255, 0.45);
  animation: neonFlicker 2s infinite alternate;
}
#menuContainer a {
  text-decoration: none;
}
#navigationMenu li:hover {
  font-size: 2em;
  animation: neonFlicker 1s infinite alternate;
}
#navigationMenu li.navTouchActive {
  font-size: 2em;
  animation: neonFlicker 1s infinite alternate;
}
#navigationMenu {
  display: block;
  position: fixed;
  top: var(--menuContainerHeightMobile);
  left: 0;
  right: 0;
  background-color: var(--neon-blue-core);
  width: 100%;
  height: 0;
  transition: all 0.3s ease;
}
#ulLinks {
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  list-style-type: none;
  width: 100%;
  height: 0%;
}
#ulLinks li {
  font-size: 1.5em;
  color: white;
  font-family: "Tilt Neon", cursive;
  text-shadow:
  0 0 2px var(--neon-white-core),
  0 0 6px var(--neon-white-core),
  0 0 14px rgba(255, 255, 255, 0.95),
  0 0 28px var(--neon-white-soft),
  0 0 45px rgba(255, 255, 255, 0.45);
  animation: neonFlicker 3s infinite alternate;
  transition: all 0.3s ease;
}
#ulLinks li a {
  color: white;
  text-decoration: none;
}
#burgerButton-navigation {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 34px;
  padding: 6px;
  margin-right: 10px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  animation: neonFlicker 2s infinite alternate;
}
#burgerButton-navigation .burgerLine {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background-color: var(--neon-white-core);
  box-shadow:
    0 0 2px var(--neon-white-core),
    0 0 6px var(--neon-white-core),
    0 0 14px rgba(255, 255, 255, 0.95),
    0 0 24px var(--neon-white-soft);
  transition:
    transform 0.28s ease,
    opacity 0.2s ease,
    box-shadow 0.28s ease;
}
#burgerButton-navigation.is-open .burgerLine:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
#burgerButton-navigation.is-open .burgerLine:nth-child(2) {
  opacity: 0;
}
#burgerButton-navigation.is-open .burgerLine:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
/* Hero Section */
#heroSection #logo {
  width: 80%;
  max-width: 700px;
}
#heroSection #trailer {
  width: 75%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  background-color: #050505;
  height: auto;
  margin-top: 50px;
  margin-bottom: 50px;
  border-radius: 15px;
  box-shadow:
    0 0 2px var(--neon-blue-core),
    0 0 6px var(--neon-blue-core),
    0 0 14px rgba(0, 168, 255, 0.95),
    0 0 28px var(--neon-blue-soft),
    0 0 4px rgba(0, 168, 255, 0.45);
  animation: neonFlicker 3s infinite alternate;
}
#heroSection h1 {
  color: var(--neon-magenta-core);
  font-family: "Neonderthaw", cursive;
  font-size: 1.8em;
  text-shadow:
    0 0 0.6px rgba(0, 0, 0, 0.95),
    0 0 2px var(--neon-magenta-core),
    0 0 6px rgba(228, 40, 133, 0.82),
    0 0 14px rgba(228, 40, 133, 0.55),
    0 0 22px rgba(228, 40, 133, 0.35);
  animation: neonFlicker 3s infinite alternate;
}
/* Acts Section */

#actsSection h2 {
  color: var(--neon-magenta-core);
  font-family: "Neonderthaw", cursive;
  font-size: 3em;
  text-shadow:
    0 0 0.8px rgba(0, 0, 0, 0.95),
    0 0 2px var(--neon-magenta-core),
    0 0 6px rgba(228, 40, 133, 0.82),
    0 0 14px rgba(228, 40, 133, 0.55),
    0 0 22px rgba(228, 40, 133, 0.35);
}

#actsSection #actsContainer {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-content: center;
  flex-wrap: wrap;
  width: 80%;
  height: auto;
  margin-top: 50px;
}
#actsSection #actsContainer .actContainer {
  position: relative;
  border-radius: 15px;
  margin-bottom: 50px;
  overflow: visible;
  max-width: 500px;
  height: fit-content;
}
#actsSection #actsContainer .actContainer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  border: 2px solid var(--neon-magenta-core);
  pointer-events: none;
  box-shadow:
    0 0 2px var(--neon-magenta-core),
    0 0 6px var(--neon-magenta-core),
    0 0 14px rgba(228, 40, 133, 0.95),
    0 0 28px var(--neon-magenta-soft),
    0 0 45px rgba(228, 40, 133, 0.45);
  animation: neonFlicker 2s infinite alternate;
}
#actsSection #actsContainer .actContainer .imageContainer {
  width: 100%;
  height: auto;
  border-radius: 15px;
  overflow: hidden;
  box-sizing: border-box;
}
#actsSection #actsContainer .actContainer .imageContainer img {
  display: block;
  width: 100%;
  height: auto;
}
#actsSection #actsContainer .actContainer .actInfoOverlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 0, 255, 0.7);
  border-radius: 15px;
  box-sizing: border-box;
  text-align: center;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#actsSection #actsContainer .actContainer .actInfoOverlay p {
  color: rgb(0, 140, 255);
  font-family: "Tilt Neon";
  font-size: 2em;
  text-shadow:
    0 0 2px var(--neon-blue-core),
    0 0 6px var(--neon-blue-core),
    0 0 14px rgba(0, 168, 255, 0.95),
    0 0 28px var(--neon-blue-soft),
    0 0 45px rgba(0, 168, 255, 0.45);
  animation: neonFlicker 3s infinite alternate;
}

@keyframes neonFlicker {
  0% {
    opacity: 0.95;
  }
  20% {
    opacity: 0.88;
  }
  23% {
    opacity: 0.84;
  }
  26% {
    opacity: 0.8;
  }
  30% {
    opacity: 0.77;
  }
  33% {
    opacity: 0.82;
  }
  36% {
    opacity: 0.85;
  }
  39% {
    opacity: 0.9;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  #actsSection #actsContainer .actContainer::before {
    animation: none;
  }
}

/* Hover nur auf Devices mit echter Hover-Fähigkeit (Desktop) */
@media (hover: hover) {
  #actsSection #actsContainer .actContainer:hover .actInfoOverlay {
    opacity: 1;
  }
  #sponsorenSection .sponsor:hover {
    animation: neonFlicker 3s infinite alternate;
    box-shadow:
      0 0 2px var(--neon-blue-core),
      0 0 6px var(--neon-blue-core),
      0 0 14px rgba(0, 168, 255, 0.95),
      0 0 28px var(--neon-blue-soft),
      0 0 45px rgba(0, 168, 255, 0.45);
    border-radius: 15px;
  }
}

#sponsorenSection .sponsor.sponsorActive {
  box-shadow:
    0 0 2px var(--neon-blue-core),
    0 0 6px var(--neon-blue-core),
    0 0 14px rgba(0, 168, 255, 0.95),
    0 0 28px var(--neon-blue-soft),
    0 0 45px rgba(0, 168, 255, 0.45);
  border-radius: 15px;
  animation: neonFlicker 3s infinite alternate;
}

/* Sponsoren */
#sponsorenSection h3 {
  color: var(--neon-blue-core);
  font-family: "Neonderthaw", cursive;
  font-size: 3em;
  text-shadow:
    0 0 2px var(--neon-blue-core),
    0 0 10px var(--neon-blue-core),
    0 0 18px rgba(0, 168, 255, 0.95),
    0 0 45px var(--neon-blue-soft),
    0 0 60px rgba(0, 168, 255, 0.45);
  animation: neonFlicker 3s infinite alternate;
}
#hauptsponsoren img,
#co-sponsoren img {
  display: block;
  height: auto;
  width: 100%;
  border-radius: 15px;
}
#hauptsponsoren {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
#co-sponsoren {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}
#hauptsponsoren .sponsor {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(90%, 520px);
}
#co-sponsoren .sponsor {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(70%, 280px);
}

#weitereSponsoren p{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  color: white;
  font-family: "Tilt Neon", sans-serif;
}

/* Impressum */
#impressumSection {
  color: white;
  font-family: "Tilt Neon";
  font-size: 1.2em;
  text-align: center;
}
#impressumSection h3 {
  color: var(--neon-magenta-core);
  font-family: "Neonderthaw", cursive;
  font-size: 2em;
  text-shadow:
    0 0 2px var(--neon-magenta-core),
    0 0 10px var(--neon-magenta-core),
    0 0 18px rgba(255, 77, 255, 0.95),
    0 0 45px var(--neon-magenta-soft),
    0 0 60px rgba(255, 77, 255, 0.45);
}
#impressumSection a {
  color: var(--neon-magenta-core);
}

@media screen and (min-width: 900px) {
  /* #menuContainer {
    height: var(--menuContainerHeightMobile);
  } */

  #navigationMenu {
    position: static;
    width: 70%;
    height: fit-content;
    background-color: transparent;
  }
  #ulLinks {
    position: static;
    display: flex;
    flex-direction: row;
    height: fit-content;
  } 
  #ulLinks li {
    font-size: 1.5em;
  }
  #burgerButton-navigation {
    display: none;
  }
}
