body{
	overflow: hidden;
}

#gamezone{
	width: 400px;
	height: 500px;
	overflow: hidden;
}

#sidebar1, #sidebar2{
	width: 200px;
	height: 600px;
}

#gamezone, #sidebar1, #sidebar2, #content, #topbar{
	background: #777;
	background: -moz-linear-gradient(top,#777,#888);
	background: -webkit-linear-gradient(top,#777,#888);
	background: -ms-linear-gradient(top,#777,#888);
	background: -o-linear-gradient(top,#777,#888);
	background: linear-gradient(top,#777,#888);
	border-radius: 20px;
	box-shadow: 0 2px 3px rgba(0,0,0,0.6);
}

#game{
	overflow: hidden;
}

#quarres{
	width: 200px;
	height: 200px;
	background: url(../img/quarres.png);
	/*background: url(../img/quarres.svg);*/
	background-size: 100px;
	background-position: center bottom;
}

#gamezone, #sidebar1, #sidebar2, #quarres, #tetriminos, #logo, .tetrimino{
	position: absolute;
	top: 0;
	left: 0;
}

#gamezone, #sidebar1, #sidebar2, #quarres, #tetriminos, #logo{
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

#logo{
	width: 300px;
	height: 300px;
	background: url(../img/logo300.png) no-repeat center center;
	opacity: 0.5;
}

.tetrimino{
	width: 100px;
	height: 100px;
	border-radius: 10px;
	box-shadow: 0 2px 3px rgba(0,0,0,0.6);
	overflow: hidden;
}

.tetrimino > div{
	width: 100%;
	height: 100%;
	background: url(../img/tetristonebg.png);
	opacity: 0.1;
}

#nexttetrimino-0{
	position: absolute;
	top: -20px;
	left: 80px;
}
#nexttetrimino-1{
	position: absolute;
	top: 130px;
	left: 80px;
}
#nexttetrimino-2{
	position: absolute;
	top: 260px;
	left: 80px;
}

#nextzone{
	position: absolute;
	top: 20px;
	left: 20px;
	width: 160px;
	height: 160px;
	background: #888;
	box-shadow: 0 0 3px rgba(0,0,0,0.3);
}

#aqua{
	position: absolute;
	left: 0;
	top: 1000px;
	background: rgba(42,161,236,0.7);
	-webkit-transition: 2s;
	transition: 2s;
}

#timer{
	position: absolute;
	bottom: -30px;
	left: 0;
	width: 100%;
	height: 30px;
	background: rgba(200,200,200,0.5);
	opacity: 0.5;
	box-shadow: 0 0 3px rgb(0,0,0,0.3);
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

#progress{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 30px;
	background: rgb(42,161,236);
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

#pscore, #plines, #plevel{
	position: absolute;
	top: 40px;
	left: 20px;
	font-family: Arial, sans-serif;
	font-size: 20px;
}

#plines{
	top: 80px;
}

#plevel{
	top: 120px;
}

#message{
	position: absolute;
	bottom: 100%;
	left: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: Wellfleet, sans-serif;
	font-size: 80px;
	text-align: center;
	color: #AAA;
	text-shadow: 0 0 10px rgba(0,0,0,0.6);
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

#message span{
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

#game, #home{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: 1s;
	transition: 1s;
	overflow: hidden;
}

#game{
	top: 100%;
}

#newgame{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	margin-top: -140px;
	-webkit-transition: 1s;
	transition: 1s;
}

#home-end{
	display: none;
}

#pause{
	display: none;
}