:root {
  --headingSize: 55px;
  --background-color: black;
}



h1.swift-up-text {
  font-size: 100px;
  line-height: 1.1;
  display: inline-block;
}

/* Word container */
span {
  display: inline-block;
  overflow: hidden;
  margin-right: 10px;
}

/* Each word */
i {
  display: inline-block;
  font-style: normal;
  position: relative;
  top: var(--headingSize);
  opacity: 0;
  transform: scale(0.9) rotate(2deg);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Reveal animation */
.reveal span i {
  top: 0;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Hide again when leaving view */
.hide span i {
  top: var(--headingSize);
  opacity: 0;
  transform: scale(0.9) rotate(-2deg);
}

/* Optional different colors per word */
span:nth-child(odd) i {
  color: #36ffd7;
}


span:nth-child(even) i {
  color: #ff00dd;
}

#underimg span:nth-child(odd) i {
  color: #4000ff;
  /* 3D effect using multiple shadows */
  font-size: 80px;
  text-shadow: 
    1px 1px 0 #fff,   /* top-left highlight */
    2px 2px 0 #ccc,
    3px 3px 0 #999,
    4px 4px 0 #666,
    5px 5px 0 #333;   /* bottom-right shadow for depth */
}


#underimg span:nth-child(even) i {
  color: #050505;
  font-size: 80px;
}


/* Responsive */
@media screen and (max-width: 1000px) {
  .container {
    width: auto;
    margin: 0 10%;
  }

  :root {
    --headingSize: 35px;
  }

  h1.swift-up-text {
    font-size: 60px;
  }
}







/* 

<h3 class="animate-charcter"> Sreebala</h3>
 */




.animate-charcter
{
   text-transform: uppercase;
  background-image: linear-gradient(
    -225deg,
    #2aff74 0%,
    #44107a 29%,
    #ff1361 67%,
    #fff800 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 5s linear infinite;
  display: inline-block;
      font-size: 100px;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

