/*

How Many People Are In Space Right Now?

Copyright 2012-2014, Brad Eshbach. All rights reserved.

*/



/*  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; }
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; }
/*  CLEAR FIX  */
.cf:before, .cf:after { content: " "; display: table; }
.cf:after { clear: both; }
.cf { *zoom: 1; }



/*  GLOBAL  */
body { -webkit-text-size-adjust: none; }
#container{ width: 100%; height: 100%; cursor: pointer; }
#top{
	background: url('../images/earth.jpg') no-repeat center bottom;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-color: #000;
	position: relative;
	border: 10px solid #efefef;
	text-align: center;
	overflow: hidden;
}
.texture {
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	background-image: url('../images/pattern.png');
}
h1 {
	font-family: ff-enzo-web, helvetica, sans-serif;
	font-size: 600px;
	color: white;
	opacity: 0.0;
	filter: alpha(opacity = 0);
	transition: opacity 1s;
	-moz-transition: opacity 1s;
	-webkit-transition: opacity 1s;
	text-shadow: 0px 0px 20px #262c3c;
    filter: dropshadow(color=#262c3c, offx=0, offy=0);
}
#download {
	color: white;
	cursor: pointer;
	position: absolute;
	margin: 30px;
	padding: 10px 18px;
	right: 0px;
	z-index: 999999;
	font-family: ff-enzo-web, helvetica, sans-serif;
	font-size: 15px;
	letter-spacing: 1px;
	border: 1px solid white;
	text-transform: uppercase;
	opacity: .75;
	transition: opacity 0.35s linear;
	-webkit-transition: opacity 0.35s linear;
}
#download:hover {
	opacity: 1.0;
	background-color: #333;
	transition: opacity 0.35s linear;
	-webkit-transition: opacity 0.35s linear;

}

/*  LISTING  */
#listing { background-color: white; padding: 15% 22%; }
	#listing a{ text-decoration: none; }
	.item { padding: 72px 0; border-top: 1px dashed #b3b3b3; }
	#listing a:first-child div { border-top: none; padding-top: 0px; }
		.flag {
			width: 25px;
			height: 13px;
			float: left;
			margin-right: 20px;
			-webkit-box-shadow:  1px 1px 3px 1px #cccccc;
			box-shadow:  1px 1px 3px 1px #cccccc;
		}
		.item .person-name {
			width: 70%;
			float: left;
		}
		.item .person-days {
			width: 30%;
			float: right;
			text-align: right;
		}
			h2 { /*  Name  */
				font-family: ff-enzo-web, helvetica, sans-serif;
				font-weight: 300;
				color: #000;
				font-size: 40px;
				padding-bottom: 12px;
			}
			h3 { /*  Title  */
				font-family: ff-enzo-web, helvetica, sans-serif;
				font-weight: 600;
				font-size: 16px;
				color: #757575;
				padding-top: 0px;
			}
			h4 { /*  Days */
				font-family: ff-enzo-web, helvetica, sans-serif;
				font-weight: 300;
				color: #000;
				font-size: 40px;
				padding-bottom: 6px;

			}
			.item p {
				font-family: ff-enzo-web, helvetica, sans-serif;
				font-weight: 600;
				font-size: 18px;
				color: #757575;
				text-transform: uppercase;
				padding-top: 3px;
			}

/*  APP DOWNLOAD  */
#app {
	background-image: url('../images/back.jpg');
	background-size: cover;
	padding: 8% 22%;
}
#app-photo {
	float: left;
	margin-top: -170px;
	margin-right: 60px;
}
h5 {
	font-family: ff-enzo-web, helvetica, sans-serif;
	font-weight: 100;
	color: white;
	font-size: 32px;
	padding-top: 20px;
	padding-bottom: 8px;
	letter-spacing: 2px;
}
#app p{
	font-family: ff-enzo-web, helvetica, sans-serif;
	font-weight: 300;
	color: #5a9dd9;
	font-size: 20px;
	letter-spacing: 1px;
}
#app-store {
	padding-top: 50px;
	display: block;
}

/*  FOOTER  */
#footer { padding: 15% 22%; background-color: #000; }
	#social { margin-bottom: 80px; }
	#social a {
		opacity:0.8;
		filter:alpha(opacity=80);
		transition: opacity 0.5s;
		-moz-transition: opacity 0.5s;
		-webkit-transition: opacity 0.5s;
	}
	#social a.socialist { margin-right: 60px; width: 32px; float: left;}
	#social a:hover { opacity: 1.0; filter: alpha(opacity=100); }
	#social a img{ width: 32px; }
	#footer p, #footer p a{
		font-family: helvetica, arial, sans-serif;
		font-size: 16px;
		color: #797979;
		line-height: 1.2;
	}
	#footer p span { text-transform: uppercase; font-weight: bold; }
	#footer p a:hover {
		text-decoration: none;
		background: #5a9dd9;
		color: white;
	}
	#footer p.photo-credit { padding-bottom: 46px; }
	#footer p.copyright {
		font-size: 12px;
		color: #757575;
		margin-top: 10px;
	}

/*  Media Queries  */
@media screen and (max-width: 700px){
	h1 { font-size: 200px; }
	#listing { padding: 22% 15%; }
		h2{ font-size: 36px; font-weight: 300;}
		.item { padding: 44px 0; }
		.item .person-days, .item .person-name {
			float: left;
			width: 100%;
			text-align: left;
		}
		.item .person-name{ margin-bottom: 20px; }
		h4{
			font-size: 22px;
			color: #000;
			display: inline;
			padding-right: 6px;
		}
		.item p { font-size: 14px; display: inline; }
	#app { padding: 22% 15%; }
	#app-photo { display: none; }
	#app-description { padding: 0; margin: 0;}

	#footer { padding: 22% 15%; }
	#social a.socialist  {float: none;}
}
