* ==========================================
   THE LONE PATH HOME
   Main Stylesheet
   ========================================== */

/* General page settings */

body {
    background-color: #F0EDE5;
    color: #303030;

    font-family: "Palatino Linotype",
                 "Book Antiqua",
                 Palatino,
                 serif;

    font-size: 19px;
    line-height: 1.8;

    margin: 0;
    padding: 0;
}

/* Main reading area */

header,
main {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Website heading */

header {
    margin-top: 80px;
    margin-bottom: 70px;
    text-align: center;
}

header h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 400;

    text-transform: uppercase;
    letter-spacing: 0.18em;

    line-height: 1.4;
    margin-bottom: 12px;
}

/* Website subtitle */

header p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;

    letter-spacing: 0.08em;
    color: #777777;
}

/* Section headings */

main h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 21px;
    font-weight: 400;

    margin-top: 40px;
    margin-bottom: 20px;
}

/* Paragraphs */

main p {
    margin-bottom: 1.5em;
}

/* Smaller screens */

@media (max-width: 600px) {

    header {
        margin-top: 50px;
        margin-bottom: 45px;
    }

    header h1 {
        font-size: 24px;
        letter-spacing: 0.12em;
    }

    body {
        font-size: 18px;
    }
}
/* ==========================================
   ESSAY TYPOGRAPHY
   ========================================== */

/* Main essay title */

.essay-content h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.5;

    letter-spacing: 0.02em;

    margin-top: 0;
    margin-bottom: 30px;
}

/* Essay section headings */

.essay-content h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #202020;
    line-height: 1.5;

    margin-top: 48px;
    margin-bottom: 20px;
}

/* Essay paragraphs */

.essay-content p {
    margin-top: 0;
    margin-bottom: 1.5em;
}

/* ==========================================
   ESSAY ARCHIVE LINKS
   ========================================== */

main a,
main a:visited {
    color: #303030;
    text-decoration: none;
}

main a:hover,
main a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}
/* ==========================================
   COPYRIGHT NOTICE
   ========================================== */

.copyright-notice {
    max-width: 720px;
    margin: 80px auto 30px;
    padding: 0 24px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.6;

    color: #777777;
    text-align: center;
}
