: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: 'Stinger', Helvetica, sans-serif;
}

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

}

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

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

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


.oben {
  /* background-color: cornflowerblue; */
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.mitte {
  /* background-color: goldenrod;  */
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.unten {
  /* background-color: seagreen;  */
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.baustein, .titel {
  display: inline;
}

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



.titel {
  color: tomato;
  font-size: 9em;
  vertical-align: 50px;
  animation: 2s cubic-bezier(0.83, 0, 0.17, 1) schrift;
  animation-direction: alternate;
  animation-iteration-count: infinite;

}

.baustein {
  animation: 2s cubic-bezier(0.83, 0, 0.17, 1) breit;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  align-self: center;
  
}

.oben, .unten {
  animation: hoehe 2s timing-cubic-bezier(0.83, 0, 0.17, 1);
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

.mitte {
  animation: tiefe 2s timing-cubic-bezier(0.83, 0, 0.17, 1);
  animation-direction: alternate;
  animation-iteration-count: infinite;
}


@keyframes hoehe {
    from {height: calc(100%/3);}
  to {height: 45%;}
}

@keyframes tiefe {
  from {height: calc(100%/3);}
to {height: 15%;}
}


@keyframes breit {
  from {font-variation-settings: 'wdth' 400, 'wght' 400;
    color: tomato;

  }
  to {font-variation-settings: 'wdth' 100, 'wght' 100;
    color: blueviolet;
  }
}



@keyframes schrift {
  from {font-variation-settings: 'wdth' 400, 'wght' 800;
    font-size: 9em;
    color: tomato;
    vertical-align: 30px;

  }
  to {font-variation-settings: 'wdth' 700, 'wght' 200;
    font-size: 11em;
    color: blueviolet;
    vertical-align: 50px;
  }
}





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

*/