*{
	/* Universal reset: */
	margin:0;
	padding:0;
}

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

hgroup{
background: url('../images/tile.jpg') repeat;
}

body{
	font-size:1em;
	color:#fcfcfc;	
	background: url('../images/bottom.jpg')
		fixed bottom repeat-x, url('../images/tile.jpg') repeat;
	font-family:'Special Elite', Helvetica, sans-serif;
}

/* Hyperlink Styles: */

a, a:visited {
	color:#0196e3;
	text-decoration:none;
	outline:none;
}

a:hover{
	text-decoration:underline;
}

a img{
	border:none;
}

/* Headings: */

h1,h2{
	font-family:'Orbitron',Arial,Sans-Serif;
	text-shadow:0 2px 2px #999966;
}

h1{
	font-size:3em;
	padding:.5em 0 .2em;
	text-transform:uppercase;
}

h3{
	color: #999966;
	font-family: 'Special Elite',Arial,Sans-Serif;
	font-size:2em;
	font-weight:normal;
	margin:0 0 1em;
}


h2{
	font-family: 'Slackey', cursive;
	font-size:2.2em;
	font-weight:normal;
	letter-spacing:0.01em;
	text-transform:uppercase;
	text-shadow: 10px 10px 10px #556655;
}

.line{
	/* The dividing line: */
	height:2px;
	background-color:#999966;
	border-bottom:2px solid #416371;
	margin:1em 0;
	overflow:hidden;
}

article .line{
	/* The dividing line inside of the article is darker: */
	background-color:#999966;
	border-bottom-color:#556655;
	margin:1.3em 0;
}

footer .line{
	margin:2em 0;
}

nav{
	background:url('../images/gradient_light.jpg') repeat-x 50% 50% #f8f8f8;
	padding:0 5px;
	position:absolute;
	right:0;
	top:4em;	
	border:2px solid #999966;
	-moz-box-shadow:0 2px 2px #556655;
	-webkit-box-shadow:0 2px 2px #556655;
	box-shadow:0 2px 2px #556655;
}

/* The clearfix hack to clear the floats: */

.clear:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* The navigation styling: */

nav ul li{
	display:inline;
}

nav ul li a,
nav ul li a:visited{
	color:#565656;
	display:block;
	float:left;
	font-size:1.25em;
	font-weight:bold;
	margin:5px 2px;
	padding:7px 10px 4px;
	text-shadow:0 1px 1px white;
	text-transform:uppercase;
}

nav ul li a:hover{
	color: #999966;
	text-decoration:none;
}

/* Article styles: */

#page{
	max-width:960px;
	min-width: 760px;
	margin:10px auto;
	position:relative;
	background: url('../images/circuit.png') top center repeat-y;	
}

article{
	background: url('../images/article.jpg') repeat;	
	margin:3em 0;
	padding:20px;	
	text-shadow:0 1px 0 #999966;
}

article ul{
	font-size: 1.5em;
	padding: 25px; 
	word-spacing: 2px;
	line-height: 180%;
	
}

.social
{
margin-left:auto;
margin-right:auto;
width:90%;
}

.social img:hover{
	transform: scale(1.5,1.5);
	-ms-transform: scale(1.5,1.5); /* IE 9 */
	-webkit-transform: scale(1.5,1.5); /* Safari and Chrome */
	-o-transform: scale(1.5,1.5); /* Opera */
	-moz-transform: scale(1.5,1.5); /* Firefox */
}

figure{
	border:1px solid #999966;
	float:right;
	height:300px;
	margin-left:15px;
	overflow:hidden;
	width:200px;
	box-shadow: 5px 5px 25px #556655;
}

/* Footer styling: */

footer{
	margin-bottom:30px;
	text-align:center;
	font-size:0.825em;
}


footer p{
	margin-bottom:-2.5em;
	position:relative;
}

footer a,footer a:visited{
	color:#cccccc;
	background-color:#213e4a;
	display:block;
	padding:2px 4px;
	z-index:100;
	position:relative;
}

footer a:hover{
	text-decoration:none;
	background-color:#142830;
}

footer a.by{
	float:left;

}

footer a.up{
	float:right;
}
