nav {
    line-height: 60px;
}

nav table {
    width: 100%;
    text-align: center;
}

nav table td {
    background-color: #0086B3;
    width: 16.66%;
}

@media all and (max-width: 480px) {
    nav table td {
        width: 100%;
        display: block;
    }
}

nav table td:hover {
    background-color: rgb(39, 157, 197);
    -webkit-transition: background-color 100ms linear;
    -moz-transition: background-color 100ms linear;
    -o-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
}

nav table td a,
nav table td a:hover,
nav table td a:visited {
    color: white;
    text-decoration: none;
    display: inline-block;
    height: 60px;
    width: 100%;
}

#posts {
    list-style-type: none;
    padding: 5%;
    margin: 0;
}

section {
    margin-top: 400px;
    background: white;
    box-shadow: 0px -1px 10px 1px rgba(0,0,0,0.45);
}

#header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: -3;
    background: #444;
    height: 400px;
}

#header h1 {
    z-index: 0;
    color: white;
    margin: 0;
    position: absolute;
    padding: 5%;
}

#header img {
    display: block;
    float: left;
    width: 25%;
}

@media all and (max-width: 200px) {
    #header img {
        width: 100%;
    }
}

@media all and (max-width: 400px) and (min-width: 201px) {
    #header img {
        width: 50%;
    }
}

@media all and (max-width: 600px) and (min-width: 401px) {
    #header img {
        width: 33%;
    }
}

@media all and (min-width: 801px) {
    #header img {
        width: 20%;
    }
}
