/* CSS Document */

#outside {
	margin: 0 auto;
	height: 900px;
	overflow: hidden;
}

#girl {
	float: left;
	width: 10%;
	margin-top: 8%;
}

#middle {
	min-height: 500px;
	overflow: hidden;
	margin: 6%;
}

#gameContainer {

	width: 100%;
}
#cardContainer {

	/*margin-left: 15%;*/
}
#sidebar {
	float: right;
	width: 96%;
	
	overflow: hidden;
	margin-top: 7%;
	position: absolute;
	color: #ccd42b;
	background: rgba(255, 255, 255, 255);
	padding: 3%;
	border-radius: 26px;
	border: 3px solid;
}

h2 {
	font-size: 25px;
}

a img {
	width: 7em;
}
#timer {
	text-align: center;
	font-size: 20px;
	margin-bottom: 50px;
	font-size: 40px;
}
#playerErrors {
	text-align: center;
	font-size: 40px;
}

#name {
	text-align: center;
	font-size: 30px;
color: #49B8E6;
}

/************ GAME CARD ELEMENTS ***********/
.gameCard {
	width: 21%;
	height: 21% px;
	float: left;
}
.flipper {
	width: 150px;
	height: 150px;
	transition: 0.6s;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	position: relative;
	overflow: visible;
	padding: 5%;
}
/* flip the card */
.flipper.flipped {
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
}
.cardFront, .cardBack {
	width: 150px;
	height: 150px;
	background-image: url('../images/card150.png');
	position: absolute;
	top: 0;
	left: 0;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
}
.cardFront {
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
}
.cardBack {
	z-index: 2;
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	background-position: 0px 0px;
}
/************ END GAME CARD ELEMENTS ***********/
.content_class{
margin-top: 1%;
background-color: rgba(255, 255, 255, 0.65);
border: 3px solid rgb(255, 255, 255);
border-radius: 14px;	
}

.btn-rejouer{
	background-color: rgb(0, 56, 120);
color: rgb(255, 255, 255);
height: 20px;
padding: 5px;
border: 1px solid rgb(255, 255, 255);
border-radius: 4px;
font-size: 15px;
}
.btn-rejouer:hover{
background-color: rgb(24, 169, 229);
color: rgb(255, 255, 255);
}
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");

body{
	padding: 50px;
}

label{
	position: relative;
	cursor: pointer;
	color: #666;
	font-size: 30px;
}

input[type="checkbox"], input[type="radio"]{
	position: absolute;
	right: 9000px;
}

/*Check box*/
input[type="checkbox"] + .label-text:before{
	content: "\f096";
	font-family: "FontAwesome";
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing:antialiased;
	width: 1em;
	display: inline-block;
	margin-right: 5px;
}

input[type="checkbox"]:checked + .label-text:before{
	content: "\f14a";
	color: #2980b9;
	animation: effect 250ms ease-in;
}

input[type="checkbox"]:disabled + .label-text{
	color: #aaa;
}

input[type="checkbox"]:disabled + .label-text:before{
	content: "\f0c8";
	color: #ccc;
}

/*Radio box*/

input[type="radio"] + .label-text:before{
	content: "\f10c";
	font-family: "FontAwesome";
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing:antialiased;
	width: 1em;
	display: inline-block;
	margin-right: 5px;
}

input[type="radio"]:checked + .label-text:before{
	content: "\f192";
	color: #8e44ad;
	animation: effect 250ms ease-in;
}

input[type="radio"]:disabled + .label-text{
	color: #aaa;
}

input[type="radio"]:disabled + .label-text:before{
	content: "\f111";
	color: #ccc;
}

/*Radio Toggle*/

.toggle input[type="radio"] + .label-text:before{
	content: "\f204";
	font-family: "FontAwesome", serif;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing:antialiased;
	width: 1em;
	display: inline-block;
	margin-right: 10px;
}

.toggle input[type="radio"]:checked + .label-text:before{
	content: "\f205";
	color: #16a085;
	animation: effect 250ms ease-in;
}

.toggle input[type="radio"]:disabled + .label-text{
	color: #aaa;
}

.toggle input[type="radio"]:disabled + .label-text:before{
	content: "\f204";
	color: #ccc;
}


@keyframes effect{
	0%{transform: scale(0);}
	25%{transform: scale(1.3);}
	75%{transform: scale(1.4);}
	100%{transform: scale(1);}
}