* {
  padding: 0;
  margin: 0;
  border: 0;
}
*,
*::after,
*::before {
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}
ul li {
  list-style: none;
}

body {
  font-family: "Prompt", sans-serif;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

.menu {
  padding: 60px 0;
  position: fixed;
  left: 0;
  right: 0;
  z-index: 5;
}
.menu__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}
.top {
  height: 300vh;
}
.top__layer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  animation-range: 0 300vh;
  animation-timing-function: linear;
  animation-timeline: scroll();
  animation-fill-mode: both;
  /* animation-duration: 5s; */
}

.top__layer--5 {
  animation-name: top-layer-5;
}
@keyframes top-layer-5 {
  to {
    scale: 1.25;
  }
}
.top__layer--4 {
  animation-name: top-layer-4;
}
@keyframes top-layer-4 {
  to {
    scale: 1.35;
  }
}
.top__layer--3 {
  animation-name: top-layer-3;
}
@keyframes top-layer-3 {
  to {
    scale: 1.3;
  }
}
.top__layer--2 {
  animation-name: top-layer-2;
}
@keyframes top-layer-2 {
  to {
    scale: 2;
  }
}
.top__layer--1 {
  animation-name: top-layer-1;
}
@keyframes top-layer-1 {
  to {
    scale: 5;
  }
}
.top__text {
  animation-name: text;
  font-family: "Gravitas One", serif;
  opacity: 0;
  animation-range: 150 350vh;
  animation-timing-function: linear;
  animation-timeline: scroll();
  animation-fill-mode: both;
}
@keyframes text {
  to {
    opacity: 1;
  }
}
.title {
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgb(42, 42, 42), 0 0 1em rgb(56, 56, 56),
    0 0 0.2em rgb(75, 75, 75);
  font-size: 120px;
}
.text {
  font-size: 24px;
}
.arrows-box {
  border: 1px solid #fff;
  border-radius: 50%;
  background-color: rgba(30, 30, 30, 0.7);
  width: 60px;
  height: 60px;
  margin: 0 auto;
  position: fixed;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 50px;
}
.arrows {
  width: 10px;
  height: 10px;
  position: relative;
  margin: 23px auto;
}
.arrows::after,
.arrows::before {
  content: "";
  position: absolute;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  width: 100%;
  height: 100%;
  animation: arrow 3s linear infinite;
}
.arrows::after {
  animation: arrow 3s linear infinite -1.5s;
}
@keyframes arrow {
  0% {
    opacity: 0;
    transform: translate(0, -10px) rotate(-45deg);
  }
  10%,
  90% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    scale: 1.3;
    transform: translate(0, 0) rotate(-45deg);
  }
  100% {
    opacity: 0;
    transform: translate(0, +10px) rotate(-45deg);
  }
}
