/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* LAYOUT */
body {
  font-family: sans-serif;
  overflow-x: hidden;
  background: #111;
  color: white;
}

.story {
  width: 100%;
}

/* PANELS */
.panel {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
}

/* HERO */
.hero {
  background: linear-gradient(to bottom, #0f172a, #1e293b);
}

.hero__title {
  font-size: clamp(3rem, 8vw, 7rem);
  margin-bottom: 1rem;
  animation: fadeIn 1.5s ease;
}

.hero__text {
  max-width: 60ch;
  line-height: 1.6;
  font-size: 1.2rem;
}

/* PROBLEM */
.problem {
  background: #7f1d1d;
}

/* EFFECTS */
.effects {
  background: #1e3a8a;
}

/* SOLUTIONS */
.solutions {
  background: #166534;
}

/* ENDING */
.ending {
  background: black;
}

/* SCROLL ANIMATION */
.hidden {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1s ease, transform 1s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* VISUAL ELEMENTS */
.visual {
  font-size: clamp(4rem, 10vw, 8rem);
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.visual--heat {
  animation-name: pulseHeat;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes pulseHeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
.visual:hover {
  transform: scale(1.1);
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* FOOTER */
.footer {
  padding: 2rem;
  text-align: center;
  background: #111;
  color: #aaa;
  font-size: 0.9rem;
}

/*# sourceMappingURL=styles.css.map */
