:root {
  font-size: 200%;
  background-color: black;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

body {
  margin: 0;
}

.box1 {
  display: grid;
  grid-template-columns: 12.5%;
  grid-template-rows: 0px 620px 0px;
  justify-items: center;
  grid-auto-flow: column;
  align-items: center;
  background-color: rgb(0, 0, 0);
  height: 100vh;
}

h1 {
  font-family: "RuderPlakatLLVar"; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
  color: rgb(255, 255, 255);
  animation: my-growth 4s ease-in-out infinite alternate;
  position: relative;
  top: 200px;
}

.big1 {
  font-size: 200%;
  animation: my-big 4s ease-in-out infinite alternate;
  /* position: relative;
  top: 0px;
  left: 0px */
}

.myrotation {
  animation: my-rotation 4s ease-in-out infinite alternate-reverse;
}

@keyframes my-growth {
  from {
    font-variation-settings: "YTUC" 100, "YTLC" 100;
    transform: scale(1) rotate(0);
  }
  to {
    font-variation-settings: "YTUC" 900, "YTLC" 900;
    transform: scale(1) rotate(0);
  }
}

@keyframes my-big {
  from {
    font-variation-settings: "YTUC" 100, "YTLC" 100;
    transform: scaleY(1) scaleX(1) rotate(0);
  }
  to {
    font-variation-settings: "YTUC" 900, "YTLC" 900;
    transform: scaleY(6) scaleX(6) rotate(0);
    /* position: relative;
    top: 0px;
    left: 0px */
  }
}

@keyframes my-rotation {
  from {
    transform: scaleY(1) rotate(0);
    translate: 0;
    color: rgb(255, 255, 255);
  }
  45% {
    transform: scaleY(1) rotate(0);
    translate: 0;
    color: rgb(255, 255, 255);
  }
  55% {
    transform: scaleY(-1) scaleX(-1) rotate(0);
    translate: 0;
    color: rgb(255, 255, 255);
  }
  to {
    transform: scaleY(-1) scaleX(-1) rotate(0);
    translate: 0;
    color: rgb(255, 255, 255);
  }
}
