/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 48px;
    margin-bottom: 30px;
    color: #2c3e50;
}

main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: left;
    box-sizing: border-box;
}


main p {
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 24px;
    color: #333;
}

/* Byline and Publish Date Styling */
.publish-date, .byline {
    font-size: 22px;
    color: #555;
    display: block;
    margin: 15px 0;
    text-align: center;
    line-height: 1.6;
    font-weight: bold;
}

/* Header and Navigation */
header {
    background-color: #8db3c9;
    padding: 20px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    height: 60px;
    margin-right: 20px;
    vertical-align: middle;
    object-fit: contain;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #8db3c9;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 30px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hero Section (Homepage) */
.hero {
    background-color: #d9e4ea;
    padding: 60px 20px;
    text-align: center;
}

.hero-logo {
    display: block;
    margin: 0 auto 20px;
    width: 300px;
    height: auto;
    max-width: 90%;
    object-fit: contain;
}

/* Article Page Hero Logo (Left-Aligned & Smaller) */
.article-page .hero-logo {
    height: 80px;
    margin: 10px 0 20px 0;
    display: block;
    object-fit: contain;
    margin-left: 0;
}

/* Article Images */
.article-page main img {
    display: block;
    max-width: 600px;
    height: auto;
    margin: 20px auto;
    object-fit: contain;
}

/* Article Text */
.article-page main p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #333;
    text-align: left;
}

/* Article Headings */
.article-page h1 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

/* Call to Action */
.cta {
    text-align: center;
    padding: 20px;
}

.button {
    background-color: #8db3c9;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 18px;
}

.button:hover {
    background-color: #6f9cb3;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #8db3c9;
    color: white;
    text-align: center;
    padding: 15px;
    width: 100%;
    font-size: 16px;
    position: relative; /* Avoid overlap with content */
    bottom: 0;
}

/* Profile Image */
.profile-img {
    display: block;
    margin: 20px auto;
    width: 200px;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* About Section */
.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    gap: 30px;
}

/* Responsive Layout */
@media (min-width: 768px) {
    .about-section {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }

    .about-section div {
        max-width: 600px;
    }
}

/* Hover Effects */
nav a:hover {
    color: #d9e4ea;
    transition: color 0.3s ease;
}
/* === New Navigation Enhancements === */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

nav > a {
    display: inline-block;
}

nav .site-logo {
    height: 60px;
    object-fit: contain;
    vertical-align: middle;
}

/* Make the nav list align to the right of the logo */
nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: auto;
}

/* Highlight the active tab */
nav a.active {
    border-bottom: 3px solid white;
    padding-bottom: 3px;
    color: #f9f9f9;
}

/* Jobs table on jobs.html */
#jobs-container table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
#jobs-container th,
#jobs-container td {
  padding: 8px;
  border: 1px solid #ccc;
  text-align: left;
}
#jobs-container a {
  color: #8db3c9;
  text-decoration: none;
}
#jobs-container a:hover {
  text-decoration: underline;
}

/* === Responsive Project Card Layout === */
.project-card {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

/* Stack vertically on mobile */
@media (max-width: 768px) {
  .project-card {
    flex-direction: column;
  }
}
.portfolio-text {
  flex: 2;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.portfolio-video {
  flex: 1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
/* ==== Portfolio Links: inline-block columns ==== */
.portfolio-links {
  text-align: center;    /* centers inline-block items */
  margin-top: 20px;
}

/* Two columns by default */
.portfolio-links a.button {
  display: inline-block;
  width: 45%;            /* two items per row (45% + 2×2.5% margins = 100%) */
  margin: 0 2.5% 12px;   /* horizontal gap via 2.5%, vertical gap of 12px */
  box-sizing: border-box;
  white-space: normal;   /* allow text wrap inside the button */
  text-align: center;
}

/* Single column on narrow screens */
@media (max-width: 600px) {
  .portfolio-links a.button {
    width: 100%;
    margin: 0 0 12px;    /* full-width + only bottom margin */
  }
}
/* === Amy Humke Personal Page Styling Enhancements === */

/* Use a cleaner font across the site */
body {
    font-family: 'Segoe UI', 'Lato', 'Inter', sans-serif;
}

/* Harmonize headings */
h1, h2, h3 {
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
}

h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

h2 {
    font-size: 28px;
    margin-top: 50px;
    margin-bottom: 20px;
}

h3 {
    font-size: 22px;
    margin-top: 30px;
}

/* Section Styling */
main section {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

main section:nth-child(even) {
    background-color: #f1f4f6;
}
/* Skill Card*/
.skill-card.link-card {
  background: #eaf3f8;
  border: 1px solid #b9d8e8;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  font-weight: 600;
  transition: all 0.25s ease;
}

.skill-card.link-card:hover {
  background-color: #d4e9f4;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  cursor: pointer;
  color: #2c3e50;
  text-decoration: none;
}

.skill-card.link-card::after {
  content: ' ↗';
  font-size: 16px;
  color: #555;
}


/* Testimonial Block Style */
blockquote {
    background-color: #eaf3f8;
    border-left: 6px solid #8db3c9;
    margin: 20px 0;
    padding: 20px 25px;
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    border-radius: 6px;
}

/* Resume button spacing */
main a.button {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Add some vertical margin to final call-to-action */
section:last-of-type {
    padding-bottom: 60px;
}
/* === Fix CTA button overlap on mobile === */
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

.cta .button {
  flex: 1 1 auto;
  max-width: 240px;
  margin: 5px;
  text-align: center;
}

/* Stack buttons on small screens */
@media (max-width: 600px) {
  .cta {
    flex-direction: column;
    align-items: center;
  }

  .cta .button {
    width: 100%;
    max-width: 90%;
  }
}
.impact-group {
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-left: 6px solid #8db3c9;
  padding: 30px 20px;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.impact-group h3 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 2px solid #8db3c9;
  padding-bottom: 8px;
}
.impact-card.link-card {
  background-color: #eaf3f8;
  border: 1px solid #b9d8e8;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  text-decoration: none;
  display: block;
  color: #2c3e50;
}

.impact-card.link-card:hover {
  background-color: #d4e9f4;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  cursor: pointer;
}
ul li {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.section-nav {
  position: sticky;
  top: 0;
  background: #f9f9f9;
  border-bottom: 1px solid #ccc;
  padding: 10px 20px;
  z-index: 1000;
  text-align: center;
}

.section-nav a {
  margin: 0 12px;
  font-weight: bold;
  color: #2c3e50;
  text-decoration: none;
  font-size: 16px;
}

.section-nav a:hover {
  color: #8db3c9;
  text-decoration: underline;
}
html {
  scroll-behavior: smooth;
}
.project-badge {
  display: inline-block;
  margin-top: 12px;
  background-color: #1f7ca8;
  color: #fff;
  padding: 4px 10px;
  font-size: 14px;
  border-radius: 20px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.link-card:hover .project-badge {
  background-color: #145270;
}

