/* PARALLAX SCROLLING EXPERIMENT
   Master Styles
   Author: Jonathan Nicol (f6design.com)
*****************************************************************/


/* Global reset
   http://meyerweb.com/eric/tools/css/reset/
*****************************************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Extended base styles (site specific)
*****************************************************************/

html {
	overflow-y: scroll; /* always force a scrollbar in non-IE */
	}
body {
	background: rgb(242, 247, 250);
	overflow-x: hidden;
	height: 4250px;
	line-height: 1.5;
	color: #000;
	font-size: 14px;
	font-family: Arial,sans-serif;
}
h1 {
	color: #21a97e;
}
a, a:link,
a:active,
a:visited {
	-webkit-transition: color 0.25s ease-out;
	-moz-transition: color 0.25s ease-out;
	-o-transition: color 0.25s ease-out;
	transition: color 0.25s ease-out;
	color:#21a97e;
	outline: none;
	text-decoration:none;
	}
	a:hover {
		color:#000;
		}
img {
	display:block;
	}
p {
	margin:1em 0;
	}

/* Common shared styles
*****************************************************************/

hr {
	margin: 0;
	border: none;
	border-top: 1px solid #3b3b3b;
	border-bottom: 1px solid #3b3b3b;
	height: 3px;
}

/* Page structure
*****************************************************************/

#wrapper {
	position: relative;
}
#branding {
	width: 100%;
	background: #fff;
	}
	#branding h1 {
		width: 940px;
		padding: 10px 15px;
		margin: 0 auto;
		text-transform: uppercase;
		font-size: 18px;
		font-weight: bold;
		}

/* Nav
*****************************************************************/

nav#primary {
	z-index: 5;
	position: fixed;
	top: 40%;
	right: 16px;
	margin-top: -40px;
}


nav#primary{
	list-style: none;
	position: fixed;
	right: 0px;
	background: rgba(242, 252, 255, .2);
	border-radius: 8px;

}

nav#primary li{
	margin: 0 0 15px 0;
}

nav#primary li:selection{
	background-color:orange;
}

nav#primary li a{
	display: block;
	width: 100px;
	font-family: Helvetica;
	font-size:12px;
	text-transform: uppercase;
	font-weight:bold;
	height: 20px;
	/*border-radius: 5px;*/
	/*background: rgba(33,169,126,0.3);*/
	text-decoration: none;
	color:#333;
	padding:3px;
}

nav#primary li a:hover{
	color:#666;
	background-color:rgb(232, 247, 255);
}


/* Parallax
*****************************************************************/

/* content */
#content {
	z-index: 4;
	position: relative;
	max-width: 1000px;
	padding: 0 10px;
	margin: 0 auto;
	line-height: 1.7;
	}
	#content article {
		width: 450px;
		}
		#intro-art ,
		#experience-art,
		#projects-art,
		#about,#contact {
			padding-top: 105px;
			}


		#intro-art {
			position: absolute;
			top: 0px;
			}
		#experience-art {
			position: absolute;
			top: 620px;
			}
		#projects-art {
			position: absolute;
			top: 1800px;
			}
			#content h1 {
				margin: 0 0 25px 0;
				font-size: 60px;
				font-family: Georgia, serif;
				font-weight: normal;
				line-height: 65px;
				}
		#about {
			position: absolute;
			top: 2800px;
			}
		#contact {
			position: absolute;
			top: 3760px;
			}

#content article#experience-art {
			width:600px;
			}
#content article#projects-art {
			width:600px;
			right:0;
			}

#content article#about {
			width:1000px;
			left:0;
			}
#content article#contact {
			width:800px;
			left:0;
			}

/* foreground (ballons/landscape) */
#parallax-bg3 {
	z-index: 3;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 940px;
	margin-left: -470px; /* move left by half element's width */
	}
	/* balloon */
	#bg3-1 {
		position: absolute;
		top: 20px;
		left: 455px;
		}
	#bg3-2 {
		position: absolute;
		top: 600px;
		left: 540px;
		}
	#bg3-3 {
		position: absolute;
		top: 1550px;
		left: -180px;
		}
	#bg3-4 {
		position: absolute;
		top: 2700px;
		left: -85px;
		}
/* midground (clouds) */
#parallax-bg2 {
	z-index: 2;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 1200px;
	margin-left: -600px; /* move left by half element's width */
	}
	#bg2-1 {
		position: absolute;
		top: 162px;
		left: 200px;
		}
	#bg2-2 {
		position: absolute;
		top: 300px;
		left: 1150px;
		}
	#bg2-3 {
		position: absolute;
		top: 543px;
		left: -35px;
		}
	#bg2-4 {
		position: absolute;
		top: 1180px;
		left: 250px;
		}
	#bg2-5 {
		position: absolute;
		top: 900px;
		left: 890px;
		}
/* background (clouds) */
#parallax-bg1 {
	z-index: 1;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 1200px;
	margin-left: -600px; /* move left by half element's width */
	}
	#bg1-1 {
		position: absolute;
		top: 85px;
		left: -270px;
		}
	#bg1-2 {
		position: absolute;
		top: 440px;
		left: 795px;
		}
	#bg1-3 {
		position: absolute;
		top: 900px;
		left: -220px;
		}

.block, .block1, .block3{
	width:140px;
	background:rgb(134, 197, 255);
	opacity:.6;
	font-family:"Century Gothic", "Proxima Nova Light", 'Helvetica Neue', Arial, Helvetica, sans-serif;
	font-size:15px;
	float:left;
	margin: 10px;
	padding:10px;
	height:100px;
	cursor: pointer;
	position:relative;
}

.block1{
	background: rgb(97, 187, 97);
}

.c1{
	background: rgb(255, 129, 129);
}

.c2{
	background: rgb(252, 195, 91);
}

.c3{
	background: rgb(97, 187, 97);
}

.c4{
	background: rgb(175, 175, 218);
}

.c5{
	background: rgb(239, 252, 147);
}
.block3{
	cursor:auto;
}


.block-info,.block1-info{
	font-family:"Century Gothic", 'Helvetica Neue', Arial, Helvetica, sans-serif;
	clear:both;
	display:none;
	color:black;
	width:510px;

	padding:10px;
	background: rgb(0, 0, 0) transparent;
	/* RGBa with 0.6 opacity */
	background: rgba(255, 255, 255, 0.4);
	/* For IE 5.5 - 7*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
	/* For IE 8*/
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";

	-moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
}

.block span, .block1 span, .block3 span{
	position: absolute;
	right:5px;
	bottom:0;
	font-size:11px;
	padding-top:8px;
}


.block-info h2, .block1-info h2{
  font: 400 40px/1.5 Helvetica, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

.block-info ul, .block1-info ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.block-info li, .block1-info li{
  font: 200 14px/1.5 "Century Gothic", Verdana, sans-serif;
  padding-bottom: 10px;
  padding-top: 10px;
  border-bottom: 1px solid #ccc;
  -webkit-transition: font-size 0.3s ease, background-color 0.3s ease;
  -moz-transition: font-size 0.3s ease, background-color 0.3s ease;
  -o-transition: font-size 0.3s ease, background-color 0.3s ease;
  -ms-transition: font-size 0.3s ease, background-color 0.3s ease;
  transition: font-size 0.3s ease, background-color 0.3s ease;
}

.block-info li:last-child, .block1-info li:last-child{
  border: none;
}


.block-info li:hover, .block1-info li:hover{
  /*color:grey;*/
  background: rgb(255, 252, 247);
}

.tag{
	background:rgb(166, 192, 238);
	display:inline-block;
	border-radius:3px;
	padding:2px;
	margin:5px;
	opacity:0.5;
	text-align:center;
}

.bg-img{
	opacity:0.08
}
.bg-img-1{
	opacity:0.08
}
