.orbit {
  position: relative;
  block-size: 9rem;
  background: white;
  color: black;
  border: 1px solid #ccc;
}

.orbit__planet {
  position: absolute;
  inset: 0;
  margin: auto;
  inline-size: 1rem;
  block-size: 1rem;
  border-radius: 50%;
  background: #e76f51;
  offset-path: circle(35% at 50% 50%);
  offset-distance: 0%;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  to {
    offset-distance: 100%;
  }
}