@charset "UTF-8";

/* Global Styles */
* {
  	font-family: Verdana;
	margin: 0;
  	padding: 0;
	box-sizing: border-box;
}

html {
  background-color: beige;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', Helvetica, 'Helvetica Neue', Arial, sans-serif;
}

/* Page Structure */
.wrapper {
	width: 100%;
	max-width: 960px;
	height: auto;
	margin: 0 auto;
	border: 2px solid saddlebrown;
}

/* Header */
header {
	display: flex;
	height: 225px;
}

header img {
	display: block;
	max-width: 100%;
	height: auto;
	flex: 1 0 auto;
}

/* Navigation */
nav {
    background-color: tan;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    border: 1px solid saddlebrown;
    flex: 1 0 auto;     
}

nav ul li a {
    display: block;
    text-decoration: none;
    color: black;
    text-align: center;
    padding: 10px;
	font-weight: bold;
}

nav ul li a:hover {
    background-color: saddlebrown;
}

/* Section */
section {
	display: flex;
	max-width: 100%;
	height: auto;
}

/* Article */
article {
	border-right: 2px solid saddlebrown;
	border-top: 2px solid saddlebrown;
	padding: 10px;
}

article p {
	font-family: Georgia;
	font-size: 20px;
	flex: 1 1 auto;
}

article h1 {
	font-size: 50px;
	margin-bottom: 10px;
	text-align: center;
	flex: 1 1 auto;
}

/* Aside */
aside {
	border-top: 2px solid saddlebrown;
	padding: 10px;
}

aside h2 {
	font-size: 30px;
	margin-bottom: 10px;
	text-align: center;
	flex: 1 1 auto;
}

aside p {
	font-family: Georgia;
	font-size: 16px;
	flex: 1 1 auto;
}

/* Footer */
footer {
	display: flex;
	background-color: tan;
	border-top: 2px solid saddlebrown;
	padding: 10px;
	padding-right: 0;
	flex-wrap: wrap;
}

footer p {
	font-weight: bold;
	color: black;
	flex: 1 0 auto;
}

footer ul {
	list-style-type: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

footer ul li {
	flex: 1 0 auto;
}

footer ul li a {
	text-decoration: none;
	color: black;
	text-align: center;
	padding: 10px;
	font-weight: bold;
	border: 1px solid saddlebrown;
	border-top: none;
	border-bottom: none;
}

footer ul li a:last-child {
	border-right: none;
}

footer ul li a:hover {
    background-color: saddlebrown;
}

/* Media Queries */
@media only screen and (max-width: 700px) {
	nav ul {
		flex-direction: column;
	}
	section {
		flex-direction: column;
	}
	article {
		border: none;
		padding: 15px;
	}
	aside {
		padding: 15px;
	}
	footer {
		flex-direction: column;
		text-align: center;
	}
	footer p {
		padding-bottom: 20px;
		}
	footer ul li a {
		border: none;
	}
}