/*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-image: url("https://www.headdies.com/wp-content/uploads/2014/11/dark-black-website-background.jpg"); /*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: #003791; /*blue color*/
}

header h1 {
	font-family: 'Shadows Into Light Two', cursive;
	font-weight: bold;
	font-size: 40px;
	color: #1b1b1c;
}

header h2 {
	font-family: 'Comfortaa', cursive;
	font-weight: bold;
	font-size: 30px;
	color: #1b1b1c;
}

nav {
	width: 920px;
	padding: 10px 20px;
	background-color: #0090ff;
	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: #1b1b1c;
	text-decoration: none; /*Takes off underline*/
	font-size: 30px;
	font-family: 'Arimo', 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: left;
	margin: 10px;
	width: 350px;
	height: 350px;
}

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

article h1 {
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	font-size: 25px;
	color: #191919;
}

article h2 {
	font-size: 20px;
	color: #191919;
}

article p {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
}

footer {
	width: 940px;
	clear: both;
	padding: 10px 10px;
	overflow: hidden; /* this makes sure footer wraps around the footer elements*/ 
	text-align: center;
	background-color: #003791;
	font-family: 'Arimo', sans-serif;
	font-size: 20px
}

footer p {
	color: black; 
}

a {
	color: #ff0000;
	text-decoration: none;
}

article a:visited {
	color: #ff4c00;
	text-decoration: none;
	font-style: italic;
}

footer a:visited {
	color: #ff4c00;
	text-decoration: none;
	font-style: italic;
}

