/*RESET CSS*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Custom Nav*/

nav{
		
	background:#3c3c3b;
	height:80px;
	width:100%;
	
}

a{
	text-decoration:none;
	font-family:arial, sans-serif;
}

a.logo{
	display:inline-block;
	line-height:80px;
	padding:0 90px;
	margin-top:5px;
	
}

a.logo:hover{
	background:transparent;
}

nav ul{
	float:right;
	margin-right:20px;
}

nav ul li{
	display:inline-block;
	line-height:80px;
	margin:0 5px;
}

/*contour des liens*/
nav ul li a{
	color:white;
	font-size:17px;
	padding:7px 13px;
	border-radius: 3px;
	text-transform:uppercase;
	}
	
	
nav ul li a.active{
	color:white;
	font-size:17px;
	padding:7px 13px;
	border-radius: 3px;
	text-transform:uppercase;
	background-color:#673a8e;
}


.checkbtn{
	font-size:30px;
	color:white;
	float:right;
	line-height:80px;
	margin-right:40px;
	cursor:pointer;
	display:none;
}

#check{
	display:none;
}


/*Animation bulles et positionnement sur index et a propos*/
.plan4{
	position:absolute;
	left:1%;
	animation-name:animX;
	animation-duration:4s;
	animation-direction: normal;
	animation-direction: normal;
	animation-iteration-count: infinite;
	
}


@keyframes animX{
	from {transform : translateY(-0px);}
	to {transform : translateY(-1500px);}
	
}
.plan3{
	
	position:absolute;
	left:30%;
	animation-name:animX;
	animation-duration:3s;
	animation-direction: normal;
	animation-iteration-count: infinite;
	
}

@keyframes animX{
	from {transform : translateY(-0px);}
	to {transform : translateY(-1500px);}
	
}
.plan2{
	
	position:absolute;
	left:70%;
	animation-name:animX;
	animation-duration:5s;
	animation-direction: normal;
	animation-iteration-count: infinite;
	
}

@keyframes animX{
	from {transform : translateY(-0px);}
	to {transform : translateY(-1500px);}
}

.plan1{
	position:absolute;
	left:80%;
	animation-name:animX;
	animation-duration:6s;
	animation-direction: normal;
	animation-iteration-count: infinite;
	}

@keyframes animX{
	from {transform : translateY(-0px);}
	to {transform : translateY(-1500px);}
	
}
	
/*MAIN*/
	
h1{
	margin-top: 5%;
	margin-bottom: 3%;
	color:#673a8e;
	font-family:arial, sans-serif;
	font-size:2.5rem;
	font-weight:bold;	
	text-align: center;
}

.introphoto{
	max-width:100%;
}

h2{
	background-color:#3c3c3b;
	padding-top:1%;
	padding-bottom:1%;
	margin-top:1%;
	margin-bottom:5%;
	width:100%;
	max-width:100%;
	color:white;
	text-align:center;
	font-size:1.5rem;
	font-weight:bold;
	font-family:arial, sans-serif;
	margin-top:5%;
}	

.conteneur10{
	
	margin-top:5%;
	margin-bottom:25%;
}

.conteneur11{
	
	margin-top:5%;
	margin-bottom :25%;
}

.pintro{	
	font-family:Verdana, Geneva, Tahoma, sans-serif, sans-serif;
	line-height: 1.7em;
	
	margin-top: 5%;
}
	
.pintro3{
	
	margin-left: 20%;
	margin-right: 10%;
	margin-top: -21%;
}

.pintro2{
	margin-left: 40%;
	max-width:100%;

}


.presentationbook{
	font-family:Verdana, Geneva, Tahoma, sans-serif, sans-serif;
	margin-left:3%;
	margin-right:3%;
	margin-bottom: 3%;
	line-height: 1.5em;

	}
b.gras{
	font-weight: bold;
	color:#662483;
}

.link{
	transition-duration: 1s;
	margin-top: 2%;
	margin-bottom: 4%;
	
}

.link:hover{
	background-color: rgb(32, 32, 32);
	opacity: 0.8;
	transform: scale(1.3, 1.3);
	
}

.link:active{
	background-color: rgb(32, 32, 32);
	opacity: 0.8;
	}

.clic{
font-weight: bold;
margin-left:50%;

}


	
/*main book*/	

.main2{
	width:960px;
	margin:auto;
	max-width:100%;
}

.afooter{
	font-size:1.2rem;
	margin-top:2rem;
	display:inline-block;
	margin-left:45%;
	color:white;
}

.afooter:hover{
	margin-left:45%;
	margin-top:2rem;
	transition-duration : 2s;
	transform: scale(1.5);
	display:inline-block;
}


footer{
	width:100%;
	height:5rem;
	background-color:#3c3c3b;
	justify-content:center;
}







@media screen and (max-width:880px) {

/*NAV*/

nav{
	
	max-width:100%;
}	
	
.checkbtn{
		display:block;
}
	
ul{ 
	position:fixed;
	width:100%;
	height:100vh;
	background:#3c3c3b;
	top:80px;
	left:-100%;
	text-align:center;
	transition:all .5s;
}

nav ul li{
	display:block;
	margin:50px;
	line-height:30px;
}


nav ul li a{
	font-size:20px;
}

.clic{
font-weight: bold;
margin-left:45%;

}

#check:checked ~ ul{
	left:0;
}

a.logo{
	padding:0;
	margin-left:2%;
}

	
/*BULLES*/


.plan2{
	left:50%;
}

.plan1{
	left:60%;
}
	
.pintro2{
	margin-left:30%;
}

.figure1{	
	
	margin:2%;	
}



@media screen and (max-width:720px) {

/*NAV*/


	
.checkbtn{
		display:block;
}
	
ul{ 
	position:fixed;
	width:100%;
	height:100vh;
	background:#3c3c3b;
	top:80px;
	left:-100%;
	text-align:center;
	transition:all .5s;
}

nav ul li{
	display:block;
	margin:50px;
	line-height:30px;
}


nav ul li a{
	font-size:20px;
}



#check:checked ~ ul{
	left:0;
}

a.logo{
	padding:0;
	margin-left:2%;
}



/*MAIN*/
	
h1{
	margin-left: 5%;
	margin-right: 5%;
}

h3{
line-height: 1.2em;

}

.pintro2{
	margin-left: 20%;
	max-width:100%;

}


/*main book*/
.conteneur10{
	margin-top:10%;
		}

.main2{
	width:100%;
	
	
	
}	
.figure3{
	max-width:50%;
}



/*FOOTER*/

.afooter{
	font-size:0.6rem;
	display:inline-block;
	margin-left:40%;
}

.afooter:hover{
	font-size:0.6rem;
	display:inline-block;
	margin-left:40%;
}

footer{
	height:80px;
}

.main3{
	padding-top:50%;
	margin-bottom:60%
}

} 

@media screen and (max-width:400px) {
	
	.pintro3{
		margin-left:3%;
		margin-right:3%;
	}
	
	.pintro2{
		margin-left:3%;
		margin-right:3%;
	}
	.clic{
		margin-left:30%;
	}
}