: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;
}

h1 {
  font-size: 2.5em;
  color: tomato;
  font-weight: 900;
  margin: auto;

}



.baustein {
  color: tomato;
  font-size: 27em;
  
}

.container {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  
}

.oben, .oben-mitte, .mitte, .mitte-unten, .unten {
  /* background-color: cornflowerblue; */
  width: 100%;
  height: calc(25%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
}

.oben {
  top: 0;
}

.oben-mitte {
  top: 16.666%;
}

.mitte {
  top: 33.333%;
}

.mitte-unten {
  top: 49.9%;
}

.unten {
  bottom: 0;
}


.baustein, .titel {
  display: inline;
}



.titel {
  color: tomato;
  font-size: 6rem;
  vertical-align: 50px;
}

.o, .u, .m {
  animation: 5s cubic-bezier(0.83, 0, 0.17, 1) drehen;
  animation-direction: normal;
  animation-iteration-count: infinite;

}

.om, .mu {
  animation: 5s cubic-bezier(0.83, 0, 0.17, 1) drehen-rev;
  animation-direction: normal;
  animation-iteration-count: infinite;
  animation-delay: 80ms;

}


@keyframes drehen-rev {
  0% {
    transform: rotate(0deg);
    font-variation-settings: 'wght' 650, 'wdth' 70;
  }

  25% {
    transform: rotate(-90deg);
    font-variation-settings: 'wght' 200, 'wdth' 70;
  }
  50% {
    transform: rotate(-180deg);
    font-variation-settings: 'wght' 650, 'wdth' 70;
  }

  75% {
    transform: rotate(-270deg);
    font-variation-settings: 'wght' 200, 'wdth' 70;
  }
  100% {
    transform: rotate(-360deg);
    font-variation-settings: 'wght' 650, 'wdth' 70;
  }
}


@keyframes drehen {
  0% {
    transform: rotate(0deg);
    font-variation-settings: 'wght' 650, 'wdth' 70;
  }

  25% {
    transform: rotate(90deg);
    font-variation-settings: 'wght' 200, 'wdth' 70;
  }
  50% {
    transform: rotate(180deg);
    font-variation-settings: 'wght' 650, 'wdth' 70;
  }

  75% {
    transform: rotate(270deg);
    font-variation-settings: 'wght' 200, 'wdth' 70;
  }
  100% {
    transform: rotate(360deg);
    font-variation-settings: 'wght' 650, 'wdth' 70;
  }
}


@keyframes breit {

  0% {
    opacity: 0;
    font-variation-settings: 'wght' 200, 'wdth' 60;
  }

  25% {
    opacity: 0;
    font-variation-settings: 'wght' 200, 'wdth' 60;
  }
  50% {
    opacity: 1;
    font-variation-settings: 'wght' 500, 'wdth' 80;
  }

  75% {
    opacity: 0;
    font-variation-settings: 'wght' 200, 'wdth' 60;
  }
  100% {
    opacity: 0;
    font-variation-settings: 'wght' 200, 'wdth' 60;
  }
}

#type {
  animation: 2.5s cubic-bezier(0.83, 0, 0.17, 1) breit;
  animation-direction: normal;
  animation-iteration-count: infinite;
}
