@font-face {
  font-family: 'Avenir Condensed';
  src: local('Avenir Next Condensed Demi Bold'), local('AvenirNextCondensed-DemiBold'), local('Avenir Condensed');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Avenir Condensed', 'Avenir Next Condensed', 'Impact', sans-serif;
}

.font-display {
  font-family: 'Avenir Condensed', 'Avenir Next Condensed', 'Impact', sans-serif;
}

.font-body {
  font-family: 'Outfit', sans-serif;
}

.vinyl-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px -4px hsla(215, 60%, 20%, 0.1);
}

.vinyl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px -8px hsla(215, 60%, 20%, 0.15);
}

.section-cream {
  background: hsl(30 20% 98%);
}

.section-white {
  background: hsl(0 0% 100%);
}

.section-navy {
  background: hsl(215 60% 20%);
  color: hsl(0 0% 100%);
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(-25%) translateX(-50%);
  }

  50% {
    transform: translateY(0) translateX(-50%);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes swipe-hint {

  0%,
  100% {
    transform: translateX(-4px);
  }

  50% {
    transform: translateX(4px);
  }
}

@keyframes slide-in-right {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
  opacity: 0;
}

.animate-bounce-custom {
  animation: bounce 1s infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-spin-slow {
  animation: spin-slow 8s linear infinite;
}

.animate-swipe-hint {
  animation: swipe-hint 1.5s ease-in-out infinite;
}

.animate-slide-in-right {
  animation: slide-in-right 0.5s ease-out;
}

/* Prima sezione di una sottopagina.
   La navbar e' fissa e alta 6rem: senza questo spazio il titolo le finisce
   sotto. Sulla home non serve, perche' li' la prima sezione e' l'hero a tutta
   altezza, pensato per stare dietro alla navbar trasparente.
   site.css viene caricato dopo styles.css, quindi vince sul py-12 di Tailwind. */
.page-header {
  padding-top: 9rem;
}
