body {
 	color: black;
  	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	margin: 0;
	padding: 0;
}

ul{
	text-decoration: none;
	list-style: none;
	padding: 0px;
	margin: 0px;
}

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

@font-face {
    font-family: 'Bebas';
    src:url('../fonts/BebasNeue-Regular.ttf'),
    	url('../fonts/BebasNeue-Regular.otf'),
    	url('../fonts/BebasNeue-Regular.woff');
}

.header{
	display: flex;
    flex-direction: row-reverse;
    font-family: 'Bebas';
    font-size: 18px;
    letter-spacing:1px;
    font-weight: 300;
}

.header_el{
	padding-top: 20px;
	padding-right: 40px;
  	text-transform: uppercase;
  	cursor: pointer;
}

.container{
	padding: 20px;
}

.title{
	font-family: 'Bebas';
	font-size: 80px;
	letter-spacing: 4px;
	line-height: 70px;
	font-weight: 300;
	z-index: 400;
}


.h2{
	background-color: #FFCE50;
	position: absolute;
	margin-bottom: 50px;
	right: 20px;
	z-index: 10;
	padding: 5px;
	padding-left: 30px;
	padding-right: 30px;
	margin-top: -25px;
}

.paragraph{
	margin-left: 35%;
}

.contact{
	font-family: 'Bebas';
	font-size: 18px;
    letter-spacing:1px;
    font-weight: 300;
    padding-left: 48%;
}

.contact::after{
    content: "";
    background-color: #000;
    position: absolute;
    right: 0%;
    margin-top:-10px;
    display: block;
    cursor: not-allowed;
    pointer-events: none;

    animation-duration: 1s;
	animation-name: size_line;
	animation-fill-mode: forwards;
	animation-delay: 0.5s;
}

@keyframes size_line{
  from {
    height: 3px;
    width: 0px;
  }

  to {
    height: 3px;
    width: 80px;
  }
}

@keyframes page {
  to {
    opacity: 0;
  }
}

.animation {
  animation: page .7s;
  animation-fill-mode: forwards;
}


.contact_el{
	padding-top: 45px;
}

.accueil_el{
	font-family: 'Bebas';
	font-size: 18px;
    letter-spacing:1px;
    font-weight: 300;
    margin-left: 55%;
    z-index: 400;
}

.accueil_el::after{
    content: "";
    background-color: #000;
    position: absolute;
    right: 0%;
    margin-top:-10px;
    display: block;
    cursor: not-allowed;
    pointer-events: none;
    z-index: 400;

    animation-duration: 1s;
	animation-name: size_line;
	animation-fill-mode: forwards;
	animation-delay: 0.5s;
}

.accueil_el:hover{
	color: #FFCE50;
}

.accueil{
	padding-top: 40px;
	z-index: 400;
}


.background{
	background-color: #FFCE50;
	z-index: -4;
	position: absolute;
	bottom: 0px;
	right: 0px;
	animation-duration: 1s;
	animation-name: size_bg;
	animation-fill-mode: forwards;
	animation-delay: 0.5s;
}

@keyframes size_bg{
  from {
    height: 0%;
    width: 78%;
  }

  to {
    height: 66%;
    width: 78%;
  }
}

.c1{
	grid-template-columns: 100%;
	padding-bottom: 40px;
	padding-top: 0px;
	margin-top: 0px;
}

.grille{
	display: grid;
    align-items: center;
}

.grille_img{
	width: 80%;
	display: block;
	margin-right: auto;
	margin-left: auto;
	left: auto;
	right: auto;
}

.underline_2{
	background-image: linear-gradient(120deg, #FFCE50 0%, #FFCE50 100%);
    background-repeat: no-repeat;
    background-size: 80% 40%;
    background-position: 100% 100%;
}

.underline{
	background-image: linear-gradient(120deg, #FFCE50 0%, #FFCE50 100%);
    background-repeat: no-repeat;
    background-size: 40% 40%;
    background-position: 100% 100%;
}

@keyframes size {
  from {
    background-size: 40% 40%;
  }

  to {
    background-size: 100% 40%;
  }
}

.underline:hover{
  background-size: 100% 40%;
  animation-duration: 0.5s;
  animation-name: size;
}

.hidden{
	display: none;
}



/** VERSION IPHONE 5  **/

@media (max-width: 350px) {
	.title{
		margin-top: 0px;
	}

	.paragraph{
		margin-top: -40px;
	}

	.contact_el{
		padding-top: 5px;
	}
}

/** VERSION TABLETTE / IPAD  **/

@media (min-width: 700px) {

	body {
		font-size: 1.5em;
	}

	.title{
		font-size: 140px;
		letter-spacing: 6px;
		line-height: 120px;
		margin-top: 0px;
	}

	.contact{
		font-size: 1.5em;
	    padding-left: 60%;
	}

	.contact::after{
	    margin-top:-25px;
	}

	.contact_el{
		padding-top:70px;
	}

	.header{
	    font-size: 1.5em;
	}

	.container{
		padding: 60px;
	}

	.c1{
		grid-template-columns: 50% 50%;
		padding-bottom: 60px;
		padding-top: 0px;
		margin-top: 0px;
	}

	.h2{
		position: absolute;
		margin-bottom: 50px;
		margin-right: 20px;
		margin-top: -25px;
	}

	.h2_ajust{
		right: 50%;
	}

	.grille_img{
		width: 90%;
	}

	.accueil_el{
		font-size: 1.5em;
	    margin-left: 75%;
	}

	.accueil_el::after{
	    margin-top:-30px;
	}


}

/** VERSION TABLETTE / IPAD PRO **/

@media (min-width: 1000px) {

	body {
		font-size: 2em;
	}

	.container{
		padding: 100px;
	}

	.title{
		margin-top: 70px;
	}

	.contact_el{
		padding-top:150px;
	}

}

/** VERSION DESKTOP **/

@media only screen and (min-width: 1200px) {

	body {
		font-size: 20px;
	}

	.container{
		padding: 150px;
		padding-bottom: 0px;
	}

	.title{
		letter-spacing: 10px;
		line-height: 110px;
		margin-top: -150px;
		margin-left: 10px;
	}

	.header{
	    font-size: 1.3em;
	    padding: 50px;
	    padding-bottom: 0px;
	    padding-right: 100px;
	}

	.background{
		right: 10%;
		left: 10%;
		bottom: 0px;
	}

	@keyframes size_bg{
	  from {
	    height: 0%;
	    width: 80%;
	  }

	  to {
	    height: 70%;
	    width: 80%;
	  }
	}

	.paragraph{
		margin-left: 45%;
		margin-right: 10%;
		margin-top: -80px;
	}

	.contact_el{
		padding-top:80px;
	}

	@keyframes size_line{
	  from {
	    height: 3px;
	    width: 0px;
	  }

	  to {
	    height: 3px;
	    width: 300px;
	  }
	}

	.contact{
	    margin-left: 70%;
	    padding: 0px;
	}

	.hidden{
		display: initial;
	}

	.bonjour{
		font-family: 'Bebas';
		font-size: 1em;
	    letter-spacing:1px;
	    font-weight: 300;
	    padding-left: 0%;
	}

	.bonjour::after{
	    content: "";
	    background-color: #000;
	    position: absolute;
	    left: 5%;
	    top: 0%;
	    display: block;
	    cursor: not-allowed;
	    pointer-events: none;

	    animation-duration: 1s;
		animation-name: size_line_bonjour;
		animation-fill-mode: forwards;
		animation-delay: 0.5s;
	}

	@keyframes size_line_bonjour{
	  from {
	    height: 0px;
	    width: 3px;
	  }

	  to {
	    height: 355px;
	    width: 3px;
	  }
	}

	.bonjour_el{
		transform: rotate(-90deg);
		display: block;
		position: absolute;
		left: 1%;
		top: 60%;
		font-size: 2em;
	}

	.accueil_el{
		font-size: 1.5em;
	    margin-left: 70%;
	}

	.accueil_el::after{
	    margin-top:-20px;
	    position: fixed;
	}

	.title_2{
		font-size: 4em;
		letter-spacing: 6px;
	}

	.underline_2{
		margin-right: 60%;
		background-image: linear-gradient(120deg, #FFCE50 0%, #FFCE50 100%);
	    background-repeat: no-repeat;
	    background-size: 80% 40%;
	    background-position: 100% 100%;
	}

	.cava{
		font-family: 'Bebas';
		font-size: 1em;
	    letter-spacing:1px;
	    font-weight: 300;
	    padding-left: 0%;
	}

	.cava::after{
	    content: "";
	    background-color: #000;
	    position: absolute;
	    left: 4%;
	    bottom: 0%;
	    display: block;
	    cursor: not-allowed;
	    pointer-events: none;
	    position: fixed;

	    animation-duration: 1s;
		animation-name: size_line_cava;
		animation-fill-mode: forwards;
		animation-delay: 0.5s;
	}

	@keyframes size_line_cava{
	  from {
	    height: 0px;
	    width: 3px;
	  }

	  to {
	    height: 255px;
	    width: 3px;
	  }
	}

	.cava_el{
		transform: rotate(-90deg);
		display: block;
		position: absolute;
		left: 1%;
		top: 50%;
		font-size: 2em;
	}

	.fixe{
		position: fixed;
	}

	.background_white{
		background-color: white;
		position: fixed;
		width: 100%;
		height: 160px;
		top: 0px;
		z-index: 9;
	}

	.h2_ajust_2{
		margin-right: 150px;
	}

	.grille_img{
	 	opacity: 0.5;
	}

	.grille_img:hover{
		opacity: 1;
	}


}

/** VERSION DESKTOP + **/

@media only screen and (min-width: 1650px) {

	body{
		font-size: 25px;
	}

	.container{
		padding: 200px;
		padding-bottom: 0px;
	}

	.title{
		line-height: 150px;
		font-size: 200px;
		margin-top: -180px;
	}


	.title_2{
		font-size: 3.5em;
	}


	@keyframes size_line_bonjour{
	  from {
	    height: 0px;
	    width: 3px;
	  }

	  to {
	    height: 500px;
	    width: 3px;
	  }
	}

	@keyframes size_line_cava{
	  from {
	    height: 0px;
	    width: 3px;
	  }

	  to {
	    height: 400px;
	    width: 3px;
	  }
	}

	.bonjour_el{
		left: 1.5%;
	}

	.paragraph{
		margin-left: 50%;
		margin-right: 20%;
		margin-top: -80px;
	}

	.contact_el{
		padding-top:50px;
	}

	@keyframes size_line{
	  from {
	    height: 3px;
	    width: 0px;
	  }

	  to {
	    height: 3px;
	    width: 400px;
	  }
	}

	.background_white{
		height: 260px;
	}

}



