/* Center everything in the viewport using flex */
body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0b1d2e; /* dark space background */
  margin: 0;
}

/* Space container */
.space {
  width: 200px;
  height: 200px;
  position: relative;
}

/* Earth styling */
.earth {
  width: 100px;
  height: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 30%, #4facfe, #00f2fe); /* unique gradient */
  border-radius: 50%;
  box-shadow: 0 0 15px #4facfe;
}

/* Orbit container */
.orbit {
  width: 200px;
  height: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%; /* orbit path (optional visible style) */
  /* unique subtle border for visual flair */
  border: 1px dashed rgba(255,255,255,0.2);
  animation: orbit 5s linear infinite;
}

/* Moon styling */
.moon {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #c0c0c0;
  border-radius: 50%;
  box-shadow: 0 0 10px #aaa;
}

/* Keyframes for orbit rotation */
@keyframes orbit {
  0% {
    transform: rotate(0deg) translate(-50%, -50%);
  }
  100% {
    transform: rotate(360deg) translate(-50%, -50%);
  }
}