
/*FROM CENTER*/

.hvr {
    position: relative;
    font-size: .8rem;
    color: var(--inv);
    letter-spacing: .2rem;
    text-transform: uppercase;
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    cursor: pointer;
    user-select: none;
}

.hvr:before, .hvr:after {
    content: '';
    position: absolute;
    transition: inherit;
    z-index: -1;
    border-radius: 15px;
}

.hvr:hover {
    color: var(--def);
    transition-delay: .2s;
}

.hvr:hover:before {
    transition-delay: 0s;
}

.hvr:hover:after {
    background: var(--inv);
    transition-delay: .35s;
}

.from-center:before {
    --def: #047c5f;
    --inv: #605151;
    top: 0 !important;
    left: 50% !important;
    height: 100% !important;
    width: 0 !important;
    border: 1px solid var(--inv) !important;
    border-left: 0 !important;
    border-right: 0 !important;
}

.from-center:after {
    bottom: 0 !important;
    left: 0 !important;
    height: 0 !important;
    width: 100% !important;
    background: var(--inv) !important;
}

.from-center:hover:before {
    left: 0 !important;
    width: 100% !important;
}

.from-center:hover:after {
    top: 0 !important;
    height: 100% !important;
}

/*GLOW ANIMATION: OPACITY CYCLE */
@keyframes intro {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 8px 32px rgba(255,209,102,0);
    }
    50% {
        box-shadow: 0 8px 32px rgba(255,209,102,1);
    }
    100% {
        box-shadow: 0 8px 32px rgba(255,209,102,0);
    }
}