/******************************************************
	One Page Responsive HTML Template
	
	Sections of stylesheet:
		$INDEX1 - GENERAL
		$INDEX2 - HEADER COMMON
		$INDEX3 - MENU COMMON
		$INDEX4 - HEADER STANDARD
		$INDEX5 - HEADER STANDARD REDUIT
		$INDEX6 - HEADER MOBILE
		$INDEX7 - MAIN CONTENT
		$INDEX8 - PORTFOLIO
		$INDEX10 - CONTACT
		$INDEX11 - MEDIA QUERIES : TABLETS
		$INDEX12 - MEDIA QUERIES : SMARTPHONES
		
******************************************************/	
@font-face {
    font-family: 'Amatic';
    src: url('../fonts/amatic/amaticsc-regular-webfont.ttf') format('truetype'),
    	 url('../fonts/amatic/amaticsc-regular-webfont.woff2') format('woff2'),
         url('../fonts/amatic/amaticsc-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'aaarghnormal'; /*assez classic */
    src: url('../fonts/aaargh_normal/Aaargh-webfont.eot');
    src: url('../fonts/aaargh_normal/Aaargh-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/aaargh_normal/Aaargh-webfont.woff2') format('woff2'),
         url('../fonts/aaargh_normal/Aaargh-webfont.woff') format('woff'),
         url('../fonts/aaargh_normal/Aaargh-webfont.ttf') format('truetype'),
         url('../fonts/aaargh_normal/Aaargh-webfont.svg#aaarghnormal') format('svg');
    font-weight: normal;
    font-style: normal;
}

/******************************************************

	$INDEX1 - GENERAL
	
******************************************************/	

body, html { font-size: 100%; 	padding: 0; margin: 0;}

/* Reset */
*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

/******************************************************

		Body, fonts, backgrounds

******************************************************/	
body {
	background-color:rgb(0, 0, 0);
	background-image:linear-gradient(217deg, rgba(131, 91, 8,0.5), rgba(255,0,0,0) 70.71%), 
					linear-gradient(127deg, rgba(0, 0, 0, 0.9), rgba(0,255,0,0) 70.71%), 
					linear-gradient(336deg, rgba(71, 68, 60,0.5), rgba(0,0,0,0.5) 70.71%),
					url('../images/solo.png'),
					url('../images/paper0.jpg');
	background-attachment: fixed;
	background-position: center;
	background-repeat:  no-repeat; 
	color: #F6F6F6; 
	font-family: aaarghnormal,Verdana,Calibri, Arial, sans-serif;
	font-weight: 200;
}

header{
    background-image: linear-gradient(217deg, rgba(79, 71, 59, 0.9), rgba(255,0,0,0) 70.71%), 
    					linear-gradient(127deg, rgba(19, 15, 8, 0.7), rgba(0,255,0,0) 70.71%), 
    					linear-gradient(336deg, rgba(79, 71, 59, 0.9), rgba(0,0,0,0) 70.71%);
}

::selection{
	background: #835b08;
	color: #F6F6F6;
}
::-moz-selection{
	background: #835b08;
	color: #F6F6F6;
}
::-webkit-selection{
	background: #835b08;
	color: #F6F6F6;
}

a{
	color: #F6F6F6;
	text-decoration: none;
	text-shadow:0 -2px 0 black;
}
a:hover{
	color: #A2710A;
	background:rgba(0,0,0,.4);
    box-shadow:0 1px 0 rgba(255,255,255,.4);   
}

a:hover::selection {
  	color: white;
}

h1, h2, h3{
	color: #F6F6F6;
	border-color: #F6F6F6;
	font-family: Amatic, Calibri, Arial, sans-serif;
	margin: 0px 0px;
	font-weight: 300;
}

h1{
    font-size: 5em;
	text-align: center;
}

h2{
    font-size: 2em;
	text-align: center;
}

h3{
    font-size: 1.8em;
	text-align: left;
	border-bottom: 3px solid;
}

hr{
	border-top: 1px solid;
	border-bottom: 0px;
	margin: 20px auto 20px auto;
	width: 98%;
	border-color: #F6F6F6;
}

p{
	font-weight: 300;
	font-size: 1em;
	line-height: 1.8;
	display: inline-block;
	text-align: justify;
}

strong{
	font-weight: 800;
}
/******************************************************

		Structure page
	
******************************************************/	
#container {
	position: relative;
	padding-bottom: 50%;
	
}
.mobile{
	display: none;
}
.dark-box{
	text-shadow:0 -1px 0 black;
	color: #F6F6F6;
	background:rgba(0,0,0,.4);
    box-shadow:0 1px 0 rgba(255,255,255,.4);  
    border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 2px 5px;
}

/******************************************************

	$INDEX2 - HEADER COMMON
	
******************************************************/	
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    overflow: hidden;
}


#container .header-logo{
    height: 200px;    
	padding-top: 15px;
	padding-left: 15px;
    z-index: 999999;
    position: fixed;
}

/******************************************************

	$INDEX3 - MENU COMMON
	
******************************************************/	

nav a{}

nav a.current, nav a:hover{}

/******************************************************

	$INDEX4 - HEADER STANDARD
	
******************************************************/	

.headerstandard {
    height: 230px;
}

.headerstandard .headerstandard-inner {
	width: 90%;
	max-width: 69em;
	margin: 0 auto;
	padding: 0 1.875em;
}

 /* We just have one-lined elements, so we'll center the elements with the line-height set to the height of the header */

.headerstandard nav.menustandard a {
	line-height: 230px;
	font-size: 1.8em;
	font-weight: 300;
	font-family: Amatic, Calibri, Arial, sans-serif;
	margin: 0 0 0 8px;
	padding: 8px 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
 .headerstandard nav.menustandard{
	display: inline-block;
	position: relative;
	float: right;
}


/******************************************************

	$INDEX5 - HEADER STANDARD REDUIT
	
*****************************************************/	

.headerstandard.headerstandard-shrink {
    height: 90px;
}
 
.headerstandard.headerstandard-shrink nav.menustandard a {
    line-height: 90px;
}

.headerstandard.headerstandard-shrink img{
    height: 90px;    
	padding-top: 5px;
	padding-bottom: 5px;
}

/******************************************************

	$INDEX6 - HEADER MOBILE
	
******************************************************/	

header.headermobile {
	position: fixed;
	top: 0px;
	display: block;
	width: 100%;
	height: auto;
	margin: 0px auto 20px auto;
	padding: 0px;
	z-index: 10000;
	display: none;
	background-color: #382d1d;
	font-family: Amatic, Calibri, Arial, sans-serif;
}

header.headermobile img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding-top: 5px;
	padding-bottom: 5px;
}

header.headermobile button {
	position: absolute;
	float: left;
	display: block;
	width: 40px;
	height: 40px;
	border: none;
	cursor: pointer;
	margin: 10px 10px 0px 10px;
	background: transparent url('../images/nav-icon.png') center center no-repeat;
}

/* Orientation-dependent styles for the content of the menu */

.menumobile {
	width: 240px;
	height: 100%;
	top: 0;
	z-index: 10000;
}

.menumobile a {
	padding: 1em;

	display: block;
	width: 100%;
	text-align: center;
	
	/*display: block;*/
	text-transform: uppercase;
	font-size: 1.3em;
	font-weight: 300;
}
/******************************************************

	$INDEX7 - MAIN CONTENT
	
******************************************************/	

#main section{
    padding: 100px 20px 500px 20px;
	margin: 0% auto;
	max-width: 1000px;

}

.scroll {
	position: fixed;
	bottom: 10px;
	right: 10%;
    height: 80px;
    width: 80px;
    cursor: pointer;
    background: url("../images/scroll.png") no-repeat scroll center top transparent;

	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-ms-transition: all .3s ease-out; 
	-o-transition:  all .3s ease-out;  
	transition: all .3s ease-out;
}

.scroll:hover{
	background: url("../images/scroll.png") bottom center no-repeat;
}

/******************************************************

	$INDEX7 - ACCUEIL
	
******************************************************/	

#main .accueil{
	height: 1200px;
}

#main .accueil h1, h2{
	font-weight: 300;
	font-family: Amatic, Calibri, Arial, sans-serif;
	text-align: center;
}

#main .accueil h1{
	width: 100%;
	padding-top: 0px;
}

#main .accueil h2{
	font-size: 2em;
}

/*BUBBLE */

span.bubble.dark-box{
	color:#a2710a;
	background:rgba(28, 22, 14,1);
}
span.bubble{
    position:absolute;                
	margin-top:1.8em;
    margin-left:-285px;
    padding:5px;
    line-height: 1.4;
    max-width:506px;
    text-shadow:none;

   	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-ms-transform: scale(0);
   	transform:scale(0);

    -webkit-transition: -webkit-transform 0.25s all .25s;
	-moz-transition: -moz-transform 0.25s all .25s;
	-ms-transition: -ms-transform 0.25s all .25s;
	transition:0.25s all .25s;
}

span:hover span.bubble,span:focus span.bubble{
   	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
   	transform:scale(1);
   	transform-origin: top; 
	}

.accueil span:hover{
	color: #a2710a;
	background:rgba(28, 22, 14,1);
    box-shadow:0 1px 0 rgba(255,255,255,.4);   
}


/******************************************************

	$INDEX8 - PORTFOLIO
	
******************************************************/	

.grid {
	padding: 0px 0px 100px 0px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
}

.grid li {
	display: inline-block;
	width: 270px;
	margin: 0;
	padding: 10px;
	margin: 0px auto;
	position: relative;
}

.grid figure {
	margin: 0;
	position: relative;
}

.grid figure img {
	max-width: 100%;
	display: block;
	position: relative;
	z-index: 10;
	
}

.grid figure .legend  {
	width: 100%;
	display: inline-block;
	position: absolute;
	bottom: 20px; 
	z-index: 10;
	padding-right: 5%;
	background-color: rgba(71, 65, 62, 0.7);
	text-align: right;
}

.legend p{
	font-family: Amatic, Calibri, Arial, sans-serif;
	font-size: 1.3em;

	margin:1%;
}

.grid figure .container-legend{
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}


.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 10px;
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
	-moz-transition: -moz-transform 0.4s, opacity 0.4s;
	transition: transform 0.4s, opacity 0.4s;
	background-color: rgba(71, 65, 62, 0.9);
	color: #F0F0F0;	
}

.grid figcaption span{
	float: right;
	text-align: justify;
	font-size: 0.8em;
	padding-top: 7px;
}

.grid figcaption h3 {
	margin: 0;
	padding: 0;
	color: #fff;
}

.grid figure:hover img,
.grid figure.cs-hover img,
.grid figure:hover div,
.grid figure.cs-hover div {
	margin-left: -27%;
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-ms-transform: scale(0);
	transform: scale(0);
}

.grid figure:hover figcaption,
.grid figure.cs-hover figcaption {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

/******************************************************

	$INDEX10 - CONTACTS
	
******************************************************/	
.contact p{
	width: 100%;
	text-align: center;
	font-size: 1.2em;
}

#bibliographie{
	list-style: none;
	text-align: center;
	padding: 0px;
}

#bibliographie a{
	line-height: 1.8;
}

#bibliographie a:hover{
	color: #a2710a;
	background:rgba(0,0,0,.4);
    box-shadow:0 1px 0 rgba(255,255,255,.4);  
}
/******************************************************

	$INDEX11 - MEDIA QUERIES : TABLETS
	
******************************************************/	

/* TABLETS */
@media screen and (max-width: 1020px ) {
     
    .headerstandard .headerstandard-inner {
        width: 100%;
    }
 
    .headerstandard h1,
    .headerstandard nav.menustandard{ 	
        display: block;
        margin: 0 auto;
        text-align: center;
        float: right;
    }
 
    .headerstandard h1,
    .headerstandard nav.menustandard a {
        line-height: 115px;
    }
 
    .headerstandard nav.menustandard a {
        margin: 0 10px;
    }

	.headerstandard.headerstandard-shrink {
		height: 100px;
	}  
	
    .headerstandard.headerstandard-shrink h1,
    .headerstandard.headerstandard-shrink nav a {
        line-height: 45px;
    }
 
    .headerstandard.headerstandard-shrink h1 {
        font-size: 3em;	
		background: none;
		text-indent: 0px;
    }
 
    .headerstandard.headerstandard-shrink nav a {
        font-size: 1.8em;
    }


	#main section{
		padding: 150px 20px 20px 20px;
	}
	#main section:first-child{
		padding: 150px 20px 20px 20px;
	}
		
	
	#main h1{
		font-size: 4em;
		padding-top: 0px;
		margin-top: 0px;
	}
	#main h2{
		font-size: 1.8em;
	}
	#main hr{
		margin-top: 5px;
		margin-bottom: 5px;
	}
			
		
	#main .accueil h1{
		font-size: 4em;
		padding-top: 0px;
		margin: 0px auto;
	}
	
	#main .accueil h2{
		margin-top: -70px;
		font-family: Amatic, Calibri, Arial, sans-serif;
		font-size: 2.5em;
	}
	.scroll {
		position: fixed;
		bottom: 10px;
		right: 0px;
	}
	 
	.col50{
		display: inline-block;
		width: 100%;
		margin-top: 1%;
		margin-bottom: 1%;
	}
	.left{ float: none; }
	.right{ float: none; }

	.col30{
		width: 100%;
	}

	.progress .bar {
		text-transform: none;
		font-size: 1.1em;
	}

}

/******************************************************

	$INDEX12 - MEDIA QUERIES : SMARTPHONES
	
******************************************************/	
/* SMARTPHONES */
@media screen and (max-width: 767px ) {
    .headerstandard {
        display: none;
    }
	
	
    header.headermobile  {
        display: block;
        opacity: 1;
    }
	
	.menumobile{
		display: none;
		width: 100%;
	}
	
	#main section, #main section:first-child{
		padding: 120px 20px 20px 20px;
	}

	#main section{
		margin: 150px 0px;
			display: block;
	}
	#main section:first-child{
		margin-top: 0px;
		padding: 50px 20px 20px 20px;
	}
	#main section:last-child{
		margin-bottom: 100%;
	}		
	
	#main h1{
		font-size: 2.5em;
		padding-top: 0px;
		margin-top: 0px;
	}
	#main h2{
		font-size: 1.8em;
	}
	
	
	#main .accueil h1{
		width: 80%;
		font-size: 2.8em;
		padding-top: 70px;
		line-height: 0.8em;
		/*height: 250px;*/
		margin: 20px auto;
	}
	
	#main .accueil h2{
		margin-top: -20px;
		font-family: Amatic, Calibri, Arial, sans-serif;
		font-size: 1.7em;
	}
	
 
 
	.scroll {
		position: fixed;
		top: 20px;
		right: 10px;
		float: right;
		height: 20px;
		width: 20px;
		background-image: url('../images/scroll-small.png');
		background-position: 0px 0px;
		z-index: 99999;
	} 
	.scroll:hover {
		background-image: url('../images/scroll-small.png');
		background-position: 0px -20px;
	}
	p{
		font-size: 0.8em;
	}

	a{
		font-size: 0.9em;
	}
}

