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

html, body {
  margin: 0;
}


body {
  display: grid;
  background-color: whi;
  justify-items: center;
  align-items: center;
  transform: translateY(4vw);
}

.wrapper {
  position: relative;
  font-size: 40rem;
  display: flex;
  justify-content: center;
  font-family: 'CaraqueVF_Trial_WghtMelt';
  align-items: center;
  width: 100%;
  height: 100vh;
  transform: translateY(-10%)
}

.red {
  position: absolute;
  color:red;
  animation: redAnimation 3s infinite ease-in-out;
}

.white {
  position: absolute;
  color: white;
  animation: whiteAnimation 3s infinite ease-in-out;
  font-weight: 749;
  animation-delay: 1s; 
}

@keyframes redAnimation {
  0%, 100% {
    font-variation-settings: 'wght' 900, 'MELT' 100;
  }
  50% {
    font-variation-settings: 'wght' 900, 'MELT' 100;
    transform: translateY(3vh);
  }
}

@keyframes whiteAnimation {
  0%,100% {
    font-variation-settings: 'wght' 749, 'MELT' 1;
  }
  50% {
    font-variation-settings: 'wght' 400, 'MELT' 100;
    transform: translateY(-3vh);
  }
}