: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 {
  font-size: 4rem;
  line-height: 0.8;
  animation: my-super-weight-1 3s 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" 900, "wtsp" 100; }
  to { font-variation-settings: "wtun" 100, "wtsp" 100; }
}

@keyframes rotate-scale-1 {
  0% { transform: rotate(0) scale(0.5); }
  50% { transform: rotate(180deg) scale(1.5); }
  100% { transform: rotate(315deg) scale(2.5); }
}

@keyframes rotate-scale-2 {
  0% { transform: rotate(0) scale(0.5); }
  50% { transform: rotate(180deg) scale(1.5); }
  100% { transform: rotate(315deg) scale(2.5); }
}


.rotated-text-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(52, 168, 83); 
  animation: rotate-scale-1 10s infinite alternate, my-super-weight 10s infinite alternate;
}

.rotated-text-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(234, 67, 53); 
  animation: rotate-scale-2 10s infinite alternate, my-super-weight 10s infinite alternate;
}



/* Super Grid */

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

.item1 {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 Spalten */
  grid-template-rows: repeat(4, 1fr); /* 4 Reihen */
  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);
}