﻿/*  Inspired by https://codepen.io/Curlmuhi */
.glowing-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
    transform: translate(-50%,-50%);
    width: 196px;
    height: 196px;
    background: #212820;
    border: 3px solid #3c3c3c;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-family: Rubik, Roboto, 'Segoe UI', Montserrat, Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #a4ffbb;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 10px #27ee58;
    box-shadow: 0 0 32px rgb(38, 76, 30);
    padding-top:60px;
}

    .glowing-ring:before {
        content: '';
        position: absolute;
        top: -3px;
        left: -3px;
        width: 100%;
        height: 100%;
        border: 3px solid transparent;
        border-top: 3px solid #27ee58;
        border-right: 3px solid #27ee58;
        border-radius: 50%;
        animation: animate-ringC 2s linear infinite;
    }

span[id="ring"] {
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    width: 50%;
    height: 4px;
    background: transparent;
    transform-origin: left;
    animation: animate-ring 2s linear infinite;
}

    span[id="ring"]:before {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #27ee58;
        top: -6px;
        right: -8px;
        box-shadow: 0 0 20px #27ee58;
    }

@keyframes animate-ringC {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-ring {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(405deg);
    }
}
