body {
    color: #CCC;
    background-color: #000;
    margin: 0;
    font: 1rem 'Open Sans', Arial;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

*,
::after,
::before {
    box-sizing: border-box;
}

.loading,
.loading::before,
.loading::after {
    border-top: .4em solid hsl(98, 100%, 50%);
    border-radius: 50%;
    animation: spin 4s cubic-bezier(.79, .14, .15, .86) infinite;
}


.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 24em;
    aspect-ratio: 1;
    filter: blur(4px) saturate(2) brightness(2);
    animation:
        spin 4.4s cubic-bezier(.79, .14, .15, .86) infinite,
}

.loading::before,
.loading::after {
    content: '';
    display: block;
    position: absolute;
}

.loading::before {
    border-top-color: hsl(187, 100%, 50%);
    inset: 1.5em;
    animation-duration: 3.3s;
}

.loading::after {
    border-top-color: hsl(300, 100%, 50%);
    inset: 3.5em;
    animation-duration: 2.2s;
}

.center {
    width: 6em;
    margin: auto;
    aspect-ratio: 1;
    background-color: red;
    border-radius: 50%;
    animation: pulse 1s linear alternate infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0;
        filter: blur(2em) brightness(0);
    }
    50% {
        opacity: 1;
        filter: blur(1em) brightness(2);
    }
    65% {
        opacity: 0;
        filter: blur(2em) brightness(0);
    }
    100% {
        opacity: 1;
        filter: blur(1em) brightness(2);
    }
}