:root {
  font-size: 100%;
  font-family: 'alpina'; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
}
body {
  background: black;  
  display: grid;
  place-items: center;
  height: 100vh;
  margin: 0;
  width: 100%;

 }
h1 {
  position: absolute;
  top: 20%;
  font-size: 100px;
  text-align: center; 
  color: white;

}

span {
  animation-name: dance;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: linear;
  /* Tipp: */
  display: inline-block; /* erlaubt Transformation in der Zeile*/
}

/* Verzögerung mit animation-delay */
#just { animation-delay: 0.0s;
color: darkturquoise}
#do { animation-delay: 0.3s;
color: yellowgreen;
opacity: 0.7}
#it {animation-delay: 0.6s;
color: deeppink;
opacity: 0.5;}



@keyframes dance {
  from {

   transform: scale(1);
   letter-spacing: 0px;
  

  }
  to {

    transform: scale(2);
    letter-spacing: 10px;

   }
}

/* Media Query für Bildschirmbreiten kleiner als 390px */
@media screen and (max-width: 390px) {
  h1 {
    font-size: 50px;
  }
}





