@layer base {
  html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
  }
  body {
    overscroll-behavior: none;
  }
  main > :first-child {
    margin-top: 0 !important;
  }
  main > :last-child {
    margin-bottom: 0 !important;
  }
}

::-webkit-scrollbar {
  display: none;
}

@keyframes soundwave {
  0%, 100% { height: 6px; }
  50% { height: 26px; }
}

.wave-bar {
  animation: soundwave 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(2) { animation-delay: 0.15s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; }
.wave-bar:nth-child(5) { animation-delay: 0.2s; }
.wave-bar:nth-child(6) { animation-delay: 0.35s; }
.wave-bar:nth-child(7) { animation-delay: 0.1s; }

/* Mobile menu smooth transition */
#mobile-nav-drawer {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
