/* ------------------------------------------- */
/* 1. DEFINICIÓN DEL EFECTO FLOTANTE (KEYFRAMES) */
/* ------------------------------------------- */
@keyframes float {
    0% {
        transform: translateY(0px); /* Posición inicial */
    }
    50% {
        transform: translateY(-8px); /* Sube 8 píxeles */
    }
    100% {
        transform: translateY(0px); /* Vuelve a la posición inicial */
    }
}

/* ------------------------------------------- */
/* 2. ESTILOS PARA EL CONTENEDOR Y LA ANIMACIÓN */
/* ------------------------------------------- */
#floating-bubble-container {
    position: fixed; 
    bottom: 25px;    
    right: 25px;     
    z-index: 1000;   
    
    /* APLICACIÓN DE LA ANIMACIÓN */
    animation: float 4s ease-in-out infinite; /* 4s de duración, suave, se repite infinitamente */
}

/* ------------------------------------------- */
/* 3. ESTILOS PARA EL BOTÓN (BURBUJA) */
/* ------------------------------------------- */
#floating-bubble-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Forma de burbuja */
    background-color: #86a450; 
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); 
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none; 
    overflow: hidden; /* Asegura que la imagen no se desborde del círculo */
}

/* Efecto al pasar el ratón */
#floating-bubble-link:hover {
    background-color: #97b75a; 
    transform: scale(1.05);   
}

/* ------------------------------------------- */
/* 4. ESTILOS PARA LA IMAGEN PNG */
/* ------------------------------------------- */
#floating-bubble-link img {
    /* Aseguramos que la imagen se ajuste bien */
    border-radius: 0%; 
    padding: 10px; 
}