@charset "utf-8";
/* CSS Document */

/* CSS Reset */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}

main {
	display: block;
}

* {
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;	
}

/* general style */
@font-face {
    font-family: 'exo_2regular';
    src: url('../fonts/Exo2-Regular-webfont.eot');
    src: url('../fonts/Exo2-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Exo2-Regular-webfont.woff') format('woff'),
         url('../fonts/Exo2-Regular-webfont.ttf') format('truetype'),
         url('../fonts/Exo2-Regular-webfont.svg#exo_2regular') format('svg');
    font-weight: normal;
    font-style: normal;
  }

body {
	font-family: "exo_2regular", Arial, sans-serif;	
}

h1 {
	font-family: 'Freckle Face', cursive;
	font-weight: bold;
	font-size: 5em;
	padding-top: 50px;
	padding-bottom: 30px;
	text-align: center;	
	color: #F5F5F5;
	text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
}

#background {
	background: #19388A url('../images/bg_original.png');
	background-position: 0px 0px;
	-webkit-animation: animatedBackground 40s linear infinite;
	animation: animatedBackground 40s linear infinite;
}

@-webkit-keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position: 100% 0; }
}

@keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position: 100% 0; }
}

.ship {
	 position: absolute;
	 left: 46%;
	 top: 40%;
}

.ship img{
	position: absolute;
	 -webkit-animation: shake infinite .3s;
	 animation: shake infinite .3s;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes shake {
    0%   {bottom:0px; top:0px;}
    25%  {bottom:2px; top:0px;}
    50%  {bottom:2px; top:2px;}
    75%  {bottom:0px; top:2px;}
    100% {bottom:0px; top:0px;}
}

/* Standard syntax */
@keyframes shake {
    0%   {bottom:0px; top:0px;}
    25%  {bottom:2px; top:0px;}
    50%  {bottom:2px; top:2px;}
    75%  {bottom:0px; top:2px;}
    100% {bottom:0px; top:0px;}
}
/* end general styles */

/* header styles */

header,
footer {
	margin: 0 auto;
	position: relative;	
}

.container {
	margin: 0 auto;
	display: -webkit-flex;
    display: flex;
    -webkit-align-content: space-between;
    align-content: space-between;
    max-width: 1700px;
}

.display {
	position: relative;
	margin-left: 10%;
}

.btn_play_and_reset {
	width: 200px;
	margin-left: 25%;
	margin-top: 40%;
	background: url(../images/button_play.png) no-repeat;
	text-align: center;
	line-height: 67px;
	letter-spacing: 10px;
	color:#19388A;
	font-size: 2.5rem;
	cursor: pointer;
	padding: 3px;
	font-family: 'Freckle Face';
	z-index: 1;
}

.btn_play_and_reset:hover{
	cursor: pointer;
	-ms-transform: scale(0.9);
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}

.menu {
	width: 300px;
	height: 400px;
	top:200px;
	text-align: left;
	background: url(../images/menu.png) no-repeat;
	position: absolute;

}

.output_turns {
	position: absolute;
	top: 53px;
	left: 50px;
	padding: 5% 0%;
	text-align: center;
	font-weight: bold;
	font-size: 1.5rem;	
	display: block;
}

.output_matched {
	position: absolute;
	top: 150px;
	left: 34px;
	padding: 5% 0%;
	text-align: center;
	font-weight: bold;
	font-size: 1.5rem;	

}


.output_turns h2,
.output_matched h2 {
	display: inline;
	text-align: center;
	font-weight: bold;
	font-size: 25px;
	margin-bottom: 30px;
	color: #19388A;
	text-shadow: 2px 2px 4px #f0f0f0;

}

.output_turns p,
.output_matched p {
	display: block;
	color: #19388A;
	padding-left: 10px;
	text-shadow: 2px 2px 4px #f0f0f0;
	margin-top: 28px;
	
}

.footer_notes {
	position: absolute;
	top: 335px;
	left: 34px;
	padding: 7%;
	text-align: center;
	font-weight: bold;
	line-height: 1.4;
	font-family: "exo_2regular", Arial, sans-serif;	
	color: #F5F5F5;
	text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
}

.footer_notes a {
	color: #E67A7A;
}

/* ------------------ */



/* Ggme board styles */
.no_game_board, .endBox {
	opacity: 0;
	-webkit-transition: opacity 3s ease;
	transition: opacity 3s ease;
	-ms-transform: translate(0px, 700px);
	-webkit-transform: translate(0px, 700px);
	transform: translate(0px, 700px);	
	display: none;
}

.game_board {
	width: 790px;
	margin: 90px auto 0;
	border: 5px solid rgba(255, 255, 255, 0.5);
	border-radius: 6px;
	-webkit-transition: all 1s ease, opacity .75s ease;
	transition: all 1s ease, opacity .75s ease;
	z-index: 9999;
}

.row {
	height: 131px;
	border-top: 1px solid #E7E5E5;	

}

.row_01 {
	border-top: none;
	height: 130px;	
}

.row_01 .col:nth-of-type(odd),
.row_03 .col:nth-of-type(odd),
.row_05 .col:nth-of-type(odd) {
	background-color: rgba(255, 255, 255, 0.5);	

}

.row_01 .col:nth-of-type(even),
.row_03 .col:nth-of-type(even),
.row_05 .col:nth-of-type(even) {
	background-color: rgba(255, 255, 255, 0.5);	
}

.row_02 .col:nth-of-type(odd),
.row_04 .col:nth-of-type(odd),
.row_06 .col:nth-of-type(odd) {
	background-color: rgba(255, 255, 255, 0.5);
}

.row_02 .col:nth-of-type(even),
.row_04 .col:nth-of-type(even),
.row_06 .col:nth-of-type(even) {
	background-color: rgba(255, 255, 255, 0.5);
}

.col {
	width: 130px;
	height: 130px;
	border-left: 1px solid #E7E5E5;
	float: left;	
}

.col_01 {
	border-left: none;	
}



/* footer styles */

.asteroid {
	width: 790px;
	height: 600px;
	margin: 0 auto;
	padding-top: 170px;
	/*overflow: hidden;*/
	padding-left: 200px;
	position: relative;
	-webkit-animation-duration: 1.3s;
    -webkit-animation-delay: 2s;
    -webkit-animation-iteration-count: infinite;
   	animation-duration: 1.3s;
    animation-delay: 2s;
    animation-iteration-count: infinite;
}

.awesome_p {
	width: 100%;
	color: #F5F5F5;
	text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
	font-size: 2.5em;
	padding-left: 215px;
	line-height: 1.5;
}

.end {
	width: 50%;
	margin-left: 25%;
	text-align: center;
	-webkit-transition: all 2s ease;
	transition: all 2s ease;
	position: relative;
	top: -80px;
}

.hide {
	opacity: 0;
	-webkit-transition: opacity 3s ease;
	transition: opacity 3s ease;
	-ms-transform: translate(0px, 700px);
	-webkit-transform: translate(0px, 700px);
	transform: translate(0px, 700px);	
	display: none;
}

.rotateIn {
	position: absolute;
	top: 28%;
	left: 34%;
}

.pulse {
	position: absolute;
	top: 22%;
	left: 66%;
	-webkit-animation-duration: 0.5s;
	animation-duration: 0.5s;
}

.bounce {
	position: absolute;
	top: 40%;
	left: 50%;
	z-index: 2;
}

.hideEndMsg {
	opacity: 0;
	height: 0;
	-webkit-transition: all 2s ease;
	transition: all 2s ease;
	-ms-transform: translate(0px, 700px);
	-webkit-transform: translate(0px, 700px);
	transform: translate(0px, 700px);
	overflow: hidden;
}