.planet-info {
    display: none;
    position: fixed;
    left: 1%; 
    top: 25%; 
    width: 30%; 
    z-index: 1;
}

.planet-info-content {
    background-color: rgb(0, 0, 35);
    padding: 20px;
    border: 1px solid #888;
    box-shadow: 0px 0px 10px 3px rgba(255,255,0,0.5);
    color: white;
    font-family: 'Arial', sans-serif;
    overflow-y: auto; /* For scrolling */
}

.close-btn {
    color: lightyellow;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: white; 
    cursor: pointer;
}

h2 {
    color: lightyellow; 
}

p {
    color: white; 
    line-height: 1.5; 
}

.nav-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(40, 40, 40, 0.85);
  border-radius: 12px;
  padding: 10px 14px;
  width: 180px; 
  z-index: 9999; 
  color: #fff;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
}

.nav-button p {
  margin: 0 0 6px 0;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
}

.nav-btn {
  display: block;
  background: gray;
  color: white;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-btn:hover {
  background: white;
  color: black;
  box-shadow: 5px 5px 5px black;
}
