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

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

}

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

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

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


.oben {
  /* background-color: cornflowerblue; */
  width: 100%;
  height: calc(100%/3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.mitte {
  /* background-color: goldenrod;  */
  width: 100%;
  height: calc(100%/3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.unten {
  /* background-color: seagreen;  */
  width: 100%;
  height: calc(100%/3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.baustein, .titel {
  display: inline;
}

.m, .o, .u {
  overflow:inherit;
  
} 

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

.o, .u, .m {

  animation: 2.5s cubic-bezier(0.83, 0, 0.17, 1) drehen;
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

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

  40% {
    transform: rotate(90deg);
    font-variation-settings: 'ital' 0, 'wdth' 60, 'wght' 200;
  }
  60% {
    transform: rotate(90deg);
    font-variation-settings: 'ital' 0, 'wdth' 60, 'wght' 200;
  }

  90% {
    transform: rotate(0deg);
    font-variation-settings: 'ital' 0, 'wdth' 100, 'wght' 600;
  }
  100% {
    transform: rotate(0deg);
    font-variation-settings: 'ital' 0, 'wdth' 100, 'wght' 600;
  }
}


@keyframes breit {

  00% {
    font-variation-settings: 'wdth' 70, 'wght' 600;
  }

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

  90% {
    font-variation-settings: 'wdth' 70, 'wght' 600;
  }

  100% {
    font-variation-settings: 'wdth' 70, 'wght' 600;
  }
}

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