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




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

.container {
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-rows: 50px 1fr 1fr 50px;
  grid-template-columns: 50px repeat(6, 1fr) 50px;
  background-color: antiquewhite;
  align-items: center;
}


.titel {
  color: tomato;
  font-size: 18em;
  font-variation-settings: 'wght' 500, 'wdth' 105;
  overflow: hidden;
  opacity: 0;
}


.oben {
  grid-row: 2/3;
  position: relative;
}

.unten {
  grid-row: 3/4;
  position: relative;
}


#B1 {
  grid-column: 2/3;
  justify-self: center;
  animation: gegen-rechts 2000ms cubic-bezier(0, 0.55, 0.45, 1) 2s infinite alternate;
  
}

#B2 {
  grid-column: 3/4;
  justify-self: center;
  animation: runter 3000ms cubic-bezier(0, 0.55, 0.45, 1) 1s infinite alternate;
}

#B3 {
  grid-column: 4/5;
  justify-self: center;
  animation: gegen-rechts 4000ms cubic-bezier(0, 0.55, 0.45, 1) 0s infinite alternate;
}

#B4 {
  grid-column: 5/6;
  justify-self: center;
  animation: gegen-links 3000ms cubic-bezier(0, 0.55, 0.45, 1) 1s infinite alternate;
}

#B5 {
  grid-column: 3/4;
  justify-self: center;
  animation: obsi 2500ms cubic-bezier(0, 0.55, 0.45, 1) 1.5s infinite alternate;
}

#B6 {
  grid-column: 4/5;
  justify-self: center;
  animation: gegen-rechts 3500ms cubic-bezier(0, 0.55, 0.45, 1) 0.5s infinite alternate;
  
}

#B7 {
  grid-column: 5/6;
  justify-self: center;
  animation: obsi 3000ms cubic-bezier(0, 0.55, 0.45, 1) 1s infinite alternate;

}

#B8 {
  grid-column: 6/7;
  justify-self: center;
  animation: obsi 2000ms cubic-bezier(0, 0.55, 0.45, 1) 2s infinite alternate;
}

#B9 {

  grid-column: 7/8;
  justify-self: center;
  animation: gegen-links 2500ms cubic-bezier(0, 0.55, 0.45, 1) 1.5s infinite alternate;
}



@keyframes runter {
  0% {
    transform: translateY(-400px);
    opacity: 0;
    font-variation-settings: 'wght' 500, 'wdth' 125;
  }

  70%{
    transform: translateY(0px);
    font-variation-settings: 'wght' 300, 'wdth' 90;
    opacity: 1;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
    font-variation-settings: 'wght' 300, 'wdth' 90;
  }

}

@keyframes gegen-rechts {
  0% {
    transform: translateX(-500px);
    font-variation-settings: 'wght' 500, 'wdth' 125;
    opacity: 0;
  }

  70%{
    transform: translateY(0px);
    font-variation-settings: 'wght' 300, 'wdth' 90;
    opacity: 1;
  }

  100% {
    transform: translateY(0px);
    font-variation-settings: 'wght' 300, 'wdth' 90;
    opacity: 1;
  }
}

@keyframes gegen-links {
  0% {
    transform: translateX(500px);
    font-variation-settings: 'wght' 500, 'wdth' 125;
    opacity: 0;
  }

  70%{
    transform: translateY(0px);
    font-variation-settings: 'wght' 300, 'wdth' 90;
    opacity: 1;
  }

  100% {
    transform: translateY(0px);
    font-variation-settings: 'wght' 300, 'wdth' 90;
    opacity: 1;
  }
}

@keyframes obsi {
  0% {
    transform: translateY(400px);
    font-variation-settings: 'wght' 500, 'wdth' 125;
    opacity: 0;
  }

  70%{
    transform: translateY(0px);
    font-variation-settings: 'wght' 300, 'wdth' 90;
    opacity: 1;
  }

  100% {
    transform: translateY(0px);
    font-variation-settings: 'wght' 300, 'wdth' 90;
    opacity: 1;
  }
}



/* @keyframes fressen {
  0% {
    font-variation-settings: 'wght' 250, 'wdth' 200;
    transform: scale(1);
  } 


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


  100% {

    font-variation-settings: 'wght' 250, 'wdth' 200;
    transform: scale(1);
  }
}
 */
