:root {
  font-size: 100%;
  font-family: 'flexa', 'roboto';
}

body {
  background: black;
  margin: 0;
}

.grid-container {
  display: grid;
  grid-template-columns: auto;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  width: 100%;
 
}

/* Hintergrundanimationstext */
.background-text {
  position: absolute;
  top: 50%; /* Zentrierung des Textes vertikal */
  left: 50%; /* Zentrierung des Textes horizontal */
  transform: translate(-50%, -50%); /* Korrekte Zentrierung des Textes */
  white-space: nowrap;
  overflow: hidden;
  margin: 0; 

}

/* Container für Quadrat mit Buchstaben */
.square {
  position: relative;
  width: 550px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

/* Stil für Buchstaben */
.letter {
  color: white; /* Stelle sicher, dass die Textfarbe auf Weiß eingestellt ist */
  font-size: 80px;
  text-align: center;
 }

/* Farben für die Buchstaben */
.j1 {
  background: darkturquoise;
  color: black;
}

/* Stil für den "do"-Text im Hintergrund */
.do-background {
  color: white;
  font-size: 100px;
  animation-name: moveit;
  animation-duration: 2s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
    animation-timing-function: easeInOutBack;
    display: block;
    margin: 0; /* Remove margin to ensure accurate positioning */
  
}

@keyframes moveit {
  from {
    font-weight: 1;
    transform: rotate(0deg);
  }

  to {
    font-weight: 950;
   transform: rotate(360deg);
  }
}




