*{
	margin:0;
	padding:0;
}
@font-face{
	font-family:"RobotoSlab-Bold";
	src:url('../font/RobotoSlab-Bold.ttf');
}
@font-face{
	font-family:"RobotoSlab-Light";
	src:url('../font/RobotoSlab-Light.ttf');
}

@font-face{
	font-family:"RobotoSlab-Regular";
	src:url('../font/RobotoSlab-Regular.ttf');
}

@font-face{
	font-family:"Spectral-Bold";
	src:url('../font/Spectral-Bold.ttf');
}
@font-face{
	font-family:"Staatliches-Regular";
	src:url('../font/Staatliches-Regular.ttf');
}
#htmlpage2{
	background-color:black;
}
#ouverture{
	position:absolute;
	z-index:2;
	width:100%;
}

#ouverture2{
	position:absolute;
	z-index:1;
	width:100%;
}
header{
	height:9vw;
}

#change{
	background-image:url("../image/transition.gif");
}
#imgp2{
	background-image:url("../image/testp2.png");
}

header img{
	width:100%;
}
header h1{
	text-align:center;
	font-family:"RobotoSlab-Bold";
	font-size:2.5vw;
	width:80%;
	margin-left:10%;
}
#grandintro{
	position:relative;
	z-index:2;
}
#petitintro{
	position:relative;
	z-index:2;
}
nav{
	border:0.2vw black;
	border-style:solid none solid none;
	width:80%;
	margin-left:10%;
	float:left;
}
#menuintro{
	position:relative;
	z-index:2;
}
nav a{
	font-family:Staatliches-Regular;
	font-size:1.5vw;
	width:33%;
	text-align:center;
	float:left;
	border:0.2vw black;
	border-style:none solid none none;
	cursor:pointer;
	text-decoration:none;
	color:black;
}
a:hover{
	text-decoration:underline;
	font-family:Staatliches-Regular;
	color:white;
	background-color:black;
	transition-duration:1s;
}
nav a:last-child{
	border:0.3vw black;
	border-style:none none none none;
}
h2{
	font-family:"RobotoSlab-light";
	width:100%;
	text-align:center;
	font-size:1.3vw;
	margin-bottom:2%;
	float:left;
	margin-top:1%;
}
#titreintro{
	width:70%;
	margin-left:15%;
	margin-top:2%;
	font-family:RobotoSlab-Bold;
	position:relative;
	z-index:2;
}
p{
	margin-top:1vw;
	margin-left:15%;
	text-align:center;
	font-family:"Spectral-Bold";
	font-size:1.2vw;
}
#text-intro{
	width:70%;
	position:relative;
	z-index:2;
}
#indique{
	text-align:center;
	color:white;
	font-family:RobotoSlab-Bold;
	font-size:2vw;
}
#entete2{
	position:absolute;
	width:100%;
	z-index:6;
}
#section2{
	position:absolute;
}
section img{
	width:100%;
	position:absolute;
}
section .lesimg{
	width:100%;
	position:absolute;
}
fieldset{
	z-index:4;
	position:absolute;
	top:7vw;
	width:20.5%;
	margin-left:0.5%;
	height:40vw;
	overflow:hidden;
	padding:0.5%;
	border-color:black;
}
legend{
	text-align:center;
	font-family:"RobotoSlab-Bold";
	width:90%;
	font-size:1vw;
	
}
/*terril*/
section div:nth-child(15){
	background-color:red;
	height:5.5vw;
	border-radius:10px 10px 10px 10px;
	position:absolute;
	z-index:5;
	left:1.7%;
	width:19.2%;
	top:12.1vw;
	height:3.5vw;
	transition-duration:0.5s;
	font-size:1.2vw;
	color:white;
	cursor:pointer;
	background: url(../image/fond-bouton.png);
	background-size:100%;
	background-repeat:no-repeat;
	font-family:Staatliches-Regular;
	padding-top:2vw;
	text-align:center;
}
/*machine d'extraction*/
section div:nth-child(12){
	background-color:red;
	height:5.5vw;
	border-radius:10px 10px 10px 10px;
	position:absolute;
	z-index:5;
	left:1.7%;
	width:19.2%;
	top:33.2vw;
	height:4.5vw;
	transition-duration:0.5s;
	font-size:1.2vw;
	color:white;
	cursor:pointer;
	background: url(../image/fond-bouton.png);
	background-size:100%;
	background-repeat:no-repeat;
	font-family:Staatliches-Regular;
	padding-top:1vw;
	text-align:center;

}
/*sale des pendus*/
section div:nth-child(3){
	background-color:red;
	height:5.5vw;
	border-radius:10px 10px 10px 10px;
	position:absolute;
	z-index:5;
	left:1.7%;
	width:19.2%;
	top:40.2vw;
	height:3.5vw;
	transition-duration:0.5s;
	font-size:1.2vw;
	color:white;
	cursor:pointer;
	background: url(../image/fond-bouton.png);
	background-size:100%;
	background-repeat:no-repeat;
	font-family:Staatliches-Regular;
	padding-top:2vw;
	text-align:center;

}
/*chevalement*/
section div:nth-child(9){
	background-color:red;
	height:3vw;
	border-radius:10px 10px 10px 10px;
	position:absolute;
	z-index:5;
	left:1.7%;
	width:19.2%;
	top:19.2vw;
	height:3.5vw;
	transition-duration:0.5s;
	font-size:1.2vw;
	color:white;
	cursor:pointer;
	background: url(../image/fond-bouton.png);
	background-size:100%;
	background-repeat:no-repeat;
	font-family:Staatliches-Regular;
	padding-top:2vw;
	text-align:center;

}
/*clapeuse*/
section div:nth-child(6){
	background-color:red;
	height:3vw;
	border-radius:10px 10px 10px 10px;
	position:absolute;
	z-index:5;
	left:1.7%;
	width:19.2%;
	top:26.2vw;
	height:3.5vw;
	transition-duration:0.5s;
	font-size:1.2vw;
	color:white;
	cursor:pointer;
	background: url(../image/fond-bouton.png);
	background-size:100%;
	background-repeat:no-repeat;
	font-family:Staatliches-Regular;
	padding-top:2vw;
	text-align:center;

}
section div:nth-child(3n):hover{
	background:url(../image/fond-bouton2.png);
	background-repeat: no-repeat;
	background-size:100%;
}
#changisme{
	background:url(../image/fond-bouton2.png);
	background-repeat: no-repeat;
	background-size:100%;
}

fieldset #information{
	background: #1C54B7;
	position:absolute;
	width:101%;
	height:100%;
	left:-1%;
}
fieldset #information div{
	background-color:white;
	padding-top:1%;
	width:100%;
	height:100%;
	text-align:center;
}
fieldset #information article{
	padding:0;
}
fieldset #information article p:last-child{
	border:0.15vw black;
	border-style:none none solid none;
	padding-bottom:5%;
}
fieldset #information article p{
	margin-left:5%;
	width:90%;
	line-height:1.4em;
	font-size:0.95vw;
	margin-top:2%;
	padding-bottom:2%;
}

#information div div{
 	background-image:url(../image/off.png);
 	background-size:100%;
 	background-repeat:no-repeat;
 	width:8%;
 	margin-left:45%;
 	margin-top:3%;
 	cursor:pointer;
 	transition-duration:1s;
}
#information div div div{
 	border:0.2% black;
	border-style:solid none none none;
}
#information div div:hover{
 	cursor:pointer;
 	background-image:url(../image/off2.png);
}
.information{
	-webkit-animation-name: exampleg; /* Safari 4.0 - 8.0 */
  	-webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
  	-webkit-animation-delay: 2s; /* Safari 4.0 - 8.0 */
  	animation-name: exampleg;
  	animation-duration: 1s;
  	animation-delay: 0s;
}
@-webkit-keyframes exampleg {
  from {
        top:100%;
    }
    to {
        top:5%;
    }
}
div p{
	font-size:1vw;
	text-align:center;
}
.infoinitial{
	top:100%;
}
.information2{
	top:5%;
}
h3{
	font-family:Staatliches-Regular;
	text-align:center;
	border-style:none none solid none;
	margin-top:2%;
	width:90%;
	margin-left:5%;
	font-size:1.5vw;
}
h4{
	font-family:"RobotoSlab-Bold";
	margin-top:2%;
	margin-bottom:2%;
	font-size:1vw;
	border:0.1vw black;
	border-style:none none solid none;
	width:80%;
	margin-left:10%;
}
.retour{
	-webkit-animation-name: examplegdeux; /* Safari 4.0 - 8.0 */
  	-webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
  	-webkit-animation-delay: 2s; /* Safari 4.0 - 8.0 */
  	animation-name: examplegdeux;
  	animation-duration: 1s;
  	animation-delay: 0s;
}
@-webkit-keyframes examplegdeux {
  from {
        top:5%;
    }
    to {
        top:100%;
    }
}
.indique1{
	width:80%;
	left:20%;
	z-index:6;
	
	margin-top:6.5%;
	display:none;
	height:40vw;
	position:absolute;
}
#interieur1{
	width:10%;
	bottom:83%;
	left:1.5%;
	position:absolute;
}
#interieur2{
	width:10%;
	bottom:75%;
	left:40%;
	position:absolute;
}
#interieur3{
	width:10%;
	bottom:83%;
	left:75%;
	position:absolute;
}
#interieur4{
	width:10%;
	bottom:30%;
	left:65%;
	position:absolute;
}
#interieur5{
	width:15%;
	bottom:15%;
	left:70%;
	position:absolute;
	transform:rotate(-90deg);
}
#interieur6{
	width:15%;
	bottom:40%;
	left:1%;
	position:absolute;
	transform:rotate(-90deg);
}
#interieur7{
	width:15%;
	bottom:5%;
	left:30%;
	position:absolute;
}
#positionmachine{
	width:14.5%;
	margin-left:59.5%;
	margin-top:32.4%;
	z-index:1;
}
#positionmobile{
	width:66.5%;
	margin-left:33.5%;
	margin-top:11.4%;
	z-index:3;
}
.cache{
	z-index:4;
}
.complement{
	z-index:2;
}
#boutonplay{
	width:20%;
	margin-left:40%;
	margin-top:20%;
	z-index:1;
	cursor:pointer;
}
#suite{
	height:50vw;
	background-size:100%;
	position:absolute;
	width:100%;
	margin-top:49.5vw;
	display:none;
	background-color:black;
}
#suite img{
	z-index:0;
}
#fondsuite{
	position:absolute;
	transition-duration:4s;
}
#cage{
	float:left;
	width:6.5%;
	transition-duration:2s;
	margin-left:33.7%;
}
#text-descente{
	width:33.5%;
	float:left;
	color:white;
	margin-right:-33.5%;
}
#text-descente p{
	margin-left:0%;
	padding-left:10%;
	padding-right:10%;
}
#boutondescente{
	width:11%;
	height:12vw;
	margin-top:35%;
	margin-left:4%;
	background-image:url(../image/boutondescente.png);
	background-size:cover;
	cursor:pointer;
}
a #boutondescente{
	color:white;
	font-weight:none;
}
a #boutondescente h3 {
	font-weight:none;
	text-decoration:none;
}
#boutondescente:hover{
	background-image:url(../image/boutondescenteover.png);
	transition-duration:1s;
}
#titredescente{
	margin-top:8vw;
	margin-bottom:3vw;
}
