body
{
	background-color: #258c8d;
	margin: 0;	
	padding: 0;
	width: 100%;
	font: 19px/22px Helvetica, Arial, sans-serif;
	color: #0a2929;
	text-rendering: optimizeLegibility;
}

a
{
	color: white;
	text-decoration: none;
}
a:hover
{
	text-decoration: underline;
}

header
{
	background-color: #0a2929;
	background-image: url(images/mountains.png);
	background-size: 704px 112px;
	background-position: center bottom;
	background-repeat: no-repeat;
	padding-top: 45px;
	padding-bottom: 60px;
/* 	padding-bottom: 110px; */
	text-align: center;
}

#stars
{
	position: absolute;
	background: url('images/stars1.png') 0% 0% repeat;
	background-size: 476px 478px;	
	width: 100%;
	height: 478px;
	top: 0px;
	opacity: .5;
    -webkit-animation-name: animatedStars;
    -webkit-animation-duration: 40s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;		
    animation-name: animatedStars;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;	
    z-index: 2;
}

#stars2
{
	position: absolute;
	background: url('images/stars2.png') 0% 0% repeat;
	background-size: 453px 467px;
	width: 100%;
	height: 467px;
	top: 0px;
	opacity: .1;
    -webkit-animation-name: animatedStars2;
    -webkit-animation-duration: 60s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;		
    animation-name: animatedStars2;
    animation-duration: 6s0s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;		
    z-index: 1;
}

@-webkit-keyframes animatedStars {
    0% { background-position: 0 0; }
    100% { background-position: -640px 0; }
}

@-webkit-keyframes animatedStars2 {
    0% { background-position: 0 0; }
    100% { background-position: -640px 0; }
}

@keyframes animatedStars {
    0% { background-position: 0 0; }
    100% { background-position: -640px 0; }
}

@keyframes animatedStars2 {
    0% { background-position: 0 0; }
    100% { background-position: -640px 0; }
}

h1
{
	width: 300px;
	height: 145px;
	background-image: url('images/title.svg');
	background-size: 300px 145px;
	background-repeat: no-repeat;
	margin: 20px auto 20px auto;
	padding: 0;
	text-indent: -99999px;	
	color: transparent;
	z-index: 3;
}

h1 a
{
	width: 100%;
	height: 100%;
	display: block;
	position: relative;
	z-index: 3;
}

h2
{
	margin: 0 auto 0 auto;
	text-indent: -99999px;	
	color: transparent;
	z-index: 3;
}
h2#bigBucketPresents
{
	width: 227px;
	height: 29px;
	background-image: url('images/big-bucket-presents.svg');
	background-size: 227px 29px;	
}
h2#subtitle
{
	width: 300px;
	height: 27px;
	background-image: url('images/subtitle.svg');
	background-size: 300px 27px;	
}

#appStoreButton,
#macAppStoreButton
{
	display: inline-y;
	margin-top: 40px;
	text-indent: -99999px;	
	color: transparent;
	z-index: 3;
	position: relative;
}
#appStoreButton
{
	display: inline-block;
	background: url(images/app-store-button.svg);
	background-size: 270px 80px;
	width: 270px;
	height: 80px;
/* 	margin-right: 15px;	 */
}
#macAppStoreButton
{
	background: url(images/mac-app-store-button.svg);
	background-size: 330px 80px;
	width: 330px;
	height: 80px;	
}


#trailer
{
	margin: 30px auto 30px auto;
}

#trailer iframe
{
	width: 300px;
	height: 169px;
	border-radius: 6px;
	background: black;
	margin-bottom: 10px;
}

main
{
	padding-top: 28px;
	background: url(images/desert.png) left top repeat-x;
	background-size: 597px 51px;
}

section, footer
{
	width: 300px;
	margin: 0px auto;
}

#summary
{
	margin: 0px auto 28px auto;
	line-height: 1.5em;
	font-size: 20px;
}

/* Screenshots */

#screenshots
{
	text-align: center;
	margin-bottom: 30px;
}
#screenshots img
{
	border: 4px solid #a4d1d1;
	border-radius: 3px;
	margin: 4px;
	margin-right: 5px;
}

/* Credits */

#credits
{
	margin-bottom: 40px;
}

#credits ul,
#credits li
{
	list-style-type: none;
	padding: 0px;
	margin: 0px;
	font-size: 20px;
	line-height: 30px;
}
#credits li
{
	border-bottom: 2px solid #196c6d;
	margin-bottom: 10px;
}
#credits li a
{
	float: right;
	color: white;
	font-weight: strong;
}
#credits li a:hover
{
	text-decoration: underline;
}

#footer-buy a
{
	display: block;
	border-radius: 6px;
	padding: 20px 20px 20px 20px;	
	background-color: #0a2929;
	font-size: 20px;
	line-height: 32px;
}

#footer-buy .link
{
	text-align: center;
	margin: 0 auto;		
}

#footer-buy a:hover
{
	text-decoration: none;
}

#soundtrack 
{
	margin: 30px auto;
}
#soundtrack a
{
	display: block;
	border-radius: 6px;
	padding: 10px 0px 10px 90px;	
	min-height: 50px;
	background: #0a2929 url(images/soundtrack@3x.png) 10px 10px no-repeat;
	background-size: 70px 70px;
	font-size: 16px;
	line-height: 24px;
}
#soundtrack a:hover
{
	background-color: black;
}
#footer-buy a:hover
{
	background-color: black;
}

.teal
{
	color: #258c8d;
}

ul.blocky
{
	margin: 0px;
	padding: 0px;
}
ul.blocky li
{
	display: block;
	margin: 10px 0px;
	padding-left: 0px;
	padding: 4px 10px;
	border-radius: 6px;
}
ul.blocky li.selected
{
	background: #0a2929;
	color: white;
}

footer .blocky li
{
	padding: 0px;
	margin-bottom: 20px;
	list-style-type: square;
}

footer .blocky li:before
{
	content: '■';
	padding-left: 0px;
	padding-right: 10px;
	margin-left: 0px;
}



/* footer */

footer
{
	margin-top: 60px;
	margin-bottom: 40px;
}


/* Bigger Screens */

@media screen and (min-width: 560px)
{
	section, footer
	{
		width: 560px;
	}
	
	h1
	{
		width: 454px;
		height: 220px;
		background-size: 454px 220px;
	}
	h2#subtitle
	{
		width: 318px;
		height: 29px;
		background-size: 318px 29px;
	}
	
	#trailer iframe
	{
		width: 560px;
		height: 315px;
	}
	
	#credits ul,
	#credits li
	{
		font-size: 26px;
		line-height: 34px;
	}
		
	#soundtrack, #footer-buy
	{
		margin: 30px auto;
		line-height: 30px;
	}

	#footer-buy a
	{
		display: block;
		border-radius: 6px;
		padding: 20px 20px 20px 20px;	
		background-color: #0a2929;
		font-size: 20px;
		line-height: 32px;
	}
	
	#footer-buy .link
	{
		text-align: center;
		margin: 0 auto;		
	}
	
	#footer-buy a:hover
	{
		text-decoration: none;
	}
	
	#soundtrack a
	{
		display: block;
		border-radius: 6px;
		padding: 20px 20px 20px 160px;	
		min-height: 100px;
		background: #0a2929 url(images/soundtrack@3x.png) left top no-repeat;
		background-size: 140px 140px;
		font-size: 20px;
		line-height: 32px;
	}
	
	#soundtrack a:hover
	{
		text-decoration: none;
	}
	
	ul.blocky li
	{
		display: inline-block;
		margin-right: 20px;
		margin-top: 0px;
		clear: none;
	}
	
	footer ul.blocky
	{
		text-align: center;
	}
	
	footer .blocky li
	{
		padding: 0px;
		margin-bottom: 0px;
	}
	footer .blocky li:after
	{
		content: '■';
		padding-left: 25px;
		padding-right: 0px;
	}
	footer .blocky li:last-child:after
	{
		content: '';
		padding-left: 0px;
	}
	footer .blocky li:before
	{
		content: '';
		padding: 0px;
	}
}

/* retina */

@media screen and (-webkit-device-pixel-ratio: 2)
{
	header
	{
		background-image: url(images/mountains@3x.png);
	}
	
	main
	{
		background-image: url(images/desert@3x.png);
	}
}