/* BotonWhatsApp.css */

.btn-wsp {
    position: fixed;
    width: 60px;
    height: 60px;
    line-height: 63px;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: all 300ms ease;
    overflow: hidden;
}

.btn-wsp:hover {
    background: #20ba5a;
    transform: scale(1.3); /* Escala el botón al 130% de su tamaño original */
}

.btn-wsp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(30, 180, 231, 0.3);/* Color azul celeste claro con opacidad */
    transform-origin: center;
    animation: pulse 3s infinite; /* Animación de onda */
}

.btn-wsp::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(30, 180, 231); /* Inicialmente sin sombra */
    animation: radarWave 3s infinite;
}

.icon-container {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.heartbeat {
    animation: heartbeat 4s infinite ease-in-out;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes radarWave {
    0% {
        box-shadow: 0 0 0 rgba(30, 180, 231, 0.3); /* Inicialmente sin sombra */
    }

    50% {
        box-shadow: 0 0 20px rgba(30, 180, 231, 0.7); /* Cambiar según el tamaño deseado de la onda */
    }

    100% {
        box-shadow: 0 0 40px rgba(30, 180, 231, 1); /* Aumentar el valor para hacer más visible la onda */
    }
}
