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

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#grundflexbox {
  display: flex;
  height: 100%;
  width: 100%;
  justify-content: center; 
  align-items: flex-end; 
  position: absolute;
  animation-name: hintergrundanimation;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}

@keyframes hintergrundanimation {
  0% {background-color: #f9e300;}
  25% {background-color: #f9e300;}
  50% {background-color: #522398;}
  75% {background-color: #522398;}
  100% {background-color: #f9e300;}
}

#gridcontainer{
  display: grid;
  grid-template-columns: repeat(3, 5vh);
  grid-template-rows: repeat(6, 17vh);
  align-items: center; 
  position: absolute;
  bottom: -17vh;
}

.schriftbox {
  display: flex;
  justify-content: center; 
  position: relative;
}

p {
  margin: 0;
  padding: 0;
  color: #522398;
  font-size: 22.6vh;
  font-variation-settings: "wdth" 77;
  line-height: 0vh;
  text-align: center;
  position: absolute;
}

.nachtlicht {
  margin: 0;
  padding: 0;
  color: #f9e300;
  font-size: 22.6vh;
  font-variation-settings: "wdth" 300;
  line-height: 0vh;
  text-align: center;
  position: absolute;
  filter: blur(4vh);
  animation-name: nachtlichtanimation;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}

@keyframes nachtlichtanimation {
  0% {opacity: 0;}
  25% {opacity: 0;}
  50% {opacity: 1;}
  75% {opacity: 1;}
  100% {opacity: 0;}
}

.vorne {
  animation-name: vorneanimation;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}

@keyframes vorneanimation {
  0% {color: #00a1de;}
  25% {color: #00a1de;}
  50% {color: #62361b; background-color: #f9e300;}
  75% {color: #62361b; background-color: #f9e300;}
  100% {color: #00a1de;}
}

.hinten {
  animation-name: hintenanimation;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}

@keyframes hintenanimation {
  0% {color: #522398;}
  25% {color: #522398;}
  50% {color: black;}
  75% {color: black;}
  100% {color: #522398;}
}

.antennen {
  font-variation-settings: "wdth" 1;
  animation-name: antennenanimation;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}

@keyframes antennenanimation {
  0% {color: white;}
  25% {color: white;
  text-shadow: none;}
  50% {color: #00a1de;
  text-shadow: 0 0 4vh #f9e300;}
  75% {color: #00a1de;
    text-shadow: 0 0 4vh #f9e300;}
  100% {color: white;
  text-shadow: none;}
}