:root {
  font-size: 120%;
  font-family: 'Antarctica Trial';
}
body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 0;

}
h1{
  font-family: 'GridlitePEVFTRIAL';
  font-variation-settings: 'wght' 900, 'BACK' 900, 'RECT' 900, 'ELSH' 4;
  color: white;
  font-size: 20rem;
  margin: 0;
}
.hoch {
  transform: rotate(90deg);
  transform-origin: center;
  animation: drehung 3s forwards alternate;
  opacity: 0;
}
#Moma1 {
  color: white;
  background-color: rgb(255, 0, 0);
  text-align: end;  
  animation: my-moma 3s alternate-reverse infinite, color-refresh 1.5s forwards alternate;
}
#Moma2 {
  color: white;
  background-color: rgb(255, 72, 0);
  text-align: end;
  animation: my-moma 3s alternate-reverse infinite, color-refresh 1.5s forwards alternate;
}
#Moma3 {
  color: white;
  background-color: rgb(177, 0, 41);
  text-align: end;
  animation: my-moma 3s alternate-reverse infinite, color-refresh 1.5s forwards alternate;
}
#Moma4 {
  color: white;
  background-color: rgb(0, 113, 125);
  text-align: end;
  animation: my-moma 3s alternate-reverse infinite, color-refresh 1.5s forwards alternate;
}
#Moma5 {
  color: white;
  background-color: rgb(0, 132, 255);
  text-align: end;
  animation: my-moma 3s alternate-reverse infinite, color-refresh 1.5s forwards alternate;
}
@keyframes my-moma {
  0% { font-variation-settings: 'wght' 900, 'BACK' 900, 'RECT' 900, 'ELSH' 4;}
  50% { font-variation-settings: 'wght' 1, 'BACK' 900, 'RECT' 900, 'ELSH' 4;}
  100% { font-variation-settings: 'wght' 1, 'BACK' 900, 'RECT' 900, 'ELSH' 4;}
}
@keyframes drehung {
  0% { transform: rotate(90deg);
  opacity: 0;}
  100% { transform: rotate(0deg);
  opacity: 1;}
}
@keyframes color-refresh {
  to {background-color: black}
}

div {
  font-size: 1.2rem;
  font-weight: 200;
}
.all {
  position: fixed;
  left: 2vw;
  top: 94vh;
}
.prev {
  position: fixed;
  left: 44vw;
  top: 94vh;
}
.next {
  position: fixed;
  right: 2vw;
  top: 94vh;
}
a {
  color: blue;
  text-decoration: none;
}
a:hover {
  text-decoration: underline 0.1rem;
}