/**********************************
CS 1C Final Project
William Bauer
December 6, 2012
**********************************/


/**********************************
Layout Containers
**********************************/
body { 
	background: black url('img/black_noise.png') repeat; 
}

#topbar {
	width: 100%;
	position: relative;
	min-height: 8em;
	background: #990000 url('img/red_noise.png') repeat;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
}

#wrapper {
	position: absolute;
	width: 100%;
	top: 0px;
	left: 0px;
}

#nav {
	float: left;
	margin-top: 3.5em;
}

#content {
	position: relative;
	margin: 0 auto;
	width: 80%;
	min-height: 40em;
	padding-left: 1em;
	padding-right: 1em;
	background: white;
	border-radius: 2em;
	opacity: 0.75;
}

#footer {
	width: 100%;
	clear: both;
	position: relative;
	min-height: 10em;
	background: #990000 url('img/red_noise.png') repeat;
}


/**********************************
Typography
**********************************/


h1 {
	padding: 0.3em;
	font-family: Georgia, Sans-Serif;
}

a {
	font-family: Sans-Serif;
	font-size: 1.2em;
	text-decoration: none;
	color: #393939;
	-webkit-transition: color 0.75s ease;
	-moz-transition: color 0.75s ease;
	-o-transition: color 0.75s ease;
}

table {
	font-family: Sans-Serif;
	font-size: 1.2em;
	-webkit-transition: color 0.75s ease;
	-moz-transition: color 0.75s ease;
	-o-transition: color 0.75s ease;
}

table th {
	border: 1px dotted;
	text-align:center;
	padding: 0.5em;
}

table td {
	border: 1px dotted;
	text-align:left;
	padding: 0.5em;
}

a:hover {
	color: #FF3300;
}

#content p {
	max-width: 30em;
	font-size: 1.3em;
	line-height: 1.5em;
	font-family: Sans-Serif;
	padding: 0.5em
}

#content span {
	max-width: 30em;
	font-size: 1.3em;
	line-height: 1.5em;
	font-family: Sans-Serif;
	padding: 0.5em
}

#content li {
	max-width: 30em;
	font-size: 1.3em;
	font-family: Sans-Serif;
}

#content li a {
	font-size: 1em;
}

#copyright {
	font-family: Sans-Serif;
	font-size: 1em;
	color: white;
	padding-right: 3.5em;
	float: right;
	-webkit-transition: color 0.75s ease;
	-moz-transition: color 0.75s ease;
	-o-transition: color 0.75s ease;
}

#copyright a {
	font-family: Sans-Serif;
	font-size: 1em;
	text-decoration: none;
	color: white;
	-webkit-transition: color 0.75s ease;
	-moz-transition: color 0.75s ease;
	-o-transition: color 0.75s ease;
}

#nav a {
	font-family: Sans-Serif;
	font-size: 2em;
	text-decoration: none;
	color: white;
	-webkit-transition: color 0.75s ease;
	-moz-transition: color 0.75s ease;
	-o-transition: color 0.75s ease;
}

#nav a:hover {
	color: #FF3300;
}

.navhome {
	margin-left: 1em;
}

.navitem {
	margin-left: 1em;
}


/**********************************
Images
**********************************/
#name-logo img {
	height: 5em;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	margin-right:2em;
	float: right;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
}

#navexpand {
	height: 1em;
	margin-top: 0.25em;
	margin-left: 0.75em;
	float: right;
	display: none;
}

/**********************************
Media Queries
**********************************/

@media screen and (max-width: 1350px)
{
	#nav a {
		font-size: 1.5em;
	}
	
	#name-logo img {
		height: 4.5em;
		margin-top: 1.2em;
		margin-bottom: 1.2em;
		margin-right:2em;
	}
	
	#topbar {
		min-height: 7em;
	}
	
	#nav {
		margin-top: 3em;
	}
}

@media screen and (max-width: 1100px)
{
	#nav a {
		font-size: 1.2em;
	}	
	
	#name-logo img {
		height: 4em;
		margin-top: 1em;
		margin-bottom: 1em;
		margin-right:1.5em;
	}
	
	#topbar {
		min-height: 6em;
	}
	
	#nav {
		margin-top: 2.5em;
	}
}

@media screen and (max-width: 900px)
{
	#nav a {
		font-size: 1em;
	}
	
	.navitem {
		margin-left: .7em;
	}
		
	#name-logo img {
		height: 3em;
		margin-top: 1em;
		margin-bottom: 1em;
		margin-right:1em;
	}
	
	#topbar {
		min-height: 5em;
	}
	
	#nav {
		margin-top: 2em;
	}
}

@media screen and (max-width: 750px)
{
	#nav a {
		font-size: 2em;
	}
	
	#navexpand {
		/*display: block;*/
	}
	
	.navitem {
		display:none;
	}
	
	#nav {
		margin-top: 1.75em;
	}
}
