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


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

h1 {
  color: transparent;
  stroke-width: 3px;
  font-size: 16rem;
  animation: my-super-weight 3s 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: "wght" 1; }
  to { font-variation-settings: "wght" 999; }
}

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


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

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

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

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



/* Farben */
.color-blue
{color: transparent;
  -webkit-text-stroke: 3px rgb(66, 133, 244);
}

.color-red
{color: transparent;
  -webkit-text-stroke: 3px rgb(234, 67, 53);
}

.color-yellow
{color: transparent;
  -webkit-text-stroke: 3px rgb(251, 188, 4);
}

.color-green
{color: transparent;
  -webkit-text-stroke: 3px  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);
}