* {
    margin: 0;padding: 0;border: 0;box-sizing: border-box;
}

body {
    background-color: #fff;
    min-height: 100vh;
    border: 4px solid #fff;
}

#container {
    border: 4px solid #fff;
    min-height: 100vh;
}

header{
    background-color: hsl(220, 100%, 40%);
    height: 100px;
    padding: 8px;
}

#banner {
    width: 300px; height: 84px;
    background-color: hsla(0, 100%, 100%, .2);
}

main {
    display: flex;
    flex-flow: row wrap;
    height: 85vh;
}

aside nav a {
    display: inline-block;
    width: 90%; height: 50px;
    background-color: hsla(35, 100%, 100%, .3);
    margin: 5% 5% 0% 5%;
}

main aside {
    background-color:  hsla(25, 100%, 35%, 1);
    min-height: 700px;
    flex: 0 0 250px;
    padding-bottom: 8px;
}

main article {
    background-color: hsla(30, 100%, 100%, 1);
    min-height: 300px;
    flex: 1 0 0;
}
article .pretend_image {
    background-color: hsla(35, 75%, 50%, 1);
    width: 250px; height: 250px;
    margin: 8px;
    float: left;

}
article p {
    font-family: fantasy;
    margin: 8px;
    font-size: 1.5em;
    line-height: 1.5;
}
article header {
    background-color: hsla(120, 100%, 30%, 1);
}

/* ================================== */
/* responsive styling */
/* tablet and phone styling */
@media screen  and (max-width: 800px) {

    #banner {
        width: 100%;

    }

    main {
        flex-direction: column;
    }
    
    main aside {
        min-height: 80px; max-height: 80px;
        flex: 1 0 auto;
        
    }
    
    aside nav {
        display: flex;
    }

    aside nav a {
        background-color: hsla(35, 100%, 100%, .3);
        margin: 8px;
        height: 64px;
    }

    aside nav a:nth-child(4),
    aside nav a:nth-child(5) {
        display: none;
    }

    main article {
        min-height: 600px;
    }    

    article header {
        margin-top: 8px;
    }
    article .pretend_image {
        width: 100%; height: 250px;
        margin: 8px 0px 16px 0px;
        float: left;
    }

    article p {
        margin: 8px 4px 16px 4px;
    }


}