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

body {
  display: flex;
  margin: 0;
  padding: 0;
}

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

.back {
  position: absolute;
  top: 20px;
  left: 25px;
  z-index: 8;
  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;

}
.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;
  animation: 4000ms cubic-bezier(0.83, 0, 0.17, 1) bg;
  animation-direction: alternate;
  animation-iteration-count: infinite;

}



.center {
text-align: center;
overflow: hidden;
}


.baustein, .titel {
  display: inline;
}


.mitte {

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 500px;
}



.titel {
  color: tomato;
  font-size: 13em;
  font-variation-settings: 'wght' 800;
  line-height: 1;
  animation: 4000ms cubic-bezier(0.83, 0, 0.17, 1) typo;
  animation-direction: alternate;
  animation-iteration-count: infinite;



}

.center {
  position: relative;
  animation: 4000ms cubic-bezier(0.83, 0, 0.17, 1) rotation;
  animation-direction: normal;
  animation-iteration-count: infinite;
}


@keyframes rotation {
  0% {

    transform: rotate3d(1,0,0, 0deg) translateY(0px) translateZ(0px);
    
  }
  25% {
    transform: rotate3d(1,0,0, -90deg) translateY(-100px) translateZ(-100px);
  }

  50% {
    transform: rotate3d(1,0,0, -180deg) translateY(0px) translateZ(-200px);
  }

  75% {
    transform: rotate3d(1,0,0, -270deg) translateY(100px) translateZ(-100px);
  }

  100% {
    transform: rotate3d(1,0,0, -360deg) translateY(0px) translateZ(0px);
  }
}

@keyframes typo {
  0% {
    font-variation-settings: 'wght' 200;
  }
  25% {
    font-variation-settings: 'wght' 600;
    color: tomato;
  }

  50% {
    font-variation-settings: 'wght' 900;
    color: white;
  }

  75% {
    font-variation-settings: 'wght' 600;
    color: tomato;
  }

  100% {
    font-variation-settings: 'wght' 200;
  }
}

@keyframes bg {
  0% {
    background-color: white;
  }
  25% {
    background-color: white;
  }

  50% {
    background-color: tomato;
  }

  75% {
    background-color: white;
  }

  100% {
    background-color: white;
  }
}


/* @keyframes schrift {
  from {font-variation-settings: 'wdth' 130, 'wght' 800;
    font-size: 11em;
    color: tomato;

  }
  to {font-variation-settings: 'wdth' 130, 'wght' 300;
    font-size: 13em;
    color: blueviolet;
  }
} */






/*
@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;
  }
}

*/