body{
	font-size: 0px;
	height: 100vh;
	width: 100vw;
	border: 0px;
	margin: 0px;
	padding: 0px;
	outline: 0px;
	background-color: white;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.front-page-square{
	width: 400px;
	height: 400px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.t-box{
	height: 80px;
	width: 80px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.t-box-right{
	position: relative;
	height: 80px;
	width: 40px;
	overflow: hidden;
	opacity: 0;
	font-size: 10px;
	transform: translate(40px, 0px);
}
.t-box-right:after {
	content: '';
	position: absolute;
	width: 57px;
	height: 57px;
	background-color: #D587A1;
	transform: rotate(45deg)translateX(29%);
}
.t-box-left{
	position: relative;
	height: 80px;
	width: 40px;
	overflow: hidden;
	opacity: 0;
	transform: rotate(180deg);
}
.t-box-left:before {
	content: '';
	position: absolute;
	width: 57px;
	height: 57px;
	background-color: #A5B6E4;
	transform: rotate(45deg)translateX(29%);
}
.t-box-top{
	position: relative;
	height: 80px;
	width: 40px;
	overflow: hidden;
	opacity: 0;
	font-size: 10px;
	transform: rotate(-90deg)translate(20px, 20px);
}
.t-box-top:after {
	content: '';
	position: absolute;
	width: 57px;
	height: 57px;
	background-color: #B6E69C;
	transform: rotate(45deg)translateX(29%);
}
.t-box-bottom{
	position: relative;
	height: 80px;
	width: 40px;
	overflow: hidden;
	opacity: 0;
	font-size: 10px;
	transform: rotate(90deg)translate(20px, -20px);
}
.t-box-bottom:after {
	content: '';
	position: absolute;
	width: 57px;
	height: 57px;
	background-color: #FBE3AE;
	transform: rotate(45deg)translateX(29%);
}
.full-box{
	height: 80px;
	width: 80px;
	float: left;
	opacity: 0;
	text-align: center;
	font-size: 30px;
	color: white;
	font-family: 'Open Sans';
	font-weight: bolder;
}
.holder-row{
	height: 80px;
}
.holder-box{
	position: relative;
	height: 400px;
	width: 400px;
	text-align: left;
	display: block;
	left: 50%;
	background-color: transparent;
	top: 50%;
	transform: translate(-50%, -50%);
}
.box-2{
	background-color: #B6E69C; /*green*/
}

.box-1{
	background-color: #F6CBE0; /*pink*/
}

.box-3{
	background-color: #F3B4A2; /*dark orange*/
}

.box-4{
	background-color: #D587A1; /*purple */
}

.box-6{
	background-color: #FBE3AE; /*yellow*/
}

.box-5{
	background-color: #BACEF8; /*light blue*/
}

.box-7{
	background-color: #F6C8B1; /*light orange */
}

.box-8{
	background-color: #A5B6E4; /*dark blue */
}
.box-highlight{
	opacity: 0;
}
.title-box{
	width: 240px;
	height: 240px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}
.letter-box{
	width: 80px;
	height: 80px;
	font-family: 'Open Sans';
	text-align: center;
	display: inline-block;
	font-size: 45px;
	line-height: 80px;
	color: white;
	opacity: 1;
	font-weight: bolder;
}
.hidden{
	opacity: 0;
}
.filler{
	visibility: hidden;
}
.play{
	animation: pulse 1s ease infinite;
	background: rgba(0, 0, 0, 0.2);
	color: white;
	cursor: pointer;
	display: inline-block;
	font-family: 'Open Sans';
	font-size: 30px;
	font-weight: bolder;
	height: 80px;
	line-height: 80px;
	opacity: 0;
	position: absolute;
	text-align: center;
	width: 80px;
	left: 50%;
	top: 50%;
	box-shadow: 0px 0px 28px -10px rgba(0,0,0,0.7);

}
.play:hover{
	animation: none;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.3);
}
.play-icon{
	position: relative;
	height: 35px;
	width: 35px;
	top: 5px;
}
@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0.95) ; }
  50% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(0.95); }
}
/* ROUND NUMBER SCREEN */
.round-num-screen{
	visibility: hidden;
	font-size: 25px;
	position: absolute;
	background-color: transparent;
	text-align: center;
	color: grey;
	font-family: 'Open Sans';
	font-weight: normal;
	letter-spacing: 5px;
	width: 290px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.big-num{
	font-size: 80px;
}
/*CORRECT SCREEN*/
.correct-screen{
	visibility: hidden;
	font-size: 25px;
	position: absolute;
	background-color: rgba(255,255,255,0.5);
	height: 400px;
	width: 400px;
	text-align: center;
	color: grey;
	font-family: 'Open Sans';
	font-weight: normal;
	letter-spacing: 1px;
	width: 290px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index:2;
}
.next-icon{
	background: url('https://s20.postimg.org/5429qfztp/makefg.png');
	background-size: 100%;
	height: 25px;
	width: 25px;
	outline: none;
	border: none;
	cursor: pointer;
}
.icon:hover{
	transform: scale(1.1);
}
/*WRONG TILE SCREEN*/
.incorrect-screen{
	visibility: hidden;
	font-size: 25px;
	height: 400px;
	width: 400px;
	background-color: rgba(255,255,255,0.5);
	position: absolute;
	text-align: center;
	color: grey;
	font-family: 'Open Sans';
	font-weight: normal;
	letter-spacing: 5px;
	width: 290px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index:2;
}
.replay-icon{
	background: url('https://s20.postimg.org/dovlhjx4d/replay.png');
	background-size: 100%;
	height: 25px;
	width: 25px;
	outline: none;
	border: none;
	cursor: pointer;
}
/*GAME PLAY*/
.stats-bar{
	position: absolute;
	visibility: hidden;
	left: 50%;
	top: 10%;
	width: 90vw;
	transform: translate(-50%, 0%);
	font-size: 15px;
	font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
	font-weight: normal;
	opacity: 0.7;
	letter-spacing: 1px;
	text-align: center;
}
.stat{
	text-align: center;
	display: inline-block;
	width: 150px;
}
.square{
	height: 240px;
	width: 240px;
    position:relative;
    overflow:hidden;
    top: 50%;
	left: 50%;
    transform: translate(-50%, -50%);
}
.square > div{
    position:absolute;
    bottom:50%; left:50%;
    width:75%;  height:75%;
    transform-origin:0 100%;
    z-index:1;
}
.square-top{
    -webkit-transform:rotate(-45deg);
    -ms-transform:rotate(-45deg);
    transform:rotate(-45deg);
    background:#B6E69C;
}
.square-bottom{
    -webkit-transform:rotate(45deg);
    -ms-transform:rotate(45deg);
    transform:rotate(45deg);
    background:#FBE3AE;
}
.square-right{
    -webkit-transform:rotate(135deg);
    -ms-transform:rotate(135deg);
    transform:rotate(135deg);
    background:#D587A1;
}
.square-left{
    -webkit-transform:rotate(225deg);
    -ms-transform:rotate(225deg);
    transform:rotate(225deg);
    background:#A5B6E4;
}
.ease-in{
	transition: all 3s ease-in-out;
	opacity: 1;
}
.grow{
	animation: grow 2s ease;
}
.shrink{
	animation: shrink 3s ease;
}
@keyframes grow {
  0% 	{ transform: translate(-50%, -50%)scale(0.33333);}
  100% 	{ transform: translate(-50%, -50%)scale(1);}
}
@keyframes shrink {
  0% 	{ transform: translate(-50%, -50%)scale(1);}
  100% 	{ transform: translate(-50%, -50%)scale(0.33333);}
}
