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--------------------*/

.presentation{
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 1.7em;
	padding: 2em 4em;
	background-image: url("../images/accueil-presentation-fond.png");
	background-size: 100% 150%;
	color: #fff;
}

.presentation__title{
	font-size: 2em;
	font-weight: bold;
}

.presentation__soustitre{
	font-size: 1.7em;
	font-weight: bold;
	color: #eee
}

.presentation__texte{
	text-align: justify;
	max-width: 800px;
}

.pages{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	margin: 3em 0;
	margin-bottom: 10em;
}

.pages__item{
	font-size: 2.5em;
	letter-spacing: 1px;
	border-style: solid;
	border-radius: 1.5em;
	border-color: #00bfff;
	padding: 4em 3.5em;
	color: #444;
	text-decoration: none;
	background-size: 100% 100%;
	background-position: center center;
	background-repeat: no-repeat;
	font-weight: bold;
	margin: 1em 0;
}

.pages__item__text{
	position: relative;
	bottom: 5.3em;
	vertical-align: bottom;
	z-index: -1;
}

.CV{
	background-image: url("../images/cv.svg");
}

.CV:hover{
	background-image: url("../images/mask.png"), url("../images/cv.svg");
}

.REAL{
	background-image: url("../images/realisations.svg");
	padding: 4em 2em;
}

.REAL:hover{
	background-image: url("../images/mask.png"), url("../images/realisations.svg");
}

.CONT{
	background-image: url("../images/contact.svg");
	padding: 4em 2.5em;
}

.CONT:hover{
	background-image: url("../images/mask.png"), url("../images/contact.svg");
}

.pages__item:hover{
	color: #00bfff;
	transition: color .3s;
}
