@import url(https://fonts.googleapis.com/css?family=Lato:400);

body
{
    width: 50em;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
/*    margin-left: 60px;
    margin-right: 10%;*/
}

h1, h2, h3, h4, p, blockquote
{
/*	font-family: 'Open Sans', 'Helvetica', sans-serif;*/
	font-family: 'Lato', 'Helvetica', sans-serif;
	font-weight: 400;
    margin-left: 32px;
    margin-right: 32px;
}

p, blockquote
{
    letter-spacing: 0.25px;
    line-height: 1.33em;
}

h1
{
    font-size: 2em;
}

h2
{
    font-size: 2.6em;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 5px;
}

h4
{
    font-weight: bold;
}

p
{
    font-size: 1em;
}
/*
hr
{
    width: 90%;
    margin-left: 0;
}
*/

#nets, #nets p
{
    margin-top: 2em;
}

body
{
    background-color: #EEE;
    padding-bottom: 5em;
}

#header {
    background-color: #000;
}

#headertext
{
    position: absolute;
    width: 100%;
    z-index: 1;
}

#header h2
{
    margin-top: 32px;
    margin-right: 32px;
    color: white;
}

#headertextcontainer
{
    position: relative;
    width: 100%;
    height: 100%;
}

#headerimg
{
    width: 100%;
    height: 100%;
    z-index: -10;
}

#header img
{
    width: 100%;
    height: auto;
}

#header
{
    border: 6px solid black;
    /* somehow my div layout introduces padding betweeen img bottom and the div border. 
       Using a smaller bottom border fixes the visual inconsistency. */
    border-bottom: 2.75px solid black;
}

#nav p, #nav2 p
{
    font-size: 0.9em;
    text-align: right;
    margin-bottom: 2em;
}

#nets p
{
    margin-top: 7em;
    font-size: 0.9em;
    text-align: right;
}

.favico
{
    vertical-align: -2px;
}


.quote
{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    margin-bottom: 4em;
}

blockquote
{
    border-left: 0.25em solid #999;
    padding-bottom: 0.25em;
    padding-left: 1em;
    margin-bottom: -0.5em;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 0.9em;
    color: #666;
}

.quote .attribution
{
    text-align: right;
    font-size: 0.9em;
    margin-top: 0;
}

#stuff p
{
    width: 90%;
/*    margin-left: auto;
    margin-right: auto;
*/    text-align: center;
    line-height: 1.25em;
}


@media (max-width: 900px) {
    body {
        width: 82%;
    }
    
    #header {
        margin-left: auto;
        margin-right: auto;
    }
    
    #headertext {
        width: 100%;
    }
    
    #header h2 {
        text-align: right;
        margin-top: 0.5em;
        margin-right: 0.25em;
    }
    
    h1, h2, h3, h4, p, blockquote
    {
        margin-left: auto;
        margin-right: auto;
    }
    
    #stuff p {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .quote {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    #nav p, #nets p, #nav2 p {
        text-align: center;
    }
}

@media (max-width: 400px) {
    #header h2 {
        font-size: 2.2em;
        text-align: center;
        margin-top: 0.5em;
        margin-right: auto;
        margin-left: auto;
    }
}

