:root {
  font-family: 'Codec Pro', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  background-color: black;
  color: white;
}

.text-line {
  font-size: 60px;
  line-height:0%;
}

.text-container p:nth-child(1) {font-variation-settings: "wght" 900;
  animation: weightChange1 1.5s infinite alternate;}
.text-container p:nth-child(2) {font-variation-settings: "wght" 900;
  animation: weightChange1 1.5s infinite alternate; animation-delay: 0.2s}
.text-container p:nth-child(3) {font-variation-settings: "wght" 900;
  animation: weightChange1 1.5s infinite alternate; animation-delay: 0.4s}
.text-container p:nth-child(4) {font-variation-settings: "wght" 900;
  animation: weightChange1 1.5s infinite alternate; animation-delay: 0.6s}
.text-container p:nth-child(5) {font-variation-settings: "wght" 900;
  animation: weightChange1 1.5s infinite alternate; animation-delay: 0.8s}
.text-container p:nth-child(6) {font-variation-settings: "wght" 900;
  animation: weightChange1 1.5s infinite alternate; animation-delay: 1s}
.text-container p:nth-child(7) {font-variation-settings: "wght" 900;
  animation: weightChange1 1.5s infinite alternate; animation-delay: 1.2s}
.text-container p:nth-child(8) {font-variation-settings: "wght" 900;
  animation: weightChange1 1.5s infinite alternate; animation-delay: 1.4s}
.text-container p:nth-child(9) {font-variation-settings: "wght" 900;
  animation: weightChange1 1.5s infinite alternate; animation-delay: 1.6s}

@keyframes weightChange1 {
  from {font-variation-settings: "wght" 900;}
  to { font-variation-settings: "wght" 100}
  }