body {
    background-image: url("../img/Stars2.gif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: black;
    min-height: 100vh;
    margin: 0;
}

nav {
  margin: 0;
  padding: 0;
  border: none;
  background-color: #111;
  box-shadow: none;
  outline: none;
  border-bottom: none;
}

h1 {
	color:white;
	text-align: center;

}

p {
	color:white;
	text-align:center;

}
h2 {
	color:white;
	text-align:left;
}
	
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  overflow: visible;
  background-color: #000; /* Absolute black to match body */
}

nav ul li {
  margin: 0 25px;
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: orange;
  padding: 10px 15px;
  font-size: 18px;
  display: inline-block;
  vertical-align: middle;
}

nav ul li a.active {
  color: red;
  font-weight: bold;
}

nav ul li a:hover {
  color: #00bfff;
  text-shadow: 0 0 8px #00bfff;
}

a:hover {
    color: blue; /* Link color when hovered */
}

a.active {
    color:red; /* Active link color */
    font-weight: bold; /* Optional: Makes the active link bold */
}
.image-container {
    display: flex;
    justify-content: space-between; /* Left, center, right alignment */
    align-items: center; /* Align images vertically */
    width: 100%;
    padding: 20px;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000; /* Make sure it's above other content */
  min-width: 170px;
  background-color: #111;
  color: white;
  padding: 8px 0;
  border-radius: 8px;
  box-shadow: 0 0 15px #00bfff50;
  margin-top: 0px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.dropdown-content a {
  color: white;
  padding: 10px 18px;
  display: block;
  text-align: left;
  font-size: 15px;
  text-shadow: none;     /* Overrides global hover glow */
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-content a:hover {
  background-color: #00bfff;
  color: #000;
  text-shadow: none;
}
nav ul li:hover .dropdown-content {
	display: block;
}

.image-container img {
    width:350px;
    height: auto;
	opacity:0.75;
	transition: opacity 0.3s ease;
	/* Style the navigation menu */
}

.info-box {
  background-color: rgba(0, 0, 0, 0.7);
  border: 2px solid #00bfff;
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  color: white;
  font-size: 18px; /* increased font size */
  line-height: 1.6;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.info-box {
  background: rgba(20, 20, 20, 0.95);
  border: 2px solid #00bfff;
  border-radius: 12px;
  padding: 25px;
  margin: 30px auto;
  max-width: 900px;
  color: white;
  font-size: 18px;
  line-height: 1.8;
  box-shadow: 0 0 25px #00bfff80;
  backdrop-filter: blur(4px);
}

.dropdown {
  text-align: center;
  margin: 30px 0;
}

.dropdown button {
  background-color: #005577;
  color: white;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.dropdown button:hover {
  background-color: #0077aa;
}


.gif-paragraph-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.gif-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gif-column img {
  width: 150px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px #00bfff70;
  opacity: 0.85;
  transition: transform 0.3s ease;
}

.gif-column img:hover {
  transform: scale(1.05);
}

.info-box {
  flex: 1 1 500px;
}
hr, nav::after, nav::before, body::after, body::before {
  display: none !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}  
  /* --- Core Page Container --- */
  
  .planet-container {
    max-width: 900px;             /* Constrains reading line length */
    margin: 40px auto 60px auto;  /* Centers horizontally */
    padding: 0 20px;
}

/* --- Clean, Scaled Heading --- */
.page-title {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 0 0 16px rgba(0, 191, 255, 0.6);
}

/* --- Glassmorphic Backdrop Card --- */
.planet-card {
    background: rgba(10, 15, 25, 0.82); /* Dark tint to mute bright stars behind text */
    border: 1px solid rgba(0, 191, 255, 0.35);
    border-radius: 12px;
    padding: 35px 40px;
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.2);
    backdrop-filter: blur(6px);          /* Blurs twinkling stars under the text box */
}

/* --- Professional Paragraph Typography --- */
.planet-card p {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    color: #e2e8f0;                       /* Crisp off-white */
    font-size: 1.15rem;                   /* Noticeably larger reading size */
    line-height: 1.85;                    /* Generous breathing room between lines */
    text-align: left;                     /* Left-aligned for proper readability */
    margin: 0 0 22px 0;
    letter-spacing: 0.3px;
}

.planet-card p:last-child {
    margin-bottom: 0;
}
