﻿.avatar {
    height: 150px;
    position: relative;
    width: 150px;
}

    .avatar img {
        border-radius: 9999px;
        height: 100%;
        position: relative;
        width: 100%;
        z-index: 2;
    }

@keyframes cycle-colors {
    0% {
        border-color: hsl(0, 100%, 50%);
    }

    25% {
        border-color: hsl(90, 100%, 50%);
    }

    50% {
        border-color: hsl(180, 100%, 50%);
    }

    75% {
        border-color: hsl(270, 100%, 50%);
    }

    100% {
        border-color: hsl(360, 100%, 50%);
    }
}

@keyframes pulse {
    to {
        opacity: 0;
        transform: scale(1);
    }
}

.avatar::before,
.avatar::after {
    animation: pulse 2s linear infinite;
    border: #acb3ba solid 8px;
    border-radius: 9999px;
    box-sizing: border-box;
    content: ' ';
    height: 140%;
    left: -20%;
    opacity: .6;
    position: absolute;
    top: -20%;
    transform: scale(0.714);
    width: 140%;
    z-index: 1;
}

.avatar::after {
    animation-delay: 1s;
}

.avatar:hover::before,
.avatar:hover::after {
    animation: pulse 1s linear infinite, cycle-colors 6s linear infinite;
}

.avatar:hover::after {
    animation-delay: .5s;
}
/*-------------------*/
.animate-charcter {
    text-transform: uppercase;
    background-image: linear-gradient(-225deg, #004aad 0%, #0057fd 29%, #606060 67%, #ada9ae 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    display: inline-block;
    
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}
