/*Neon Button color Css*/

.neon1 {
    --neon-hvr-color: #281764;
}

.neon2 {
    --neon-hvr-color: #07555f;
}

.neon3 {
    --neon-hvr-color: #800854;
}
.neon4 {
    --neon-hvr-color: #ff0000;
}
.neon5 {
    --whvr-neon-color: #af190b;
}

.neon6 {
    --whvr-neon-color: #33ff00;
}

.neon7 {
    --whvr-neon-color: #FFCF00;
}
.neon8 {
    --whvr-neon-color: #107772;
}

.neon,
.glowing {
    --padding: 10px 20px;
    --border-radius: 4px;
    --border-radius_g: 4px;
}


/*Glow button color css*/

.glowing1 {
    --glow1: #4285f4;
    --glow2: #4285f4;
}

.glowing2 {
    --glow1: #9900ff;
    --glow2: #9900ff;
}

.glowing3 {
    --glow1: #ff6d00;
    --glow2: #ff6d00;
}

.glowing4 {
    --glow1: #79250b;
    --glow2: #79250b;
}

.glowing5 {
    --glow1: #f0a94d;
    --glow2: #f0a94d;
}

.glowing6 {
    --glow1: #878d0c;
    --glow2: #878d0c;
}

.neon {
    position: relative;
    font-size: var(--font-size1);
    display: inline-block;
    padding: var(--padding);
    border-radius: var(--border-radius);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    filter: hue-rotate( 0deg);
    transition: all 0.1s linear;
}

.neon1,
.neon2,
.neon3,
.neon4 {
    border: 1px solid transparent;
    background: var(--neon-hvr-color);
}

.neon1:hover,
.neon2:hover,
.neon3:hover,
.neon4:hover {
    color: var(--neon-hvr-color)!important;
}

.neon1:hover,
.neon2:hover,
.neon3:hover,
.neon4:hover {
    border: 1px solid transparent;
    text-decoration: none;
    background: transparent;
}

.neon1:hover span,
.neon2:hover span,
.neon3:hover span,
.neon4:hover span,
.neon7 span,
.neon5 span,
.neon6 span,
.neon8 span {
    position: absolute;
    display: block;
}

.neon:hover span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

.neon1:hover span:nth-child(1),
.neon2:hover span:nth-child(1),
.neon3:hover span:nth-child(1),
.neon4:hover span:nth-child(1) {
    background: linear-gradient(90deg, transparent, var(--neon-hvr-color));
    animation: animate1 1s linear infinite;
}

.neon:hover span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
}

.neon1:hover span:nth-child(2),
.neon2:hover span:nth-child(2),
.neon3:hover span:nth-child(2),
.neon4:hover span:nth-child(2) {
    background: linear-gradient(180deg, transparent, var(--neon-hvr-color));
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

.neon:hover span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
}

.neon1:hover span:nth-child(3),
.neon2:hover span:nth-child(3),
.neon3:hover span:nth-child(3),
.neon4:hover span:nth-child(3) {
    background: linear-gradient(270deg, transparent, var(--neon-hvr-color));
    animation: animate3 1s linear infinite;
    animation-delay: 0.5s;
}

.neon:hover span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
}

.neon1:hover span:nth-child(4),
.neon2:hover span:nth-child(4),
.neon3:hover span:nth-child(4),
.neon4:hover span:nth-child(4) {
    background: linear-gradient(360deg, transparent, var(--neon-hvr-color));
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes animate1 {
    0% {
        left: -100%;
    }
    50%,
    100% {
        left: 100%;
    }
}

@keyframes animate2 {
    0% {
        top: -100%;
    }
    50%,
    100% {
        top: 100%;
    }
}

@keyframes animate3 {
    0% {
        right: -100%;
        height: 2px;
    }
    50%,
    100% {
        height: 2px;
        right: 100%;
    }
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }
    50%,
    100% {
        bottom: 100%;
    }
}


/*
**Without hover neon
*/


/*Neon 4*/

.neon7,
.neon5,
.neon6,
.neon8 {
    border: 1px solid transparent;
    text-decoration: none;
    background: transparent;
    color: var(--whvr-neon-color);
}

.neon8:hover,
.neon7:hover,
.neon5:hover,
.neon6:hover {
    background: var(--whvr-neon-color);
    color: white !important;
    box-shadow: 0 0px 15px 0 var(--whvr-neon-color);
    text-decoration: none;
}

.neon8 span:nth-child(1),
.neon7 span:nth-child(1),
.neon5 span:nth-child(1),
.neon6 span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

.neon8:hover span:nth-child(1),
.neon7:hover span:nth-child(1),
.neon5:hover span:nth-child(1),
.neon6:hover span:nth-child(1) {
    background: transparent;
    animation-play-state: paused;
}

.neon8 span:nth-child(1),
.neon7 span:nth-child(1),
.neon5 span:nth-child(1),
.neon6 span:nth-child(1) {
    background: linear-gradient(90deg, transparent, var(--whvr-neon-color));
    animation: animate1 1s linear infinite;
}

.neon8 span:nth-child(2),
.neon7 span:nth-child(2),
.neon5 span:nth-child(2),
.neon6 span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
}

.neon8:hover span:nth-child(2),
.neon7:hover span:nth-child(2),
.neon5:hover span:nth-child(2),
.neon6:hover span:nth-child(2) {
    background: transparent;
    animation-play-state: paused;
}

.neon8 span:nth-child(2),
.neon7 span:nth-child(2),
.neon5 span:nth-child(2),
.neon6 span:nth-child(2) {
    background: linear-gradient(180deg, transparent, var(--whvr-neon-color));
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

.neon8 span:nth-child(3),
.neon7 span:nth-child(3),
.neon5 span:nth-child(3),
.neon6 span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
}

.neon7:hover span:nth-child(3),
.neon7:hover span:nth-child(3),
.neon5:hover span:nth-child(3),
.neon6:hover span:nth-child(3) {
    background: transparent;
    animation-play-state: paused;
}

.neon8 span:nth-child(3),
.neon7 span:nth-child(3),
.neon5 span:nth-child(3),
.neon6 span:nth-child(3) {
    background: linear-gradient(270deg, transparent, var(--whvr-neon-color));
    animation: animate3 1s linear infinite;
    animation-delay: 0.5s;
}

.neon8 span:nth-child(4),
.neon7 span:nth-child(4),
.neon5 span:nth-child(4),
.neon6 span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
}

.neon8:hover span:nth-child(4),
.neon7:hover span:nth-child(4),
.neon5:hover span:nth-child(4),
.neon6:hover span:nth-child(4) {
    background: transparent;
    animation-play-state: paused;
}

.neon8 span:nth-child(4),
.neon7 span:nth-child(4),
.neon5 span:nth-child(4),
.neon6 span:nth-child(4) {
    background: linear-gradient(360deg, transparent, var(--whvr-neon-color));
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}


/*Glow Button*/

.glowing {
    font-size: var(--font-size1);
    border: 1px transparent;
    position: relative;
    display: inline-block;
    padding: var(--padding);
    border-radius: var(--border-radius_g);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    -webkit-animation: glowing 1300ms infinite;
    -moz-animation: glowing 1300ms infinite;
    -o-animation: glowing 1300ms infinite;
    animation: glowing 1300ms infinite;
}

.glowing1:hover,
.glowing2:hover,
.glowing3:hover,
.glowing4:hover,
.glowing5:hover,
.glowing6:hover {
    text-decoration: none;
    color: #fff;
}

@-webkit-keyframes glowing {
    0% {
        background-color: var(--glow1);
        -webkit-box-shadow: 0 0 3px var(--glow1);
    }
    50% {
        background-color: var(--glow2);
        -webkit-box-shadow: 0 0 15px var(--glow2);
    }
    100% {
        background-color: var(--glow1);
        -webkit-box-shadow: 0 0 3px var(--glow1);
    }
}

@keyframes glowing {
    0% {
        background-color: var(--glow1);
        box-shadow: 0 0 3px var(--glow1);
    }
    50% {
        background-color: var(--glow2);
        box-shadow: 0 0 15px var(--glow2);
    }
    100% {
        background-color: var(--glow1);
        box-shadow: 0 0 3px var(--glow1);
    }
}