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

}

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: 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;
  animation: 2.8s ease-in-out rotergrund;
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

.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;
  animation: 2.8s ease-in-out rotergrund;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  
}

.baustein, .titel {
  display: inline;
}

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

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

.baustein {
  animation: 5400ms ease-in-out breit;
  animation-direction: normal;
  animation-iteration-count: infinite;
}

#type {
  font-variation-settings: 'wdth' 60;
  animation: 5400ms ease-in-out breit;
  animation-direction: normal;
  animation-iteration-count: infinite;
}

.snoop {
  position: absolute;
  mix-blend-mode: multiply;
  bottom: -50px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* @keyframes rotergrund {
  0% {
    background-color: white;
  }

  25% {
    background-color: tomato;
  }

  75% {
    background-color: tomato;
  }

  100% {
    background-color: white;
  }
} */

@keyframes breit {
  0% {
    font-variation-settings: 'ital' 0.2, 'wght' 200, 'wdth' 60;
  }

  25% {
    font-variation-settings: 'ital' 1, 'wght' 600, 'wdth' 60
  }

  50% {
    font-variation-settings: 'ital' 0.2, 'wght' 200, 'wdth' 60;
  }

  75% {
    font-variation-settings: 'ital' 1, 'wght' 600, 'wdth' 60;
  }
  100% {
    font-variation-settings: 'ital' 0.2, 'wght' 200, 'wdth' 60;
  }
}

@keyframes typo {
  0% {
    font-variation-settings: 'ital' 0.2, 'wght' 200, 'wdth' 60;
  }

  25% {
    font-variation-settings: 'ital' 1, 'wght' 500, 'wdth' 60;
  }

  50% {
    font-variation-settings: 'ital' 0.2, 'wght' 200, 'wdth' 60;
  }

  75% {
    font-variation-settings: 'ital' 1, 'wght' 500, 'wdth' 60;
  }
  100% {
    font-variation-settings: 'ital' 0.2, 'wght' 200, 'wdth' 60;
  }
  
}



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

*/