/*CSS document*/

html, body, div, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit;}

img {
    width: 100%;
    display: block;
}

div.container{
    width: 60em;
    margin: auto;
}

div.logo{
    max-width: 5em;
    padding: 1em 0em;
}

a{
    text-decoration: none;
    color: rgba(84, 119, 153, 1.0);
}

h1{

}

h2{
    font-family: serif;
    font-weight: bold;

    color: rgba(84, 119, 153, 1.0);
}

section.primary h2{
    font-size: 3em;
}

section.secondary h2{
    font-size: 1.5em;
}

p{
    font-family: sans-serif;
    color: rgba(0, 0, 0, 1.0);
    margin: 0 1em 0 0em;
}

section.tertiary{
    border-top: solid;
    border-width: 2px;
    border-color: rgba(85,119,153, 1.0);

    margin: 1em 0 2em 0;
}






article h2 {
    font-size: 2.75em;
    margin: 0.75em 0em 0.5em 0em;
}


nav ul li{
    display: inline;
    list-style-type: none;
    padding-right: 1em;

    font-family: sans-serif;
    font-weight: bold;
    text-decoration: none;

    color: rgb(84, 119, 153);
}


figure {
    margin: 0.75em 0em 0.5em 0em;
}

figcaption {
    font-style: italic;
    font-size: 1em;
    padding: 0.25em 0em 0.5em 0em;
    font-family: sans-serif;
    color: rgb(90, 90, 90);
    line-height: 1.25em;
}

aside {
    background: rgb(203, 208, 255);
    background-size: 100%;
    padding: 0em 0.35em 1em 0.35em;
}

aside figure {
    padding: 1em 0.15em 0em 0.15em;
}

aside p {
    margin-left: 0.4em;
}

aside h2 {
    margin-left: 0.35em;
}

div.container {
    max-width: 40em;
    margin: 0 auto;
}

footer {
    padding: 0.5em 0em 0.5em 0em;
    background: rgb(84, 119, 153);
    font-family: sans-serif;
}

footer{
    color: rgba(234, 234, 234);
}

footer p {
    color: rgba(255, 255, 255, 1.0);
    margin: 1em;
}

@media screen and (max-width: 40em) {
    
nav ul li{
        display:block;
        padding: 0.25em 0em 0em 0.65em;
    }

div.container{
    padding: 0.5em;
}


h1 {
        max-width: 7em;
        padding: 1em 0em 1em 0.5em;
    }
    
h2 {
        padding: 0em 0em 0em 0.15em;
    }

section.secondary h2 {
        padding: 0em 0em 0em 0.3em;
    }
    
section.tertiary h2 {
        padding: 0.5em 0em 0em 0.4em;
    }

p {
        padding: 0em 0em 0.5em 0.5em;
    }

figcaption {
        padding: 0.25em 0em 0.5em 0.4em;
        line-height: 1.25em;
    }

    main p {
        padding-left: 0.5em;
    }

}