.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 18px;
    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 1s infinite; /* Aplicar la animación pulse-animation por defecto */
}

.float:hover {
    text-decoration: none;
    color: #FFF;
    background-color: #1ab152;
}

.my-float {
    margin-top: 16px;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px #25d36657, rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(5px);
    }
    50% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}

.float:hover {
    animation: shake 1s infinite; /* Aplicar la animación shake en hover */
}
