.solar-system{position:relative;width:400px;height:400px}.sun{width:50px;height:50px;background-color:#ff0;border-radius:50%}.orbit,.sun{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.orbit{border:1px solid hsla(0,0%,100%,.3);border-radius:50%}.orbit1{width:150px;height:150px;animation:rotate 10s linear infinite}.orbit2{width:200px;height:200px;animation:rotate 20s linear infinite}.orbit3{width:250px;height:250px;animation:rotate 30s linear infinite}.planet{position:absolute;top:50%;left:50%;width:20px;height:20px;background-color:blue;border-radius:50%;transform:translate(-50%,-50%)}.planet1{top:0;background-color:red}.planet2{top:0;background-color:green}.planet3{top:0;background-color:blue}@keyframes rotate{0%{transform:rotate(0deg) translateX(75px) rotate(0deg)}to{transform:rotate(1turn) translateX(75px) rotate(-1turn)}}