* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}



body {
  height: 100vh;
  /*display: flex;*/
  background: #060AB2;
	color: white;
	font-family: "architects-daughter";
	font-size: 16px;
	cursor : pointer;
	
}

.form-inline {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}


.GameInfo
{
	width: 750px;
  height: 20px;
	margin: auto;

	text-align: center;
   	display: block;
	justify-content: center;
	align-items: center;
	flex-direction:row;
	
}

.moves{
	
	visibility: hidden;
}

.memory-game {
  width: 750px;
  height: 660px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  perspective: 1000px;
}

.memory-card {
  width: calc(15% - 10px);
  height: calc(20% - 10px);
  margin: 5px;
  position: relative;
	-webkit-transform: scale(1);
		-webkit-transform: preserve-3d;
		-webkit-transform: transform .5s;
  transform: scale(1);
  transform-style: preserve-3d;
  transition: transform .5s;
  box-shadow: 1px 1px 1px rgba(0,0,0,.3);
}

.memory-card:active {
	 -webkit-transform: scale(0.97);
		  -webkit-transform:  transform .2s;
  transform: scale(0.97);
  transition: transform .2s;
}

.memory-card.flip {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.front-face,
.back-face {
  width: 100%;
  height: 100%;
  padding: 10px;
  position: absolute;
  border-radius: 5px;
  background: #1C7CCC;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
-webkit-transform: translate3d(0,0,0); 
	transform: translate3d(0,0,0);
	
  
}

.front-face {
-webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

#timerContainer {
  font-weight: 200;
  width:700px;
  margin:20px auto;
  min-height: 20px;
  border-top:0px;
}
.timer, .reset {
  float:left;
  width: 54%;
  padding: 0px 0;
  font-size: 16px;
  text-align:center;
  color: #fff;
  background: #A90000;
  cursor: pointer
}
.reset {
  background: #550000;
  color: white;
  width:14.9%;
  border-left: 1px solid #990000;
}
.reset:hover {
  background: #CC0000;
}
.lighter {
  background: #CC0000
}