
a{
	text-decoration: none;
	color:black;
}

h1{
	font-size:100px;
	margin-top:10px;
	margin-bottom: 5cm;
	color:white;
}
h2{
	color:white;
}
h3{
	color:black;
	font-size:50px;
}
a.info span{
	display:none;
}
a.info {
   position: relative;
   color: black;
   text-decoration: none;
   border-bottom: 1px gray dotted; /* On souligne le texte. */
}
a.info:hover {
	z-index:11;
   background: none; /* Correction d'un bug d'Internet Explorer. */
   z-index: 500; /* On définit une valeur pour l'ordre d'affichage. */
   cursor: pointer; /* On change le curseur par défaut par un curseur d'aide. */
}

a.info:hover span {
   display: inline; /* On affiche l'infobulle. */
   position: absolute;
   white-space: nowrap; /* On change la valeur de la propriété white-space pour qu'il n'y ait pas de retour à la ligne non désiré. */
   top: 30px; /* On positionne notre infobulle. */
   right: 8px;
   background: black;
   color: white;
   padding: 3px;
   border: 1px solid white;
   border-right: 4px solid white;

}
/*------------------------ Page principale------------------------- */
/* messages des livres de règles */
.contenant figure, .contenant2 figure{
	position: relative;
	overflow: hidden;
	min-width: 200px;
	max-width: 200px;
	max-height: 320px;
	cursor: pointer;
	top:-150px;
}
.contenant figure {
	float:right;
}
.contenant2 figure{
	left:2px;
}

.contenant2 figure figcaption, .contenant figure figcaption{
	position: absolute;
}

/* mise en forme des div des livres */
figure.effet-de-transition figcaption {
	z-index:1;
	bottom: 0;
	padding: 5px;
	height: 100%;
	background: rgb(0,0,0,0.6); 
	color: #3c4a50;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(100%,0,0);
	transform: translate3d(-100%,0,0);
}

figure.effet-de-transition p.description {
	bottom: 15em;
	padding: 2px;
	color: #fff;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
	-webkit-backface-visibility: hidden; /* Fix for Chrome 37.0.2062.120 (Mac) */
}

figure.effet-de-transition:hover p.description {
	opacity: 1;
}

figure.effet-de-transition:hover figcaption{
 -webkit-transform: translate3d(100%,0,0); 
	transform: translate3d(0,0,0);
}
/* fin des div des livres */
/* mise en forme des div de fond des différents jdr */
.slide {
	padding:20px;
	margin: 0% 5%;
	height: 800px;
	width: 90%;
	box-sizing: border-box;
	box-shadow: 0 -1px 10px rgba(0, 0, 0, .7);
	transform-style: inherit;
	background: cover; 
    animation-name: animationintro;
    animation-duration: 4s;
}

.droite{
	font-size:100px;
	color:white;
	margin-bottom: 5cm;
	margin-left:300px;
	margin-top:10px;
}
#slide1,#slide2,#slide3,#slide4,#slide5,#slide6,#slide7{
	background-attachment: fixed;
	background-size:100%;
	z-index:-1;
}
#slide1 {background-image: url("../img/guilde.png");}
#slide2 {background-image: url("../img/bs.png");}
#slide3{background-image:  url("../img/hp.png");}
#slide4 {background-image: url("../img/d6.png");}
#slide5 {background-image: url("../img/basic.png");}
#slide6 {background-image:url("../img/vampire.png");}
#slide7 {background-image:url("../img/eclipse.png");}
/* stop div diff jdr */

/* bouton en forme des dès */
.boutondroite{
	padding-top:10%;
	position:fixed;
	background-color:white;
	width:5%;
	height:100%;
	left:95%;
	animation-name: intro;
	animation-duration: 4s;
}
.check-point{
	position:static;
	margin:5px auto;
	background-repeat:no-repeat;
	height:40px;
	width:30px;
}
#check-point{
	-moz-transition:-moz-transform .2s;
	-o-transition:-o-transform .2s;
	-ms-transition:-ms-transform .2s;
	transition:all  .8s;
}
#check-point:hover{
	-webkit-animation: rotating 5s linear infinite;
	transform:rotatez(360deg);
	-ms-transform:rotatez(360deg); /* Internet Explorer */
	-moz-transform:rotatez(360deg); /* Firefox */
	-webkit-transform:rotatez(360deg); /* Safari et Chrome */
	-o-transform:rotatez(360deg); /* Opera */
}
.boutondroite:hover{padding-top:3%;
transition-property: padding-top;
   transition-duration: 0.8s;}
.boutondroite:hover .check-point {
 transition-property: margin;
   transition-duration: 2s;
   margin:30px auto;}
/* stop bouton f dès */

/* mise en forme de la description des jdr */
.cadreinfo, .cadreinfodroite{
	margin-top:30px;
	border-radius:25px;
	border-style:double;
	padding:15px;
	line-height:30px;
	position:relative;
	color:white;
	height:350px;
	width:550px;
	top:-150px;
	background-color:black;
	opacity:0.3;
}
.cadreinfodroite{
	float:right;
	right:0px;
}
.cadreinfo{
	float:left;
	margin-left:0px;
}

.cadreinfo:hover, .cadreinfodroite:hover{
	opacity:0.8;
}

/*------------------------ Pages secondaires------------------------- */
/* span retour */
.re{
	font-size:45px;
	text-align: center;
	margin:auto;
	left:25px;
	font-weight: 800;
	background-color:white;
	opacity:1;
	-webkit-animation-name: retourbouton; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 5s; /* Safari 4.0 - 8.0 */
    animation-name: retourbouton;
    animation-duration: 4s;
}
.regles{
	padding:20px;
	margin: 0% 5%;
	margin-left:40px;
	height: 580px;
	width: 96%;
	background: cover;
	background-image:url("../img/regle.png");
	background-attachment: fixed;
	z-index:-1;
	background-size:100%;
	animation-name: example;
	animation-duration: 4s;
}

.retour{
	position:fixed;
	margin-top:-40px;
	left:20px;
	width:5%;
	height:105%;
	background-color:white;
	animation-name: retour;
	animation-duration: 4s;
}
#menueregle{
	-webkit-animation-name: retour; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
    animation-name: retour;
    animation-duration: 4s;
}

.menue{
	margin-left:80%;
	margin-top:-30px;
	position:fixed;
	padding-top:50Px;
	padding-left:10px;
	width:15%;
	height:95%;
	background-color:white;
	-webkit-animation-name: slideregle; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
    animation-name: slideregle;
    animation-duration: 4s;
}

.choix{
	text-align:center;
	line-height:40px;
	font-size:30px;
	width:100%;
	height:50px;
	background-color:white;
}
.choix:hover{
	background-color:black;
	opacity:0.7;
	color:white;
	transform: scale(1.1);
	cursor:pointer;
}
#slide5bis {
	background-image: url("../img/basic.png");
	z-index:-1;
	background-size:100%;
	height:95%;
}
/* div de fond pour la transition */
.slide2 {
	padding:20px;
	margin: 0% 5%;
	width: 90%;
    animation-name: depart;
    animation-duration: 4s;
}
/* retour */
.boutondroite2{
	padding-top:15%;
	position:fixed;
	width:5%;
	height:100%;
	left:20px;
	-webkit-transition: padding-top 0.5s;
	transition: padding-top 0.5s;
}
/* retour */
.check-point2{
	position:static;
	margin:5px auto;
	background-repeat:no-repeat;
	height:40px;
	width:30px;
	-webkit-transition: margin 0.5s;
	transition: margin 0.5s;
}

.boutondroite2:hover{
	padding-top:5%;
}
.boutondroite2:hover .check-point2 {
	padding-top:5%;
	margin:40px auto;
}
/* div de glissement */
.regles2{
	position:absolute;
	margin-left:80px;
	height: 570px;
	width: 85%;
	background-attachment: relative;
	background-size:100%;
	z-index:-1;
	animation-name: exampleintro2;
	animation-duration: 9s;
}

/* iframe d'affichage des fichier */
.divfinale{
	position:absolute;
	width:60%;
	height:60%;
	margin:100px;
	 -webkit-animation-name: apparition; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
    animation-name: apparition;
    animation-duration: 4s;
}

/* -----------------------------les animations -------------------------*/

/* animation de la page principale */
@keyframes animationintro {
	animation-iteration-count: 1;
    0.1%{margin-left: 60px;}
	 1%{margin-left: -1500px;}
    100%{margin-left: 60px;}
}
@keyframes intro {
	animation-iteration-count: 1;
	0.1%{margin-left: 0px;}
    1%{margin-left: -1150px;}
    100%{margin-left: 0px;}
}
/* stop animation page principale */

/* fin des animations de la page principale */
/* animation de la page secondaire */
/* slide de départ du fond */
@keyframes example {
	animation-iteration-count: 1;
	0%{margin-left: 25px;}
	0.1%{margin-left: 1700px;}
	100%{margin-left: 25px;}
}
/* transformation des dès en retour */
@keyframes retour {
	animation-iteration-count: 1;
	0%{margin-left: 10px;}
    0.1%{margin-left: 1200px;}
    100%{margin-left: 10px;}
}
/* animation des choix de pdf */
@keyframes slideregle {
	animation-iteration-count: 1;
    0%{margin-left: 80%;}
	0.1%{margin-left: -2000px;}
    100%{margin-left: 80%;}
}
/* apparition de retour */
@keyframes retourbouton {
	animation-iteration-count: 1;
	0%{opacity:1;}
	0.1%{opacity:0.1;}
	10%{opacity:0.1;}
    100%{opacity:1;}
}
/* depart de la div précedentes */
@keyframes depart {
	animation-iteration-count: 1;
  0%{margin-left: 0px;}
    100%{margin-left: -1500px;}
}
/* div juste pour ce putin de slide */
@keyframes exampleintro2 {
	animation-iteration-count: 1;
    0%{margin-left: 4500px;opacity:1;}
	0.1%{margin-left: 10px;opacity:0.1;}
    100%{margin-left: 4500px;opacity:1;}
}
/* apparition de la iframe */

/* stop anim p secondaire */
