.talkBtn{
    width: fit-content;
    margin: 30px auto;
    padding: 16px 40px;

    background: linear-gradient(135deg, #ff4b4b, #d90429);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;

    border-radius: 999px;
    cursor: pointer;
    user-select: none;

    box-shadow:
        0 10px 25px rgba(217, 4, 41, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.25);

    transition:
        transform .15s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.talkBtn:hover{
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(217,4,41,.45),
        inset 0 1px 0 rgba(255,255,255,.3);
}

/* While holding */
.talkBtn:active{
    transform: scale(.96);
    animation: pulse .9s infinite;
    box-shadow:
        0 0 0 0 rgba(255, 59, 59, .7);
}

@keyframes pulse{
    0%{
        box-shadow:
            0 0 0 0 rgba(255,59,59,.7),
            0 10px 25px rgba(217,4,41,.35);
    }

    70%{
        box-shadow:
            0 0 0 18px rgba(255,59,59,0),
            0 10px 25px rgba(217,4,41,.35);
    }

    100%{
        box-shadow:
            0 0 0 0 rgba(255,59,59,0),
            0 10px 25px rgba(217,4,41,.35);
    }
}
.talkBtn.recording{
    animation: pulse .9s infinite;
    background: linear-gradient(135deg, #ff2d55, #b00020);
}