@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/bebas-neue-latin-ext-400.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/bebas-neue-latin-400.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@keyframes fade-in {
  from {
    transform: scale(1.2);
    opacity: 0;
  }

  to {
    opacity: 1;
    transform: scale(1.0);
  }
}

@keyframes cloud-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  font-family: 'Bebas Neue', sans-serif;
  background-color: #110D0C;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.cloud {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  animation: cloud-in 2s ease;
}

.cloud span {
  position: absolute;
  top: 0;
  left: 0;
  color: #EADBC4;
  line-height: 1;
  white-space: nowrap;
  opacity: var(--opacity);
  transition: opacity 1.6s ease, color 1.6s ease;
  will-change: transform;
}

.cloud span.lit {
  color: #F3E6D2;
  opacity: 0.6;
}

/* Darkens the names behind the title so it stays readable. */
.container {
  position: relative;
  display: flex;
  height: inherit;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 50% 32% at center, #110D0CE6 0%, #110D0C99 55%, #110D0C00 100%);
}

.title {
  margin: 0;
  padding-top: 0.08em;
  color: #C23B2E;
  font-size: clamp(4rem, 23vw, 12rem);
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  animation: fade-in 750ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .title,
  .cloud {
    animation: none;
  }
}
