/* All CSS styles are now in this file for consistency. */
@import url(https://fonts.googleapis.com/css?family=Signika+Negative:400,700);

/*-------------------- General Styles --------------------*/
html {
  font-size: 62.5%; /* This makes 1rem = 10px for easier scaling */
}

body {
  height: 100%;
  font-family: 'Signika Negative', sans-serif;
  font-weight: 400;
  font-size: 1.6em; /* Base font size, 16px */
  line-height: 1.6;
  color: #DDD; /* Light gray text for dark background */
  background-color: #1A1A1A; /* A dark, subtle background */
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Consistent link styling across all pages */
a {
  font-weight: 700;
  text-decoration: none;
  color: #726A95; /* An elegant, muted purple for links */
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: underline;
  color: #8D84B8; /* A lighter, richer shade on hover */
}

/* Container for main page content */
#content {
    max-width: 50em; /* Increased column width from 43em */
    padding: 20px;
    margin: 0 auto;
    background: #222; /* Dark background for content area */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/*-------------------- Typography Styles --------------------*/
/* Standardized heading sizes */
h1 {
  font-size: 4em; /* 40px */
  font-weight: 700;
  text-transform: uppercase;
  margin: 0.5em 0 0.2em 0;
  color: #eee; /* Lighter color for headings */
}

h2 {
  font-size: 2.5em; /* 25px */
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #ccc;
}

h5 {
  font-size: 1.8em; /* 18px */
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.5em;
  border-bottom: 2px solid #555;
  padding-bottom: 5px;
  color: #aaa;
}

/* Standardized paragraph and list item styles */
p, li {
  font-size: 1.2em; /* 12px */
  line-height: 1.6; /* Line height is now consistent for all text */
}

ul {
  padding-left: 2.5em;
}

/*-------------------- Header and Navigation --------------------*/
/* Consolidated header styling */
.topnav {
  overflow: hidden;
  background-color: transparent;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: auto;
}

.topnav-left {
  font-size: 2.4em; /* 24px */
  font-weight: 700;
  color: #eee;
  padding: 0 10px;
}

.topnav a {
  float: none; /* Modern flexbox layout */
  display: inline-block;
  color: #aaa;
  text-align: center;
  padding: 10px 15px;
  font-size: 1.5em; /* 15px */
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-bottom 0.3s;
}

.topnav a:hover {
  color: #726A95;
  border-bottom: 2px solid #726A95;
}

.topnav a.active {
  color: #726A95;
  border-bottom: 2px solid #726A95;
}

hr.solid {
  border: 0;
  height: 2px;
  background: #444;
  margin-top: 0;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/*-------------------- Footer --------------------*/
/* New footer styles for consistency */
.footer {
  background-color: #222;
  color: #ddd;
  padding: 20px 0;
  text-align: center;
  margin-top: 50px;
  border-top: 1px solid #444;
}

.footer-nav a {
  color: #ddd;
  font-size: 1.2em;
  padding: 14px 16px;
}

.footer-nav a:hover {
  background-color: #444;
  color: white;
}
