*{
    margin:0;
    padding:0;
    outline-style:none;
}

@font-face {
 font-family: "SCRIPTBL";
 src: url("fonts/SCRIPTBL.ttf") format("truetype");
}

@font-face {
 font-family: "FiraSans-Bold";
 src: url("fonts/FiraSans-Bold.ttf") format("truetype");
}

@font-face {
 font-family: "FiraSans-Regular";
 src: url("fonts/FiraSans-Medium.ttf") format("truetype");
}

@font-face {
 font-family: "FiraSans-SemiBold";
 src: url("fonts/FiraSans-SemiBold.ttf") format("truetype");
}


.clear{
    clear: both;
}

body{
    font-size: 24px;
    font-family: 'FiraSans-Regular';
}

section{
    width:80%;
    margin:auto;
}

.img_header{
width:100%;
}

#boules{
    width:100%;
    background-image: url('img/fond.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;

}

.b1{
    background-image: url('img/boule1.png');
}

.b2{
    background-image: url('img/boule2.png');
}

.b3{
    background-image: url('img/boule3.png');
}

.boule{
    width: 28.3%;
    float: left;
    margin: 0 2.5%;
    height:500px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
}

h2{
    font-family: "SCRIPTBL";
    color: #DFBA62;
    text-align: center;
    margin:auto;
    margin-top:35px;
    background: white;
    width: 100%;
    line-height: 50px;
    padding-bottom:10px;
   
}

h2 hr{
    width:30px;
    /*background:#DFBA62;*/
    border: 0.5px solid #DFBA62;
    margin: 5px auto;
}

#container{
    margin : 0px auto;
    background-color: white;
    width : 100%;
    border-radius: 5px;
    /*box-shadow: 3px 3px 14px 0px rgba(0, 0, 0, 0.2);*/
    position: relative;
    padding-bottom: 30px;
    margin-bottom:30px;
    

}


#filet{
    width:150px;
    background-color: #DFBA62;
    height:2px;
    border:#DFBA62;
    margin-top:50px;
    /*position: absolute;*/
    margin-left:calc( (100% - 150px ) / 2 );
}

#intro{
    font-size: 0.8em;
    text-align: center;
    padding:30px 200px;
    line-height: 1.3em;

}

#intro span{
    font-family: "FiraSans-Bold";
}

#start,#restart{
	margin:auto;
    margin-bottom: 30px;
    width: 230px;
}

#start, #restart a{
    font-size: 0.7em;
    font-family: "FiraSans-Bold";
    /* height: 100px; */
    text-align: center;
    cursor: pointer;
    /*position: absolute;*/
    /*left: calc( ( 100% - 220px) / 2 );*/
    /*top: 260px;*/
    border-radius: 50px;
    border: 2px solid #85B818;
    color : #85B818;
    background-color: white;
    box-sizing: border-box;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px;
}

#start:hover, #restart a:hover{
    color: white;
    background-color: #85B818;
    transition: all 0.3s ease;
}

#restart{
	margin-top:50px;
	width:250px;
}

#quiz{
    background-image: url("img/fond.jpg");
    background-size: contain;
}

#qImg{
    width : 200px;
    height : 200px;
    /*position: absolute;*/
    /*left : 0px;*/
    /*top : 0px;*/
}
#qImg img{
    width : 200px;
    height : 200px;
    border-top-left-radius: 5px;
}

#question{
    width:50%;
    margin:auto;
    padding-top: 50px;
    float:left;
    /*position: absolute;*/
    /*right:0;*/
    /*top:0;*/
}

.pictos{
    width: 25%;
    float:left;
    padding-top:38px;
}

.pictos img{
    width: 30%;
}

.globe{
    float:right;
}

#question p{
    font-size: 0.9em;
    line-height: 1.3em;
    text-align:center;
    font-family: "FiraSans-Bold";
}

#choices{
    width : 45%;
    margin:auto;
    margin-top:50px;
    /*position: absolute;*/
    /*right : calc( ( 100% - 430px ) / 2);*/
    /*top : 170px;*/
    padding : 10px;
    box-sizing: border-box;
}


.choice{
    font-size: 0.8em;
    display: block;
    width : 100%;
    border-radius: 5px;
    cursor: pointer;
    padding : 15px 5px;
    margin-bottom:20px;
    box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    background:white;
}
.choice:hover{
    background: #DFBA62;
    font-family: "FiraSans-Bold";
    transition: all ease 0.3s;
}

.choice span{
    background: rgba(223, 186, 98, 0.3);
    padding: 5px 6px 5px 10px;
    border-radius: 50px;
    text-align: center;
    margin: 0px 10px;
    color:#DFBA62;
    font-family: "FiraSans-Bold";
}

.choice:hover span{
    background: rgba(255, 255, 255, 0.3);
    color:white;
    font-family: "FiraSans-Bold";
    transition: all ease 0.3s;
}

#timer{
    /*position: absolute;*/
    height : 100px;
    width : 200px;
    /*bottom : 0px;*/
    text-align: center;
}
#counter{
    font-size: 3em;
}
#btimeGauge{
    width : 150px;
    height : 10px;
    border-radius: 10px;
    background-color: lightgray;
    margin-left : 25px;
}
#timeGauge{
    height : 10px;
    border-radius: 10px;
    background-color: mediumseagreen;
    margin-top : -10px;
    margin-left : 25px;
}
#progress{
    width : 100%;
    /*position: absolute;*/
    /*top: 0px;*/
    /*right : 0px;*/
    padding:5px;
    text-align: center;
    box-sizing: border-box;
}

#qNb{
    text-align: center;
    font-size:0.8em;
    color:#DFBA62;
}

.prog{
    width : 32.5%;
    height : 7px;
    background:rgba(223, 186, 98, 0.3);
    display: inline-block;
}
#scoreContainer{
    margin: 0px auto;
    background-color: white;
    opacity: 1;
    height: 400px;
    width: 80%;
    margin-left: 10%;
    /* display: block; */
    border-radius: 5px;
    /* box-shadow: 3px 3px 14px 0px rgba(0, 0, 0, 0.2); */
    position: absolute;
    top: 65px;
    display: none;
}
#scoreContainer img{
    /*position: absolute;*/
    /*top:100px;*/
    /*left:325px;*/
}
#scoreContainer p{
    /*position: absolute;*/
    display: block;
    /*top:75px;*/
    /*left:48%;*/
    font-size: 2em;
    font-family: "FiraSans-Bold";
    text-align: center;
}

#scoreContainer h3{
    text-align: center;
    padding-top:45px;
    font-size: 2em;
    font-family: "SCRIPTBL";
    margin-top:0;
}

#scoreContainer h4 {
    text-align: center;
    font-family: "FiraSans-Regular";
    font-weight: 400;
    font-size: 1em;
    padding: 50px 100px 0px 100px;
}

#scoreContainer h4 span{
    text-align: center;
    font-family: "FiraSans-Bold";
}

#ifJeu{
    margin:auto;
    margin-top:-220px;
    z-index:0;
    position:absolute;
}

.mobile-title{
    display:none;
}

.reglement, .reglement2{
    text-align: center;
    font-size: 0.7em;
    opacity:0.8;
    text-decoration: underline;
    padding-top:30px;
}

.reglement a{
    opacity: 0.3;
    color:black;
}

.reglement2 a{
    color:black;
}

#rs{
    width:100%;
    text-align: center;
    margin-top:20px;
}

#rs img{
    width:30px;
    padding:0px 5px 25px 5px;
    opacity:0.3;
}

body form.mj-form a:visited {
    color: #111111;
}

body form.mj-form a:link {
    color: #111111;
}

body #error-block #message-block {
    display: block !important;
    vertical-align: top !important;
}

#ancre1{
	bottom:0;
}


/* --------- RESPONSIVE ---------- */

@media (max-width: 900px) {
    #intro{
        padding:30px 50px;
    }
    section{
        width:100%;
    }
    .boule{
        height:300px;
    }
    #choices{
        width:70%;
    }
    .choice:hover{
    background:white;
	}
	.choice:hover span{
    background: rgba(223, 186, 98, 0.3);
    color:#DFBA62;
	}

}

@media (max-width: 700px) {
    h2{
        font-size: 1em;
        margin-top:10px;
        line-height:2em;
    }
    #scoreContainer h4{
        padding : 50px 0px;
    }
    .pictos{
        padding-top:50px;
    }
}

@media (max-width: 450px) {
    .boule{
        width:100%;
        margin:0;
    }
    .desk-title{
        display:none;
    }
    .mobile-title{
        display:block;
        position:static;
    }
    #choices{
        width:90%;
    }
    .pictos{
        display:none;
    }
    #question{
        width:90%;
        margin:0 5%;
    }
    #scoreContainer{
        width:90%;
        margin-left:5%;
    }
}


 














