
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {

    background-image: url(../images/grid.png);
    background-repeat: repeat-y;
    background-position: 220px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

}

main {
    float: right;
    width: 940px;
    background: red;
}

header {
    background-color: yellow;
    float: left;
    width: 180px;
    height: 100%;
    position: fixed;
    padding-top: 140px;
}

.inner-header {
    width: 180px;
    margin: 0 auto;
}

#logo {
    width: 160px;
    margin: 10px;
}

nav {
    background-color: brown;
}

.primary {
    position: relative;
}

.dropdown, .dropdown2 {
    display: none;
}


.primary li:hover .dropdown {
    display: block;
    position: absolute;
    width: 50%;
    left: 40%;
    bottom: 0;
}

.dropdown li:hover .dropdown2 {
    display: block;
    position: absolute;
    bottom: 0;
    left: 80%;
    width: 50%;

}

#wrapper {
    float: left;
    width: 980px;
    margin-left: 200px;
    margin-top: 70px;
    padding-top: 20px;
    padding-bottom: 50px;
    overflow: hidden;
}

.row {
    overflow: hidden;
    margin-bottom: 1.5em;
    background-color: beige;
    padding: 20px;
}

.third {
    background-color: lightgray;
    width: 300px;
    float: left;
    margin-right: 20px;
    text-align: center;

}

.third:last-of-type {
    margin-right: 0px;
}

.third img {
    max-width: 100%;

}

.read-more {
    display: block;
    line-height: 2em;
}

footer {
    background-color: pink;
    margin-top: auto;
    height: 60px;
    line-height: 60px;
    width: 100%;
    position: fixed;
    bottom: 0;
}

footer ul {
    display: flex;
    margin-left: 220px;
    width: 940px;
    justify-content: center;
    list-style-type: none;
    font-size: .875em;
}

footer li {
    margin: 0 10px;
}

/* typography */

h1 {
    text-align: center;
    font-size: 50px;
    line-height: 60px;
}

h2 {
    padding-top: 10px;
}

.third p {
    padding: 10px;
}