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


*{
  box-sizing: border-box;
}

body {
  display: flex;
  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: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-content: center;
  border: 20px solid tomato;
  background-color: antiquewhite;
}

.titel {
  color: tomato;
  font-size: 20em;
  line-height: 1;
  font-variation-settings: 'wght' 450, 'wdth' 50;
}

.left {
  grid-column: 1/2;
  justify-self: end;

}

.right {
  grid-column: 2/3;
  justify-self: start;
}

.essen {
  animation: 5000ms cubic-bezier(0.85, 0, 0.15, 1) fressen;
  animation-direction: normal;
  animation-iteration-count: infinite;
  position: relative;
  transform-origin: right;
  z-index: 3;
  } 

.gefressen {
  animation: 5000ms cubic-bezier(0.85, 0, 0.15, 1) gefressen;
  animation-direction: normal;
  animation-iteration-count: infinite;
  position: relative;
  transform-origin: center;
  z-index: 1;
}

.scheibe {
  position: absolute;
  height: 90%;
  
  width: 28%;
  left: 0;
  top: 5%;
  bottom: 5%;
  z-index: 2;
  margin: 20px 20px 20px 20px;
  background-color: antiquewhite;
  
}


/* 
 .center {
animation: gefressen 3000ms cubic-bezier(0.85,0,0.15,1) infinite alternate;
}

.center-a {
  max-width: 40%;
  position: relative;
}
.center-b {
  width: 40%;
  display: flex;
  justify-content: end;
}

.titel {
  display: inline;
} */




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

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

  33.3% {
    font-variation-settings: 'wght' 200, 'wdth' 120;
    transform: scale(2);
  }

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

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

  83.3% {
    font-variation-settings: 'wght' 200, 'wdth' 120;
    transform: scale(2);
  }

  100% {

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

@keyframes gefressen {
  
  0% {
    left: 0;
  } 

  16.% {
    left: 0;
  }

  33.3% {
    left: 0px;
  }

  50% {
    left: -700px;
  }

  66.6% {
    left: -700px;
  }

  83.3% {
    left: 0px;
  }

  100% {
    left: 0;
  }
}