:root {
  font-size: 100%;
  color: rgb(255, 255, 255);
}

body {
  margin: 0;
  background-color:rgb(0, 204, 255);
}

.box1 {
  display: flex;
  justify-content:center;
  flex-direction: column;
  align-items:center;
  height: 100vh;
  text-transform: uppercase;
  position: relative;
  top: 0vh;
}

h1 {
  font-family: "GT-Flexa-VF"; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
  color: rgb(255, 255, 255);
  line-height: 0;
}

.wide2 {
  font-variation-settings: "wght" 600, "FLAR" 100;
  transform: scale(5);
  line-height: 1.1;
}

.move {
  display: inline-block;
  animation: move 12s ease-in infinite;
}

.big {
  display: inline-block;
  animation: my-weight 12s ease-in-out infinite;
}

.tremble {
  display: inline-block;
  animation: tremble 12s ease-in-out infinite;
}

.f {
  display: inline-block;
  position: relative;
  animation: my-slant-f 12s ease-in-out infinite;
}

.a {
  display: inline-block;
  position: relative;
  left:-1px;
  animation: my-slant-a 12s ease-in-out infinite;
}

.i {
  display: inline-block;
  position: relative;
  animation: my-slant-i 12s ease-in-out infinite;
}

.l {
  display: inline-block;
  position: relative;
  animation: my-slant-l 12s ease-in-out infinite;
}

@keyframes move {
  0% {
    translate: 0 -200px;
    font-variation-settings: "wdth" 100;
    /* transform: scaleX(0.5); */
  }
  15% {
    translate: -3px;
    font-variation-settings: "wdth" 50;
    /* transform: scaleX(0.5); */
  }
  16% {
      translate: 0px;
      font-variation-settings: "wdth" 200;
      /* transform: scaleX(2);*/
    } 

  20% {
      translate: 0px;
      font-variation-settings: "wdth" 100;
      /* transform: scaleX(2);*/
    } 
  95% {
      translate: 0px;
      font-variation-settings: "wdth" 100;
      /* transform: scaleX(2);*/
    } 
  to {
    translate: 0 200px;
    /* transform: scaleX(0.7);  */
    font-variation-settings: "wdth" 100;
  }
}

@keyframes tremble {
  from {
    translate: 0px;
    font-variation-settings: "wdth" 100;
    /* transform: scaleX(1); */
  }
  12% {
    translate: 0px;
    font-variation-settings: "wdth" 100;
    /* transform: scaleX(1); */
  }
  14.% {
    translate: -1px;
    font-variation-settings: "wdth" 200;
    /* transform: scaleX(0.85); */
  }
  16% {
      translate: -2px;
      font-variation-settings: "wdth" 100;

      /* transform: scaleX(0.85); */
    }
  to {
    translate: 0px;
    /* transform: scaleX(1);  */
    font-variation-settings: "wdth" 100;

  }
}

@keyframes my-weight {
  from {
    font-size: 100%;
    font-variation-settings: "wdth" 100;
  }
  15% {
    font-size: 100%;
    color: rgb(255, 255, 255);
    font-variation-settings: "wdth" 100;

  }
 22% {
    font-size: 700%;
    color: rgb(255, 0, 225);
    font-variation-settings: "wdth" 100;

      }
  32% {
        font-size: 100%;
        color: rgb(255, 255, 255);
        font-variation-settings: "wdth" 100;

          }
  95% {
    font-size: 100%;
    font-variation-settings: "wdth" 100;
    }
  to {
    font-size: 100%;
    font-variation-settings: "wdth" 100;

    }
}


@keyframes my-slant-f {
  23.5% {
    translate: 0px 0px;
    transform: skew(0deg, 0deg);
    font-variation-settings: "slnt" 0;
  }
  28% {
    translate: 0px 5px;
    transform: skew(-40deg, 0deg);
    font-variation-settings: "slnt" 15;
  }
  50% {
    translate: 0px 100px;
    transform: skew(-40deg, 120deg);
    font-variation-settings: "slnt" 15;
  }
  80% {
    translate: 0px 150px;
    transform: skew(-40deg, 240deg);
    font-variation-settings: "slnt" 15;
  }
  85% {
    transform: skew(-30deg, 90deg);
    font-variation-settings: "slnt" 0;
  }
}

@keyframes my-slant-a {
  24.5% {
    translate: 0px;
    transform: skew(0deg, 0deg);  
    font-variation-settings: "slnt" 0;
  }
31% {
    translate: 0px 5px;
    transform: skew(-40deg, 0deg);
    font-variation-settings: "slnt" 15;
  }
  60% {
    translate: 30px 100px;
    transform: skew(-40deg, 120deg);
    font-variation-settings: "slnt" 15;
  }
  75% {
    translate: 30px 150px;
    transform: skew(-40deg, 240deg);
    font-variation-settings: "slnt" 15;
  }
  85% {
    transform: skew(-30deg, 90deg);
    font-variation-settings: "slnt" 0;
  }
}

@keyframes my-slant-i {
  25.5% {
    translate: 0px;
    transform: skew(0deg, 0deg);  
    font-variation-settings: "slnt" 0;
  }
 33% {
  translate: 0px 5px;
  transform: skew(-40deg, 0deg);
  font-variation-settings: "slnt" 15;
  }
  70% {
    translate: 30px 100px;
    transform: skew(-40deg, 120deg);
    font-variation-settings: "slnt" 15;
  }

  75% {
    translate: 30px 150px;
    transform: skew(-40deg, 240deg);
    font-variation-settings: "slnt" 15;
  }
  85% {
    transform: skew(-30deg, 90deg);
    font-variation-settings: "slnt" 0; }
}

@keyframes my-slant-l {
  26.5% {
    translate: 0px;
    transform: skew(0deg, 0deg); 
    font-variation-settings: "slnt" 0; 
  }
  34% {
    translate: 0px -5px;
    transform: skew(40deg, 0deg);
    font-variation-settings: "slnt" 15;
  }
  70% {
    translate: 30px 100px;
    transform: skew(40deg, -120deg);
    font-variation-settings: "slnt" 15;
  }
  75% {
    translate: 30px 150px;
    transform: skew(40deg, -240deg);
    font-variation-settings: "slnt" 15;
  }
  85% {
    transform: skew(30deg, -90deg);
    font-variation-settings: "slnt" 0; }
}
