/* Plain Paper - A Free Design by Bryant Smith (bryantsmith.com)
   All of the colours and spacing used on the page are gathered here.
   Look for the section headings below to find what you want to change. */


/* ---- BODY: the "desk" the sheet of paper rests on ---- */

body {
    background: #ecebe6;
    color: #333333;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
    padding: 40px 16px;
}

* {
    margin: 0;
    padding: 0;
}


/* ---- PAGE: the white sheet itself ---- */

#page {
    background: #ffffff;
    border-top: 5px solid #2a6fb0;
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 72px 48px 72px;
    text-align: left;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 14px 34px rgba(0, 0, 0, 0.08);
}


/* ---- MASTHEAD: the title and tagline at the very top ---- */

#masthead {
    padding-bottom: 22px;
    border-bottom: 3px double #dcdad2;
    margin-bottom: 40px;
}

#masthead h1 {
    color: #111111;
    font-size: 44px;
    font-weight: normal;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

#masthead .tagline {
    color: #8a8a8a;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    margin-top: 12px;
    text-transform: uppercase;
}


/* ---- MENU: the row of links under the title ---- */

#menu {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 24px;
    text-transform: uppercase;
}

#menu a,
#menu a:visited {
    border-bottom: 2px solid transparent;
    color: #555555;
    margin-right: 22px;
    padding-bottom: 3px;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

#menu a:hover {
    border-bottom: 2px solid #2a6fb0;
    color: #2a6fb0;
}


/* ---- TEXT: paragraphs, links and headings in the body ---- */

#content p {
    margin-bottom: 20px;
}

#content a,
#content a:visited {
    border-bottom: 1px solid #bcd3e8;
    color: #2a6fb0;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

#content a:hover {
    border-bottom: 1px solid #14456e;
    color: #14456e;
}

.lead {
    color: #444444;
    font-size: 20px;
    line-height: 1.65;
}

.lead::first-letter {
    color: #2a6fb0;
    float: left;
    font-size: 3.4em;
    line-height: 0.85;
    padding: 4px 10px 0 0;
}

h2 {
    border-bottom: 1px solid #e6e4dd;
    color: #111111;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2.5px;
    margin: 44px 0 18px 0;
    padding-bottom: 10px;
    text-transform: uppercase;
}

h2::before {
    background: #2a6fb0;
    content: "";
    display: inline-block;
    height: 3px;
    margin-right: 10px;
    vertical-align: middle;
    width: 22px;
}


/* ---- QUOTE: the indented passage with a coloured bar ---- */

blockquote {
    border-left: 3px solid #2a6fb0;
    color: #555555;
    font-size: 19px;
    font-style: italic;
    margin: 32px 0;
    padding: 4px 0 4px 24px;
}

blockquote p {
    margin: 0;
}


/* ---- ENTRIES: the dated list of writing ---- */

.entries {
    list-style: none;
}

.entries li {
    border-bottom: 1px solid #eeece6;
    padding: 14px 0;
}

.entries li:last-child {
    border-bottom: none;
}

.entries .date {
    color: #9a9a9a;
    display: inline-block;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 130px;
}

.entries a {
    font-size: 18px;
}


/* ---- FOOTER: the required credit link ---- */

#footer {
    border-top: 3px double #dcdad2;
    color: #9a9a9a;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 56px;
    padding-top: 22px;
    text-align: center;
    text-transform: uppercase;
}

#footer a,
#footer a:visited {
    border-bottom: none;
    color: #7a7a7a;
    text-decoration: none;
}

#footer a:hover {
    color: #2a6fb0;
}


/* ---- SMALL SCREENS: pull in the padding on phones ---- */

@media (max-width: 640px) {
    #page {
        padding: 40px 28px 32px 28px;
    }

    #masthead h1 {
        font-size: 32px;
    }

    .entries .date {
        display: block;
        margin-bottom: 4px;
        width: auto;
    }
}


/* ---- PRINT: drop the desk and shadows for a clean sheet ---- */

@media print {
    body {
        background: #ffffff;
        padding: 0;
    }

    #page {
        border-top: none;
        box-shadow: none;
        max-width: 100%;
        padding: 0;
    }

    #menu {
        display: none;
    }
}
