:root {
  font-size: 100%;
  font-family: 'Recursive'; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
}



body{
  background-color: black;
  height: 100vh;
  display: grid;
  justify-content: center;
  align-items: center;
}

h1 {
  color: rgb(66, 133, 244);
  font-size: 6rem;
  animation: my-super-weight 1s infinite alternate, move-left-right 18s infinite alternate;
  margin: auto;
}

p {
  color: rgb(255, 255, 255);
  font-size: 1rem;
  text-align: center;
  margin: auto;
}



/* Animation */
@keyframes my-super-weight {
  from { font-variation-settings: 'slnt' -15, 'wght' 300, 'CRSV' 1; }
  to { font-variation-settings: 'slnt' 1, 'wght' 1000, 'CRSV' 1; }
}


/* Bewegung Buchstaben */
@keyframes move-left-right {
  0%, 100% {transform: scaleX(-1); }
  50% {transform: scaleX(1); }
}

.color-red {
  display: inline-block;
  animation: move-left-right 4s ease-in-out infinite;
}

.color-yellow {
  display: inline-block;
  animation: move-left-right 8s ease-in-out infinite;
}

.color-green {
  display: inline-block;
  animation: move-left-right 4s ease-in-out infinite;
}



/* Farben*/
.color-red
{color: rgb(234, 67, 53);
}

.color-yellow
{color: rgb(251, 188, 4);
}

.color-green
{color: rgb(52, 168, 83);
}






/* Super Grid */

.wrapper {
  background-color: rgb(0, 0, 0);
  display: grid;
  grid-template-columns: 1fr;
}

.item1 {
  grid-column: 1 / span 1;
  align-content: center;
  justify-self: center;
  height: 94vh;
  width: 100%;
}

.item-container {
  display: flex;
  justify-content: center;
  height: 6vh;
  gap: 10rem;
}

.item2, .item3, .item4 {
  position: relative;
  align-content: top;
  justify-self: center;
}



/* Buttons */

.button {
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(255, 255, 255);
  background-color: transparent;
  border: none;
}

.button-link {
  text-decoration: none;
  color: inherit;
}

.button-link:hover {
  color: rgb(66, 133, 244);
}