* {
    --first: #03e9f4;
    --dark: #222;
}

.custom-btn-container {
    justify-content: center;
    align-items: center;
}

.custom-btn {
    position: relative;
    width: 110px;
    text-align: center;
    display: inline-block;
    padding: 0.75rem 1rem;
    color: var(--first);
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: 0.5s;
    letter-spacing: 2px;
    overflow: hidden;
    -webkit-box-reflect: below 1rem linear-gradient(transparent, #0005);
}

.custom-btn:hover {
    color: var(--dark);
    background: var(--first);
    box-shadow: 0 0 5px var(--first),
    0 0 25px var(--first),
    0 0 50px var(--first),
    0 0 200px var(--first);
}

.custom-btn span {
    position: absolute;
    display: block;
}

.custom-btn span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #03e9f4);
    animation: animate1 1s linear infinite;
}

@keyframes animate1 {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.custom-btn span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #03e9f4);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

@keyframes animate2 {
    0% {
        top: -100%;
    }
    50%, 100% {
        top: 100%;
    }
}

.custom-btn span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #03e9f4);
    animation: animate3 1s linear infinite;
    animation-delay: 0.5s;
}

@keyframes animate3 {
    0% {
        right: -100%;
    }
    50%, 100% {
        right: 100%;
    }
}

.custom-btn span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #03e9f4);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }
    50%, 100% {
        bottom: 100%;
    }
}

.custom-btn:nth-child(4) {
    filter: hue-rotate(290deg);
}

.custom-btn:nth-child(1) {
    filter: hue-rotate(110deg);
}

.custom-btn:nth-child(2) {
    filter: hue-rotate(200deg);
}