/* Basic reset to make things look consistent */
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Georgia', serif; /* A nice, readable font for history projects */
  background-color: #f4f4f9;
  color: #333;
  line-height: 1.6;
}

/* Header Styling */
header {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

header h2 {
  font-size: 20px;
  font-weight: normal;
  font-style: italic;
  color: #ecf0f1;
}

/* Navigation Menu */
nav {
  background-color: #34495e;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center; /* Centers the menu links */
  flex-wrap: wrap;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 15px 20px;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
}

nav ul li a:hover {
  background-color: #e74c3c; /* A nice accent color when you hover over a link */
  transition: 0.3s;
}

/* Main Content Area */
main {
  max-width: 900px;
  margin: 40px auto; /* Centers the content on the screen */
  padding: 20px;
  background-color: white;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}

/* The Thesis Box (Makes it stand out!) */
.thesis-box {
  background-color: #ecf0f1;
  border-left: 5px solid #e74c3c;
  padding: 20px;
  margin-bottom: 30px;
}

.thesis-box h3 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-family: 'Arial', sans-serif;
}

/* Image and Caption Styling */
.image-container {
  text-align: center;
  margin: 30px 0;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

.caption {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
  font-style: italic;
}

/* General Text Sections */
.content-section {
  margin-bottom: 20px;
}

.content-section h3 {
  color: #2c3e50;
  border-bottom: 2px solid #ecf0f1;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-family: 'Arial', sans-serif;
}

/* Footer Styling */
footer {
  text-align: center;
  padding: 20px;
  background-color: #2c3e50;
  color: white;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
}

.mla-citation {
    padding-left: 2em;
    text-indent: -2em;
    margin-bottom: 5px;
}

.annotation {
    margin-left: 2em;
    margin-bottom: 30px;
    color: #cccccc; /* Slightly dimmer text to separate it from the citation */
    font-size: 0.95rem;
}

.pdf-button {
    display: inline-block;
    background-color: #ff4747;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 20px 0 40px 0;
    transition: background-color 0.3s;
}

.pdf-button:hover {
    background-color: #e03e3e;
}