: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: 15% 0;
  perspective: 6000px;
}


.titel {
  color: tomato;
  font-size: 26em;
  overflow: hidden;
  -webkit-text-stroke: 5px 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;
  position: relative;
top: 100px;
}

 .down {
  grid-row: 3/5;
  grid-column: 1/2;
  justify-self: center;
  transform: translateZ(5500px);
  position: relative;
  bottom: 100px;

  animation: riesig 4000ms cubic-bezier(0.5, 1, 0.89, 1) infinite alternate;

} 

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

.mittel {
  font-variation-settings: 'wght' 20, 'wdth' 20;
  animation: mitte 1200ms cubic-bezier(0.83, 0, 0.17, 1) infinite alternate;

}

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

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

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

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

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


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

  15% {
    background-color: antiquewhite;
  }

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

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

} */
