@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: 'icomoon';
	src:url('../fonts/icomoon/icomoon.eot?-ee0u0f');
	src:url('../fonts/icomoon/icomoon.eot?#iefix-ee0u0f') format('embedded-opentype'),
		url('../fonts/icomoon/icomoon.woff?-ee0u0f') format('woff'),
		url('../fonts/icomoon/icomoon.ttf?-ee0u0f') format('truetype'),
		url('../fonts/icomoon/icomoon.svg?-ee0u0f#icomoon') format('svg');
}

html, body, .container, .header {
	height: 100%;
}

/* Header */
.header {
	position: relative;
	margin: 0 auto;
	min-height: 560px;
	width: 100%;
}

.bg-img {
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.bg-img img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	min-width: 100%;
	min-height: 100%;
}

.title {
	z-index: 1000;
	margin: 0 auto;
	padding: 0 1.25em;
	width: 100%;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.title h1 {
	padding: 0 0 0.2em;
	color: #fff;
	font-weight: 800;
	font-size: 3.25em;
	margin: 0 auto;
}

.title p {
	color: #fff;
	padding: 0 0 0.6em;
	font-weight: 300;
	font-size: 0.85em;
	margin: 3em auto;
}

.title h1,
.title p.subline {
	line-height: 1.4;
}

.title p.subline {
	font-size: 1.75em;
	font-weight: bold;
	-webkit-margin-before: 3em;
}

/* Trigger Button */
button.trigger {
	position: fixed;
	bottom: 40px;
	left: 50%;
	z-index: 5000;
	display: block;
	margin-left: -0.5em;
	padding: 0;
	width: 1em;
	height: 1em;
	border: none;
	background: transparent;
	color: transparent;
	font-size: 2em;
	cursor: pointer;
}

.container:not(.notrans) button.trigger {
	-webkit-transition: opacity 0.3s 0.5s;
	transition: opacity 0.3s 0.5s;
}

.container.modify:not(.notrans) button.trigger {
	opacity: 0;
	pointer-events: none;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

button.trigger::before {
	position: absolute;
	bottom: 100%;
	left: -100%;
	padding: 0.8em;
	width: 300%;
	color: #fff;
	content: attr(data-info);
	font-size: 0.35em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

button.trigger:focus {
	outline: none;
}

button.trigger span {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

button.trigger span::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #fff;
	content: "\e097";
	text-transform: none;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	font-family: 'icomoon';
	line-height: 1;
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Menu */
ul {
  list-style:none;
}

.slider--close {
	float:right;
}

#left:target {
  transform: translateX(100%);
  opacity: 1;
}

#right:target {
  transform: translateX(0) translateY(0); 
  opacity: 1;
}

.slider {
  position: fixed;
  width: 100%;
  height: 55%;
  padding: 20px;
  color:white;
  background-color: rgb(119,114,107);
  top: 0;
  bottom: 0;
  transition: all .6s ease;
  z-index:9999999;
}

.slider--right {
  right: 0;
  transform: translateX(100%);
}

.slider-item {
	margin-top: 7.5%;
	margin-left: -7.5%;
}

.slider-item a {
  color: #fff;
  background-color: #cf4a5c;
  text-decoration: none;
  display: block;
  width: 50%;
  margin: auto;
  text-align: center;
  margin-bottom: 10%;
  font-size: 1.25em;
  font-weight: bold;
}

.slider-item a:hover {
  color: #cf4a5c;
  background-color: #cf4a5c;
  text-decoration: none;
  display: block;
  width: 50%;
  margin: auto;
  text-align: center;
  margin-bottom: 10%;
  font-size: 1.25em;
  font-weight: bold;
}

.fa-2x {
	color: #cf4a5c;
}

/* About */

.about--close, .credits--close {
	float: right;
	margin-top: 20px;
	margin-right: 20px;
}

#about:target, #credits:target {
  transform: translateX(0);
  opacity: 1;
}

.about, .credits {
  position: fixed;
  width: 66.75%;
  height:100%;
  color:white;
  background-color: rgb(119,114,107);
  transition: all .6s ease;
  z-index:9999999;
}

.about--container, .credits--container {
  width: 75%;
  text-align: justify;
  margin: auto;
}

.about--container p {
	font-size: 0.6em;
}


.about--left {
	margin-top: 5%;
}

.about--top {
  top: 0;
  transform: translateX(-100%);
}

.about h5 {
  margin-top:0;
  margin-bottom:0;	
}

.about h6 {
  margin-top:0;	
}

.about a, .credits a {
  outline: none;
  color: #cf4a5c;
  text-decoration: none;
  background-color: white;
}

.about a:hover, .about a:focus, .credits a:hover, .credits a:focus {
  color: white;
  background-color: #cf4a5c;
}

	/* Crédits */

.credits--top {
  top: 0;
  transform: translateX(-200%);
}

.credits--container {
  width: 80%;
  text-align: justify;
  margin: auto;
}

.credits--container p {
  font-size: 0.6em;
}

.about--right {
	margin-top: 5%;
}

.credits-logos {
	width: 90%;
	margin-left: 15%;
	margin-top: 3%;
}

.credits-logos a, .credits-logos a:hover, .credits-logos a:focus {
	background-color: transparent;
}

.credits-logos img {
	vertical-align: middle;
	margin-right: 10%;
}

/* Content */
.content {
	margin: 0 auto;
	padding: 0 0 3em;
}

.content > div:not(.title) {
	margin: -80px auto 0;
	max-width: 900px;
	padding: 0 1.25em;
}

.content > div:not(.title) p {
	margin: 0 auto 0.5em auto;
}

/* .content > div:not(.title) p:first-child {
	font-size: 1.35em;
}
*/

.content h3 {
	margin-bottom: 1em;
}

.content h4 {
	font-size: 1.15em;
	-webkit-margin-before: 0;
    -webkit-margin-after: 1em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    color: #fff;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 20px 0px;
  	font-weight: normal;
}

.content a {
	outline: none;
	color: #cf4a5c;
	text-decoration: none;
	background-color: white;
}

.content a:hover, .content a:focus {
	color: white;
	background-color: #cf4a5c;
}

.content blockquote {
	padding: 0.25em;
	font-style: italic;
	font-size: 1.65em;
	font-family: 'Lora', serif;
	line-height: 1.4;
}

.content blockquote::before {
	content: '\201C';
}

.content blockquote::after {
	content: '\201D';
}

.signature {
	float: right;
}


/***** Individual effects *****/

/* -------------------------- */
/* Side Fixed */
/* -------------------------- */
.intro-effect-sidefixed:not(.notrans) .bg-img::before {
	-webkit-transition-property: background-color;
	transition-property: background-color;
}

.intro-effect-sidefixed:not(.notrans) .bg-img::after {
	-webkit-transition-property: -webkit-transform;
	transition-property: transform;
}

.intro-effect-sidefixed:not(.notrans) .title p {
	-webkit-transition-property: opacity;
	transition-property: opacity;
}

.intro-effect-sidefixed:not(.notrans) .content > div {
	-webkit-transition-property: -webkit-transform, opacity;
	transition-property: transform, opacity;
}

.intro-effect-sidefixed:not(.notrans) .bg-img::before,
.intro-effect-sidefixed:not(.notrans) .bg-img::after,
.intro-effect-sidefixed:not(.notrans) .title p,
.intro-effect-sidefixed:not(.notrans) .content > div {
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

.intro-effect-sidefixed .header {
	position: absolute;
}

.intro-effect-sidefixed .bg-img {
	position: fixed;
}

.intro-effect-sidefixed .bg-img img {
	left: auto;
	right: 0;
}

.intro-effect-sidefixed .bg-img::before,
.intro-effect-sidefixed .bg-img::after {
	content: '';
	position: absolute;
	z-index: 100;
}

.intro-effect-sidefixed .bg-img::after {
	background: #d0e2e7;
	border-right: 1px solid #77726b;
	top: 0;
	left: 0;
	width: 66.75%;
	height: 100%;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
}

.intro-effect-sidefixed.modify .bg-img::after {
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.intro-effect-sidefixed .bg-img::before {
	width: 100%;
	height: 100%;
	background-color: rgba(247,214,169,0.1);
}

/* ENLEVER FILTRE SUR PHOTO VERTICALE A DROITE

	.intro-effect-sidefixed.modify .bg-img::before {
		background-color: rgba(247,214,169,0.4);
	}

*/

/* .intro-effect-sidefixed .codrops-demos a {
	color: #f68f6c;
}
*/

.intro-effect-sidefixed .title {
	position: relative;
	top: auto;
	left: auto;
	text-align: left;
	-webkit-transform: translateY(200px);
	transform: translateY(200px);
}

.intro-effect-sidefixed.modify .title {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.intro-effect-sidefixed .title h1 {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	padding: 0 0 0.5em 0;
	color: #fff;
  	text-shadow: 0.5px 0 0 #77726b;
}

.intro-effect-sidefixed .title p {
	opacity: 0;
	color: #77726b;
}

.intro-effect-sidefixed.modify .title p {
	opacity: 1;
}

.intro-effect-sidefixed .content {
	width: 60%;
	margin-left: 4%;
	margin-bottom: 10%;
	padding: 0 2.5em;
}

.intro-effect-sidefixed .content div {
	position: relative;
	margin: 175px 0;
	color: #77726b;
}

.intro-effect-sidefixed .content div:nth-child(2) {
	opacity: 0;
	-webkit-transform: translateY(200px);
	transform: translateY(200px);
}

.intro-effect-sidefixed.modify .content div:nth-child(2) {
	opacity: 1;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}


/* Delays */
.intro-effect-sidefixed:not(.notrans) .title,
.intro-effect-sidefixed:not(.notrans) .bg-img::before,
.intro-effect-sidefixed:not(.notrans) .bg-img::after {
	-webkit-transition-delay: 0.3s;
	transition-delay: 0.3s;
}

.intro-effect-sidefixed.modify:not(.notrans) .title,
.intro-effect-sidefixed.modify:not(.notrans) .bg-img::before,
.intro-effect-sidefixed.modify:not(.notrans) .bg-img::after {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.intro-effect-sidefixed.modify:not(.notrans) .content div:nth-child(2) {
	-webkit-transition-delay: 0.15s;
	transition-delay: 0.15s;
	margin-top: -100px;
}


/* -------------------------- */
/* Media Queries */
/* -------------------------- */

@media screen and (min-width: 2500px) {
	.title h1 {
		font-size: 6em;
	}
	.content h4 {
		font-size: 2em;
	}
	.intro-effect-sidefixed .content div {
    	margin: 132px 0;
    }
    .content > div:not(.title) {
    	max-width: 1500px;
    }
    .title p.subline {
    	font-size: 2.5em;
    	-webkit-margin-before: 2em;
    }
    .title p {
    	margin: 3em auto;
    }
    .content p {
    	font-size: 1.5em;
    }
    .content h3 {
    	font-size: 1.8em;
    }
}	

@media screen and (max-width: 1367px) {  /* H=768px */

	.intro-effect-side .title {
		width: 100%;
		padding: 0 1em;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}

	.intro-effect-side.modify .bg-img::before {
		-webkit-transform: translateX(-100%);
		transform: translateX(-100%);
	}

	.intro-effect-side .bg-img::after {
		border-left-width: 0px;
		border-right-width: 0px;
		right: 0px;
		left: 0px;
		background: rgba(255,255,255,0.1);
	}

	.intro-effect-side.modify .bg-img::after {
		background: rgba(255,255,255,0.8);
	}

	.intro-effect-sidefixed .content {
		width: 65%;
		margin-left: 2.75%;
	}

	.intro-effect-sidefixed .bg-img::after {
		width: 70%;
	}

	.credits-logos--bbb {
		width: 90px;
	}

	.credits-logo--ihecs {
		width: 90px;
	}

	.credits--container {
		width: 90%;
	}

}

@media screen and (max-width: 1290px) { /* H=720px */

	.title h1 {
		font-size: 3em;
	}

	.intro-effect-sidefixed .content {
    	margin-left: -3.25%;
	}

	/* About */

	.about {
		width: 70%;
	}

	.about h5 {
		font-size: 0.75em;
	}

	.about h6 {
		margin-top: 0.5em;
	}

	.about--container p {
		font-size: 0.6em;
	}

	.about--left img {
		height: 300px;
	}

	/* Crédits */

	.credits {
		width: 70%;
	}

	..credits--container {
 		width: 75%;
 	}

	.credits--container p {
		font-size: 0.6em;
	}

	.credits-logos {
  		width: 85%;
  		margin-top: 0;
	}

	.credits-logos--bbb {
		width: 120px;
	}

	.credits-logo--ihecs {
		width: 65px;
	}

	.about--right {
    	margin-top: 2.5%;
    	margin-left: -1.5%;
	}


}

@media screen and (max-width: 1024px) {  /* H=768px*/
	.intro-effect-jam3 .content {
		padding: 0 2em 5em;
	}

	.intro-effect-grid .grid li h2 {
		display: none;
	}

	.intro-effect-push .header .title {
		top: 60px;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
	}

	.bg-img img {	
  		min-height: 110%;
	}

	/* Codrops */

	.codrops-top {
		height: 60px;
	}

	/* Présentation */

	.intro-effect-sidefixed .content {
  		width: 70%;
  		margin-left: 3%;
	}

	.intro-effect-sidefixed .bg-img::after {
		width: 75%;
	}

	.content {
		padding: 0 10px;
		text-align: left;
	}

	.content h4 {
		font-size: 1em;
	}

	/* Accueil */

	.title {
		padding-top: 7%;
	}

	.title h1 {
		font-size: 2.25em;
	}

	/* About */

	.about {
		width: 75%;
	}

	.about h3 {
		font-size: 1em;
	}

	.about h5 {
    	font-size: 0.6em;
	}

	.about h6 {
		margin-top: 1.5em;
	}

	.about--left img {
		height: 300px;
	}

	.about--right p {
  		font-size: 0.53em;
	}

	/* Credits */

	.credits--container {
		width: 80%;
	}

	.credits-logos {
  		width: 100%;
  		margin-left: 75px;
	}

	.credits-logos--bbb {
		width: 100px;
	}

	.credits-logos--ihecs {
		width: 80px;
	}

	.credits-logos--lesoir {
		width: 110px;
	}

	.credits h3 {
		font-size: 1em;
	}

}

@media screen and (max-width: 960px) {

	.about--right p {
  		font-size: 0.55em;
	}

	.title h1 {
    	font-size: 2.5em;
	}

}

@media screen and (max-width: 802px) {

	.intro-effect-sidefixed .content {
    	width: 100%;
    	margin-left: 1%;
   	}

   	.title h1 {
    	font-size: 3em;
	}

	.intro-effect-sidefixed .bg-img::after {
    	width: 100%;
    }

	.about {
    	width: 100%;
	}
	
	.about h3 {
    	font-size: 2.5em;
    }

    .about--left img {
    	height: 100%;
	}

	.about--container p {
    	font-size: 0.9em;
	}

	.about h5 {
    	font-size: 1em;
	}

	.about--right p {
    	font-size: 0.75em;
	}



}



@media screen and (max-width: 770px) {

	/* Codrops */

	.codrops-top {
		height: 75px;
		font-size: 0.85em;
	}

	/* Présentation */

	.intro-effect-sidefixed .content {
  		width: 100%;
  		margin-left: -0.25%;
	}

	.intro-effect-sidefixed .bg-img::after {
		width: 100%;
	}

	.content {
		padding: 0 10px;
		text-align: left;
	}

	.content > div:not(.title) p {
	    font-size: 1.25em;
	}

	.content h3 {
  		margin-bottom: 1em;
  		font-size: 1.4em;
  	}

	.content h4 {
		font-size: 1.35em;
	}

	/* Accueil */

	.title {
		padding-top: 47%;
	}

	.title h1 {
		font-size: 2.5em;
	}

	.title p.subline {
  		font-size: 2.25em;
  	}

  	/* About */
	
	.about {
		width: 100%;
	}
	.about--container {
		width: 85%;
	}

	.about--container h3 {
		font-size: 1.25em;
	}

	.about--container p {
		font-size: 0.85em;
	}

	/* Credits */

	.credits {
		width: 100%;
	}

	.credits--container {
		width: 85%;
	}

	.credits--container h3 {
		font-size: 1.25em;
		margin-bottom: 1%;
	}

	.credits--container p {
		font-size: 0.7em;
	}

	.credits-logos {
		margin-top: 2.5%;
		margin-left: 75px;
	}

	.credits-logos--bbb {
		width: 130px;
	} 

	.credits-logos--ihecs {
		width: 100px;
	}

	.credits-logos--lesoir {
		width: 125px;
	}

}
 
@media screen and (max-width: 481px) { /* H=800px */

	/* Codrops */

	.codrops-top {
  		height: 60px;
	}

	/* Accueil */

	.bg-img img {
		width: 1000px;
	}

	.intro-effect-sidefixed .content {
		padding: 0;
		margin-left: 0;
	}

	.intro-effect-sidefixed .content div {
  		margin: 20px 0;
	}


	.title h1 {
  		font-size: 1.6em;
	}

	.content h4 {
  		font-size: 1em;
  		text-align: center;
  		padding: 10px 0px;
  	}

  	/* Présentation */

  	.title p.subline {
  		font-size: 1.25em;
  		margin-bottom: 10%;

  	}

  	.content > div:not(.title) p {
  		font-size: 0.9em;
	}

	.content h3 {
  		font-size: 1em;
	}

	.signature {
		width: 60%;
  		margin-top: 5%;
	}

	/* Menu */

	.slider {
  		height: 52.5%;
  	}

	/* About */

	.about--container h3 {
  		font-size: 1em;
	}

	.about--container p {
  		font-size: 0.7em;
	}

	/* Crédits */

	.credits--container h3 {
  		font-size: 1em;
	}

	.credits--container p {
  		font-size: 0.52em;
	}

	.credits-logos {
  		margin-top: 3%;
  		margin-left: 0;
  	}

	.credits-logos img {
  		margin-right: 2.5%;
  	}

  	.credits-logos--lesoir {
  		margin-left: 10px;
  	}

}

@media screen and (max-width: 414px) {

	.title h1 {
  		font-size: 1.5em;
	}

	.content h4 {
  		font-size: 0.7em;
  	}

  	.signature {
  		width: 70%;
  	}

  	.subline p {
  		margin-bottom: 125px;
  	}

  	/* About */

  	.about--container p {
  		font-size: 0.6em;
	}

	.about h5 {
  		font-size: 0.6em;
	}

	.about h6 {
  		margin-top: 1.5em;
	}

	/* Crédits */
	
	.credits--container h3 {
  		margin-bottom: 0.6em;
	}

	.credits--container p {
  		font-size: 0.475em;
	}

	.credits-logos {
  		width: 85%;
  		margin: auto;
  		margin-top: 0;
	}

	.credits-logos img {
  		margin-right: 3%;
	}

	.credits-logos--bbb {
  		width: 80px;
	}

	.credits-logos--ihecs {
	  width: 60px;
	}

	.credits-logos--lesoir {
	  width: 90px;
	}

}

@media screen and (max-width: 377px) {

	.title h1 {
  		font-size: 1.5em;
	}

	.title p.subline {
  		font-size: 1.1em;
  		margin-bottom: 30%;

  	}

	/* About */

	.about--container h3 {
  		font-size: 0.8em;
  		margin-bottom: 0.9em;
	}	

	.about--container p {
  		font-size: 0.55em;
	}

	.about h6 {
	    font-size: 0.5em;
  		margin-top: 0.75em;
	}

	.about--close, .credits--close {
  		margin-top: 10px;
	}

	/* Crédits */

	.credits--container h5 {
	  font-size: 0.6em;
	}

	.credits--container h3 {
	  font-size: 1em;
	  margin-bottom: 0.7em;
	}

	.credits--container p {
	  font-size: 0.42em;
	}

	.credits-logos {
	  width: 90%;
	  margin-top: 5%;
	}

}


@media screen and (max-width: 320px) {

	/* Codrops */

	.codrops-top {
	  font-size: 0.6em;
  	  height: 50px;
	}

	/* Menu */

	.slider-item a, .slider-item a:hover, .slider-item a:focus {
		font-size: 0.7em;
	}

	.slider-item {
  		margin-left: -15%;
	}

	/* Accueil */

	.bg-img img {
		width: 1000px;
	}

	.intro-effect-sidefixed .content {
		padding: 0;
		margin-left: 0;
	}

	.intro-effect-sidefixed .content div {
  		margin: -10px 0;
	}

	.title h1 {
    	font-size: 1.25em;
  		margin-top: 0%;
	}

	button.trigger span::before {
    	margin-top: 5%;
	}	

	.content h4 {
  		font-size: 0.4em;
  	}

  	/* Présentation */

  	.title p.subline {
  		margin-bottom: 45%;
	}	

  	.content > div:not(.title) p {
  		font-size: 0.65em;
	}

	.content h3 {
  		font-size: 0.75em;
	}

	/* About */
	
	.about--container p {
  		font-size: 0.4em;
	}

	.about h6 {
  		font-size: 0.4em;
	}

	.about--left img {
    	height: 150px;
	}

	/* Credits */

	.credits--container h3 {
	  font-size: 0.7em;
	}

	.credits--container h5 {
	  font-size: 0.4em;
	}

	.credits--container p {
	  font-size: 0.34em;
	}

	.credits-logos {
	  width: 100%;
	  margin-top: 0;
	}

	.credits-logos img {
	  margin-right: 2%;
	}

}
