:root {
  font-size: 100%;
  font-family: 'Maru Mega'; /* 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 2s infinite alternate, move-left-right 3s infinite alternate;
  margin: auto;
  white-space: nowrap;
  display: inline-block;
}

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



/* Animation */
@keyframes my-super-weight {
  from { font-variation-settings: "opsz" 25; }
  to { font-variation-settings: "opsz" 175; }
}

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




.color-blue-1 {
  color: rgb(66, 133, 244);
  display: inline-block;
  animation: move-left-right 4s ease-in-out infinite;
}

.color-blue-2 {
  color: rgb(66, 133, 244);
  display: inline-block;
  animation: move-left-right 6s ease-in-out infinite;
}

.color-red-1 {
  color: rgb(234, 67, 53);
  display: inline-block;
  animation: move-left-right 8s ease-in-out infinite;
}

.color-red-2 {
  color: rgb(234, 67, 53);
  display: inline-block;
  animation: move-left-right 7s ease-in-out infinite;
}

.color-yellow {
  color: rgb(251, 188, 4);
  display: inline-block;
  animation: move-left-right 5s ease-in-out infinite;
}

.color-green {
  color: rgb(52, 168, 83);
  display: inline-block;
  animation: move-left-right 4s ease-in-out infinite;
}





/* 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);
}