@font-face {
  font-display: swap;
  font-family: 'Neue Montreal';
  src:
    url('./assets/NeueMontreal-regular.woff2') format('woff2'),
    url('./assets/NeueMontreal-regular.woff') format('woff');
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #000;
  font-family: 'Neue Montreal';
  height: 500vh;
  width: 100%;
}

h1 {
  font-size: 80px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0.25em 0;
}

p {
  font-size: 24px;
  font-weight: 400;
  line-height: 175%;
}

.lottie-container {
  filter: saturate(2);
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: -1;
}

.animation:after {
  animation: animateGrain 8s steps(10) infinite;
  background-image: url(./images/noise.png);
  content: '';
  height: 200%;
  left: 0;
  opacity: 0.1;
  position: fixed;
  top: 0;
  width: 200%;
}

.gradient {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  height: 200vh;
  position: relative;
  width: 100%;
  z-index: 1;
}

.website-content {
  background-color: #000;
  color: #fff;
  height: 300vh;
  padding: 10em;
  position: relative;
  width: 100%;
  z-index: 1;
}

.end-lottie {
  height: 1px;
  left: 0;
  position: absolute;
  top: 100vh;
  width: 100%;
}

@keyframes animateGrain {
  0% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-5%, -10%);
  }
  20% {
    transform: translate(-15%, -20%);
  }
  30% {
    transform: translate(-5%, -10%);
  }
  40% {
    transform: translate(-15%, -20%);
  }
  50% {
    transform: translate(-5%, -10%);
  }
  60% {
    transform: translate(-15%, -20%);
  }
  70% {
    transform: translate(-5%, -10%);
  }
  80% {
    transform: translate(-15%, -20%);
  }
  90% {
    transform: translate(-5%, -10%);
  }
  100% {
    transform: translate(-15%, -20%);
  }
}
