@font-face {
  font-family: 'CaraqueVF_Trial_WghtMelt';
  src: url('fonts/CaraqueVF_Trial_WghtMelt.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: 'CaraqueVF_Trial_WghtMelt';
  font-size: 300px;
  position: absolute;
  top: 50%;
  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: 'wght' 400, 'MELT' 1;
    font-stretch: 200%;
  }
  50% {
    font-variation-settings: 'wght' 1000, 'MELT' 100;
  }
}

@keyframes animU {
  0%,
  100% {
    font-variation-settings: 'wght' 900, 'MELT' 100;
    font-stretch: 200%;
  }
  50% {
    font-variation-settings: 'wght' 400, 'MELT' 1;
  }
  @keyframes animU {
  0%,
  100% {
    font-variation-settings: 'wght' 900, 'MELT' 100;
    font-stretch: 200%;
  }
  50% {
    font-variation-settings: 'wght' 400, 'MELT' 1;
  }
}