html, body {
	margin: 0;
	padding: 0;
	font-family: 'PT Sans Narrow', "Helvetica Neue", Arial, sans-serif;
	background: #ECEFF3;
}

*, *:before, *:after {
  	-webkit-box-sizing: border-box; 
  	-moz-box-sizing: border-box;    
  	box-sizing: border-box; 
}

.container {
	width: 540px;
	margin: 0 auto;
	padding: 20px;
}

header {
	width: 100%;
	padding: 10px 20px;
}

header:after {
	content: " ";
	display: table;
	clear: both;
}

.logo {
	float: left;
	font-family: 'Press Start 2P', cursive;
	font-size: 18px;
	line-height: 18px;
	text-transform: uppercase;
	color: #1F77B3;
	text-shadow: rgb(0, 0, 0) 1px 1px,
    rgb(0, 0, 0) 2px 2px,
    rgb(0, 0, 0) 3px 3px,
    rgb(0, 0, 0) 4px 4px,
    rgb(0, 0, 0) 5px 5px,
    rgb(0, 0, 0) 6px 6px,
    rgb(0, 0, 0) 7px 7px,
    rgb(0, 0, 0) 8px 8px,
    rgb(0, 0, 0) 9px 9px,
    rgb(0, 0, 0) 10px 10px,
    rgb(0, 0, 0) 11px 11px,
    rgb(0, 0, 0) 12px 12px,
    rgb(0, 0, 0) 13px 13px,
    rgb(0, 0, 0) 14px 14px;
}

.new-game, .new-game:focus {
	padding: 5px 7px;
	margin: 0 20px;
	border-radius: 3px;
	border: 2px solid #1F77B3;
	color: #1F77B3;
	background: transparent;
	outline: 0;
	font-size: 10px;
	line-height: 10px;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-transition: all .5s ease-out;
  	-moz-transition: all .5s ease-out;
  	-o-transition: all .5s ease-out;
  	transition: all .5s ease-out;
}

.new-game:hover {
	background: #1F77B3;
	color: #fff;
}

.score {
	font-family: 'Press Start 2P', cursive;
	min-width: 80px;
	background: #f34d4d;
	border-radius: 10px;
	padding: 7px 15px;
	text-align: center;
	float: right;
	font-size: 22px;
	line-height: 40px;
	color: #fff;
	position: relative;
}

.add-score, .add-time {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	font-size: 12px;
	color: #027945;
	-webkit-animation: plus .5s infinite; 
  	-moz-animation:    plus .5s infinite; 
  	-o-animation:      plus .5s infinite; 
  	animation:         plus .5s infinite; 
}

.add-time {
	font-size: 10px;
}

.score .title {
	font-size: 12px;
	line-height: 12px;
}

.time {
	float: right;
	margin-right: 15px;
	font-family: 'Press Start 2P', cursive;
	font-size: 11px;
	color: #f34d4d;
	text-align: center;
	position: relative;
}

.game-block {
	text-align: center;
}

.how {
	font-family: 'Press Start 2P', cursive;
	font-size: 24px;
	color: #914330;
}

.table {
	width: 100%;
	display: inline-block;
	background: #745252;
	border-radius: 5px;
	padding: 3px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.row {
	width: 100%;
}

.row:after {
	content: " ";
	display: table;
	clear: both;
}

.cell {
	float: left;
	border: 3px solid #745252;
	border-radius: 5px;
	background: #f5f5f5;
	font-size: 13px;
	text-align: center;
	cursor: pointer;
	position: relative;
}

.error {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #f34d4d;
	opacity: 0;
}

.life img {
	width: 90%;
	margin-top: 35%;
}

.popup {
	font-family: 'Press Start 2P', cursive;
	font-size: 30px;
	text-align: center;
	color: #fff;
	padding-top: 50px;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #f34d4d;
	opacity: 0;
	z-index: -1;
}

.popup span {
	display: block;
}

.popup a, .popup p {
	color: #fff;
	font-size: 14px;
}

.popup p {
	margin-top: 30px;
}

footer {
	margin-top: 50px;
	text-align: center;
	color: #333;
	font-size: 13px;
}

footer img {
	vertical-align: middle;
}

footer a {
	color: #333;
}

.zappy {
	text-decoration: none;
}

footer span {
	margin-left: 10px;
}


@-webkit-keyframes plus {
  0%   { opacity: 0; bottom: 0;}
  100% { opacity: 1; bottom: 100%;}
}
@-moz-keyframes plus {
  0%   { opacity: 0; bottom: 0;}
  100% { opacity: 1; bottom: 100%;}
}
@-o-keyframes plus {
  0%   { opacity: 0; bottom: 0;}
  100% { opacity: 1; bottom: 100%;}
}
@keyframes plus {
  0%   { opacity: 0; bottom: 0;}
  100% { opacity: 1; bottom: 100%;}
}

