:root {
  font-size: 366%;
  background-color: rgb(49, 56, 81);
}

body {
  margin: 0;
}

.box1 {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  /* background-color: rgb(49, 67, 81); */
  height: 100vh;
  text-transform: uppercase;
  position: relative;
  top: 8vh;
}

h1 {
  font-family: "RuderPlakatLLVar"; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
  color: rgb(255, 255, 255);
  line-height: 0;
  /* animation: my-growth 9s infinite alternate; */
}

.wide1 {
  /* transform: scaleX(2.6) scaleY(1.7); */
  animation: my-growth-too 16s ease-in infinite alternate;
}

.wide2 {
  /* transform: scaleX(3.2) scaleY(3.2); */
  line-height: 1.1;
  animation: my-growth-big 16s ease-in infinite alternate;
  position: relative;
  top: -15px;
}
.wide3 {
  /* transform: scaleX(3.88) scaleY(1.7); */
  animation: my-growth-to 16s ease-in infinite alternate;
}

.big1 {
  font-size: 498%;
  position: relative;
  top: -68px;
  color: rgb(255, 170, 0);
}

.f {
  display: inline-block;
  position: relative;
  left: 50px;
  animation: my-rotation-f 10s ease-in-out infinite;
  animation-delay: 6s;
}

.a {
  display: inline-block;
  position: relative;
  left: 10px;
  animation: my-rotation-a 10s ease-in-out infinite;
  animation-delay: 6s;
}

.i {
  display: inline-block;
  position: relative;
  left: -17px;
  animation: my-rotation-i 10s ease-in-out infinite;
  animation-delay: 6s;
}

.l {
  display: inline-block;
  position: relative;
  left: -45px;
  animation: my-rotation-l 10s ease-in-out infinite;
  animation-delay: 6s;
}

@keyframes my-growth-too {
  from {
    transform: scaleX(2.6) scaleY(1);
  }
  30% {
    transform: scaleX(2.6) scaleY(1);
  }
  45% {
    transform: scaleX(3.4) scaleY(0.38);
  }
50% {
    transform: scaleX(2.6) scaleY(1);
  }
  to {
    transform: scaleX(2.6) scaleY(1);
  }
}

@keyframes my-growth-big {
  from {
    transform: scaleX(3.2) scaleY(3.2);
  }
  30% {
    transform: scaleX(3.2) scaleY(3.2);
  }
  45%{
    transform: scaleX(4.5) scaleY(4);
  }
  50%{
    transform: scaleX(3.2) scaleY(3.2);
  }

  to {
    transform: scaleX(3.2) scaleY(3.2);
  }
}

@keyframes my-growth-to {
    from {
      transform: scaleX(3.88) scaleY(1.7);
    }
    30% {
      transform: scaleX(3.88) scaleY(1.7);
      translate: 0;

    }
    45% {
      transform: scaleX(5.5) scaleY(1.3);
      translate: 0 20px;
    }
  50% {
    transform: scaleX(3.88) scaleY(1.7);
    translate: 0;
  }
    to {
      transform: scaleX(3.88) scaleY(1.7);
    }
  }



@keyframes my-rotation-f {
  from {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(180deg);
  }
  50% {
    transform: rotate(180deg);
  }
  60% {
    transform: scaleX(-1) rotate(0deg);
  }
  to {
    transform: scaleX(1) rotate(0deg);
  }
}

@keyframes my-rotation-a {
  from {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(180deg);
  }
  60% {
    transform: rotate(180deg);
  }
  70% {
    transform: scaleX(-1) rotate(0deg);
  }
  to {
    transform: scaleX(1) rotate(0deg);
  }
}

@keyframes my-rotation-i {
  from {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(180deg);
  }
  70% {
    transform: rotate(180deg);
  }
  80% {
    transform: scaleY(-1) rotate(180deg);
  }
  to {
    transform: scaleY(-1) rotate(180deg);
  }
}

@keyframes my-rotation-l {
  from {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(180deg);
  }
  80% {
    transform: rotate(180deg);
  }
  90% {
    transform: scaleX(-1) rotate(0deg);
  }
  to {
    transform: scaleX(1) rotate(0deg);
  }
}