/* 1. Reset default browser spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url("moon_v1.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  
  color: black;
  font-family: "Crimson Text", serif;
  font-size: 18px;
}

/* 2. Global Wrapper to center everything nicely */
.page-wrapper {
  width: 70vw; /* Slightly wider to accommodate the sidebar */
  margin: 0 auto;
}

header.main_title {
  background-color: floralwhite;
  color: royalblue;
  text-align: center;
  padding: 20px 0;
  margin-top: 0;
  

  border: 2px solid black; 
  border-bottom: 0; /* Prevents double-thick borders where it meets the navbar */
}

nav.navbar {
  background-color: gray; /* The new navbar background color */
  color: white; /* Color for the text inside */
  margin: 0; /* CHANGED: Removes the gap between the header and main content */
  padding: 15px 0;
  text-align: center;
  
  /* Connects the border */
  border: 2px solid black;
  border-bottom: 0;
}

/* Styles the list to sit side-by-side like a menu */
nav.navbar ul {
  list-style-type: none;
  margin-top: 10px; /* Space between the <p> text and the links */
}

nav.navbar li {
  display: inline-block; /* This puts your bullet points in a horizontal line */
  margin: 0 20px; /* Spacing between the links */
}

/* Makes the links look like clean, readable buttons */
nav.navbar a { 
  color: white; 
  font-weight: bold;
  text-decoration: none; /* Removes the default blue underline */
  font-size: 1.1rem;
}

nav.navbar a:hover {
  text-decoration: underline; /* Adds underline back only when you hover over it */
}

nav.navbar a:visited { 
  color: white; 
}

/* 3. The Flexbox Magic for Side-by-Side Layout */
.content-layout {
  display: grid;
  grid-template-columns: 3fr 1fr; /* 3 parts main, 1 part sidebar */
  gap: 0px; 
  border: 2px solid black;
}

main.main_container {
  background-color: floralwhite;
  padding: 3rem;
  text-align: justify;
  flex: 3; /* Takes up 75% of the flex area */

}

aside.sidebar {
  background-color: floralwhite;
  padding: 2rem;
  flex: 1; /* Takes up 25% of the flex area */
  border-left: 2px dashed black;
  
}

/* Styling the "Currently" list */
aside.sidebar h3 {
  color: royalblue;
  margin-bottom: 15px;
}

aside.sidebar ul {
  list-style-type: none; /* Removes standard bullet points */
}

aside.sidebar li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

aside.sidebar a {
  color: indianred;
}

footer.site-footer {
  background-color: floralwhite;
  padding: 20px;
  margin-bottom: 5vh;
  text-align: center;
  border: 2px solid black;
  border-top: 0;
}

hr {
  border: 1px solid black;
  width: 100%; 
  margin: 0 0 15px 0;
}

