/*This is coding for styles.css*/
/*The rule here lets older browsers know that the new HTML5 elements need to be treated like block elements*/
header,
nav,
article,
footer {
	display: block;
}

/**Page Layout**/
body {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size: 14px; /*This gives the text a measurement to take 'em' from. Defaults to 16 if not given a size*/
	background-color: #ffccb3; /*This is the apricot body colour that shows outside of the container*/
}

#container {
	width: 960px;
	margin: auto; /*this will make the container float in the middle of the screen*/
	padding: 2px; /*This provides the tiny 'border' effect. The color will be the same as container (not body) background color*/
	background-color: #fff; /*white*/	
}

header {
	width: 920px; /*960 - 40px padding*/
	padding: 10px 20px; /*10 refers to top and bottom; 20 refers to left and right*/
	background-color: #ddddbb; /*greeny-grey color*/
}

header h1 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: bold;
	font-size: 2em;
	color: #191919;
}

header h2 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: bold;
	font-size: 1.2em;
	color: #191919;
}

nav {
	width: 920px;
	padding: 10px 20px;
	background-color: #b8b894;
	overflow: hidden; /* this makes sure nav wraps around the floated list.*/
}

nav ul {
	list-style: none; /*This removes the bullet from the list items*/
	margin: 0;
	padding: 0; /*These collapse the margin and padding*/
	float: left; /*This goes left and collapses the width to fit the links inside it*/
}

nav ul li{
	list-style: none;
	margin: 0 4em 0 0; /*adds space between links in nav*/
	padding: 0;
	float: left; /*The float: left puts the elements side by side and is a technique for laying out horizontal elements.*/
}	

nav ul li a{
	color: #000;
	text-decoration: none; /*Takes off underline*/
	font-size: 1.3em;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	padding: 10px 0;
	display: inline-block; /*this makes it easy to fill the browser width and wrap nicely when the browser is resized*/
}

img {
	float: right;
	margin: 10px;
}

article{
	width: 920px; /*take padding 40px from 960*/
	padding: 20px;
	background: #ebebe0;
	float: left;
}

article h1 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: bold;
	font-size: 1.6em;
	color: #191919;
}

article h2 {
	font-size: 1.2em;
	color: #191919;
}

article p {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size: 1em;
}

footer {
	width: 940px;
	clear: both;
	padding: 0px 10px;
	overflow: hidden; /* this makes sure footer wraps around the footer elements*/ 
	text-align: center;
	background-color: #ddddbb;
}

footer p {
	color: #1f1f14; 
}

article, footer, header, nav, section, video 
	{ display:block; 
	}


		
header 
	{background-image:url('../images/header.jfif'); 
	background-position:bottom;  
	height: 300px; 
	background-color: #FFFFFF;  
	background-repeat:no-repeat;
	} 

#content {  
	display:table;	
	 width:100%;  
	 border-top: 1px solid #000; 
	 }
	



section {
	font-family: 'Oswald', sans-serif;
	font-size:2em
	}	
	
nav { 
	margin: 0 0 15px 0; 
	padding: 25px 0 12px 1px; 
	border-style: solid; 
	border-width: 1px 0 0 0; 
	border-color: #000; 
	overflow: hidden; 
	}


 /* remove the bullet points */
nav ul { 
	list-style: none; 
	margin: 0; 
	padding: 0; 
	float: left; 
	} 	
	
nav ul li {  
	list-style: none; 
	margin: 0 2.5em 0 0; 
	padding: 1; 
	float: left; 
	font-size: 1.2em; 
	}


 /* This puts a rectangle with rounded corners and a slight box shadow around the links. */
nav ul li a {     
	padding:10px;   
	color: #000000;   
	text-align:center;   
	text-decoration:none;   
	border: 1px solid #98aaa0;   
	margin: 5px 0px;   
	-moz-border-radius: 8px;   
	-webkit-border-radius: 8px;   
	border-radius: 8px;  
	-moz-box-shadow: rgba(0,0,0,.8) 1px 1px 3px ;   
	-webkit-box-shadow: rgba(0,0,0,.8) 1px 1px 3px ;  
	box-shadow: rgba(0,0,0,.8) 1px 1px 3px ; 
	}

/* put color inside navigation buttons */
nav ul a:link, nav ul a:visited {  
	background: rgba(255,255,255); 
	}

/* When in hover change text colour to white  */ 
nav ul li a:hover { 
	color: #ffffff; 
	} 	

/* When in hover or focus states increase opacity of button colour */ 
nav ul a:hover, nav ul a:active, nav ul a:focus {  
	background: rgba(255, 210, 191); 
	} 	
	





