/* Página "Muy pronto" de elbosque.club mientras la web no se lanza.
   Colores y letras de la web (src/styles/tokens.css): fondo neutro #f2f2f0, Libre Baskerville cursiva
   y Nunito Sans, ambas OFL y autoalojadas. Sin JS, sin cookies, sin peticiones a terceros. */

@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/libre-baskerville-latin-wght-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('/fonts/nunito-sans-latin-wght-normal.woff2') format('woff2');
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: #f2f2f0;
  color: #3f3121;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  text-align: center;
}

h1 {
  margin: 0;
}

h1 img {
  display: block;
  width: clamp(180px, 22vw, 280px);
  height: auto;
}

.soon {
  margin: 40px 0 0;
  font-family: 'Libre Baskerville', Baskerville, Georgia, serif;
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
}

.what {
  margin: 12px 0 0;
  font-family: 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  color: #79724d;
}

@media (prefers-reduced-motion: no-preference) {
  main > * {
    animation: aparece 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
  .soon {
    animation-delay: 0.18s;
  }
  .what {
    animation-delay: 0.36s;
  }
  @keyframes aparece {
    from {
      opacity: 0;
      translate: 0 18px;
    }
  }
}
