/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Base Reset */
body, h1, h2, h3, p, ul, ol, blockquote, footer, a {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-weight: normal;
}

/* Typography */
body {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.8;
  color: #171717;
  max-width: 700px;
  margin: 40px auto;
  padding: 0 15px;
}

h1, h2, h3 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #111;
  white-space: nowrap;
}

h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.6rem;
  margin-top: 1.8rem;
  padding-bottom: 0.5rem;
}

p {
  margin: 1rem 0;
}

ul {
  padding-left: 1.5rem;
}

li {
  margin: 0.5rem 0;
}

/* Links */
a {
  color: #007acc;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  transition: color 0.25s ease, border-bottom-color 0.25s ease;
}

a:hover {
  color: #e71901;
  border-bottom-color: rgba(0, 0, 0, 0.6);
}

/* Blockquotes */
blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid #ccc;
  color: #555;
}

blockquote footer {
  text-align: right;
  font-size: 14px;
  font-style: normal;
  margin-top: 0.5rem;
}

/* Section Spacing */
section {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
}

section.bio {
  border-top: none;
  padding-top: 0;
}

section article {
  padding-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

pre, code {
/*   font-family: "Courier New", monospace; */
  font-size: 1rem;
/*   background: #f9f9f9; */
/*   padding: 0.2rem 0.5rem; */
/*   border: 1px solid #ccc; */
}


/* Header and Navigation */
header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

header h1 {
  margin-bottom: 0.5rem;
}

header .site-title {
  color: #111;
  border-bottom: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.main-nav li {
  margin: 0 1.5rem 0 0;
}

.main-nav a {
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  border-bottom: none;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #007acc;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  body {
    font-size: 20px;
    line-height: 1.9;
  }
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  
  .main-nav ul {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  header h1 {
    font-size: 2rem;
  }
  
  .main-nav ul {
    flex-wrap: wrap;
  }
  
  .main-nav li {
    margin-bottom: 0.5rem;
  }
}
