: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: 50vh;
  line-height: 3vh;
  margin: 0;
  text-align: center;
  position: relative;
  animation-name: schriftanimation;
  animation-duration: 15s;
  animation-iteration-count: infinite;
}


@keyframes schriftanimation {
  0% {font-variation-settings: "wght" 100;}
  10% {font-variation-settings: "wght" 100;}
  20% {font-variation-settings: "wght" 1000;}
  40% {font-variation-settings: "wght" 100;}
  60% {font-variation-settings: "wght" 1000;}
  80% {font-variation-settings: "wght" 100; line-height: 15vh; font-size: 20vh;}
  90% {font-variation-settings: "wght" 1000;}
  100% {font-variation-settings: "wght" 100;}
}
