html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/**************** end CSS RESET *************/

body {
	font-family: Georgia, serif;
	background-color: #e5f2d8;
	color:#312c29;
}

div {
	width: 960px;
	margin: auto;
	overflow: hidden;
	padding: 20px 0;
}

article {
	padding: 20px;
	width: 440px;
}

header {
	background-color: #312c29;
}

header h1 {
	width: 960px;
	margin: auto;
}

header h1 img {
	display: block;
}

/************** Navigation Styles *************/

nav {
	background-color: #7bcfcf;
}

nav ul {
	width: 960px;
	background-color: #90f3f3;
	overflow: hidden;
	margin: auto;
	display: flex;
}

/* nav ul li {
} */

nav ul li a {
	display: block;
	
	color: #312c29;
	font-family: Arial, sans-serif;
	font-size:24px;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	
	padding: 17px 20px;
	border-right: 2px solid #7bcfcf;
}

nav ul li:last-of-type a {
	border-right: none;
}

nav ul li a:hover {
	color:#c558ad;
}

/*************** Top Section Styles *************/

#top div {
	background-color:#f8fff1;
	display: flex;
}

label, input {
	display: block;
}

label {
	font-weight: bold;
}

input[type="text"], input[type="email"], textarea {
	width: 420px;
	background: #e5f2d8;
	border: none;
	padding: 10px;
	margin-bottom: 20px;
	font-family: Georgia, serif;
}

input[type="submit"]{
	background: #312c29;
	border: none;
	border-radius: 0;
	font-family: Arial, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	color:#f8fff1;
	padding: 7px 30px;
}

/**************** Middle Styles ****************/

#middle {
	background-color: #625244;
	color:#f8fff1;
}

#middle div {
	background-color: #584a3d;
	display: flex;

}

#middle h2, th {
	color:#90f3f3;
}

table {
	width:440px;
}

th, td {
	font-weight: bold;
	padding: 15px 0;
}

tbody td {
	padding-left:30px;
}

tbody tr:nth-child(odd) {
	background-color: #312c29;
}

tbody tr:nth-child(even) {
	background-color: #725f4f;
}

/*************** Bottom Styles ************/

#bottom {
	background-color: #c558ad;
	
}

#bottom div {
	background-color: #672e5a;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

#bottom article {
	width: 280px;

}

#bottom h2 {
	font-family: Arial, sans-serif;
	font-weight: bold;
	color: #f8fff1;
	padding: 20px 0 0 20px;
	grid-column: 1/4;
}

#bottom p {
	color:#f8fff1;
	font-size: 14px;
}

/**************** Footer styles ************/

footer {
	background-color: #312c29;
}

footer div {
	background: #3b3531;
}

footer img {
	width: 200px;
}

footer h2 {
	font-family: Arial, sans-serif;
	font-weight: bold;
	color: #90f3f3;
}

footer p {
	color:#f8fff1;
	font-size: 14px;
}

/*************** Page ***************/

#page #top article {
	width:600px;
}

aside {
	float: left;
	width: 280px;
	padding: 20px;
}

/**************** Typography **************/

h2 {
	font-size:30px;
	color:#c558ad;
	font-weight: bold;
	margin-bottom: 16px;
}

h3 {
	font-size:24px;
	color:#90f3f3;
	font-weight: bold;
	margin-bottom: 12px;
}

p {
	line-height: 22px;
	margin-bottom: 16px;
}

a {
	color:#90f3f3;
	text-decoration: none;
}
