body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

    text-decoration: none;

}
a{
    text-decoration: none;
}
.loading{
    /* border: 1px solid red; */
    width: 30px;
    height: 30px;
    position: relative;
}
.loading span{
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: gray;
    top: 0;
    left: 0;
    animation: loading 1.5s infinite;
}
.loading span:nth-child(1){
    background-color: crimson;
}
.loading span:nth-child(2){
    animation-delay: 0.8s;
}

@keyframes loading{
    0%{
        top: 0;
        left: 0;
    }
    25%{
        top: 0;
        /* right: 0; */
        left: calc(100% - 10px);
        background-color: dodgerblue;
    }
    50%{
        top: calc(100% - 10px);
        left: calc(100% - 10px);
        background-color: orange;
    }
    75%{
        top: calc(100% - 10px);
        left: 0;
        background-color: yellowgreen;
    }
    100%{
        top: 0;
        left: 0;
    }
}