body{
	height:100%;
	width:100%;
    font-family: 'Montaga', serif;
    font-size: 17px;
    margin: 0;
    color: rgba(0,0,0,0.9);
}
.header{
	position: fixed;
	border-bottom: 2px solid black;
	width: 100%;
	height: 10vh;
	margin: 0;
	top: 0;
	background-color: rgba(255,255,255,0.9);
	color: rgba(0,0,0,0.9);
	z-index: 100;
}
section{
	margin: 25px;
	margin-top: 19vh;
}
a{
	text-decoration: none;
	color: rgba(0,0,0,0.9);
}
a:hover{
	font-weight: 600;
	text-transform: uppercase;
}
.tchouls{
	width: 40%;
	display: block;
	margin: auto;
}
.illucarte{
	position: absolute;
	width: 20%;
	right: 0;
	top: 1083px;
}
.section__studycase{
	height: 67vh;
}
.section__studycase h1{
	margin-bottom: 40px;
}
.section__dealer{
	margin-top: 10vh;
	height: 90vh;
}
.section__home{
	margin-top: 30vh;
	height: 70vh;
}

.title__home{
	font-size: 30px;
	text-align: center;
	margin-bottom: 40px;
}
.title__jeux{
	font-size: 40px;
	margin-bottom: 0;
}
.title__reglage{
	font-size: 25px;
	margin-top: 10px;
	margin-bottom: 10px;
}
.title__soustitle{
	font-size: 27px;
}
.title__plateaujeux{
	font-size: 27px;
	display: block;
	text-align: center;
	margin-top: 10px;
}
.title__soustitle:before{
	content: "";
	height: 5px;
	width: 25px;
	position: relative;
	display: block;
	top: 40px;
	left: 2px;
	background-color: #E61408 ;
	
	
}
.title__regle{
	font-size: 20px;
	margin-top: 50px;
}
.align__right{
	margin-left: 50%;
}
small{
	font-size: 12px;
	margin-left: 5px;
}
.list__style li{
	padding-left: 25px;
	margin-bottom: 10px;
}
.list__style li:before{
	background-image: url(images/carreau.png);
	background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    margin-top: -2px;
    margin-right: -15px;
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 13px;
    height: 13px;
    right: 24px;
    top: 1px;
    position: relative;
}
.list__style--pique li h5{
	padding-left: 25px;
	margin-bottom: 10px;
}
.list__style--pique li h5:before{
	background-image: url(images/pique.png);
	background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    margin-top: -2px;
    margin-right: -15px;
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 13px;
    height: 13px;
    right: 24px;
    top: 0px;
    position: relative;
}
.header__game{
	height: 28vh;
}
.img__jeux{
	height: 25vh;
	z-index: -10;
	padding-top: 30px;
	position: absolute;
	top: 18vh;
	right: 7%;
}
.img__jeux--dés{
	height: 15vh;
}
.home__liste--flex{
	display: flex;
	justify-content: space-around;
}
.home__liste--carte li{
	font-size: 20px;
	margin-bottom: 15px;
}
.home__liste--carte li:before{
	background-image: url(images/trefle.png);
	background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    margin-top: -3px;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 15px;
    height: 15px;
    position: relative;  
}
.home__liste--dés li{
	font-size: 20px;
	margin-bottom: 15px;
}
.home__liste--dés li:before{
	background-image: url(images/blanc/2.png);
	background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    margin-top: -3px;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 15px;
    height: 15px;
    position: relative;  
}
.cardflex{
	display: flex;
	justify-content: space-around;
}
.logo{
	height: 9vh;
	position: fixed;
	margin-left: 15px;
	margin-top: 4px;
}
h1{
	margin: 0;
	padding: 0;
}
ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
.menu__liste{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 10vh;
}
.menu__liste li{
	margin-right: 15px;
	font-size: 22px;
}
.reglage{
	position: fixed;
	background-image: url(images/reglage.png);
	height: 40px; 
	width: 40px;
	right: 40px;
	padding: 2px;
	top: 12vh;
	background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
  	border: none;	
  	transform-origin: center;
  	transition: transform 0.6s ease-out;
  	transform: rotate(0deg);
 	will-change: transform;
 	z-index: 10;
 	cursor: pointer;
}
.reglage:hover{
	transform: rotate(90deg);	
}
.validate{
  position: fixed;
  margin: auto;
  padding: 19px 22px;
  transition: all 0.2s ease;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
  border: none;
  cursor: pointer;
  right: 5px;
  bottom: 5px;
}
.validate:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 28px;
  background: rgba(230,20,8, 0.7);
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}
.validate span {
  position: relative;
  font-size: 13px;
  line-height: 18px;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  vertical-align: middle;
  top: -8px;
}

.validate:hover:before {
  width: 100%;
  background: rgba(230,20,8, 0.9);
}

   
.menu__reglage{
	height: 70vh;
	width: 70%;
	position: fixed;
	background-color: rgba(255,255,255,0.9);
	border-radius: 20px;
	border: 2px solid #E61408; 
	right: 30px;
	top: 160px;
	padding: 10px;
	transform-origin: 100% -8%;
	transform: rotate(-90deg);
  	transition: transform 0.4s ease-out;
 	will-change: transform;
 	z-index: 10;
 	box-shadow: 0px 10px 20px 0px rgba(0,0,0,.50);
}
.menu__reglage--flex{
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.menu__reglage--open{
	transform: rotate(0deg);
}
.menu__cartes{
	height: 220px;
	width: 45%;
	position: fixed;
	background-color: rgba(255,255,255,0.9);
	border-radius: 20px;
	border: 2px solid #E61408; 
	right: 130px;
	top: 100px;
	padding: 10px;
	transform-origin: 100% -8%;
	transform: translateY(-380px);
  	transition: transform 0.3s ease-out;
 	will-change: transform;
 	z-index: 10;
 	box-shadow: 0px 10px 20px 0px rgba(0,0,0,.50);
 	font-family: 'Stylish', sans-serif;
}
.menu__cartes li{
	font-size: 18px;
	margin-bottom: 15px;
}
.menu__cartes li:before{
	background-image: url(images/carreau.png);
	background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    margin-top: -3px;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 15px;
    height: 15px;
    position: relative;  
}
.menu__dés{
	height: 70px;
	width: 30%;
	position: fixed;
	background-color: rgba(255,255,255,0.9);
	border-radius: 20px;
	border: 2px solid #E61408; 
	right: 100px;
	top: 100px;
	padding: 10px;
	transform-origin: 100% -8%;
	transform: translateY(-380px);
  	transition: transform 0.3s ease-out;
 	will-change: transform;
 	z-index: 10;
 	box-shadow: 0px 10px 20px 0px rgba(0,0,0,.50);
 	font-family: 'Stylish', sans-serif;
}
.menu__dés li{
	font-size: 20px;
	margin-bottom: 15px;
}
.menu__dés li:before{
	background-image: url(images/blanc/3.png);
	background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    margin-top: -3px;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 15px;
    height: 15px;
    position: relative;  
}
.menu__translate{
	transform: translateY(0);
}
.menu__liste--carte{
	cursor: pointer;
}
.menu__liste--carte:hover{
	color: #E61408;
}
.menu__liste--dés{
	cursor: pointer;
}
.menu__liste--dés:hover{
	color: #E61408;
}
.menu__liste--apropos{
	cursor: pointer;
}
.menu__liste--apropos:hover{
	color: #E61408;
}
.dealer{
	width: 80%;
	height: 50vh;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	border: 1px solid black;
	margin-bottom: 10px;
}
.place{
	width: 110px;
	height: 160px;
	border: 1px solid black;
	margin: 10px;
}
.img__reglage--carte{
	height: 10vh;
	margin-left: 10px;
}
.img__reglage--dés{
	height: 5vh;
	margin-bottom: 13px;
	margin-left: 10px;
	position: relative;
	top: -7px;
}
.dés{
	width: 40px;
	height: 40px;
	background-repeat: no-repeat;
	background-size:contain;
	background-position:center;
}
.dés__flex{
	display: flex;
	width: 100px;
	margin:auto;
	justify-content: space-between;
	margin-top: 10px;
	margin-bottom: 10px;

}
.resultat__pigeon{
	width: 300px;
	height: 40px;
	display: block;
	margin: auto;
	margin-top: 10px;
	text-align: center;
}
.resultat__421{
	width: 300px;
	height: 40px;
	display: block;
	margin: auto;
	margin-top: 10px;
	text-align: center;
}
.animcontainer{
  width:100px;
  height:250px;
  position: absolute;
 	top: 50%; 
 	left: 50%;
 transform: translate(-40%, +10%);
  perspective: 800px;
  display: block;
  /*permet de retourner la carte avec une perspective plus ou moins naturelle en paramétrant la déformation*/
}
.flip {
  width:110px;
  height:150px;
 	margin-top: 2px;
 
  position:absolute;
  transform-style:preserve-3d;
  /*permet de faire apparaître l'arrière de la carte*/
  transition:transform 0.8s cubic-bezier(0.175,0.885,0.32,1.275);
  /*pas "all" pour ne viser que la transformation*/
  /*cubic-bezier, effet avec petit retour, mieux que linear, ease-in, ease-in-out, etc*/
  background-color: transparent;
  /*pour ne pas masquer l'autre face de la carte*/
}

.back{
	 background-repeat: no-repeat;
	 background-size:contain;
	 background-position:center;
	 width:110px;
  height:150px;
  position:absolute;
  backface-visibility:hidden;
}
.front{
	 background:url(images/doscartebleu.png) no-repeat;
	 background-size:contain;
	 background-position:center;
	  width:110px;
  height:150px;

  position:absolute;
  backface-visibility:hidden;
}


.flip .back {
  transform:rotateY(180deg);
}

.question{
 position: absolute;
 top: 50%; 
 left: 50%;
 transform: translate(+30%, +500%);
}

.flipped{
  transform:rotateY(180deg);
}
.lien__changepage{
	cursor: pointer;
}
.invisible{
	opacity: 0;
	position: absolute;
	top: 0;
}
.hidden{
	display: none;
}

/* Masquer le bouton radio d'origine */
input[type=radio]{
    display: none;
}
/* Affichage par défaut du bouton radio personnalisé */
input[type=radio] + label:before {
    background: #fff;
    border: 2px solid #E61408;
    border-radius: 50%;
    margin-top: -3px;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 15px;
    height: 15px;
    position: relative;
    top: -30px;
    
}
/* Affichage du bouton radio personnalisé quand il est sélectionné */
input[type=radio]:checked + label:before {
    background: #E61408;
    border-color: #E61408;
    box-shadow: inset 0px 0px 0px 2px #fff;
}
label{
    cursor:pointer;
}

body[data-section="home"] #home {
  display: block;
}
body[data-section="dealer"] #dealer{
  display: block;
}
body[data-section="h"] #h {
  display: block;
}
body[data-section="pyramide"] #pyramide {
  display: block;
}
body[data-section="pigeon"] #pigeon {
  display: block;
}
body[data-section="cercueil"] #cercueil {
  display: block;
}
body[data-section="petitchevaux"] #petitchevaux {
  display: block;
}
body[data-section="game421"] #game421 {
  display: block;
}
body[data-section="pigeondé"] #pigeondé {
  display: block;
}
body[data-section="apropos"] #apropos {
  display: block;
}
body[data-section="dealergame"] #dealergame {
  display: block;
}
body[data-section="dealergame"] .reglage {
  display: none;
}
body[data-section="dealergame"] .menu__reglage {
  display: none;
}
body[data-section="test"] #test {
  display: block;
}
footer{
	height: 10vh;
	border-top: 2px solid black;
}
.footer{
	display: flex;
	justify-content: space-around;
	align-items: center;
	height: 10vh;
}

.btn__changepage{
  position: relative;
  margin: auto;
  padding: 19px 22px;
  transition: all 0.2s ease;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: block;

}
.btn__changepage:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 28px;
  background: rgba(230,20,8, 0.7);
  width: 40px;
  height: 40px;
  
  transition: all 0.3s ease;
}
.btn__changepage span {
  position: relative;
  font-size: 13px;
  line-height: 18px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  
  top: -4px;
  width: 100%;
  margin-left: 5px;
}

.btn__changepage:hover:before {
  width: 100%;
  border: 4px solid;
  border-color: rgba(230,20,8,1);
  background-color: white;
  
}
.under__700{
	display: block;
	margin: auto;
	font-size: 35px;
	height: 62vh;
	color: #E61408;
	margin-top: 30vh;
}
.over__700{
	display: none;
}
.lienmail{
	display: block;
	font-weight: 500;
	margin: auto;
	width: 300px;
	text-align: center;
	color: #E61408;
}
.lienmail:hover{
	transform: scale(1.1);
}

@media(min-width: 650px) {
	body{
		font-size: 15px;
	}
	.under__700{
		display: none;
	}
	.over__700{
		display: block;
		height: 68vh;
		margin-top: 10vh
	}
	.dealer{
		height: 35vh;
		width: 85%;
		border-radius: 50px;
		padding: 10px;
	}
	.place{
		
		width: 5%;
		height: 10vh;
		border: 1px solid black;
		margin: 12px;
	}
	.animcontainer{
  		width: 15vw;
		height: 25vh;
		transform: translate(-52%, +50%);
  	}
	.flip {
		width: 15vw;
		height: 25px;
	}
	.back{
		width: 15vw;
		height: 25vh;
	}
	.front{
		width: 15vw;
		height: 25vh;
	}
	.question{
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 50%;
		transform: translate(-135%, +140%);
	}
	.question label{
		margin-bottom: 7px;
	}
	.cplus{
		position: absolute;
		width: 30%;
		top: 50%;
		transform: translate(185%, 250%);
		font-size: 20px;
	}
	.rappel{
		position: fixed;
		background-image: url(images/rappel.png);
		height: 30px; 
		width: 30px;
		right: 20px;
		padding: 2px;
		top: 12.5vh;
		background-repeat: no-repeat;
	    background-size: contain;
	    background-color: transparent;
	  	border: none;	
	  	transform-origin: center;
	  	
	  	
	 	z-index: 10;
	 	cursor: pointer;
	}
	.rappel:hover{
		transform: scale(1.1)
	}
	.title__dealergame{
		position: absolute;
		top: 20px;
		left: 10px;
	}
	.rappel__div{
		width: 30%;
		height: 63vh;
		background-color: rgba(0,0,0,0.8);
		position: fixed;
		color: white;
		font-size: 14px;
		right: 0px;
		top: 22.5vh;
		padding: 15px;
		transition: transform 0.6s ease-out;
		transform: translateX(100%);
	 	will-change: transform;
	}
	.rappel__div h3{
		margin-top: 0;
	}
	.translated{
		transform: translateX(0);
	}
	.backchanged{
		background-image: url(images/fermer.png); 
	}
	section{
		margin-left: 100px;
		margin-right: 100px;
	}
	.title__home{
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.home__liste--carte li{
		font-size: 15px;
		margin-bottom: 10px;
	}
	.home__liste--dés li{
		font-size: 15px;
		margin-bottom: 15px;
	}
	.section__home{
		margin-top: 20vh;
		height: 66vh;
		margin-left: 20px;
		margin-right: 20px;
	}
	.img__jeux{
		
		margin-right: 45px;
	}
	.menu__translate{
		transform: translateY(-50px);
	}
	.menu__reglage {
	    height: 67vh;
	    right: 18px;
	    top: 95px;
	}
	.reglage{
		right: 24px;
	}
	.menu__cartes {
    width: 25%;
	}
	.menu__dés {
    width: 25%;
	}
}
@media(min-width: 1100px) {
	body{
		font-size: 20px;
	}
	.title__home{
		font-size: 35px;
	}
	.dealer{
		height: 38vh;
		width: 94%;
		border-radius: 138px;
		padding: 33px;
	}
	.place{	
		width: 10%;
		height: 14vh;
		border: 1px solid black;
		margin: 12px;
	}
	.animcontainer{
  		width: 15vw;
		height: 20vh;
		transform: translate(-52%, 80%);
  	}
	.flip {
		width: 15vw;
		height: 20vh;
	}
	.back{
		width: 15vw;
		height: 20vh;
	}
	.front{
		width: 15vw;
		height: 20vh;
	}
	.question{
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 63%;
		transform: translate(-185%, +140%);
	}
	.question label{
		margin-bottom: 7px;
	}
	.cplus{
		position: absolute;
		width: 30%;
		top: 50%;
		transform: translate(150%, 760%);
		font-size: 20px;
	}
	.rappel{
		position: fixed;
		background-image: url(images/rappel.png);
		height: 30px; 
		width: 30px;
		right: 20px;
		padding: 2px;
		top: 12.5vh;
		background-repeat: no-repeat;
	    background-size: contain;
	    background-color: transparent;
	  	border: none;	
	  	transform-origin: center;
	 	z-index: 10;
	 	cursor: pointer;
	}
	.rappel:hover{
		transform: scale(1.1)
	}
	.title__dealergame{
		position: absolute;
		top: 63px;
		left: 10px;
		font-size: 53px;
	}
	.rappel__div{
		width: 20%;
		height: 63vh;
		background-color: rgba(0,0,0,0.8);
		position: fixed;
		color: white;
		font-size: 25px;
		right: 0px;
		top: 22.5vh;
		padding: 15px;
		transition: transform 0.6s ease-out;
		transform: translateX(100%);
	 	will-change: transform;
	}
	.rappel__div h3{
		margin-top: 0;
	}
	.translated{
		transform: translateX(0);
	}
	.backchanged{
		background-image: url(images/fermer.png); 
	}
	section{
		margin-left: 15%;
		margin-right: 15%;
	}
	.title__home{
		margin-top: 20px;
		margin-bottom: 7%;
	}
	.title__soustitle {
	    font-size: 33px;
	    margin-bottom: 60px;
	}
	.title__soustitle::before {
	    top: 85px;
	    margin-bottom: 42px;
	}
	.title__jeux{
		font-size: 60px;
	}
	.home__liste--carte li{
		font-size: 30px;
		margin-bottom: 10px;
	}
	.home__liste--dés li{
		font-size: 30px;
		margin-bottom: 15px;
	}
	small {
    	font-size: 13px;
	}
	.home__liste--flex{
		width: 100%;
		margin-right: 20%;
		margin-right: 20%;
		justify-content: space-evenly;
	}
	.section__home{
		margin-top: 20vh;
		height: 67vh;
		margin-left: 20px;
		margin-right: 20px;
	}
	.img__jeux{	
	    height: 25vh;
	   
	    padding-top: 23px; 
	    right: 13%;
	}
	.img__jeux--dés {
		height: 20vh;
   	 	top: 22vh;
	}
	.dés{
		width: 300px;
		height: 220px;
	}
	.dés__flex{
		width: 340px;
	}
	.resultat__pigeon {
	    margin-top: 15px;
	    margin-bottom: 25px;
    }
	.menu__translate{
		transform: translateY(10px);
	}
	.menu__reglage {
	    height: 67vh;
	    right: 18px;
	    top: 170px;
	    width: 30%;
	}
	.reglage{
		right: 24px;
	}
	.menu__cartes {
    width: 15%;
	}
	.menu__dés {
    width: 15%;
	}
}