.glow-on-hover {
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
    z-index: 0;
    border-radius: 24px;
    transition: opacity 0.5s ease, visibility 0.5s ease;

}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #DE0000, rgba(255, 255, 255, 0), #DE0000, rgba(255, 255, 255, 0), #DE0000, rgba(255, 255, 255, 0), #DE0000, rgba(255, 255, 255, 0), #DE0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 24px;
}


.glow-on-hover:hover:before {
    opacity: 1;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}