/* All elememts set to have a margin of 0*/
* {
    margin: 0;
}

/* Setting the height to 100% will make it easier 
to position otehr elements on the page */
html, body {
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-image: url(images/topological.jpeg);
    background-size: 40%;
    opacity: 1;
}

/*continuously update the size of the image based on the size of the window*/ 
.banner {
    max-width: 100%;
    height: auto;
}
@media (max-width: 1000px) {
    .banner {
        width: 100%; 
    }
}

/* article > img {
    width: 330px;
    height: auto;
} */

/*paragraph margins
margins top right bottom left */
p {
    margin: 0.5em 0 0.5em 0;
}

/*establish that the header will be in a block level format
fixed its position so that it will always be in teh top left of teh page
made its width the entirety of the body length*/
header {
    background-color: rgb(0, 0, 0);
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
}
footer {
    background-color: black;
    display: block;
    padding: 10px;
    
}

nav a:visited,
nav a:link {
    color: white;
    text-decoration: none;
}

nav > ul {
    display: inline;
    padding: 0;
}

nav > ul > li {
    display: inline-block;
    list-style: none;
    margin: 0 5px 0 5px;
}

main {
    display: block;
    padding-top: 3em;
    padding-bottom: 3em;
    min-height: 85%;
}

aside, 
article {
    padding: 2em;
}

aside {
    text-align: center;
    display: block;
    color: white;
}


@media only screen and (min-width: 768px) {
    main {
        display: flex;
    }

    aside {
        margin-left: 2%;
    }
}