* {
	margin: 0px;
	padding: 0px;
	
	/* Animations-Art und -Dauer */
	-o-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}

body {
	background: repeat url(../img/table.png);
	overflow: hidden;
	font-size: 30px;
	font-family: 'mathlete_skinnyregular';
	font-weight: normal !important;
}

h1 {
	font-family: 'mathlete_bulkyregular';
	line-height: 0px;
	font-size: 55px;
	
	visibility: hidden;
	
	opacity: 0;
	-webkit-transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
}

h1.black {
	color: #000;
}

h1.white {
	color: #fff;
}

h2 {
	font-size: 40px;
	font-family: 'mathlete_skinnyregular';
	line-height: 0px;
	text-align: center;
	color: #fff;
	
	visibility: hidden;
	
	opacity: 0;
	-webkit-transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
}

h2.black {
	color: #000;
}

h2.white {
	color: #fff;
}

.hidden {
	visibility: hidden;
}

/* Spielbrett */

.spielbrett {
	width: 1220px;
	height: 1220px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -610px 0 0 -610px;
	
	background: url(../img/board.png), url(../img/kastl.png);
	background-position: top left, 10px 10px;
	background-repeat: repeat, repeat;
	
	background-color: #6B8E23;
}

.rahmen {
	width: 1220px;
	height: 1220px;
	position: relative;
	top: 0px;
	left: 0px;
	
	background: url(../img/border.png) no-repeat top left;
	
	-webkit-box-shadow:	inset -4px 4px 4px rgba(0,0,0,0.5),
						inset 4px -4px 4px rgba(255,255,255,0.9),
						inset -400px 200px 150000px rgba(0,0,0,0.1),
						inset 0px -1000px 400000px rgba(255,255,255,0.1),
						3px -5px 8px rgba(0,0,0,0.7);
	-moz-box-shadow: 	inset -4px 4px 4px rgba(0,0,0,0.5),
						inset 4px -4px 4px rgba(255,255,255,0.9),
						inset -400px 200px 150000px rgba(0,0,0,0.1),
						inset 0px -1000px 400000px rgba(255,255,255,0.1),
						3px -5px 8px rgba(0,0,0,0.7);
	box-shadow: 		inset -4px 4px 4px rgba(0,0,0,0.5),
						inset 4px -4px 4px rgba(255,255,255,0.9),
						inset -400px 200px 150000px rgba(0,0,0,0.1),
						inset 0px -1000px 400000px rgba(255,255,255,0.1),
						3px -5px 8px rgba(0,0,0,0.7);
}

.inhalt {
	width: 1200px;
	height: 1200px;
	position: relative;
	left: 10px;
	top: 10px;
}

/* Felder */

.feld {
	width: 150px;
	height: 150px;
	float: left;	
}

/* Steine */

.stein {
	float: left;
	width: 120px;
	height: 120px;
	margin: 15px;
	position: relative;
	
	perspective: 600px;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
}
	
.stein div {
	border-radius: 100px;
}

.stein > .black {
	background: rgb(0,0,0);
	background: -moz-linear-gradient(top,  rgba(0,0,0,1) 0%, rgba(89,89,89,1) 99%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,1)), color-stop(99%,rgba(89,89,89,1)));
	background: -webkit-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(89,89,89,1) 99%);
	background: -o-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(89,89,89,1) 99%);
	background: -ms-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(89,89,89,1) 99%);
	background: linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(89,89,89,1) 99%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bbbbbb', endColorstr='#777777',GradientType=0 );
	-webkit-box-shadow: inset 0 -5px 15px rgba(255,255,255,0.4), 
				inset -2px -1px 40px rgba(0,0,0,0.4), 
				1px -3px 6px rgba(0,0,0,0.5);
	-moz-box-shadow: inset 0 -5px 15px rgba(255,255,255,0.4), 
				inset -2px -1px 40px rgba(0,0,0,0.4), 
				1px -3px 6px rgba(0,0,0,0.5);
	box-shadow: inset 0 -5px 15px rgba(255,255,255,0.4), 
				inset -2px -1px 40px rgba(0,0,0,0.4), 
				1px -3px 6px rgba(0,0,0,0.5);
}

.stein > .white {
	background: rgb(255,255,255);
	background: -moz-linear-gradient(top, rgba(166,166,166,1) 0%,  rgba(255,255,255,1) 99%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(166,166,166,1)), color-stop(99%,rgba(255,255,255,1)));
	background: -webkit-linear-gradient(top, rgba(166,166,166,1) 0%, rgba(255,255,255,1) 99%);
	background: -o-linear-gradient(top, rgba(166,166,166,1) 0%, rgba(255,255,255,1) 99%);
	background: -ms-linear-gradient(top, rgba(166,166,166,1) 0%, rgba(255,255,255,1) 99%);
	background: linear-gradient(top, rgba(166,166,166,1) 0%, rgba(255,255,255,1) 99%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bbbbbb', endColorstr='#777777',GradientType=0 );
	-webkit-box-shadow: inset 0 -5px 15px rgba(255,255,255,0.4), 
				inset -2px -1px 40px rgba(0,0,0,0.4), 
				1px -3px 6px rgba(0,0,0,0.5);
	-moz-box-shadow: inset 0 -5px 15px rgba(255,255,255,0.4), 
				inset -2px -1px 40px rgba(0,0,0,0.4), 
				1px -3px 6px rgba(0,0,0,0.5);
	box-shadow: inset 0 -5px 15px rgba(255,255,255,0.4), 
				inset -2px -1px 40px rgba(0,0,0,0.4), 
				1px -3px 6px rgba(0,0,0,0.5);
}

.stein > div {
	float: none;
	position: absolute;
	top: 0;
	left: 0;
	width: inherit;
	height: inherit;
	text-align: center;
	z-index: 1000px;
	
	display: table-cell;
	vertical-align: middle;
}

.stein .front, .stein .back {
	-webkit-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	-moz-transform-style: preserve-3d;
	-moz-backface-visibility: hidden;
	transform-style: preserve-3d;
	backface-visibility: hidden;
}

.stein .front {
	z-index: 900;
	
	-webkit-transform: rotateX(0deg) rotateY(0deg);
	-moz-transform: rotateX(0deg) rotateY(0deg);
	transform: rotateX(0deg) rotateY(0deg);
}
	
.stein .back {
	z-index: 800;
	
	-webkit-transform: rotateX(-180deg);
	-moz-transform: rotateX(-180deg);
	transform: rotateX(-180deg);
}

/* Animationen */

.stein.flip .front {
	z-index: 900;
	
	-webkit-transform: rotateX(180deg);
	-moz-transform: rotateX(180deg);
	transform: rotateX(180deg);
}

.stein.flip .back {
	z-index: 1000;
		
	-webkit-transform: rotateX(0deg) rotateY(0deg);
	-moz-transform: rotateX(0deg) rotateY(0deg);
	transform: rotateX(0deg) rotateY(0deg);
}

.no_opacity {
	visibility: hidden;
	
	opacity: 0;
	-webkit-transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
}

.show {
	line-height: 120px;
	cursor: pointer;
	
	visibility: visible !important;
		
	opacity: 1;
	-webkit-transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
}