body,
html {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  text-size-adjust: none;
}
.new__title {
  margin-top: 3rem;
  font-size: 2.5rem;
  text-align: center;
  font-family: "Open-Sans", sans-serif;
  font-weight: 600;
  perspective: 100px;
}


#shimmerWave {
  font-size: 3rem;
  text-align: center;
  font-family: "Open-Sans", sans-serif;
  font-weight: 600;
  perspective: 100px;
  transform-style: preserve-3d;
  /* Prevent word splitting */
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: #d56fd3 !important;
  /* Ensure long words don't break */
  white-space: normal;

  /* Avoid unnecessary hyphenation */
  hyphens: none;
}


#shimmerWave span {
  position: relative;
  transition: all 0.3s ease;
  display: inline-block;
  animation: wave 2.4s ease infinite;
  letter-spacing: 0.01em;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  color: #d56fd3 !important;
  will-change: transform, opacity;
  backface-visibility: hidden;
  opacity: 1; /* Ensure visibility at the start */
}


/*#shimmerWave span {*/
/*  position: relative;*/
/*  transition: all 0.3s ease;*/
/*  display: inline-block;*/
/*  animation: wave 2.4s ease infinite;*/
/*  letter-spacing: 0.01em;*/
/*  transform-origin: 100% 50%;*/
/*  transform-style: preserve-3d;*/
/*}*/

/* Generate animations for 21 spans */
#shimmerWave span:nth-child(1) {
  animation-delay: 0s;
}
#shimmerWave span:nth-child(2) {
  animation-delay: 0.1s;
}
#shimmerWave span:nth-child(3) {
  animation-delay: 0.2s;
}
#shimmerWave span:nth-child(4) {
  animation-delay: 0.3s;
}
#shimmerWave span:nth-child(5) {
  animation-delay: 0.4s;
}
#shimmerWave span:nth-child(6) {
  animation-delay: 0.5s;
}
#shimmerWave span:nth-child(7) {
  animation-delay: 0.6s;
}
#shimmerWave span:nth-child(8) {
  animation-delay: 0.7s;
}
#shimmerWave span:nth-child(9) {
  animation-delay: 0.8s;
}
#shimmerWave span:nth-child(10) {
  animation-delay: 0.9s;
}
#shimmerWave span:nth-child(11) {
  animation-delay: 1s;
}
#shimmerWave span:nth-child(12) {
  animation-delay: 1.1s;
}
#shimmerWave span:nth-child(13) {
  animation-delay: 1.2s;
}
#shimmerWave span:nth-child(14) {
  animation-delay: 1.3s;
}
#shimmerWave span:nth-child(15) {
  animation-delay: 1.4s;
}
#shimmerWave span:nth-child(16) {
  animation-delay: 1.5s;
}
#shimmerWave span:nth-child(17) {
  animation-delay: 1.6s;
}
#shimmerWave span:nth-child(18) {
  animation-delay: 1.7s;
}
#shimmerWave span:nth-child(19) {
  animation-delay: 1.8s;
}
#shimmerWave span:nth-child(20) {
  animation-delay: 1.9s;
}
#shimmerWave span:nth-child(21) {
  animation-delay: 2s;
}



@keyframes wave {
  0% {
    transform: translate3D(0, 0, 0) scale(1) rotateY(0);
    text-shadow: 0 0 0 rgba(213, 111, 211, 0);
    opacity: 1; /* Ensure initial visibility */
  }
  12% {
    transform: translate3D(2px, -2px, 2px) scale(1.16) rotateY(6deg);
    text-shadow: 2px 2px 8px rgba(213, 111, 211, 0.8);
  }
  24% {
    transform: translate3D(0, 0, 0) scale(1) rotateY(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1; /* Keep visibility stable */
  }
}



/*@keyframes wave {*/
/*  0% {*/
/*    transform: translate3D(0, 0, 0) scale(1) rotateY(0);*/
/*    text-shadow: 0 0 0 rgba(70, 175, 200, 0);*/
/*  }*/
/*  12% {*/
/*    transform: translate3D(2px, -2px, 2px) scale(1.16) rotateY(6deg);*/
/*  }*/
/*  15% {*/
/*  }*/
/*  24% {*/
/*    transform: translate3D(0, 0, 0) scale(1) rotateY(0);*/
/*    opacity: 1;*/
/*  }*/
/*  36% {*/
/*    transform: translate3D(0, 0, 0) scale(1);*/
/*  }*/
/*  100% {*/
/*    transform: scale(1);*/
/*    opacity: 0.8;*/
/*  }*/
/*}*/
