/* Styles for Big Assignment */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
        /* prevents page breaks when adding padding inside containers */
}

body {
    background-image: url(../images/aard-mud.png);
        background-repeat:no-repeat;
        background-position:center;
        background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #D9D2BF;
}

div#wrapper {
    width: 940px;
    margin: 150px auto 0px auto;
    padding: 20px;
    background: rgba(242, 234, 213, 0.9);
    overflow: hidden;
} 

header {
    background: #F2F2F2;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

.inner-header {
    width: 940px;
    margin: 0 auto;
}

nav {
    height: 50px;
    background: #68788C;
    line-height: 50px;
}

nav a {
    text-decoration: none;
    color: #fff;
    display: block;
}

nav a:hover {
    background: #1F2326;
    color: #fff;
}

nav ul {
    width: 940px;
    margin: 0 auto;
}

nav li {
    list-style-type: none;
    float: left;
    width: 25%;
    text-align: center;
}

.home nav li:nth-child(1) a, .big nav li:nth-child(2) a {
    background: #1F2326;
    color: #fff;
}

main {
    width: 560px;
    float: left;
}

aside {
    width: 320px;
    background: #fff;
    float: right;
    margin-top: 20px;
    padding: 15px;
}

footer {
    height: 50px;
    clear: both;
    line-height: 50px;
    border-top: 1px dashed #1F2326;
    font-size: .8em;
    color: #1F2326;
}

footer a {
    color: #1F2326;
}

footer li {
    list-style-type: none;
    float: left;
    margin-right: 30px;
}

footer li img {
    margin-top: 10px;
}

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

img.right {
    float: right;
    margin-top: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
}

img.left {
    float: left;
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

#logo {
    display: inline;
    margin: 10px;
}



/* Typography */

h1, h2, h3 {
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin-bottom: 3px;
}

h1 {
    color: #8C322A;
    font-size: 2.44em;
}

h2 {
    color: #517338;
    font-size: 2em;
}

h3 {
    color: #68788C;
    font-size: 1.78em;
}

p {
    margin-bottom: 10px;
    line-height: 1.2;
}

.center {
    margin: 10px auto;
    display:block;
    text-align: center;
}


aside p {
    font-size: .9em;
}