body{
	margin: 0;
	font-family: Arial;
}

/*--------------------Header--------------------*/

.header{
	position: sticky;
	top: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #444;
	box-shadow: 0 0 7px #444;
	white-space: nowrap;
	letter-spacing: 2px;
}

.nav{
	top: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-right: 1em;
}

.nav__item__link{
	font-size: 1.5em;
	font-weight: bold;
	color: #00bfff;
	text-decoration: none;
}

.nav__item{
	position:relative;
	padding: 0.3em 0.7em;
	margin: 0.5em 0.7em;
	border-left-style: solid;
	border-width: thick;
	border-color: #00bfff;
}

.nav__item:hover > .nav__item__link{
	color: #444;
	transition: .3s;
}

.nav__item::before{
	content: "";
	position: absolute;
	z-index:-1;
	top: 0;  left: 0;  right: 0;  bottom: 0;
	background: #00bfff;
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform .3s;
}

.nav__item:hover::before{
	transform: scaleX(1);
}

.header__title{
	padding: 0.2em 1em;
	color: #00bfff;
	font-size: 3em;
	font-weight: bold;
	user-select: none;
}

.current::before{
	transform: scaleX(1);
}

.current .nav__item__link{
	color: #444;
}

.header__title::before{
	width: 0.2em;
	content: "";
	position: absolute;
	z-index:-1;
	top: 0;  left: 0;  right: 0;  bottom: 0;
	background: #00bfff;
	transform: translateX(0.25em) scaleY(0.12) scaleX(3);
	transform-origin: 0 50%;
	transition: transform .3s;
}

.header__title:hover::before{
	transform: translateX(8.6em) scaleY(0.6) scaleX(1);
}

.burgericon{
	height: 4em;
	width: 4em;
	fill: #00bfff;
	display: none;
}

@media screen and (max-width: 1910px) {
	.header{
	flex-direction: column;
	}

	.nav{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}

	.nav__item{
		margin: 1em 4em;
		font-size: 1.5em;
	}

	.header__title{
		white-space: normal;
		text-align: center;
	}

	.header__title::before{
	content: none;
	}
}

@media screen and (max-width: 800px) {
	.burgericon{
		display: initial;
	}

	.nav{
		display: none;
	}

	.header__title{
		font-size: 3em;
	}
}


/*--------------------Footer--------------------*/

.footer{
	bottom: 0px;
	width: 100%;
	background: #444;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
}

.footer__logoiut{
	width: 10em;
	height: 4em;
	position: relative;
	margin: 1em 2em;
}

.footer__text{
	font-size: 1.2em;
	margin: 1em 2em;
}

.footer__ref{
	color:white;
}

.footer__button{
	width: 3em;
	height: 3em;
	position: fixed;
	left: 1.5em;
	bottom: 1.5em;
	z-index: 1;
	transition: transform 0.3s;
	cursor: pointer;
}

.footer__links{
	position: fixed;
	bottom: 7em;
	right: 1em;
	display: flex;
	flex-direction: column;
	justify-items: flex-end;
	align-items: center;
}

.footer__links__item{
	width: 3em;
	height: 3em;
	margin: 0.3em 0;
}



/*--------------------Main--------------------*/

.contact{
	display: flex;
	flex-direction: column;
	align-items: center;
	background-image: url("../images/fond-contact.png");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	padding-top: 5em;
	padding-bottom: 10em;
}

.contact__title{
	font-weight: bold;
	font-size: 2.5em;
	margin-bottom: 1em;
	color: #fff;
	letter-spacing: 2px;
}

.contact__items{
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2em;
	flex-wrap: wrap;
}

.contact__items__item{
	margin: 1em 2em;
	color: #fff;
}

.contact__items__item__image{
	height: 3em;
	width: 3em;
	margin: 0 4em;
}

.formulaire{
	display: flex;
	flex-direction: column;
	align-items: center;
	background-image: url("../images/fond-formulaire.png");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	padding-top: 10em;
	padding-bottom: 10em;
	min-height: 20em;
	max-height: 24em;
}

.formulaire__item{
	border: none;
	padding: 10px;
	width: 97.8%;
	margin-bottom: 10px;
	margin-right: 0;
	font: inherit;
	resize: vertical;
}

.petit{
	width: 47%;
	float: right;
}

.petit:first-child{
	float: left;
}

.formulaire__item:focus{
	border: 0;
	border-bottom: 2px;
	margin-bottom: 8px;
	border-style: solid;
	border-color: #444;
}

.formulaire__button{
	float: right;
	margin-right: 2em;
	background: none;
	border: 1px solid #fff;
	border-radius: 5px;
	font-size: 1.2em;
	letter-spacing: 3px;
	color: #fff;
	padding: 0.3em 0.5em;
}

.formulaire__button:hover{
	background: #fff;
	color: #0099ff;
	cursor: pointer;
}