@import url('https://fonts.googleapis.com/css2?family=Dim+Sans:wght@700&family=Playfair+Display:wght@700&family=Source+Sans+Pro:wght@400;600&display=swap');

:root {
  --button-background: springgreen;
  --button-color: black;
  --dropdown-highlight: springgreen;
  --dropdown-width: 200px;
  --dropdown-background: black;
  --dropdown-color: springgreen;
}

/* Body & Layout */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #000;
  font-family: 'Source Sans Pro', sans-serif;
  color: #fff;
}

body {
  display: flex;
  flex-direction: column;
}

/* GECENTREERDE TITEL ANIMATIE */
#fly-in {
  width: 100vw;
  min-height: clamp(4rem, 15vw, 12rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* perfect verticaal centreren */
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Animated title lines */
#fly-in div {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  color: springgreen;
  font-family: 'Dim Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(5.4rem, 12vw, 9rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: flyin-switch 22.5s linear infinite;
  user-select: none;
}

#fly-in div:nth-child(1) { animation-delay: 0s; }
#fly-in div:nth-child(2) { animation-delay: 7.5s; }
#fly-in div:nth-child(3) { animation-delay: 15s; }

@keyframes flyin-switch {
  0%   { opacity: 0; filter: blur(20px); transform: translate(-50%, -50%) scale(12);}
  5%   { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) scale(1);}
  30%  { opacity: 1;}
  35%  { opacity: 0; filter: blur(10px); transform: translate(-50%, -50%) scale(.1);}
  100% { opacity: 0;}
}

/* Dropdown styling */
.controls-section {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 0;
}

a.button {
  background: var(--button-background);
  color: var(--button-color);
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  transition: filter 0.2s;
}

a.button:active { filter: brightness(75%); }

.dropdown { position: relative; }
.dropdown summary { list-style: none; cursor: pointer; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown ul {
  position: absolute;
  margin-top: 12px;
  width: var(--dropdown-width);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dropdown-background);
  border-radius: 6px;
  list-style: none;
  z-index: 2;
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,80,0,0.08);
}
.dropdown ul li a {
  display: block;
  padding: 8px 0.8rem;
  color: var(--dropdown-color);
  text-decoration: none;
}
.dropdown ul li a:hover {
  background: var(--dropdown-highlight);
  color: var(--dropdown-background);
}

/* Canvas 100px onder dropdown - container */
#canvas-container {
  display: flex;
  justify-content: center;
  align-items: center; /* horizontaal en verticaal centreren van canvas */
  margin: 100px auto 32px auto;
  width: 95vw;
  max-width: 900px;
  min-height: 1px; /* voorkomt collapse */
}

/* Responsive canvas styling */
#canvas-container canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0);
  margin: 0 auto;
}

/* Video */
.footer-video {
  width: 100vw;
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.video-container {
  width: 95vw;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
}
.video-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  display: block;
  background: #000;
}

/* AUDIO PLAYERS STYLING */
.audio-players {
  width: 95vw;
  max-width: 900px;
  margin: 0 auto 48px auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}

.audio-player-wrapper {
  width: 100%;
  max-width: 900px;
  text-align: center;
  background: #000;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,255,127,0.09);
  padding: 12px 0 10px 0;
}

.audio-player-label {
  font-family: 'Dim Sans', 'Source Sans Pro', sans-serif;
  font-size: 0.9rem;
  color: springgreen;
  margin: 6px 0 0 0;
  user-select: none;
  letter-spacing: 0.05em;
}

.audio-player-wrapper iframe {
  width: 100% !important;
  max-width: 880px !important;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,255,127,0.08);
  border: none;
  display: block;
  background: #000;
  min-height: 80px;
}

/* Height per platform */
.audio-player-wrapper iframe[src*="soundcloud.com"],
.audio-player-wrapper iframe[src*="bandcamp.com"] {
  height: 120px !important;
}
.audio-player-wrapper iframe[src*="spotify.com"] {
  height: 80px !important;
}

/* Footer */
.footer-intro {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: auto;
}
.footer-intro-content {
  background: springgreen;
  color: black;
  border-radius: 12px 12px 0 0;
  padding: 1.2em 1.5em;
  max-width: 32em;
  width: 95vw;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
}
.footer-intro-title {
  font-family: 'Dim Sans', sans-serif ;
  font-size: 1.1rem;
  font-weight: 700;
}
.footer-intro-text a { color: black; }
.footer-intro-text a:hover { color: darkgreen; }

/* Mobile */
@media (max-width: 600px) {
  #fly-in div { font-size: clamp(2.4rem, 10vw, 4.8rem); }
  .video-container,
  canvas,
  .audio-players,
  .audio-player-wrapper {
    max-width: 100vw;
  }
  .audio-players { gap: 14px; padding: 0 8px; }
  .audio-player-wrapper iframe { border-radius: 10px; }
  .audio-player-label { font-size: 0.78rem; }
  .footer-intro-content { max-width: 98vw; font-size: 0.98em; }
}




