: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 #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, 1fr);
  grid-template-columns: 1fr;
  background-color: antiquewhite;
  align-items: center;
  padding: 10% 30px;
  animation: 3000ms cubic-bezier(0.87, 0, 0.13, 1) nacht alternate infinite;
}


.titel {
  font-size: 20em;
  overflow: hidden;
  -webkit-text-stroke: 3px tomato;
  text-shadow: tomato 0;
  animation: schrift 3000ms cubic-bezier(0.87, 0, 0.13, 1) alternate infinite;
}

.up {
  grid-row-start: 1;
  grid-row-end: 3;
  grid-column: 1/2;
  justify-self: end;
  animation: oben 3000ms cubic-bezier(0.87, 0, 0.13, 1) alternate infinite;
}

 .down {
  grid-row: 3/5;
  grid-column: 1/2;
  justify-self: start;
  animation: unten 3000ms cubic-bezier(0.87, 0, 0.13, 1) alternate infinite;
} 




@keyframes schrift {
  0% {
    color: tomato;
    -webkit-text-stroke: 0px tomato;
    text-shadow: tomato 0;
    font-variation-settings: 'wght' 650, 'wdth' 10, "CNTR" 100;
  }
  
  15% {
    color: tomato;
    -webkit-text-stroke: 0px tomato;
    text-shadow: tomato 0;
    font-variation-settings: 'wght' 650, 'wdth' 10, "CNTR" 100;
  }

  85% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 3px tomato;
    text-shadow: tomato 1px 1px 20px;
    font-variation-settings: 'wght' 200, 'wdth' 170, "CNTR" 0;


  }

  100% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 3px tomato;
    text-shadow: tomato 1px 1px 20px;
    font-variation-settings: 'wght' 200, 'wdth' 170, "CNTR" 0;
  }
}


/* @keyframes oben {
  0% {
    justify-self: end;
  }

  35% {
    left: 0;
  }

  65% {
    right: 0;
  }

  100% {
    right: 0;
  }
} */

/* @keyframes unten {
  0% {
    justify-self: end;
  }

  35% {
    justify-self: end;
  }

  65% {
    justify-self: start;
  }

  100% {
    justify-self: start;
  }
} */


@keyframes nacht {
  0% {
    background-color: antiquewhite;
    padding: 10% 30px;
  }

  15% {
    background-color: antiquewhite;
    padding: 10% 30px;
  }

  85% {
    background-color: rgb(20, 20, 20);
    padding: 10% 80px;
  }

  100% {
    background-color: rgb(20, 20, 20);
    padding: 10% 80px;
  }
}
