/* https://codepen.io/cbanlawi/pen/MWbemYP */

@font-face {
    font-family: 'Velodroma-SuperWide';
    src: url('./fonts/velodroma/Velodroma_SuperWide.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }

span {
  font-family: Velodroma-SuperWide;
  /* background: #f4d03f; */
  position: relative;
  margin-top: 0%;
  display: flex;
  flex-direction: column;
  height: 0vh;
  justify-content: center;
  align-items: center;
}

.words {
  /* color: #f4d03f; */
  /* color: #f7f3de; */
  color: #f7f2d3;
  /* color: #31EB44; */
  /* font-size: 0; */
  line-height: 2;
}

.words span {
  font-size: 3rem;
  display: inline-block;
  white-space: nowrap; 
  /* display: inline-flex; */
  animation: move 5s ease-in-out infinite;
}

@keyframes move {
  0% {
    transform: translate(-30%, 0);
  }
  50% {
    text-shadow: 0 25px 50px rgba(0, 0, 0, 0.75);
  }
  100% {
    transform: translate(30%, 0);
  }
}

.words span:nth-child(2) {
  animation-delay: 0.5s;
}

.words span:nth-child(3) {
  animation-delay: 1s;
}

.words span:nth-child(4) {
  animation-delay: 1.5s;
}

.words span:nth-child(5) {
  animation-delay: 2s;
}

.words span:nth-child(6) {
  animation-delay: 2.5s;
}

.words span:nth-child(7) {
  animation-delay: 3s;
}

.words span:nth-child(8) {
    animation-delay: 3.5s;
  }
  
  .words span:nth-child(9) {
    animation-delay: 4s;
  }
  
  .words span:nth-child(10) {
    animation-delay: 4.5s;
  }
  
  .words span:nth-child(11) {
    animation-delay: 5s;
  }
  
  .words span:nth-child(12) {
    animation-delay: 5.5s;
  }
  
  .words span:nth-child(13) {
    animation-delay: 6s;
  }

  .words span:nth-child(14) {
    animation-delay: 6.5s;
  }
  
  .words span:nth-child(15) {
    animation-delay: 7s;
  }
  
  .words span:nth-child(16) {
    animation-delay: 7.5s;
  }