 
* {
  box-sizing: border-box;
  margin: 0;
}

/* Changes font to arial and margins to 0 for the body */
body {
  font-family: Arial;
  margin: 0;
}

/* Header */
header {
  padding: 60px;
  text-align: center;
  background: #1abc9c;
  color: white;
}

/* Top navigation bar */
nav {
  display: flex;
  background-color: #333;
}

/* Navigation bar links */
nav a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
}

/* Change color on hover */
nav a:hover {
  background-color: #ddd;
  color: black;
}

nav a:active {
	color: red;
}

/* Column container */
main {  
  display: flex;
  flex-wrap: wrap;
}

/* Main column */
section {
  flex: 70%;
  background-color: white;
  padding: 20px;
}

/* Fake image, just for this example */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  main, nav {   
    flex-direction: column;
  }
}
