:root {
    --ButtonColor: rgb(100, 255, 159);
    --BackgroundColor: rgb(0, 27, 0);
    --OffButtonColor: rgb(47, 65, 54);
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: var(--BackgroundColor);
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 4px;
    font-size: 1rem;
    transition: .2s;
    overflow: hidden;
    perspective: 100px;
    user-select: none;
}

.ReflectedLight {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 40%;
    left: 0;
    z-index: -100;
    justify-content: center;
    align-items: center;
    font-size: 0.3rem;
    perspective: 100px;
}

.ReflectedLight > .ReflectedText {
    transition: .2s;
    opacity: 0;
    padding: 10px 20px;
    transform: rotateX(10deg);
}

#NeonBox {
    position: relative;
    padding: 15px 30px;
    color: var(--ButtonColor);
    text-decoration: none;
    overflow: hidden;
    transition: .2s;
    border-radius: 2px;
    cursor: default;
    user-select: none;
}

#NeonBox.CanHover:hover {
    color: var(--OffButtonColor);
    background-color: var(--ButtonColor);
    box-shadow: 0px 0px 10px 0 rgba(100,255,159,1),
                0px 0px 40px 0 rgba(100,255,159,1),
                0px 0px 80px 0 rgba(100,255,159,1);
    transition-delay: 1s;
}

#NeonBox.CanHover.Clickable:hover {
    transition-delay: 0s;
}

#NeonBox.Clickable:active {
    transform: rotateX(10deg) translateZ(-10px);
    /* box-shadow: 0px 0px 10px 0 rgba(100,255,159,1),
                0px 0px 40px 0 rgba(100,255,159,1); */
}

#NeonBox.Clickable:active + .ReflectedLight > .ReflectedText {
    transform: rotateX(15deg) translateZ(-5px);
}

#NeonBox span {
    display: block;
    position: absolute;
}

#NeonBox span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ButtonColor));
}

#NeonBox.CanHover:hover span:nth-child(1) {
    transition: 1s;
    left: 100%;
}

#NeonBox span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--ButtonColor));
}

#NeonBox.CanHover:hover span:nth-child(2) {
    transition: 1s;
    transition-delay: 0.25s;
    top: 100%;
}

#NeonBox span:nth-child(3) {
    bottom: 0;
    left: 100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(270deg, transparent, var(--ButtonColor));
}

#NeonBox.CanHover:hover span:nth-child(3) {
    transition: 1s;
    transition-delay: 0.5s;
    left: -100%;
}

#NeonBox span:nth-child(4) {
    top: 100%;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg, transparent, var(--ButtonColor));
}

#NeonBox.CanHover:hover span:nth-child(4) {
    transition: 1s;
    transition-delay: 0.75s;
    top: -100%;
}