/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding-top: 60px; /* for fixed nav */
}

header {
    background-color: #24292e; /* GitHub dark color */
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 10px;
}

h1, h2 {
    color: #24292e;
}

footer {
    background-color: #24292e;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

@media (max-width: 50%) {
    nav {
        flex-direction: column;
    }
    nav a {
        margin: 10px 0 0 0;
    }
}

.image-text-section {
    display: flex;           /* put children side by side */
    align-items: flex-start; /* align top edges */
    gap: 2em;                /* space between image and text */
    margin: 2em 0;           /* vertical spacing */
}

.image-container {
    flex: 0 0 60%;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* optional, looks nicer */
}

.text-container {
    flex: 1;                 /* text takes remaining width */
}

.presentation-list {
    margin-top: 5px;
    margin-bottom: 10px;
    padding-left: 20px;   /* controls bullet indent */
}

.presentation-list li {
    margin-left: 0;
}

h1 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.pdf-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centers horizontally */
    gap: 1em;
    margin: 2em 0;
}

.pdf-viewer {
    width: 100%;
    max-width: 800px;     /* controls PDF width */
    height: 600px;
    border: 1px solid #ccc;
}

.download-btn {
    display: inline-block;
    padding: 16px 32px;     /* bigger clickable area */
    font-size: 1.1rem;     /* larger text */
    font-weight: 600;
    background-color: #24292e;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;   /* rounder corners */
}

.download-btn:hover {
    background-color: #444;
}

.update-section {
    text-align: center;
    margin: 2.5em auto;
}

.update-text {
    font-weight: 600;
    margin-bottom: 1em;
}

.update-image {
    display: block;
    margin: 0 auto;
    max-width: 600px;  /* controls image size */
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* MAP CONTAINER */

#map-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

#legend {
  min-width: 150px;
  font-family: sans-serif;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.color-box {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 0.5rem;
  border: 1px solid #000;
}

#us-map {
  width: 100%;
  height: auto;
  display: block;
}

/* INFO BOX */

#info {
  text-align: center;
  font-size: 18px;
  margin-top: 12px;
  font-weight: 600;
}
