body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('multimedia/fondo.png');
    background-size: cover; /* Ajusta la imagen para cubrir toda la pantalla */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    background-position: center; /* Centra la imagen en la pantalla */
    background-attachment: fixed;
}

#inicio {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.balloon-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 25px;
    z-index: 0;
}

.balloon {
    width: 130px;
    height: 170px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s ease-in-out;
    opacity: 0;
    animation: none; /* Desactiva la animación inicial */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-align: center;
    visibility: hidden;
}

.balloon::before {
    content: '';
    width: 4px;
    height: 40px;
    background-color: #555;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}
html {
    scroll-behavior: smooth;
}


.balloon:nth-child(1) {
    background-color:rgb(41 93 255);
}


.balloon:nth-child(2) {
    background-color: #4C8E66;
}


.balloon:nth-child(3) {
    background-color: #6b36ed;
}

.balloon:nth-child(4) {
    background-color: #6b36ed;
}

.balloon:nth-child(5) {
    background-color:  #8758ec;;
}

.balloon:nth-child(6) {
    background-color: rgb(222 12 12);
}

.balloon:nth-child(7) {
    background-color: rgb(50 93 226);
}




/* Para pantallas grandes */
@media screen and (min-width: 768px) {
    .balloon {
        width: 130px;
        height: 170px;
    }
}

/* Para pantallas pequeñas */
@media screen and (max-width: 767px) {
    .balloon {
        width: 100px;
        height: 130px;
        font-size: 13px;
    }

    .balloon-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Muestra 2 globos por fila */
        gap: 15px;
        top: 35%; /* Ajusta la posición vertical hacia arriba */

    }
}

/* Animación de explosión */
@keyframes explode {
    0% {
        transform: translateY(100px) scale(1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    70% {
        transform: translateY(-50px) scale(1.5); /* Agrandamiento del globo */
    }
    100% {
        transform: translateY(-200px) scale(0);
        opacity: 0;
        visibility: hidden; /* Oculta el globo después de la explosión */
    }
}




#typewriter-text-container {
    display: inline-block;
    font-size: 2rem;
    overflow: hidden; /* Oculta el texto que no cabe */
    white-space: nowrap; /* No permite que el texto se rompa en múltiples líneas */
    width: 100%;
    max-width: 100%;
    animation: typing 4.5s steps(40, end) forwards; /* Efecto más rápido */
}

#typewriter-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    font-size: 2rem;
    line-height: 1.2;
}

#typewriter-text span {
    display: block;
}


@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

#typewriter-text-container {
    display: inline-block;
    font-size: 2rem;
    overflow: hidden; /* Oculta el texto que no cabe */
    white-space: nowrap; /* No permite que el texto se rompa en múltiples líneas */
    width: 100%;
    max-width: 100%;
    animation: typing 4.5s steps(40, end) forwards; /* Efecto más rápido */
}

#typewriter-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    font-size: 2rem;
    line-height: 1.2;
}

#typewriter-text span {
    display: block;
}

/* Estilo para el botón tipo WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000; /* Asegura que el botón esté por encima de otros elementos */
}

.whatsapp-button img {
    width: 50px; /* Ajusta el tamaño del icono según tu preferencia */
    height: auto;
    border-top-left-radius: 25px; /* Redondea esquina superior izquierda */
    border-bottom-left-radius: 25px; /* Redondea esquina inferior izquierda */
    border-top-right-radius: 0px; /* Esquina superior derecha recta */
    border-bottom-right-radius: 50%; /* Esq    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Añade una sombra al icono */
    transition: background-color 0.3s ease; /* Transición suave para el color de fondo */
    animation: bounce 2s infinite; /* Añadir la animación de rebote */
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.whatsapp-button:hover img {
    background-color: #25d366; /* Cambia el color de fondo cuando el icono está en hover */
    transform: scale(1.1); /* Agranda el icono ligeramente en hover */
}  .grid-section {
    padding: 2rem 0;
}

.grid-item {
    background-color: #7e57c2; /* Color de fondo inicial */
    padding: 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.7s ease; /* Animación más lenta */
    border-radius: 15px; /* Bordes redondeados */
    margin-bottom: 20px; /* Espacio inferior entre los elementos */
    color: white; /* Color del texto */
    font-weight: bold;
    visibility: hidden;
        transition: opacity 1s ease-in-out, visibility 0s 1s; /* Transición suave para que cargue de forma gradual */

}

/* Título inicial */
.grid-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    transition: transform 0.7s ease, opacity 0.7s ease; /* Animación más lenta */
}

/* Texto oculto inicialmente */
.grid-hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14.5px;
    opacity: 0;
    text-align: center;
    transition: opacity 0.7s ease, transform 0.7s ease; /* Animación más lenta */
}

/* Animación y cambio de contenido al hacer hover */
.grid-item:hover {
    background-color: #4a148c; /* Color de fondo al hacer hover */
    transform: scale(1.05); /* Agranda el ítem un poco */
}

.grid-item:hover .grid-title {
    transform: translateY(-100px); /* Mueve el título hacia arriba */
    opacity: 0;
}

.grid-item:hover .grid-hover-text {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1); /* Escala ligeramente el texto */
}

/* Distribución y espaciado entre ítems */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Espacio uniforme entre los ítems */
}

/* Para dispositivos grandes (escritorio) */
@media (min-width: 768px) {
    .grid-item {
        flex: 0 0 30%; /* Ajusta el tamaño de los ítems para ocupar 30% del contenedor */
    }
}

/* Para dispositivos pequeños (móvil) */
@media (max-width: 767px) {
    .grid-item {
        flex: 0 0 45%; /* Ocupa el 45% del contenedor en móviles */
    }
}
/* Estilos para los videos */
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Estilo del texto dentro del contenedor del video */
.text-content p {
    font-size: 2rem; /* Tamaño del texto */
    margin: 0;
    line-height: 1.5;
    font-family: 'Raleway', sans-serif;

}
.text-content span {
    color: #8a2be2; /* Violeta del hover del navbar */
    font-weight: bold;
}
.text-content span:hover {
    color: #6a0dad; /* Cambio a un violeta más oscuro en hover */
}
.divertido {
    position: relative; /* Necesario para posicionar el ::after */
    display: inline-block; /* Asegura que el subrayado solo afecte al contenido del span */
}

.icon-text p {
    margin: 0; /* Elimina el margen por defecto de los párrafos */
    padding: 0; /* Elimina el relleno por defecto de los párrafos */
}

.divertido::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #8a2be2; /* Color del subrayado */
    transition: width 0.3s ease, background-color 0.3s ease;
    bottom: -5px; /* Ajusta la posición del subrayado debajo del texto */
}

.divertido:hover::after {
    width: 100%; /* Expande el subrayado al hacer hover */
}


.text-content span:hover::after {
    width: 100%;
    left: 0;
    background: #6a0dad; /* Cambio a un violeta más oscuro en hover */
}
/* Estilo del iframe en el contenedor de videos */
.video-content iframe {
    width: 100%;
    height: 200px; /* Ajusta la altura del video a 250px */
}

/* Estilos para la grilla de videos */
/* Estilos para la grilla de videos */
.video-grid .row.no-gutters {
    margin: 0;
}

.video-grid .video-item {
    padding: 0;
    margin: 0;
    /* Añadir un tamaño fijo para mantener una relación de aspecto rectangular */
    height: 200px; /* Ajusta la altura según tus necesidades */
}

.video-grid img {
    width: 100%;
    height: 100%; /* Asegura que cada video ocupe todo su espacio */
    object-fit: cover; /* Ajusta la imagen al tamaño del contenedor */
}
/* Importar fuente de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Estilo del navbar */
.navbar {
    background-color: #ffffff; /* Fondo blanco para el navbar */
    padding: 1rem 2rem; /* Ajusta el padding según tus necesidades */
}
/* Estilo para la sección "Prueba Acciona" */
.prueba-acciona .nav-link {
    color: #ffffff; /* Blanco inicial */
    background-color: #6f42c1; /* Morado inicial */
    padding: 0.5rem 1rem; /* Efecto de botón */
    border-radius: 5px; /* Bordes redondeados */
    animation: blinkk 1.2s infinite alternate; /* Animación de titileo */
    transition: color 0.5s, background-color 0.5; /* Transición suave */
}

/* Animación de titileo */
@keyframes blinkk {
    0% {
        color: #ffffff; /* Blanco */
        background-color: #6f42c1; /* Morado */
    }
    100% {
        color: #6f42c1; /* Morado */
        background-color: #ffffff; /* Blanco */
    }
}

/* Hover para detener la animación */
.prueba-acciona .nav-link:hover {
    animation: none; /* Detiene la animación */
    color: #ffffff; /* Letras blancas al hacer hover */
    background-color: #6f42c1; /* Fondo morado al hacer hover */
}

/* Estilo del texto del navbar */
.navbar-nav .nav-link {
    color: #000000; /* Letras negras */
    font-family: 'Poppins', sans-serif;
    font-weight: 700; /* Negrita para los enlaces */
    transition: color 0.3s, background-color 0.3s; /* Transición suave para color y fondo */
}

/* Efecto de hover para los enlaces del navbar */
.navbar-nav .nav-link:hover {
    color: #ffffff; /* Letras blancas en hover */
    background-color: #6f42c1; /* Color de fondo violeta en hover */
    border-radius: 5px; /* Bordes redondeados */
    padding: 0.5rem 1rem; /* Padding para darle un efecto de botón */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para darle profundidad */
}

/* Animación en el hover del navbar */
.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #6f42c1;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::before {
    transform: scaleX(1);
}
.logo-hover {
    transition: transform 0.2s ease-in-out, filter 0.3s ease-in-out;
}

.logo-hover:hover {
    transform: scale(1.1); /* Aumenta el tamaño del logo */
    filter: brightness(1.2); /* Aumenta el brillo */
}
/* Estilo del logo en el navbar */
.navbar-brand img {
    height: auto; /* Ajusta automáticamente la altura */
    width: 130px; /* Ajusta el ancho del logo según tus necesidades */
    max-width: 100%; /* Asegura que el logo no se desborde */
    border-radius: 14px;
}

/* Mover el logo un poco a la derecha */
.navbar-brand {
    margin-left: 10px; /* Ajusta el valor según lo que necesites */
}

/* Asegurar que el menú hamburguesa esté alineado a la derecha */
.navbar-toggler {
    margin-left: auto; /* Mueve el menú hamburguesa al extremo derecho */
}
.videogif  {
width: 108%;
 margin-top: -100px;
}
/* Ajustes para dispositivos más pequeños */
@media (max-width: 767.98px) {
    .navbar {
        padding: 0.5rem 1rem; /* Reduce el padding en dispositivos pequeños */
    }

    .videogif  {
        width: 258%;
        }
    .navbar-brand img {
        width: 100px; /* Reduce el tamaño del logo en pantallas pequeñas */
    }

    .navbar-nav .nav-link {
        padding: 0.3rem 1rem; /* Ajusta el padding en dispositivos pequeños */
    }
    #typewriter-text-container {
        font-size: 1.5rem;
        animation: typing 1.5s steps(40, end) forwards; /* Efecto más rápido */
    }
    #typewriter-text-container {
        font-size: 1.5rem; /* Tamaño del texto más pequeño */
    }
    .grid-item,
    .video-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .video-container .row {
        flex-direction: column-reverse; /* El texto se moverá arriba y el GIF abajo */
        align-items: center; /* Centrar el contenido */
    }

    .video-container .text-content {
        margin-top: 20px; /* Añade espacio entre el texto y el GIF */
        text-align: center; /* Centra el texto */
    }

    .video-container .video-content {
        width: 100%; /* Ocupa todo el ancho disponible */
        height: 250px;
    }

    .video-container img {
        width: 80%; /* Ajusta el tamaño del GIF */
        height: auto; /* Mantén la proporción del GIF */
        margin-top: -8px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-contact, .footer-social {
        margin-bottom: 20px;
    }
}
@keyframes moveAndChangeColor {
    0% {
        transform: translateY(-20px);
        color: gray;
    }
    50% {
        transform: translateY(0);
        color: #800080; /* Violeta */
    }
    100% {
        transform: translateY(35px);
        color: white;
    }
}
.textoabajo{
    display: inline-block;
            white-space: nowrap;
            overflow: hidden;
            font-size: 2rem;
            line-height: 1.2;
            text-align: center;
}
.margen{
    border-top: 0.4px solid gray;
}
.card-container {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra por defecto */
    transition: transform 0.5s ease, box-shadow 0.5s ease; /* Transición suave */
    padding: 20px;
    margin: 20px;
}

.card-container:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 12px rgba(138, 43, 226, 0.5); /* Sombra violeta con transparencia */
}

.icon-text {
    text-align: center;
}
.no-animation .balloon {
    animation: none; /* Detiene la animación del globo */
}

.no-animation .grid-item {
    opacity: 0; /* Oculta el grid-item */
    visibility: hidden;
}

.icon-text i {
    font-size: 3rem;
    color: #333;
}
.animated-text {
    display: inline-block;
    font-size: 2rem;
    line-height: 1.2;
    animation: moveAndChangeColor 2.5s ease-in-out infinite;
    font-weight: bold;
    transition: color 0.3s ease;
}
/* Estilo del navbar */

/* Cambiar el color de las letras a blanco al hacer hover */
.navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

@media (max-width: 576px) {
    #typewriter-text-container {
        font-size: 1rem; /* Tamaño del texto aún más pequeño */
    }
    .textoabajo{
        font-size: 1.1rem;
    }
    .animated-text{
        font-size: 1.1rem;
    }

    #typewriter-text {
        font-size: 2rem; /* Tamaño del texto en pantallas muy pequeñas */
        white-space: normal; /* Permite el ajuste del texto en múltiples líneas */
    }}

  .footer {
        background-color: #333; /* Fondo oscuro */
        color: #fff; /* Texto blanco */
        padding: 20px 0; /* Espaciado superior e inferior */
        font-family: 'Poppins', sans-serif;
    }
    
    .footer-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto; /* Centrar el contenido */
        padding: 0 20px;
        text-align: center;
    }
    
    .navbar-brand img {
        max-width: 150px; /* Tamaño del logo */
    }
    
    .footer-contact h4, .footer-social h4 {
        font-size: 1rem;
        margin-bottom: 10px;
        font-weight: bold;
    }
    
    .footer-contact p, .footer-social a {
        margin: 5px 0;
        font-size: 0.9rem;
    }
    
    .redes-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .redes-container ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .redes-container ul li {
        margin: 0 5px;
        width: 50px;
        height: 50px;
        text-align: center;
    }
    
    .redes-container ul li a {
        display: block;
        padding: 0 10px;
        background: #333;
        color: white;
        line-height: 50px;
        transition: .2s;
        font-size: 20px;
        border-radius: 30px;
        animation: move linear 2000ms infinite;
    }
 
    
    .redes-container ul:hover a {
        filter: blur(1px);
    }
    
    .redes-container ul li a:hover {
        transform: translateY(-3px) scale(1.06);
        filter: none;
    }
    
    .redes-container ul li .insta-icon:hover {
        color: #e4405f;
    }
    
    .redes-container ul li .face-icon:hover {
        color: #0866ff;
    }
    
    .redes-container ul li .tiktok-icon:hover {
        color: #ff374a;
    }

    .redes-container ul li .wsp-icon:hover {
        color: rgb(87, 230, 87);
    }
    
    .redes-container ul li .linkedin-icon:hover {
        color: #0077B5;
    }
    
.button-section {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-container {
  width: 1000px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-family: 'Poppins', sans-serif;
  padding: 20px;
  z-index: 999;
}

.button {
  display: flex;
  align-items: center;
  padding: 20px 30px;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  flex: 1 1 auto;
  min-width: 200px;
}

.button-icon {
  width: 100px;
  height: 100px;
  margin-right: 10px;
}

.free-trial {
  background-color: #6b36ed;
  color: white;
}

.login {
  background-color: #ff6600;
  color: white;
}

.buy {
  background-color: #fe0000;
  color: white;
}

.button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Media query para pantallas pequeñas (smartphones) */
@media (max-width: 768px) {
  .button-container {
    width: 700px;
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 250px;
    min-width: auto;
  }
}

@media (max-width: 450px) { /* Smartphones */
  .button-container {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 100%;
    min-width: auto;
  }
}

#titulo-tablero {
    display: inline-block;
    white-space: wrap;
    overflow: hidden;
    font-size: 3rem;
    line-height: 1.2;
}