: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;
}
.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;
  z-index: 8;
}
.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% 0;
  animation: 5000ms linear nacht alternate infinite;
}


.titel {
  color: tomato;
  font-size: 20em;
  overflow: hidden;
  -webkit-text-stroke: 3px tomato;
  text-shadow: tomato 0;
  animation: 5000ms linear lampe alternate infinite;
}

.up {
  grid-row-start: 1;
  grid-row-end: 3;
  grid-column: 1/2;
  justify-self: center;
}

 .down {
  grid-row: 3/5;
  grid-column: 1/2;
  justify-self: center;
} 

.schmal {
  font-variation-settings: 'wght' 650, 'wdth' 10, "CNTR" 0;
}

.mittel {
  font-variation-settings: 'wght' 550, 'wdth' 90, "CNTR" 0;
}

.breit {
  font-variation-settings: 'wght' 550, 'wdth' 200, "CNTR" 0;
}


@keyframes nacht {
  0% {
    background-color: antiquewhite;
  }

  15% {
    background-color: antiquewhite;
  }

  30% {
    background-color: rgb(20, 20, 20);
  }

  100% {
    background-color: rgb(20, 20, 20);
  }

}

@keyframes lampe {
  0% {
    color: tomato;
    -webkit-text-stroke: 0px tomato;
    text-shadow: tomato 0;
  }

  15% {
    color: tomato;
    -webkit-text-stroke: 0px tomato;
    text-shadow: tomato 0;
  }

  30% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 0px tomato;
    text-shadow: none;
  }

  40% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 0px tomato;
    text-shadow: none;
  }

  42% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 3px tomato;
    text-shadow: none;
  }
  44% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 0px tomato;
    text-shadow: none;
  }
  45% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 3px tomato;
    text-shadow: none;
  }

  50% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 0px tomato;
    text-shadow: none;
  }
  55% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 0px tomato;
    text-shadow: none;
  }

  65% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 3px tomato;
    text-shadow: tomato 1px 1px 20px;
  }

  75% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 3px tomato;
    text-shadow: tomato 1px 1px 25px;
  }

  85% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 3px tomato;
    text-shadow: tomato 1px 1px 25px;
  }

  87% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 2px tomato;
    text-shadow: tomato 1px 1px 10px;
  }

  89% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 3px tomato;
    text-shadow: tomato 1px 1px 25px;
  }


  100% {
    color: rgb(20, 20, 20);
    -webkit-text-stroke: 3px tomato;
    text-shadow: tomato 1px 1px 20px;
  }
}