@import "https://fonts.googleapis.com/css2?family=Megrim&display=swap";

body{
  overflow: visible;
  margin: 0;
  display: flex;
  flex-direction: column;
  opacity: 0.3;
}
#word{
  font-family: Megrim, cursive;
  font-size: 20vh;
  position: absolute;
  margin: 10;
  display: flexbox;
  /*bottom: 0;*/
  color: rgb(0, 132, 255);
  -webkit-text-stroke: 0.15vh #c0f;
  opacity: 0; /* Start with the text invisible */
  transform: scale(0.5) rotateX(90deg); /* Start smaller and rotated */
  text-shadow: 0 0 10px #00f9ff, 0 0 20px #00f9ff, 0 0 30px #00f9ff;
  animation: futuristicAnimation 1.5s ease-in-out forwards, glowEffect 1.5s alternate infinite;
}

@keyframes futuristicAnimation {
  0% {
    opacity: 0;
    transform: scale(0.5) rotateX(180deg); /* Smaller and rotated */
    filter: blur(10px); /* Start blurry */
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotateX(0deg); /* Grow larger and align text */
    filter: blur(2px); /* Reduce blur */
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateX(0deg); /* Final state at normal size */
    filter: blur(0); /* No blur */
  }
}

@keyframes glowEffect {
  0% {
    text-shadow: 0 0 10px #00f9ff, 0 0 20px #00f9ff, 0 0 40px #00f9ff;
  }
  100% {
    text-shadow: 0 0 20px #3e26da88, 0 0 30px #1e38ba, 0 0 50px #1b29a3;
    color: #0011ffdc;
  }
}