* {
  box-sizing: border-box;
}
body {
  background: #111;
  min-height: 100vh;
  overflow-x: hidden;
}
.page {
  height: 100vh;
  width: 100vw;
  scroll-snap-align: center;
  font-size: calc(var(--font-size) * 1px);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
}
.container {
  height: 100vh;
  overflow: auto;
  overflow-x: hidden;
  -ms-scroll-snap-type: y mandatory;
      scroll-snap-type: y mandatory;
}
.page {
  color: #fff;
  font-size: 3rem;
  text-align: center;
}
@media (min-width: 768px) {
  .page {
    font-size: 5rem;
  }
}
.page:nth-child(n) {
  background: #63c0f7;
}
.page:nth-child(2n) {
  background: #f21e56;
}
.page:nth-child(3n) {
  background: #bd04a9;
}

.text--enter .char{
  animation: anim 2s forwards;
  animation-delay: calc(0.1s + (0.1s * var(--char-index)));
  opacity: 0;
}
.text--enter .char:nth-of-type(1) {
  transform: translateX(-948%) translateY(-375%);
}
.text--enter .char:nth-of-type(2) {
  transform: translateX(-348%) translateY(250%);
}
.text--enter .char:nth-of-type(3) {
  transform: translateX(100%) translateY(-138%);
}
.text--enter .char:nth-of-type(4) {
  transform: translateX(580%) translateY(-398%);
}
.text--enter .char:nth-of-type(5) {
  transform: translateX(993%) translateY(290%);
}
.text--enter .char:nth-of-type(6) {
  transform: translateX(993%) translateY(-290%);
}
@keyframes anim {
  0%{
    opacity: 0.2;
  }
  50%{
    opacity: 0.75;
  }
  100% {
    opacity: 1;
    transform: translate(0px);
  }
}