: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;
  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 #ffffff;
  border-left: 4px solid #ffffff;

}
.long-arrow-left{
 transform: rotate(-45deg);
}
.long-arrow-left::after{
  content: "";
  display: block;
  width: 4px;
  height: 45px;
  background-color: rgb(255, 255, 255);
  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: 100px repeat(6, 1fr) 100px;
  background-color: rgb(20, 20, 20);
  align-items: center;
}


.titel {
  color: rgb(20, 20, 20);
  font-size: 18em;
  font-variation-settings: 'wght' 500, 'wdth' 105;
  overflow: hidden;
  opacity: 0;
  text-shadow: tomato 3px 3px, tomato -3px -3px, tomato 3px -3px, tomato -3px 3px, tomato 1px 1px 10px;

}


.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 5s cubic-bezier(0, 0.55, 0.45, 1) infinite normal;
  
}

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

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

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

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

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

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

}

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

#B9 {

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


/* 0.5s */
@keyframes runter {
  0% {
    transform: translateY(-400px);
    opacity: 0;
    font-variation-settings: 'wght' 800, 'wdth' 125;
  }
  10% {
    transform: translateY(-400px);
    opacity: 0;
    font-variation-settings: 'wght' 800, 'wdth' 125;
  }

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

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

}

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

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

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

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

/* 1.5s */
@keyframes gegen-links {
  0% {
    transform: translateX(400px);
    font-variation-settings: 'wght' 600, 'wdth' 125;
    opacity: 0;
  }
  
  30% {
    transform: translateX(400px);
    font-variation-settings: 'wght' 800, 'wdth' 125;
    opacity: 0;
  }

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

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

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


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

  20% {
    transform: translateY(400px);
    font-variation-settings: 'wght' 800, 'wdth' 125;
    opacity: 0;
  }

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

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




