/* Estilos para el footer */
.footer-container {
    /*position: fixed;*/
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(31,140,181,255); /* Fondo de gradiente */

    
    z-index: 1000; /* Asegura que esté por encima del contenido pero debajo del sidebar */
    display: flex;
    
    
    justify-content: center; /* Centra horizontalmente el contenido */
    color: white; /* Color del texto */
    padding: 10px 20px; /* Espacio horizontal interno */

    transition: transform 0.3s ease-in-out; /* Transición suave para mostrar/ocultar */
    
    position: fixed;
    
     

    transform: translateX(-50%) translateY(150px);
    
}

/* Mostrar el footer cuando se llega al fondo */
.footer-container.show {
    transform: translateY(0); /* Muestra el footer */
}



/* Definir la animación del borde */
@keyframes borderAnimation {
    0% {
        border-color: transparent;
        background-position: 0% 0%;
    }
    50% {
        border-color: transparent;
        background-position: 100% 0%;
    }
    100% {
        border-color: transparent;
        background-position: 0% 100%;
    }
}


/* Contenedor de los íconos */
.social-icons {
    display: flex;
    gap: 21px; /* Espacio entre los íconos */
    margin: 0 auto; /* Centra los íconos dentro del footer */
    position: relative; /* Posición relativa para el movimiento */
    width: auto; /* Ajusta el ancho al contenido */
    transform: translateX(100%); /* Inicialmente fuera de la vista a la derecha */
    transition: transform 0.3s ease-in-out; /* Transición suave para el movimiento */
}

/* Mostrar los íconos cuando el footer está visible */
.footer-container.show .social-icons {
    transform: translateX(0); /* Muestra los íconos moviéndolos al centro */
}

/* Estilos para los íconos sociales */
.social-icons a {
    color: white; /* Color de los iconos */
    text-decoration: none; /* Elimina el subrayado de los enlaces */
}

.social-icons img {
    width: 25px; /* Tamaño de los íconos */
    height: 25px;
    filter: invert(1) brightness(0.9); /* Invierte el color y ajusta el brillo para mejorar la visibilidad */
    transition: transform 0.3s; /* Transición suave para el hover */
}

.social-icons a:hover img {
    transform: scale(1.2); /* Aumenta el tamaño del icono en hover */
}


/* Estilos para el texto al lado del ícono de Instagram */
.text {
    display: flex;
    gap: 0; /* Elimina el espacio entre las letras */
    opacity: 0; /* Comienza invisible */
    animation: blink 1.5s infinite; /* Anima el parpadeo */
    margin-top: 1px; /* Ajusta el margen superior para desplazar el texto hacia abajo */
    font-weight: bold;
}


.letter {
    font-size: 24px; /* Ajusta el tamaño de fuente según sea necesario */
    line-height: 1; /* Asegura que la altura de línea no afecte el tamaño */
    margin: 0 2px; /* Ajusta el espaciado entre letras si es necesario */
}

/* Ajustes específicos para Ⓐ y Ⓘ */
.special-char {
    font-size: 20px; /* Tamaño de fuente consistente */
    line-height: 1.3; /* Ajusta la altura de línea si es necesario */
    display: inline-flex;
    align-items: center;
}

/* Escala Ⓐ para hacerlo más parecido a Ⓘ */
.special-char:nth-child(1) { /* Para Ⓐ */
    transform: scale(1.2); /* Aumenta el tamaño de Ⓐ */
}

.special-char:nth-child(2) { /* Para Ⓘ */
    /* Ajustes opcionales si Ⓘ también necesita ajustes */
}


/* Estilos para cada letra del texto */
.text span {
    display: inline-block;
    animation: colorChange 6s linear infinite; /* Anima el cambio de color */
}

/* Animación de parpadeo */
@keyframes blink {
    0%, 100% {
        opacity: 0.5; /* Invisible al inicio y al final */
    }
    50% {
        opacity: 3; /* Visible en el centro de la animación */
    }
}

/* Animación de cambio de color de letra a letra */
@keyframes colorChange {
    0% {
        color: #ffffff; /* Rosa neón */
    }
    20% {
        color: #dcdcdc; /* Celeste */
    }
    40% {
        color: #ffffff; /* Rojo neón */
    }
    60% {
        color: #0055ff; /* Verde neón */
    }
    80% {
        color: #0015ff; /* Azul neón */
    }
    100% {
        color: #0051ff; /* Rosa neón (vuelve al inicio) */
    }
}

/* Aplicar retraso para cada letra */
.text span:nth-child(1) { animation-delay: 0ms; }
.text span:nth-child(2) { animation-delay: 1s; }
.text span:nth-child(3) { animation-delay: 0.5s; }
.text span:nth-child(4) { animation-delay: 0.5s; }
.text span:nth-child(5) { animation-delay: 0.4s; }
.text span:nth-child(6) { animation-delay: 0.5s; }
.text span:nth-child(7) { animation-delay: 0.6s; }
.text span:nth-child(8) { animation-delay: 0.7s; }
.text span:nth-child(9) { animation-delay: 0.8s; }
.text span:nth-child(10) { animation-delay: 0.9s; }
.text span:nth-child(11) { animation-delay: 1s; }
