*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #071952;
    overflow: hidden;
}
.box{
    position: relative;
    width: 300px;
    height: 300px;
    animation: animate 15s linear infinite;
}
@keyframes animate {
    0%{
        rotate: 0deg;
    }
    100%{
        rotate: 360deg;
    }
}
.container:hover .box{
    animation-play-state: paused;
}
.box .img{
    position: relative;
    left: -50%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.box .img .imgBx{
position: absolute; 
width: 80px;
height: 80px;
border-radius: 50%;
box-shadow: 0 0 0 3px #ffffff;
transform: rotate(calc(360deg/8 * var(--i))); 
transform-origin: 190px;
}
.box .img .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform: rotate(calc(-360deg/8 * var(--i))); 
    animation: animateImgBx 15s linear infinite;
}
@keyframes animateImgBx {
    0%{
        rotate: 0deg;
    }
    100%{
        rotate: -360deg;
    }
}
.container:hover .box .img .imgBx img{
    animation-play-state: paused;
}
