@font-face {
  font-family: "Oswald Variable";
  src: url("Oswald-Variable.woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400
}

@font-face {
  font-family: "Oswald Variable Placeholder";
  src: local("Arial");
  ascent-override: 146.31%;
  descent-override: 35.44%;
  line-gap-override: 0.00%;
  size-adjust: 81.54%
}

@font-face {
  font-family: "Oswald";
  src: url("Oswald.woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400
}

@font-face {
  font-family: "Oswald";
  src: url("Oswald-bold.woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700
}

@font-face {
  font-family: "Oswald Placeholder";
  src: local("Arial");
  ascent-override: 146.31%;
  descent-override: 35.44%;
  line-gap-override: 0.00%;
  size-adjust: 81.54%
}

* {
  box-sizing: border-box;
}

body {
  color: #1b1d3a;
  font-family: sans-serif;
  font-size: 12px;
  margin: 0;
}

#main {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 183px;
}


@keyframes parallax-logo {
  from { top: 0; } to { top: 35px; }
}

.logo {
  animation-name: parallax-logo;
  animation-timeline: scroll();
  background-color: white;
  border-radius: 4px;
  height: 183px;
  position: fixed;
  top: 0;
  width: 183px;
  z-index: 1;

  img {
    height: 100%;
    width: 100%;
  }
}

@keyframes fadein-banner {
  0% { opacity: 0; } 100% { opacity: 1; }
}

.banner {
  animation-duration: 200ms;
  animation-fill-mode: forwards;
  animation-name: fadein-banner;
  height: 60vh;
  position: relative;
  opacity: 0;
  width: 100%;
  z-index: 0;

  @media (min-width: 1200px) {
    width: 90%;
  }

  video {
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;

    @media (min-width: 1200px) {
      border-radius: 4px;
    }
  }
}

@keyframes parallax-content {
  from { transform: translateY(0); } to { transform: translateY(-35px); }
}

.content {
  animation-name: parallax-content;
  animation-timeline: scroll();
  max-width: 90%;
  position: relative;
  width: 100%;
  z-index: 2;

  @media (min-width: 1200px) {
    max-width: 854px;
  }
}

@keyframes scroll-title {
  0% { opacity: 0; transform: translateY(-50vh); } 100% { opacity: 1; transform: translateY(0); }
}

@keyframes typewritter {
  0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); }
}

.title {
  --anim-delay: 150ms;

  animation-duration: 200ms;
  animation-fill-mode: both;
  animation-name: scroll-title;
  background-color: white;
  border-radius: 4px;
  bottom: 40px;
  margin: 0 auto;
  padding: 24px 24px 0;
  position: relative;
  opacity: 0;
  transform: translateY(-50vh);
  text-align: center;

  @media (min-width: 664px) {
    bottom: 0;
    margin-bottom: 24px;
  }

  @media (min-width: 1200px) {
    bottom: 52px;
    padding: 48px 64px 0;
  }

  span {
    animation-duration: 160ms;
    animation-fill-mode: forwards;
    animation-name: typewritter;
    display: inline-block;
    opacity: 0;
    word-break: break-all;
  }

  span:nth-child(1) { animation-delay: calc(var(--anim-delay) + 30ms) }
  span:nth-child(2) { animation-delay: calc(var(--anim-delay) + 70ms) }
  span:nth-child(3) { animation-delay: calc(var(--anim-delay) + 120ms) }
  span:nth-child(4) { animation-delay: calc(var(--anim-delay) + 180ms) }
  span:nth-child(5) { animation-delay: calc(var(--anim-delay) + 250ms) }
  span:nth-child(6) { animation-delay: calc(var(--anim-delay) + 330ms) }
  span:nth-child(7) { animation-delay: calc(var(--anim-delay) + 420ms) }
  span:nth-child(8) { animation-delay: calc(var(--anim-delay) + 520ms) }
  span:nth-child(9) { animation-delay: calc(var(--anim-delay) + 630ms) }

  h1 {
    font-family: "Oswald Variable","Oswald Variable Placeholder",sans-serif;
    font-size: 26px;
    font-variation-settings: "wght" 447;
    font-weight: 400;
    line-height: 116%;
    margin: 0 0 8px;
    text-transform: uppercase;

    @media (min-width: 1200px) {
      font-size: 28px;
    }
  }

  h2 {
    --anim-delay: 720ms;

    color: #e40520;
    font-family: "Oswald","Oswald Placeholder",sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 116%;
    margin: 0;

    @media (min-width: 1200px) {
      font-size: 26px;
    }
  }
}

.footer {
  margin: 0 auto;
  padding: 4px 44px 0;
  text-align: center;

  p {
    font-family: "Oswald Variable","Oswald Variable Placeholder",sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    margin: 0 0 12px;
  }

  .small {
    font-family: "Oswald","Oswald Placeholder",sans-serif;
    font-size: 14px;
    font-variation-settings: "wght" 383;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}