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

}

h1:hover {
  animation: casualizer 1.5s infinite alternate ease-in-out;
}

.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: 35em;
  
}

.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: center;
  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: hidden;
}



.titel {
  color: tomato;
  font-size: 12em;
  vertical-align: 50px;
  animation: 1s ease-in-out breit;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  animation-delay: calc(var(--animation-order) * 100ms);

}

.baustein {
  animation: 1s ease-in-out breit;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  animation-delay: calc(var(--animation-order) * 100ms);
  align-self: center;
  
}



@keyframes breit {
  from {font-variation-settings: 'wght' 100;
    
  }
  to {font-variation-settings: 'wght' 600;
  }
}



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

*/