: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: 1;
}
.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: 20% 0;
  animation: 5000ms linear nacht alternate infinite;
  perspective: 6000px;
}


.titel {
  color: tomato;

  overflow: hidden;
  /* -webkit-text-stroke: 4px rgb(41, 127, 219); */
  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;
  transform: translateZ(5500px);
  position: relative;
  bottom: 50%;
  left: 1.7%;

  animation: riesig 4000ms cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;

} 

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

.mittel {
  position: relative;
  font-size: 20em;
  animation: mitte 4000ms cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  top: 65px;

}

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

@keyframes riesig {
  0% {
    transform: translateZ(5500px);
  }
  20% {
    transform: translateZ(5500px);
  }

  100% {
    transform: translateZ(0px);
  }
}

@keyframes mitte {
  0% {
    font-size: 12em;
    transform-origin: center;
    font-variation-settings: 'wght' 400, 'wdth' 200;
  }

  90% {
    font-size: 6em;
    transform-origin: center;
    font-variation-settings: 'wght' 400, 'wdth' 20;
  }

  100% {
    font-size: 6em;
    transform-origin: center;
    font-variation-settings: 'wght' 400, 'wdth' 20;
  }
}

