
* {
	padding: 0px; 
	margin: 0px;
}
p {
	padding: 10px;
}

body  { 
	text-align: left; 
	background-image: url(old_paper.gif);
}


  
  header {
	background-color: black;
	height: 150px;
	margin: 2%;
	border-color: white;
	border-style: solid;
	border-width: 3px;
	width: 96%;
	border-radius: 10px;
  }
  header h1 {
	color: white;
	font-size: 400%;
	text-align: center;
	line-height: 150px;
  }
  header img {
	float: left;
	padding: 5px;
  }

nav {
    clear:both;
    text-align:center;
    margin: 20px;
    background-color: #000;
    border-radius: 5px;
    width: 96%;
    border: 2px solid white;
}
nav ul {
	list-style-type:none;
	margin:0 auto;
	padding:0;
	display:inline-block;
}
/*Create a horizontal list with spacing*/
nav li {
	float: left;
	margin-right: 20px;
}
/*Style for menu links*/
nav li a {
	display:block;
	min-width:120px;
	height: 60px;
	text-align: center;
	line-height: 60px;
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom:-3px;
	color: #fff;
	text-decoration: none;
	font-size: 125%;
}
/*Hover state for top level links*/
nav li:hover a {
	background: #808080;
}
/*Style for dropdown links*/
nav li:hover ul a {
	background: #808080;
	color: #2f3036;
	height: 60px;
	line-height: 40px;
}
/*Hover state for dropdown links*/
nav li:hover ul a:hover {
	background: #000;
	color: #fff;
	border: 3px #fff solid;
	margin: 2px;
}
/*Hide dropdown links until they are needed*/
nav li ul {
	display: none;
}
/*Make dropdown links vertical*/
nav li ul li {
	display: block;
	float: none;
}
/*Prevent text wrapping*/
nav li ul li a {
	width: auto;
	min-width: 100px;
	padding: 0 20px;
	text-align:left;
}
/*Display the dropdown on hover*/
/* + selects all .hidden and .hidden:hover immediately after nav ul li a:hover */
nav ul li a:hover + .hidden, .hidden:hover {
	display: block;
}
/*Prevent Dropdown from Pushing Down the Web Page When Open*/
nav ul ul.hidden{
	position: absolute;
}
/*Style 'show menu' label button and hide it by default*/
.show-menu {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-decoration: none;
	color: #fff;
	background: #000;
	text-align: center;
	padding: 10px 0;
	display: none;
	height: 45px;
	font-size: 30px;
}
/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix {
    display: inline-block;
}
section {
	width: 800px;
	height: 750px;
	margin: 0 auto 20px;
}
#imageContainer {
width: 794px;
height: 600px;
background-color: #fff;
}
#imageContainer img {
  width: 794px;
  height: 600px;
  border: 3px solid black;
  overflow: hidden;
  float: left;
}
#buttonnav {
  height: 70px;
  position: relative;
  background-color: black;
  border-color: white;
  border-style: solid;
  border-width: 1px;
  margin: 20px 0 ;
}
.button ul {
  list-style-type: none; 
  margin: auto;
}

.button ul li {
  border: 2px solid white;
  width: 120px;
  text-align: center;
  position: relative;
  float: left;
	 margin: 10px 37px;
}


.button a  {
  
text-decoration: none;
width: 120px;
height: 50px;
line-height: 45px;
padding: 10px;
color: #fff;
text-align: center;
margin: auto;
}

footer {
	clear: both;
	background-color: black;
	color: white;
	text-align: center;
	border-color: white;
	border-style: solid;
	border-width: 3px;
	border-radius: 5px;
	margin: 2%;
	font-size: 150%;
  }





@media screen and (max-width: 1049px){

	header {
		width: 96%;
		margin: 2%;
	}
	header img {
		display: none;
	}
	header h1 {
		font-size: 300%;
	}
	
		/*Show menu when invisible checkbox is checked
		http://jsfiddle.net/Kqscu/4/*/
	input[type=checkbox]:checked  ~ #menu{
		display: block;
	}
	nav {
		width: 96%;
		margin: 2%;
	}
		/*Make dropdown links appear inline*/
	nav ul {
		position: static;
		display: none;
	}
		/*Create vertical spacing*/
	nav li {
		margin-bottom: 1px;
		background:#3f5047;
	}
	nav li a {
		text-align:center;
	}
		/*Make all menu links full width*/
	nav ul li, li a {
		width: 100%;
		text-align:center;
	}
		/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
	.headline {
		margin-bottom: 5px;
		line-height: 28px;
	}
	
	section {
		  width: 96%;
		  height: auto;
		  margin: 2% auto;
	  }
	  #imageContainer {
		width: 96%;
		height: auto;
		margin: 0 auto;
	 }
	#imageContainer img {
		width: 100%;
		height: auto;
		float: none;
	}
	#buttonnav {
		width: 96%;
		margin: 2%;
	}
	.button ul li {
		margin: 2%;
	  }
	.button a  {
		padding: 2%;
	}
	
	footer {
		width: 96%;
		margin: 2%;
	}
	}
	
	@media screen and (max-width: 600px){
	header {
		width: 96%;
		margin: 4% 2%;
	}
	
	header h1 {
		font-size: 200%;
	}
	nav {
		width: 96%;
		margin: 4% 2%;
	}
	#buttonnav {
		width: 96%;
		margin: 2% auto;
	}
	.button ul li {
		width: 65px;
		margin: 2%;
	  }
	.button a  {
		width: 65px;
		padding: 2%;
	}
	footer {
		width: 94%;
		margin: 3%;
	}
	}