@charset "utf-8";

@font-face {
	font-family: 'open-sans';
	src: url("Contenus/fonts/Open_Sans/OpenSans-Regular.ttf");
}

@font-face {
	font-family: 'montserrat';
	src: url("Contenus/fonts/Montserrat/Montserrat-Regular.ttf");
}

@font-face {
	font-family: 'roboto';
	src: url("Contenus/fonts/Roboto/Roboto-Regular.ttf");
}
	


	/* CSS Document */


* {
	font-family: 'open-sans';
	margin: 0;
	padding: 0;
	text-decoration: none;
}

		/* En-tête */

header {
	min-height: 60vh;
	width: 100%;
	padding-bottom: 20px;
	background: linear-gradient(to top, #E9EDF2, #F0F5FA 6%, #F0F5FA 94%, #E9EDF2);
	position: relative;
}


			/* Menu de navigation */

.container {
	width: 80%;
	height: 40px;
	margin: auto;
	position: relative;
	top: 20px;
	z-index: 10;
}

nav {
	width: 80%;
	height: 40px;
	border-radius: 20px;
	border : solid 2px #F0F5FA;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	background-color: white;
	box-shadow: 3px 3px 6px 0px #DCE1E6;
	position: fixed;
	z-index: 9;
}

nav ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

nav li {
	list-style-type: none;
	margin: 0px 7px;
	color: #999999;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 0.9em;
}


		/* Profil */

.profil {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-around;
	align-items: center;
	min-height: 50vh;
	max-width: 70%;
	margin: auto;
}

.contact {
	width: 60%;
}

h1 {
	font-family: 'roboto';
	font-size: 2.7em;
	font-weight: 600;
	margin: 8px 0px;
}

h2 {
	font-family: 'roboto';
	color: #FEC806;
	font-size: 1.3em;
	padding: 10px 0px;
}

.profil li {
	font-family: 'roboto';
	font-size: 0.94em;
	font-weight: 400;
	color: #999999;
	line-height: 1.3em;
	max-width: 80%;
	margin: 0px 0px 0px 5px;
	list-style: none;
}

.profil img {
	width: 20px;
}

.photo {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	min-height: 300px;
	padding-right: 40px;
	width: 40%;
}

.photo img {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	padding: 5px;
	border: solid 3px #FEC806;
}


			/* Formations */

#formations {
	max-width: 85%;
	height: 400px;
	margin: 30px auto;
}

.timeline-container {
	max-width: 98%;
	margin: 10px auto 0px;
}

.timeline-container::before {
	content:"";
	position: absolute;
	height: 3px;
	width: 80%;
	background-color: #FEC806;
	margin-top: 30px;
}

.timeline {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	max-height: 30vh;
	position: relative;
}

.timeline-item {
	max-width: 25%;
	position: relative;
}

.timeline-item::before {
	content:"";
	height: 15px;
	width: 15px;
	border-radius: 50%;
	background-color: #FEC806;
	position: absolute;
	top: 24px;
	left: 60px;
}

.timeline-item-details {
	position: relative;
	left: 23px;
}


.timeline-details-description {
	position: relative;
	top: 28px;
	left: 45px;
	margin-right: 30px;
	background-color: #F0F5FA;
	border-radius: 0% 6% 6% 6%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 15px 0px;
	z-index: 1;
	transform: scale(1);
	transition: transform 300ms;
}

.timeline-details-description::after {
	content:"";
	box-shadow: inset 0em 1em 1em #DCE1E6;
	border-radius: 0% 6% 6% 6%;
	position: absolute;
	top: 0;
	right:0;
	left: 0;
	bottom: 0;
	opacity: 0;
	z-index: -1;
	transition: opacity 500ms;
}

.timeline-details-description:hover::after {
	opacity: 0.3;
}

.timeline-details-description:hover {
	transform: perspective(500px) rotateX(7deg) rotateY(7deg);
}

h3 {
	width: 87%;
	margin-bottom: 8px;
	font-family: 'roboto';
	font-weight: 600;
	font-size: 1.3em;
	
}

#formations .grade {
	font-weight: 400;
	font-size: 0.9em;
}

#formations .mention {
	font-family: 'roboto';
	font-weight: 500;
	font-size: 0.7em;
	text-transform: uppercase;
}

#formations p {
	width: 87%;
	font-family: 'open-sans';
	font-size: 0.90em;
	font-weight: 400;
	color: #999999;
}

button.plus {
	outline: none;
	border: none;
	background-color: transparent;
	font-family: 'open-sans';
	font-size: 0.90em;
	font-weight: 600;
	color: #999999;
	margin-top: 10px;
}

		/* Expériences */

#experiences {
	height: 900px;
	max-width: 80%;
}