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

body {
  display: flex;
  margin: 0;
  padding: 0;
  background-color: rgb(23, 0, 59);
}

p {
  font-family: 'Obviously', Helvetica, sans-serif;
}

.back {
  position: absolute;
  top: 20px;
  left: 25px;

  padding: 20px 30px 20px 20px;
  transition: 200ms;
}
.back:hover {
  transform: translateX(-10px);
  transition: 200ms;
}
.long-arrow-left{
  display: block;
  width: 25px;
  height: 25px;
  border-top: 4px solid #000;
  border-left: 4px solid #000;
  z-index: 8;
}
.long-arrow-left{
 transform: rotate(-45deg);
}
.long-arrow-left::after{
  content: "";
  display: block;
  width: 4px;
  height: 45px;
  background-color: black;
  transform: rotate(-45deg) translate(15px, 4px);
  left: 0;
  top: 0;
}

.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.center {
text-align: center;
}

.baustein, .titel {
  display: inline;
}

.oben {
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bg 1300ms cubic-bezier(0.83, 0, 0.17, 1);
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

.unten {
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  animation: bg 1300ms cubic-bezier(0.83, 0, 0.17, 1);
  animation-direction: alternate-reverse;
  animation-iteration-count: infinite;
  animation-delay: 850;

}

.titel {
  color: tomato;
  display: inline;
  font-size: 9em;
  line-height: 0.6;
  vertical-align: 30px;
  animation: 1300ms cubic-bezier(0.83, 0, 0.17, 1) schrift;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  animation-delay: calc(var(--animation-order) * 650ms);

}



@keyframes bg{
  from {
    background-color: tomato;

  }
  to {
    background-color: white;

  }
}

@keyframes schrift {
  from {font-variation-settings: 'wdth' 100, 'wght' 200;
    
    font-size: 18em;
    color: tomato;

  }
  to {font-variation-settings: 'wdth' 200, 'wght' 800;
    font-size: 10em;
    color: white;

  }
}






/*
@keyframes casualizer {
  from {font-variation-settings: 'slnt' 0, 'CASL' 0.1;
    font-weight: 900;
  }
  to {font-variation-settings: 'slnt' -13, 'CASL' 1;
    font-weight: 200;
  }
}

*/