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

body{
  margin: 0;
}

.box1{
  display:grid;
  grid-template-columns: 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%; 
  grid-template-rows: 300px 400px;
  justify-items: center;
  grid-auto-flow: column; 
  align-items: top;
  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 infinite alternate;
  position: relative;
  top: -20px;
}

p {
  animation: my-rotation 4s ease-in infinite alternate;
  line-height: 0.4;
  position: relative;
  top: -30px;
}


@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-rotation {
  from {
    transform: scaleY(1) rotate(0deg);
    color: rgb(255, 255, 255);

  }
  to {
    transform: scaleY(1) rotate(180deg);
    color: rgb(255, 0, 225);
  }
}
