* {
  margin: 0;
  padding: 0;
}

#index-container {
  overflow: hidden;
  transition: top 100ms cubic-bezier(0.5, 0.33, 0.3, 0.9) 1ms;
  height: auto;
  width: 100%;
}

.line-content {
  height: 0;
  transition: 2s all ease-in-out;
}

/* Hero section */

.text-hero .title span{
  font-weight: 600;
}

.typewriter {
  max-width: 100%;
  box-sizing: border-box;
  font-size: clamp(1rem, 2.5vw, 2rem); /* Tamaño de fuente responsivo */
}

.line1, .line2 {
  display: inline-block;
  overflow: hidden; /* Ocultar el texto excedente */
  white-space: nowrap; /* Mantener el texto en una sola línea */
}

/* Animación de máquina de escribir */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

/* Parpadeo del cursor */
@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: black; }
}

.line1 {
  animation: typing 2s steps(40, end), blink-caret .75s step-end infinite;
}

.line2 {
  visibility: hidden; /* Ocultar inicialmente */
  animation: typing2 2s steps(40, end) 2s forwards, blink-caret .75s step-end infinite 2s;
  animation-fill-mode: forwards; /* Mantener el estado final de la animación */
  white-space: nowrap; /* Mantener el texto en una sola línea */
}

@keyframes typing2 {
  0% {
      width: 0;
      visibility: visible; /* Mostrar cuando empiece la animación */
  }
  99.9% {
      width: 100%;
      visibility: visible; /* Asegurar visibilidad antes de finalizar */
  }
  100% {
      width: 100%;
      visibility: visible; /* Asegurar visibilidad después de finalizar */
  }
}

/* Subrayado de fondo */
.background-pink-text {
  display: inline;
  position: relative;
  z-index: 1;
}

.background-pink-text::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: #D40861;
  z-index: -1;
  animation: underline 1s forwards;
  animation-delay: 4s;
  width: 0;
}

/* Animación del subrayado de fondo */
@keyframes underline {
  from { width: 0; }
  to { width: 100%; }
}

/* Testimonials */
.testimonials{
  padding: 70px 5% 120px;
}


/*--------------------- RESPONSIVE ----------------------*/

/* Mobile */
@media screen and (max-width: 768px) {

}