:root {
  font-family: 'Roboto Flex'; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
}

body {
  background-color: #00a1de;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#flexbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 100%;
  width: 100%;
}


p {
  color: white;
  font-size: 200vh;
  line-height: 0vh;
  margin: 0;
  bottom: 20vh;
  text-align: center;
  position: relative;
  animation-name: schriftanimation;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-fill-mode: backwards;
}

.buchstabe1 {
  animation-delay: 0s;
}

.buchstabe2 {
  animation-delay: 0.2s;
}

.buchstabe3 {
  animation-delay: 0.4s;
}

.buchstabe4 {
  animation-delay: 0.6s;
}

.buchstabe5 {
  animation-delay: 0.8s;
}

.buchstabe6 {
  animation-delay: 1s;
}

.buchstabe7 {
  animation-delay: 1.2s;
}


@keyframes schriftanimation {
  0% {font-variation-settings: "wght" 100;}
  20% {font-variation-settings: "wght" 100;}
  50% {font-variation-settings: "wght" 1000;}
  80% {font-variation-settings: "wght" 100;}
  100% {font-variation-settings: "wght" 100;}
}
