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

*{
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

p {
  font-family: 'Antarctica', 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 antiquewhite;
  border-left: 4px solid antiquewhite;
  transform: rotate(-45deg);
}

.long-arrow-left::after{
  content: "";
  display: block;
  width: 4px;
  height: 45px;
  background-color: antiquewhite;
  transform: rotate(-45deg) translate(15px, 4px);
  left: 0;
  top: 0;
}

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

.titel {
  font-size: 20em;
  mix-blend-mode: difference;
  line-height: 0.2;
}

.line-up {
  grid-row: 1/2;
  grid-column: 1/2;
  justify-self: start;
  transform-origin: left;
  animation: schrift 3000ms cubic-bezier(0.87, 0, 0.13, 1) alternate infinite;
  color: rgb(20, 20, 20);
}

.up {
  grid-row: 2/3;
  grid-column: 1/2;
  justify-self: end;
  animation: schrift 3000ms cubic-bezier(0.87, 0, 0.13, 1) 0.3s alternate infinite;
  color: rgb(20, 20, 20);

}

 .down {
  grid-row: 3/4;
  grid-column: 1/2;
  justify-self: start;
  animation: schrift 3000ms cubic-bezier(0.87, 0, 0.13, 1) 0.6s alternate infinite;
  color: rgb(20, 20, 20);

} 

.line-down {
  grid-row: 4/5;
  grid-column: 1/2;
  justify-self: end;
  transform-origin: right;
  animation: schrift 3000ms cubic-bezier(0.87, 0, 0.13, 1) 0.9s alternate infinite;
  color: rgb(20, 20, 20);

}

.line-downer {
  grid-row: 5/6;
  grid-column: 1/2;
  justify-self: start;
  transform-origin: right;
  animation: schrift 3000ms cubic-bezier(0.87, 0, 0.13, 1) 1.2s alternate infinite;
  color: rgb(20, 20, 20);

}


@keyframes schrift {
  0% {

    font-variation-settings: 'wght' 250, 'wdth' 170, "CNTR" 100;
    -webkit-text-stroke: 3px tomato;
    color: tomato;
  }
  
  15% {
    font-variation-settings: 'wght' 250, 'wdth' 170, "CNTR" 100;
    -webkit-text-stroke: 3px tomato;
    color: tomato;
  }

  85% {

    font-variation-settings: 'wght' 650, 'wdth' 50, "CNTR" 0;
    -webkit-text-stroke: 3px rgb(71, 114, 255);
    color: rgb(71, 114, 255);
  }

  100% {

    font-variation-settings: 'wght' 650, 'wdth' 50, "CNTR" 0;
    -webkit-text-stroke: 3px rgb(71, 114, 255);
    color: rgb(71, 114, 255);
  }
}

