body {
	margin: 0;
	padding: 0;
	background-color: #dcdcdc;
}

#gameContainer {
	width: 650px;
	height: auto;
	margin: 20px auto;
	position: relative;
}

#result {
	width: 360px;
	height: 150px;
	position: absolute;
	top: 50px;
	left: 125px;
	background-color: #ffff00;
	font-size: 14px;
	text-align: center;
	padding: 20px;
}

button {
	width: 200px;
	height: 50px;
	margin: 10px, 30px;
	font-size: 16px;
}

.tds {
	width: 150px;
	height: 100px;
	border-radius: 5px;
	position: relative;
	background-color: #aabae5;
}

/* This div turn around */
.tds-inside {
	width: 150px;
	height: 100px;
	border-radius: 5px;
	transform-origin: 100% 50%;
	position: absolute;
	top: 0;
	left: 0;
	backface-visibility: hidden;
}

.invisible {
	background-color: #ffffff;
	box-shadow: 5px 5px 5px #3d3d3d inset;
}

.red {
	transform: translate(0%) rotateY(180deg);
	transition: 1s;
	background-color: #ff0000;
}

.yellow {
	transform: translate(0%) rotateY(180deg);
	transition: 1s;
	background-color: #ffff00;
}

.orange {
	transform: translate(0%) rotateY(180deg);
	transition: 1s;
	background-color: #f79209;
}

.blue {
	transform: translate(0%) rotateY(180deg);
	transition: 1s;
	background-color: #0000ff;
}

.green {
	transform: translate(0%) rotateY(180deg);
	transition: 1s;
	background-color: #009933;
}

.rose {
	transform: translate(0%) rotateY(180deg);
	transition: 1s;
	background-color: #ffb3e6;
}

.front {
	transform: translate(0%) rotateY(0deg);
	transition: 1s;
	backface-visibility: visible;
	background-color: #aabae5;
}

@media screen and (max-width: 375px) {
	.tds {
		width: 85px;
		height: 55px;
	}
	
	.tds-inside {
		width: 85px;
		height: 55px;
	}
	
	#result {
		width: 300px;
		height: 150px;
		position: absolute;
		top: 10px;
		left: 10px;
	}
}