* {
	padding:0;
	margin:0;
}

body {
	text-align: center;
		color:#666;
	font-family: myriad pro;
	
background: #f2f2f2; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover,  #f2f2f2 0%, #e8e8e8 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#f2f2f2), color-stop(100%,#e8e8e8)); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover,  #f2f2f2 0%,#e8e8e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover,  #f2f2f2 0%,#e8e8e8 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover,  #f2f2f2 0%,#e8e8e8 100%); /* IE10+ */
background: radial-gradient(ellipse at center,  #f2f2f2 0%,#e8e8e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#e8e8e8',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */
	
}
#gameStats{
background: #f2f2f2; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover,  #f2f2f2 0%, #e8e8e8 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#f2f2f2), color-stop(100%,#e8e8e8)); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover,  #f2f2f2 0%,#e8e8e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover,  #f2f2f2 0%,#e8e8e8 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover,  #f2f2f2 0%,#e8e8e8 100%); /* IE10+ */
background: radial-gradient(ellipse at center,  #f2f2f2 0%,#e8e8e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#e8e8e8',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */


	width: 780px;
	margin: 20px auto 20px;
	display: block;
	-moz-box-shadow: 0px 3px 8px #000;
	box-shadow: 0px 3px 8px #000;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 10px;
	overflow: auto;
}

#gameStats p#timer{
	width: 200px;
	float: left;
	text-align: left;
	font-family: myriad pro;
	padding: 0 0 0 10px;
}
#gameStats p#reset{
	width: 200px;
	float: right;
	text-align: right;
	padding: 0 10px 0 0;
	}

#gameStats .gameReset{
	width: 200px;
	float: right;
	text-align: right;
	font-family: myriad pro;
	padding: 0 10px 0 0;
	color:#666;
	text-decoration:none;
	display:block;
}

#game {
background: #f2f2f2; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover,  #f2f2f2 0%, #e8e8e8 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#f2f2f2), color-stop(100%,#e8e8e8)); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover,  #f2f2f2 0%,#e8e8e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover,  #f2f2f2 0%,#e8e8e8 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover,  #f2f2f2 0%,#e8e8e8 100%); /* IE10+ */
background: radial-gradient(ellipse at center,  #f2f2f2 0%,#e8e8e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#e8e8e8',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */


	width: 760px;
	height: 470px;
	margin: 0 auto;
	display: block;
	-moz-box-shadow: 0px 3px 12px #000;
	-webkit-box-shadow: 0px 3px 12px #000;
	box-shadow: 0px 3px 12px #000;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 20px;
}

#cards {
	position: relative;
	width: 760px;
	height: 480px;
	display: none;
}
/* Define the 3D perspective view and dimension of each card. */
.card {
	-webkit-perspective: 600;
	width: 109px;
	height: 145px;
	position: absolute;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	transition: all .3s;
	cursor: pointer;
}

#gameIntro {
	background:url(../images/startpage.jpg) top left no-repeat;
	padding: 80px 0;
	text-align: center;
	height: 330px;
}

#gameIntro a.button {

	border-radius: 5px;
	display: block;
	font-size: 30px;
	margin: 230px auto 0;
	padding: 10px;
	width: 150px;
	border: 3px solid #330000;
		background: #fee3ab;color:#330000;
	text-decoration:none;
}

#gameIntro a.button:hover {
	background:#330000;
	color:#fee3ab;
	text-decoration:none;
}


#gameComplete {
	background:url(../images/endpage.jpg) top left no-repeat;
	padding: 80px 0;
	text-align: center; 
	height: 330px;
}

#gameComplete a.button {
	border-radius: 5px;
	display: block;
	font-size: 30px;
	margin: 50px auto 0;
	padding: 10px;
	width: 150px;
	border: 5px solid #330000;
	background: #fee3ab;
	color:#330000;
	text-decoration:none;
}

#gameComplete a.button:hover {
	background:#330000;
	color:#fee3ab;
	text-decoration:none;
}

#gameComplete p#top {
	margin: 200px 0 0;
	font-size: 20px;
	color:#fee3ab;
}

.face {
	width: 100%;
	height: 100%;
	position: absolute;
	-webkit-transition-property: opacity, transform, box-shadow;
	-webkit-transition-duration: .3s;
	-webkit-backface-visibility: hidden;
	
		-moz-transition-property: opacity, transform, box-shadow;
	-moz-transition-duration: .3s;
	-moz-backface-visibility: hidden;
	
		-ms-transition-property: opacity, transform, box-shadow;
	-ms-transition-duration: .3s;
	-ms-backface-visibility: hidden;
	
		-o-transition-property: opacity, transform, box-shadow;
	-o-transition-duration: .3s;
	-o-backface-visibility: hidden;
}

.front {
	background: url(../images/deck.jpg) 0 -146px;
	z-index: 10;
}
.back {
	background: #efefef url(../images/deck.jpg);
	-webkit-transform: rotate3d(0,1,0,-180deg);
	
		-moz-transform: rotate3d(0,1,0,-180deg);
		
			-ms-transform: rotate3d(0,1,0,-180deg);
			
				-o-transform: rotate3d(0,1,0,-180deg);
	z-index: 8;
}
.card:hover .face, .card-flipped .face {
	-webkit-box-shadow: 0 0 10px #aaa;
	
		-moz-box-shadow: 0 0 10px #aaa;
		
			-ms-box-shadow: 0 0 10px #aaa;
			
				-o-box-shadow: 0 0 10px #aaa;
}
.card-flipped .front {
	-webkit-transform: rotate3d(0,1,0,180deg);
	
		-moz-transform: rotate3d(0,1,0,180deg);
		
			-ms-transform: rotate3d(0,1,0,180deg);
			
				-o-transform: rotate3d(0,1,0,180deg);
	z-index: 8;
}
.card-flipped .back {
	-webkit-transform: rotate3d(0,1,0,0deg);
	
	-moz-transform: rotate3d(0,1,0,0deg);
	
	-ms-transform: rotate3d(0,1,0,0deg);
	
	-o-transform: rotate3d(0,1,0,0deg);
	
	z-index: 10;
}
.card-removed {
	opacity: 0;
}

.blueDino {background-position: 0 0;}
.brownDino {background-position: -110px 0;}
.redDino {background-position: -220px 0;}
.greenDino {background-position: -330px 0;}
.purpDino {background-position: -440px 0;}
.burgDino {background-position: -550px 0;}
.orangeDino {background-position: -660px 0;}
.purp2Dino {background-position: -770px 0;}
.pinkDino {background-position: -880px 0;}


#linkBack a.button {

	border-radius: 5px;
	display: block;
	font-size: 30px;
	margin: 30px auto 0;
	padding: 10px;
	width: 250px;
	border: 3px solid #330000;
	background: #fee3ab;
	color:#330000;
	text-decoration:none;
}

#linkBack a.button:hover {
	background: #330000;
	color:#fee3ab;
	text-decoration:none;
}
