@import url(http://fonts.googleapis.com/css?family=Roboto);

* {
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
}
body {
	background: #eee6cd;
}

header {
	color: #340101;
	padding-left: 15px;
	padding-right: 15px;
	text-align: center;
}
#global {
	background-image: url(../img/border.png);
	background-repeat: no-repeat;
	background-size: 100%;
	width: 1024px;
	height: 800px;
	margin: 0 auto;
	padding: 40px;
	position: relative;
}
h1 {
	background-image:  url(../img/title.png);
	background-size: 100%;
	background-repeat: no-repeat;
	width: 300px;
	height: 50px;
	margin: 10px auto;
}

#tabuleiro {
	width: 350px;
	height: 350px;
	margin: 30px auto;
	position: relative;
	text-align: center;
}

.btn {
	background-color: #b08775;
	width: 200px;
	line-height: 30px;
	height: 40px;
	border-radius: 20px;
	display: block;
	text-align: center;
	padding: 5px;
	cursor: pointer;
	margin-left: -100px;
	transition: background .3s ease;
	bottom: 80px;
	left: 50%;
	position: absolute;
}

.btn:hover {
	background: #967263;
}

.casa {
	width: 100px;
	height: 100px;
	display: inline-block;
	cursor: pointer;
	position: relative;
	perspective: 500;
}
	
.carta {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 1s;
}

.carta:hover {
  transform: rotateY(-180deg);
}

.carta div {
  margin:0;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.casa:nth-child(1) .frente {background-color: #d2be28;}
.casa:nth-child(2) .frente {background-color: #0aa0e1;}
.casa:nth-child(3) .frente {background-color: #f08c00;}
.casa:nth-child(4) .frente {background-color: #b94baf;}
.casa:nth-child(5) .frente {background-color: #dc411e;}
.casa:nth-child(6) .frente {background-color: #6e7df0;}
.casa:nth-child(7) .frente {background-color: #a57341;}
.casa:nth-child(8) .frente {background-color: #f02378;}
.casa:nth-child(9) .frente {background-color: #198c3c;}

.atras {
	transform: rotateY(180deg);
	background-color: #e1e1e1;
	font-size: small;
	padding: 5px;
}

.frente {
	text-align: center;
	font-size: 50px;
	line-height: 90px;
}

.frente,.atras {
	background-image: linear-gradient(60deg, transparent 20%, rgba(255,255,255,.15) 40%, transparent 60%);
	border: 4px solid #fff;
	border-radius: 8px;
    user-select: none;
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    -o-user-select: none;       /* Opera */
}

.resposta {
	border: 4px solid #b0b2b3;
	border-radius: 8px;
	position: absolute;
	width: 80px;
	height: 80px;
	cursor: pointer;
	background: rgba(173,216,230,.8);
	text-align: center;
	font-size: 50px;
	line-height: 70px;
    user-select: none;
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    -o-user-select: none;       /* Opera */
}

.resposta:nth-child(2) {left: 215px; top: 240px;transform: rotate(0deg);}
.resposta:nth-child(3) {left: 220px; top: 340px;transform: rotate(-5deg);}
.resposta:nth-child(4) {left: 220px; top: 440px;transform: rotate(5deg);}
.resposta:nth-child(5) {left: 710px; top: 240px;transform: rotate(-5deg);}
.resposta:nth-child(6) {left: 715px; top: 340px;transform: rotate(0deg);}
.resposta:nth-child(7) {left: 710px; top: 440px;transform: rotate(-5deg);}
.resposta:nth-child(8) {left: 365px; top: 575px;transform: rotate(0deg);}
.resposta:nth-child(9) {left: 470px; top: 570px;transform: rotate(5deg);}
.resposta:nth-child(10) {left: 570px; top: 570px;transform: rotate(-5deg);}

#parabens {
	width: 300px;
	height: 100px;
	border-radius: 10px;
	border: 4px solid #fff;
	left: 50%;
	top: 50%;
	margin-left: -150px;
	margin-top: -50px;
	background: rgba(173,216,230,1);
	display: none;
	text-align: center;
	position: fixed;
	padding: 5px;
	line-height: 40px;
	font-size: 18px;
	z-index: 2;
}

#overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	display: none;
	top: 0;
	left: 0;
	z-index: 1;
}

.blur {
	-webkit-filter: blur(4px);
	-moz-filter: blur(4px);
	-o-filter: blur(4px);
	-ms-filter: blur(4px);
	filter: blur(4px);
	filter: url('blur.svg#blur');
	filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='3');
}

.noRotate {
	transform: rotate(0deg) !important;
}