:root {
  font-size: 100%;
  font-family: 'Obviously'; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
}

*{
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;


}

p {
  font-family: 'Obviously', Helvetica, sans-serif;
}

.back {
  position: absolute;
  top: 20px;
  left: 25px;
  padding: 20px 30px 20px 20px;
  transition: 200ms;
  z-index: 8;
}
.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;
}

.container {
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-rows: repeat(4, 25%);
  grid-template-columns: 1fr;
  border: 20px solid tomato;
  background-color: antiquewhite;
  align-items: center;
  padding: 5% 0;


}

.test {
  background-color: blue;
  width: 200px;
  height: 150px;
  border-radius: 10px;
}

.titel {
  color: tomato;
  font-size: 25em;
  font-variation-settings: 'wght' 450, 'wdth' 50;
  overflow: hidden;

}

.up {
  grid-row-start: 1;
  grid-row-end: 3;
  grid-column: 1/2;
  justify-self: center;

}

 .down {
  grid-row: 3/5;
  grid-column: 1/2;
  justify-self: center;
  
} 

.essen {
  animation: 5000ms cubic-bezier(0.85, 0, 0.15, 1) fressen;
  animation-direction: normal;
  animation-iteration-count: infinite;
  animation-delay: calc(var(--animation-order)*750ms);
  } 



@keyframes fressen {
  0% {
    font-variation-settings: 'wght' 450, 'wdth' 50;
    transform: scale(1);
  } 


  50% {
    font-variation-settings: 'wght' 700, 'wdth' 120;
    transform: scale(1);
  }


  100% {

    font-variation-settings: 'wght' 450, 'wdth' 50;
    transform: scale(1);
  }
}

