@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Ysabeau+SC:wght@300&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins',
        sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100%;
   background: #000;
    transition: 1s ease;
    font-family: 'Ysabeau SC', sans-serif;
    height: 100vh;
    color: #fff;
    overflow: hidden;
}

.ring {
    font-family: 'Poppins',
        sans-serif;
    font-size: 1em;
    font-weight: 300;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, .3);
   width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ring::before{
    content: '';
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    animation: ring 2s linear infinite;
}
.ring .char {
    animation: jump 2.8s linear infinite;
    animation-delay: calc(1s + (var(--char-index) + 1) * .4s);
    animation-timing-function: ease-in-out;
    transform-origin: 50% 100%;
}
.container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
@keyframes jump {
    5% {
        transform: scale(1.2, 0.8);
    }

    12%,
    13% {
        transform: translateY(-1em) scale(1, 1.001);
    }

    17% {
        transform: translateY(0) scale(1, 0.999);
    }

    22% {
        transform: translateY(0) scale(1.2, 0.9);
    }

    23% {
        transform: translateY(-1px) scale(1.1, 1);
    }

    25% {
        transform: translateY(0) scale(1, 1);
    }
}

@keyframes ring {
    0%{
        transform: rotate(0deg);
        box-shadow: 0px 5px 5px #ff2121;
    }
    25%{
        transform: rotate(90deg);
        box-shadow: 0px 5px 5px #fffb21;
    }
    50%{
        transform: rotate(180deg);
        box-shadow: 0px 5px 5px #21c0ff;
    }
    75% {
        transform: rotate(270deg);
        box-shadow: 0px 5px 5px #bc21ff;
    }
    100% {
        transform: rotate(360deg);
        box-shadow: 0px 5px 5px #ff2121;
    }
}