/* Base styles */
:root {
    --font-serif: "Fraunces", Georgia, serif;
    --font-sans: "Pontano Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --color-text: #1a1a1a;
    --color-background: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-background);
    padding: 2rem 3rem;
    font-size: 1.2rem;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 4rem;
}

.logo a {
    font-family: var(--font-serif);
    color: var(--color-text);
    text-decoration: none;
    font-size: 2rem;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    margin-left: 2rem;
    padding-bottom: 2px;
}

.nav-links a.active {
    border-bottom: 1px solid var(--color-text);
}

/* Hero Section */
.hero {
    width: 77%;
}

h1 {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 3rem;
    font-weight: normal;
}

.featured-quote {
    font-family: var(--font-sans);
    font-style: italic;
    font-size: 1.5rem;
    margin: 3rem 0;
    max-width: 900px;
    text-align: right
}

.featured-quote footer {
    margin-top: 1rem;
}

.project-description {
    max-width: 900px;
    font-size: 1.2rem;
    line-height: 1.7;
}

.project-description a {
    color: var(--color-text);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1.8rem;
    }

    h1 {
        font-size: 3rem;
    }

    .featured-quote {
        font-size: 1.25rem;
    }

    .project-description {
        font-size: 1.1rem;
    }
}

.full-width-image {
    width: 100%;
    margin: 4rem 0;
    overflow: hidden;
}

.breakout-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Poem Styles */
.poems {
    max-width: 650px;
}

.poem {
    margin-bottom: 4rem;
}

.poem p {
    margin-bottom: 1rem;
}

.poem p.attribution {
    margin: 16px 0;
}

.poem h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.poem h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: normal;
}

.poem-content {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    line-height: 1.5;
}

.poem-content p {
    margin-bottom: 2rem;
}

.poem-content .text-right {
    text-align: right;
}

.poem-content .text-left {
    text-align: left;
}

.poem-content .indented {
    padding-left: 3rem;
    max-width: 38em;
}

.poem-content .attribution {
    font-style: italic;
    text-align: right;
    font-size: 1rem;
    margin-top: -1rem;
    margin-bottom: 3rem;
}

.poem-content .poem-lines {
    margin-bottom: 1.5rem;
}

/* Poetry line spacing */
.poem-content br {
    display: block;
    content: "";
    margin-top: 0.5em;
}

.poem-content br.spacer {
    margin-top: 1.5em;
}

/* Video and Audio Styles */
.video-container {
    width: 100%;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
}

.video-container video {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.poem-content audio {
    width: 100%;
    margin: 1rem 0 2rem;
    display: block;
}

/* Responsive adjustments for poems */
@media (max-width: 768px) {

    .hero {
        width: 100%;
    }

    .poems {
        margin: 2rem auto;
    }

    .poem h2 {
        font-size: 1.5rem;
    }

    .poem-content {
        font-size: 1.1rem;
    }

    .poem-content .indented {
        padding-left: 1.5rem;
    }
}


.about-section {
    max-width: 900px;
    margin: 4rem auto;
}