:root {
  font-size: 100%;
  font-family: 'Oddity Trial', sans-serif;
}

body {
  background-color: rgb(0, 0, 0);
  height: 100vh;
  display: grid;
  justify-content: center;
  align-items: center;
}

h1 {
  color: rgb(255, 255, 255);
  font-size: 8rem;
  line-height: 0.8;
  margin: auto;
  white-space: nowrap; 
  display: inline-block;
}

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

/* Schrift */

.schmal {
  animation: schmal-animation 8s infinite ease-in alternate, color-refresh 16s infinite ease-in-out alternate; 
  display: inline-block;
}

.breit {
  animation: breit-animation 6s infinite ease-in-out;
  display: inline-block;
}



/* Animation für die Schriftelemente */

@keyframes schmal-animation {
  0%, 100% {
    font-variation-settings: 'wdth' 10, 'wght' 50, 'ital' 0;
  }
  50% {
    font-variation-settings: 'wdth' 10, 'wght' 50, 'ital' 0;
  }
}

@keyframes breit-animation {
  0%, 100% {
    font-variation-settings: 'wdth' 200, 'wght' 50, 'ital' 0;
  }
  50% {
    font-variation-settings: 'wdth' 10, 'wght' 50, 'ital' 0;
  }
}

@keyframes color-refresh {
  0% {
    color: rgb(255, 255, 255);
  }
  25% {
    color: rgb(66, 133, 244) ;
  }
  50% {
    color: rgb(255, 255, 255);
  }
  100% {
    color: rgb(251, 188, 4);
  }
}





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