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


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

h1 {
  color: rgb(0, 0, 0);
  font-size: 10rem;
  animation: rotate-scale 16s infinite alternate, my-super-weight 8s infinite alternate;
  margin: auto;
}

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


/* Animation */

@keyframes my-super-weight {
  from { font-variation-settings: "wtun" 100, "wtsp" 100; }
  to { font-variation-settings: "wtun" 900, "wtsp" 100; }
}

@keyframes rotate-scale {
  0% { transform: translate(-50%, -50%) rotate(0) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.25); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1.5); }
}

.rotated-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  transform: translate(-50%, -50%);
}



/* Verzögerung*/
.rotated-text:nth-child(1) { animation-delay: 0s; color: rgb(255, 255, 255); }
.rotated-text:nth-child(2) { animation-delay: 1s; color: rgb(255, 255, 255); }
.rotated-text:nth-child(3) { animation-delay: 2s; color: rgb(255, 254, 250); }
.rotated-text:nth-child(4) { animation-delay: 3s; color: rgb(255, 255, 255); }
.rotated-text:nth-child(5) { animation-delay: 4s; color: rgb(255, 255, 255); }
.rotated-text:nth-child(6) { animation-delay: 5s; color: rgb(255, 255, 255); }


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