@import url('https://fonts.googleapis.com/css2?family=Wavefont:wght,ROND,YELA@4..1000,0..100,-100..100&display=swap');

:root {
  font-size: 100%;
}

/* Violet #a023e6 */
/* Grün #00f000 */
/* Wavefont: Weight 4-1000, Roundness 0-100, Align -100-100  */

body {
  height: 100vw;
  background-color: #a023e6;
  color: #00f000;
  overflow: hidden;
  margin: auto auto;
}


p {
  font-family: "Wavefont";
  font-size: 20vw;
  line-height: 1;
  text-align: center;
  letter-spacing: 1px;
  text-transform: lowercase;
  color: #00f000;
  font-variation-settings: 'wght' 100, 'ROND' 100, 'YELA' 0;
}

.letter {
  display: inline-block;
  animation: swoosh 1.5s ease-out 1s 1;
}


@keyframes swoosh {
  0% {
    font-variation-settings: 'wght' 100, 'ROND' 100, 'YELA' 0;
  }

  20% {
    font-variation-settings: 'wght' 900, 'ROND' 100, 'YELA' -300;
  }

  40% {
    font-variation-settings: 'wght' 500, 'ROND' 100, 'YELA' 200;
  }

  60% {
    font-variation-settings: 'wght' 700, 'ROND' 100, 'YELA' -100;
  }

  80% {
    font-variation-settings: 'wght' 300, 'ROND' 100, 'YELA' 50;
  }

  100% {
    font-variation-settings: 'wght' 100, 'ROND' 100, 'YELA' 0;
  }
}


.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.3s; }
.letter:nth-child(5) { animation-delay: 0.4s; }
.letter:nth-child(6) { animation-delay: 0.5s; }
.letter:nth-child(7) { animation-delay: 0.6s; }
.letter:nth-child(8) { animation-delay: 0.7s; }
.letter:nth-child(9) { animation-delay: 0.8s; }
.letter:nth-child(10) { animation-delay: 0.9s; }
.letter:nth-child(11) { animation-delay: 1s; }





#navigation-buttons {
  position: fixed;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

#navigation-buttons a button {
  font-size: 1.5rem;
  font-family: 'Acumin';
  font-variation-settings: 'wght' 800, 'wdth' 50, 'slnt' 0;
  padding: 10px 20px 5px 20px;
  border: 3px solid #fff;
  text-transform: uppercase;
  background-color: transparent;
  border-radius: 40px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

#navigation-buttons a button:hover {

  font-size: 1.5rem;
  font-family: 'Acumin';
  font-variation-settings: 'wght' 800, 'wdth' 115, 'slnt' 12;
  background-color: #fff;
  color: #a023e6;
}
