/* Estilos para el botón flotante */
.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    animation: pulse-animation 2s infinite; /* Aplica la animación pulse-animation constantemente */
}

.float:hover {
    background-color: #1ab152; /* Cambia el color de fondo al hacer hover */
    animation: shake 1.5s infinite; /* Aplica la animación shake al hacer hover */
}

/* Define la animación shake */
@keyframes shake {
    0% { transform: translate(0); }
    25% { transform: translate(-5px, 0); }
    50% { transform: translate(5px, 0); }
    75% { transform: translate(-5px, 0); }
    100% { transform: translate(0); }
}

/* Estilos para el efecto de pulsación */
.my-float {
    margin-top: 16px;
    display: inline-block; /* Asegúrate de que el elemento sea un bloque en línea */
}
/* Define la animación pulse-animation */
@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(14, 255, 34, 0.2);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}
