#wrapper {
    max-width: 980px;
    min-height: 200px;
    border: 1px solid #dddddd;
    margin: auto;
    position: relative;
}

#header {
    background-color: beige;
    height: 100px;
    font-size: 24px;
    padding: 20px 5px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: red;
}

nav ul li {
    height: 35px;
    line-height: 35px;
    width: 150px;
    display: inline-block;
}

nav ul li a {
    text-decoration: none;
    display: block;
    color: aliceblue;
    padding: 5px;
    text-align: center;
}

nav ul li:hover {
    background-color: black;
}

#content {
    float: left;
    width: 600px;
    background-color: white;
}

aside {
    float: left;
    width: 330px;
    background-color: #cccccc;
}

#footer {
    clear: both;
    height: 100px;
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
}

@media screen and (max-width:800px) {
    nav ul li {
        width: 150px;
    }
    #wrapper {
        width: 100%;
    }
    #content {
        width: 100%;
    }
    aside {
        width: 100%;
    }
    img {
        width: 100%;
    }
}