@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200;0,300;1,200;1,300;1,400&family=Raleway:ital,wght@0,500;1,500;1,600&display=swap');

html {
  background-color: #bababa;
}

.container {
  height: 100dvh;
  width: 100dvw;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Crimson Pro', serif;
}

.change-text {
  font-size: 30pt;
  color: #000000;
  animation-name: fontChange;
  animation-duration: 2s;
  animation-iteration-count: 1;
  animation-timing-function: steps(1, end);
  font-weight: 200;
  font-style: italic;
  font-size: 30pt;
}

@keyframes fontChange {
  0% {
    font-weight: 200;
    font-style: normal;
    font-size: 30pt;
    font-family: 'Crimson Pro', serif;
  }
  10% {
    font-weight: 400;
    font-style: italic;
    font-size: 32pt;
    font-family: 'Crimson Pro', serif;
  }
  20% {
    font-weight: 200;
    font-style: normal;
    font-size: 28pt;
    font-family: 'Crimson Pro', serif;
  }
  30% {
    font-weight: 300;
    font-style: italic;
    font-size: 30pt;
    font-family: 'Crimson Pro', serif;
  }
  40% {
    font-weight: 200;
    font-style: italic;
    font-size: 30pt;
    font-family: 'Crimson Pro', serif;
  }
  50% {
    font-weight: 400;
    font-style: normal;
    font-size: 32pt;
    font-family: 'Crimson Pro', serif;
  }
  60% {
    font-weight: 300;
    font-style: italic;
    font-size: 30pt;
    font-family: 'Crimson Pro', serif;
  }
  70% {
    font-weight: 200;
    font-style: normal;
    font-size: 28pt;
    font-family: 'Crimson Pro', serif;
  }
  80% {
    font-weight: 400;
    font-style: italic;
    font-size: 32pt;
    font-family: 'Crimson Pro', serif;
  }
  85% {
    font-weight: 300;
    font-style: normal;
    font-size: 30pt;
    font-family: 'Raleway', sans-serif;
  }
  90% {
    font-weight: 400;
    font-style: italic;
    font-size: 32pt;
    font-family: 'Raleway', sans-serif;
  }
  95% {
    font-weight: 300;
    font-style: normal;
    font-size: 30pt;
    font-family: 'Raleway', sans-serif;
  }
  100% {
    font-weight: 400;
    font-style: italic;
    font-size: 32pt;
    font-family: 'Raleway', sans-serif;
  }
}