h1 {
    text-align: center;
}
.content {
    width: 800px;
    height: 800px;
    background: linear-gradient(to bottom right, red, yellow);
    position: relative;
    margin: auto;
    border-radius: 40%;
}
.box {
    width: 100px;
    height: 100px;
    position: absolute;
}
.one {
    top: 100px;
    left: 400px;
    animation: one infinite 6s alternate linear;
    background: linear-gradient(to top left, red, yellow);
}
.two {
    right: 100px;
    top: 400px;
    animation: two infinite 6s alternate linear;
    background: linear-gradient(to top right, red, yellow);
}
.three {
    bottom: 100px;
    right: 400px;
    animation: three infinite 6s alternate linear;
    background: linear-gradient(to bottom right, red, yellow);
}
.four {
    left: 100px;
    bottom: 400px;
    animation: four infinite 6s alternate linear;
    background: linear-gradient(to bottom left, red, yellow);
}
@keyframes one {
    0% {
        top: 100px;
        left: 100px;
        transform: rotate(180deg);
        border-radius: 50%;
    }
    75% {
        top: 400px;
        left: 400px;
        border-radius: 25%;
        transform: rotate(0deg);
    }
    100% {
        top: 400px;
        left: 400px;
    }
}
@keyframes two {
    0% {
        right: 100px;
        top: 100px;
        transform: rotate(180deg);
        border-radius: 50%;
    }
    75% {
        right: 400px;
        top: 400px;
        border-radius: 25%;
        transform: rotate(0deg);
    }
    100% {
        right: 400px;
        top: 400px;
    }
}
@keyframes three {
    0% {
       bottom: 100px;
       right: 100px; 
       transform: rotate(180deg);
        border-radius: 50%;
    }
    75% {
        bottom: 400px;
        right: 400px;
        border-radius: 25%;
        transform: rotate(0deg);
    }
    100% {
        bottom: 400px;
        right: 400px;
    }
}
@keyframes four {
    0% {
        left: 100px;
        bottom: 100px;
        transform: rotate(180deg);
        border-radius: 50%;
    }
    75% {
        left: 400px;
        bottom: 400px;
        border-radius: 25%;
        transform: rotate(0deg);
    }
    100% {
        left: 400px;
        bottom: 400px;
    }
}