* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: black;
}

.container{
    padding: 20px;
    position: relative;
}

@keyframes moving {
    0% {
        background-color: orange;
        top: 10px;
        left: 10px;
        /* transform: translateX(0px); */
    }
    10% {
        background-color: yellow;
        top: 10px;
        left: 250px;
        /* transform: translateX(250px); */
    }
    20% {
        background-color: blue;
        top: 10px;
        left: 500px;
        /* transform: translateX(500px); */
    }
    30% {
        background-color: red;
        top: 250px;
        left: 500px;
    }
    40% {
        background-color: purple;
        top: 500px;
        left: 500px;
    }
    70% {
        background-color: green;
        top: 500px;
        left: 10px;
    }
    80% {
        background-color: pink;
        top: 250px;
        left: 10px;
    }
    90% {
        background-color: cyan;
        top: 10px;
        left: 10px;
    }
    100% {
        background-color: orange;
        top: 10px;
        left: 10px;
    }
}


.box-1{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    /* animation-name: moving; */
    /* animation-duration: 1s; */
    /* animation-timing-function: linear; */
    /* animation-timing-function: cubic-bezier(0.072, 0.82, 0.165, 1); */
    /* animation-fill-mode: forwards; */
    /* animation-iteration-count: 3; */
    /* animation-direction: alternate; */
    animation: moving 2s linear infinite ;
    animation-delay: 0.6s;
}

.box-2{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 0.7s;
}

.box-3{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 0.8s;
}

.box-4{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 0.9s;
}

.box-5{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 1s;
}

.box-6{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 1.1s;
}

.box-7{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 1.2s;
}

.box-8{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 1.3s;
}

.box-9{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 1.4s;
}

.box-10{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 1.5s;
}

.box-11{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 1.6s;
}

.box-12{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 1.7s;
}

.box-13{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 1.8s;
}

.box-14{
    height:100px;
    width:150px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 1.9s;
}

.box-15{
    border-radius: 50%;
    height:100px;
    width:100px;
    position: absolute;
    background-color: orange;
    animation: moving 2s linear infinite ;
    animation-delay: 2.2s;
}