@import url('https://fonts.googleapis.com/css2?family=Grape+Nuts&family=Ma+Shan+Zheng&display=swap');
@-webkit-keyframes bounceInDown{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInDown{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:none;transform:none}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}
#navContent, .splash,.bad-feedback, .good-feedback, .intermediaire, .failure-final, .gameplay, .block-free-game {height:414px; width: 690px}
#navContent{
	font-family: 'Noto Sans SC', Arial Unicode MS,Arial, Tahoma, Helvetica, "Microsoft YaHei New", "Microsoft Yahei", "微软雅黑", 宋体, SimSun, STXihei, "华文细黑", sans-serif;
	font-size:21px;
	margin:30px auto 0 auto;
	position:relative;
	overflow:hidden;
	line-height: normal;
}
.splash{background:url('img/splash.jpg');overflow: auto}
.splash-btn{
	position: absolute;
	bottom: 15%;
	left: 19.5%;
}
#navContent ul > a, #navContent ul > a :hover{font-weight: normal;color: #fff}
#navContent ul{margin: 0;padding: 0;list-style: none}
#navContent li {
	font-family: 'Grape Nuts', cursive;
	height:40px;
	width:130px;
	color: #fff;
	line-height: 39px;
	text-shadow: 0 1px 0 #ffffff;
    background-color: #2b2117;
    border: 3px solid #433f3c;
	display:block;
	cursor:pointer;
	float: left;
	margin: 12px 12px 0 0;
}
#navContent li:hover, .TSD-btn:hover, .next:hover{
	-webkit-box-shadow: 3px 3px 8px 0px #110901a8;
	-moz-box-shadow: 3px 3px 8px 0px #110901a8;
	box-shadow: 3px 3px 8px 0px #110901a8;
	transition: .5s ease;
}
.TSD-btn{
	height:40px;
	width:130px;
	color: #fff;
	line-height: 39px;
	text-shadow: 0 1px 0 #FCDC5D;
	background-color: #f5354d;
    border: 3px solid #f8ae35;
	cursor: pointer;
	position: absolute;
	bottom: 2%;
	left: 41%; 
	border-radius: 23px;
	transition: .5s ease;
}
.next {
	color:#ffffff;
	line-height: 39px;
	text-shadow: 0 1px 0 #FCDC5D;
	background-color:#f5354d;
    border: 3px solid #f8ae35;
    cursor:pointer;
    position: absolute;
	bottom: 11%;
	left: 33%;
	border-radius:50px;
	transition: .5s ease;
	font-size:28px;
	padding:20px 50px;
}
.splash-panel{
	display:none;
	color: #747474;
    background-color: #FFF;
    padding: 15px 40px;
    box-sizing: border-box;
    position: absolute;
    left: 50px;
    bottom: 80px;
    width: 590px;
    height: 305px;
    font-size: 18px;
	-webkit-box-shadow: 10px 10px 22px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 22px 0px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 22px 0px rgba(0,0,0,0.75);
}
.splash-panel b {font-family: 'Grape Nuts', cursive; font-size: 32px; color: #f5354d}
.splash-panel span{color: #bf9a35}
.splash-panel em{
    font-size: 16px;
    line-height: 20px;
    width: 36px;
    height: 21px;
    display: inline-block;    
    margin: 0 15px;
    background-color: #f5354d;
    padding: 1px 5px;
    font-style: normal;
    border: 1px solid #f8b039;
    color: #ffffff;
    border-radius: 4px;
}
.gameplay{background: url('img/gameplay.jpg')} 
.gameplay-btn{
	width: 165px;
    position: absolute;
    z-index: 10;
    top: 5px;
    right: -11px;
}
.question-container {
	width: 545px;
	font-size: 20px;
	color: #b7deed;
    position: absolute;
    left: 4%;
    top: 20%;
 }
.question-container img{float: left}
.question-container p:nth-of-type(1) {padding-top: 23px; color: #fff; font-size: 32px; letter-spacing: 5px}
.question-container p:nth-of-type(3) {margin-top: 0px; color: #edb7e5;font-family: 'Grape Nuts', cursive; font-size: 26px}
.answer-container{
	position: absolute;
	bottom: 6px;
	left: 22px;
}
.answer-container span{
	font-size: 23px;
	cursor: pointer;
    height: 50px;
    width: 200px;
    background-color: #f5354d;
    border: 2px solid #f8ae35;
    float: left;
    margin: 12px 6px;
    border-radius: 12px;
    line-height: 46px;
    color: #fff;
}
.answer-container span em{font-size:20px; font-style:normal}
.answer-container span:hover{
	background-color: #f8ae35;
	transition: .5s ease;
}
.inconnue {
	width: 194px;
    height: 194px;
    background-color: #fff;
    font-size: 126px;
    float: left;
    border-radius: 108px;
    border: 5px solid #ddd;
    margin-left: 3px;
    line-height: 175px;
}
.progression{
 	width: 159px;
 	height:24px;
	display:block;
	background-color:#fff;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	position: absolute;
	color:#2c6686;
	font-weight: bold;
	font-size: 14px;
 }
 .hearts{position: absolute;top:291px; left:83px; font-size: 24px; color: #f5354d; text-shadow: 2px 0 0 #f8ae35}
 .hearts i{padding-right: 6px} 
 .timer-container{top:70px; left:250px}
 .timer{
	width:0px;
	height:18px;
	margin: 3px;
	display:block;
	background: #b7deed;
	background: -moz-linear-gradient(top, #b7deed 0%, #71ceef 50%, #21b4e2 51%, #b7deed 100%);
	background: -webkit-linear-gradient(top, #b7deed 0%,#71ceef 50%,#21b4e2 51%,#b7deed 100%);
	background: linear-gradient(to bottom, #b7deed 0%,#71ceef 50%,#21b4e2 51%,#b7deed 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b7deed', endColorstr='#b7deed',GradientType=0 );
	-moz-border-radius: 10px 0 0 10px;
	-webkit-border-radius: 10px 0 0 10px;
	border-radius: 10px 0 0 10px;
}
.timer-level{
	color:#2c6686;
	position: absolute;
	z-index: 10;
	left: 0;
	width: 156px;
	font-size: 14px;
}
.bad-feedback, .good-feedback{
	color: white;
	display: none;
}
.good-feedback{background-image: url(img/confetti.gif)}
.bad-feedback p, .good-feedback p{
	position: absolute;
    top: 37%;
    left: 30%;
}
 .good-feedback p {left: 37%}
.intermediaire{background:url('img/intermediaire.png')}
.failure-final{
	background:url('img/final.png');
	overflow: auto;
}
.failure-final-btn {position: absolute;bottom: 15%;left: 19.5%}
.failure-final p, .intermediaire p{
	color: #faae37;
	position: absolute;
	top: 60%;
	left: 0;
	width: 690px;
}
.failure-final b{
	color: #E21A6F;
	font-size:24px;
}