* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.glow-on-hover {
    height: 50px;
    width: 200px;
    line-height: 35px;
    border: none;
    outline: none;

    background: #396cf0;
    cursor: pointer;
    position: relative;
    z-index: 99999;
    border-radius: 10px;
    margin-top: 10px
    color: whilte;

}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ffffff, #4dacff,rgb(57 108 240 / 30%));
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(2px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 10s both infinite;
    opacity: 0;
    transition: all ease 900ms;
    border-radius: 10px;


}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(203, 214, 211, 0.02);
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}