@font-face {
  font-family: 'UTMorph-variable';
  src: url('fonts/UTMorph-variable.woff2') format('woff2');
}

html, body {
  margin: 0;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  justify-items: center;
  align-items: center;
  background-color: red;
}

.container {
  font-family: 'UTMorph-variable';
  font-size: 600px;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.element {
  width: 100%;
}

.element1 {
  color: hsl(0, 0%, 100%);
  animation: animS 2s infinite ease-in-out;
  z-index: 0; /* vorne */
}

.element2 {
  color: white;
  font-variation-settings: 'wght' 400, 'MELT' 10;
  animation: animU 2s infinite ease-in-out;
  z-index: 0; /* vorne */
}

.element3 {
  color: white;
  font-variation-settings: 'wght' 400, 'MELT' 10;
  animation: animU 2s infinite ease-in-out;
  z-index: 0; /* vorne */
}

.element4 {
  color: white;
  animation: animS 2s infinite ease-in-out;
  font-variation-settings: 'wght' 900, 'MELT' 100;
}

.element5 {
  color: white;
  animation: animU 2s infinite ease-in-out;
  font-variation-settings: 'wght' 900, 'MELT' 100;
}




@keyframes animS {
  0%,
  100% {
    font-variation-settings: 'PSTV' 0, 'NGTV' 100;
  }
  50% {
    font-variation-settings: 'PSTV' 100, 'NGTV' 0;
  }
}

@keyframes animU {
  0%,
  100% {
    font-variation-settings: 'PSTV' 100, 'NGTV' 0;

  }
  50% {
    font-variation-settings: 'PSTV' 0, 'NGTV' 100;
  }