*{
	border: 0;
	margin: 0;
	padding: 0;
}

html {
  background-color: #00539F;
  font-size: 1em;
  font-family: 'Open Sans', sans-serif;
  padding: 2em;
}
a {
	color: #57ABB8;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: #F60;
}


h1 {
	font-size: 1.65em;
	color: #466d53;
	font-family: Verdana;
}

h2 {
  color: #00539F;
  font-size: 3.5em;
  padding: .5em;
  text-align: center;
  text-shadow: .06em .06em .02em black;
}

h3 {
	font-size: 2.25em;
	color: #466d53;
	font-family: Verdana;
	text-align: center;
}

header {
	margin: 0 auto;
	max-width: 90%;
	text-align: center;
}

header h1, nav {
	display: inline-block;
	max-width: 70%;
	vertical-align: middle;
}

body {
  width: 90%;
  margin: auto;
  background-color: #FF9500;
  padding: .5em;
  border: .02em solid black;
}
nav {
	display: inline-block;
	max-width: 100%;
	vertical-align: middle;
}

nav ul {
	list-style: none;
}

nav li {
	display: inline-block;
	padding: 0.1em;
	vertical-align: top;
}

nav a {
	background: #FFF;
	border: 0.1em solid #57ABB8;
	border-radius: 0.25em;
	color: #F60;
	display: block;
	font-family: Helvetica, Verdana;
	font-size: 1.4em;
	padding: 0.2em;
	-ms-transition: all 0.5s ease-in;
	-moz-transition: all 0.5s ease-in;
	-o-transition: all 0.5s ease-in;
	-webkit-transition: all 0.5s ease-in;
	transition: all 0.5s ease-in;
}

nav a:hover {
	background: #40bb1c;
	border: 0.1em dashed #F60;
	border-radius: 0 0.5em 0 0.5em;
	color: #FFF;
	-ms-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

img {
  display: inline-block;
  margin-left: 6.5%;
  padding-bottom: .5em;
  max-width: 40%;
}

.fade{
	opacity: 1;
	filter: alpha(opacity=10);
	-ms-transition: all 0.5s ease-in;
	-moz-transition: all 0.5s ease-in;
	-o-transition: all 0.5s ease-in;
	-webkit-transition: all 0.5s ease-in;
	transition: all 0.5s ease-in;
	width: 80%;
}

	.fade:hover{
	opacity: 0.7;
	filter: alpha(opacity=7);
	-ms-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

@media(min-width: 1081px) {
	header h1 {
		text-align: left;
		width: 35%;
	}
	
	nav {
		text-align: right;
		width: 80%;
	}
}

@media(max-width: 1080px) {
	nav li {
		font-size: 1em;
	}

}

@media(max-width: 800px) {
	nav li {
		font-size: 0.95em;
	}

	img {
	    display: block;
        width: 80%;    
	}
}

@media(max-width: 600px) {
	nav li {
		display: inline-block;
		margin: 0px;
		width: 98%;
	}
}