@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Reddit Sans", sans-serif;
}

::-webkit-scrollbar {
  display: none;
}

.container {
  scroll-snap-type: y mandatory;
}

.box {
  width: 100%;
  height: 100vh;
  background: black;
  display: grid;
  place-items: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.box:nth-child(1) span {
  color: #fff;
}

.box:nth-child(2) {
  background: white;
}
.box:nth-child(3) {
  background: #e2e3d7;
}

span {
  font-size: 8rem;
  color: #000;
  font-weight: 900;
  opacity: 0.5;
}

.box a {
  opacity: 0.5;
  text-decoration: none;
  animation: fade 5s linear forwards;
  font-size: 3rem;
}

@keyframes fade {
  from {
    opacity: 1;
  }
  80% {
    opacity: 0.5;
  }
  to {
    opacity: 0;
  }
}

.box a:hover {
  opacity: 1;
  animation: fade 0.3s linear backwards;
}
