/* Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Style the body */
body {
    background-color: lightsteelblue;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

/* Style the Header */
header {
    padding: 50px;
}

/* Style the Navigation */
nav {
    background-color: black;
    color: lightsteelblue;
    padding: 20px;
}

/* Style Navigation Links */
nav a {
    padding: 20px;
    text-decoration: none;
}

/* Style the link and visited link colors */
nav a:link, nav a:visited {
    color: lightsteelblue;
}

/* Style the link hover and active link colors */
nav a:hover, nav a:active {
    color: blue;
}

/* Style the Main */
main {
    width: 90%;
    margin: 20px auto;
}
/* Clear floats after main */
main:after {
    content: "";
    display: table;
    clear: both;
}

/* Style the Article */
article {
    background-color: lightgrey;
    float: left;
    width: 48%;
    padding: 15px;
    margin: 5px;
}

/* Style the Article Heading */
article h2 {
    padding: 10px;
}

/* Style the Article Paragraph */
article p {
    text-align: left;
}

/* Style the Footer */
footer {
    background-color: black;
    color: lightsteelblue;
    padding: 20px;
    width: 100%;
}
/* Responsive layout - makes the two articles stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) and (min-width: 400px) {
  article {   
    width: 100%;
  }
}
/* Responsive layout - makes the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    nav a { 
        display: block;
        width: 100%;
    }
}

