/*Import, html et body*/
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap');
html {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-family: 'Source Sans Pro', "Avenir", sans-serif;
} 
body {
	background-color: #f2f2f2;
	padding-top: 150px;
	padding-right: 50px;
	padding-left: 50px;
	margin: 0;
}



/*HEAD*/
/*Menu de navigation*/
.menuDesktop {
	z-index: 9999;
	position: fixed;
	top: 1.5rem;
	left: 50%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 0;
	margin: 0;
	transform: translateX(-50%);
	background-color: #1ABC9C;
	transition : all ease 0.3s;
	width: 100%;
	height: 50px;
}
.menuDesktop li {
	display: inline-flex;
	list-style-type: none;
	overflow: hidden;
	margin-right:1.5rem;
}
.menuDesktop a {
	display:inline;
  	height:100%;
  	width:100%;
  	line-height:50px;
	text-align: center;
	background-color: #1ABC9C;
	color: #fff;
	text-decoration: none;
	font-size: 1.125em;
}
.menuDesktop li:first-child a{
	text-align: left;
	width:15rem;
	padding-left:1.5rem;
}
.menuDesktop a:hover{
	background-color: #09C;
	color: #cccccc;
	transition: 0.3s
}
.menuDesktop .actif {
	width: 10rem;
}


/*Dispotion de la présentation*/
#intro {
	overflow: hidden;
}
#photoCv img {
	max-width: 300px;
	height: auto;
	border-radius: 140px;
	/*clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);*/
	/*clip-path: polygon(0 1%, 100% 0, 90% 100%, 10% 100%);*/
	/*clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);*/
	/*clip-path: polygon(10% 0, 0 50%, 0% 99%, 99% 100%, 100% 50%, 90% 0);*/
	float: left;
	margin: 5px 20px 5px 0;
}
.right {
    margin: 5px 0 5px 20px;
    padding-left: 300px;
}
#intro a {
	text-decoration: none;
}
.categorie{
	margin-bottom: 45px;
}



/*MAIN*/
/*Séparateur*/
.categorie h2 {
	padding: 20px;
  	margin: 20px 10px;
  	border-width: 5px;
  	border-style: outset;
  	border-color : #09C;
  	background-color: #0C9;
}


/*Etudes*/
#etudesPara {
	font-family: inherit;
	padding-left: 30px;
	line-height: 1.20;
}
.year {
    text-transform: uppercase;
    font-family: "Brandon-grotesque", "Arial", sans-serif;
    font-weight: 900;
    line-height: 1.2;
    font-size: 0.95em;
    color: #7f7e82;
 }
#etudesPara h3 {
	margin-top: 10px;
	margin-bottom: 20px;
}
button {
	padding: 10px 30px;
	margin-left: 15px;
	background: #1ABC9C;
	color: white;
	border: 0px;
}
/*Bouton télécharger le CV*/
.dl:hover, #download:focus {
	background-color: #888;
	cursor: pointer;
}
.dl:active { 
	background-color: #ccc; 
}


/*Chronologie des Expériences*/
.timeline {
	position:relative;;
	margin: 0 auto;
	padding : 40px 0;
	box-sizing: border-box;
}
.timeline:before {
	content: "";
	position: absolute;
	display:inline-block;
	z-index:-1;
	left: 50%;
	width: 3px;
	height: 100%;
	background: #c5c5c5;
	transform:translateX(-50%);

}
.timeline ul {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
	padding: 0;
}
.timeline ul li {
	list-style: none;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 20px 40px;
	box-sizing: border-box;
}
.timeline h3,.timeline p{
	width:300px;
}
.content{
	padding-bottom: 20px;
	width:300px;
}
.content:nth-child(odd){
	order:2;
}
.content:nth-child(even){
	order:0;
}
.item {
	display:inline-block;
	width: 10px;
	height: 10px;
	background: rgba(233,33,99,1);
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(233,33,99,0.2);
	order:0;
	margin:0 24px;
}
.timeline li:nth-child(even) .item{
	order:1;
}
.timeline ul li h3 {
	margin: 0;
	padding: 0;
	font-weight: 600;
	color: rgba(233,33,99,1);
}
.timeline ul li p {
	margin: 10px 0 0;
	padding: 0;
}
.timeline ul li .time h4{
	margin: 0;
	padding: 0;
	font-size: 0.875em;
}
.timeline ul li:nth-child(odd) .timeContent{
	display: flex;
	flex-direction:row;
	justify-content: flex-end;
	order:-1;
}
.timeline ul li:nth-child(even) .timeContent{
	display: flex;
	flex-direction:row;
	justify-content: flex-start;
	order:1;
}
.timeContent{
	width:300px;
}
.timeContent .time{
	width:fit-content;
	margin: 0;
	padding: 8px 16px;
	background: rgba(233,33,99,1);
	color: #fff;
	border-radius: 18px;
	box-shadow: 0 0 0 3px rgba(233,33,99,0.3);

}


/*Cercle Compétences*/
/*voir styleCircles.css*/
#comp{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	margin-left: 30px;
}


/*Interets*/
#gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: flex-start;
	margin-left: 30px;
}
#gallery div {
	margin: 0;
	padding: 0;
	border: 0;
}
.photoInteret {
	position: relative;
	width: 485px;
	height: 270px;
}
.photoInteret img {
	display: block;
	width: 90%;
	height: 90%;
}
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90%;
  width: 90%;
  opacity: 0;
  transition: .5s ease;
  background-color: #212121;
}
.photoInteret:hover .overlay {
  opacity: 0.8;
}
.text {
  color: white;
  font-size: 1.5em;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}


/*Partie contact*/
#contactInfos {
	margin-left: 30px;
}
.contactInfo a {
	text-decoration: none;
}


/*Scroll & Lazyload*/
.lazyload{
	opacity: 1;
	transition: 600ms;
}
.hop{
	opacity: 0;
}

/*Menu burger, mobile*/
#burger:hover, #burger:focus { 
	background-color:#888; 
}
#burger:active { 
	background-color:#ccc; 
}
		
#navTop { 
	background-color:#444; 
	display:flex; 
	flex-flow:row nowrap; 
}
#navTop a { 
	display:block; 
	border-top:#888 1px solid; 
	color:#fff; 
	text-decoration:none; 
	padding:6px;
}
#navTop a:hover, #navTop a:focus { 
	background-color:#888; 
}
#navTop a:active { 
	background-color:#ccc; 
}



/*Responsive*/
@media screen and (max-width:760px){
	body{
		padding-top: 0;
		padding-right:0;
		padding-left:0;
		overflow-x: hidden;
	}
	#burger { 
		height:40px; 
		width:40px; 
		border:#888 1px solid; 
		background-image:url(menu.svg); 
		background-position:center center; 
		background-size:30px 30px; 
		background-repeat:no-repeat; 
		cursor:pointer;
		position: fixed;
    	background-color: #ccc;
    	z-index: 9999;
	}
	.volet { 
		transition:height 0.6s; 
		height:0; 
		overflow: hidden; 
		z-index: 9999;
		position: fixed;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		margin-top: 41px;
	}
	#navTop { 
		flex-flow:column nowrap;
	}
	.menuDesktop{
		z-index: unset;
		transform: unset;
		background-color: unset;
		width: unset;
		height: unset;
		position: initial;
		flex-direction: column;
	}
	#navTop a{
		width: 100%;
		height: 100%;
	}
	.menuDesktop li {
		margin-right:0;
	}
	.menuDesktop li:first-child a{
		text-align: center;
	}
	#intro {
		margin-top: 10px;
		margin-left: 5px;
	}
}


@media (max-width: 760px){
	.timeline{
		width: 100%;
		padding-bottom: 0;
	}
	.timeline:before{
		left: 0;
	}
	.content:nth-child(odd){
		order:2;
	}
	.content:nth-child(even){
		order:2;
	}
	.item {
		display: none;
	}
	.content:nth-child(even), .content:nth-child(odd){
		padding-left: 10px;
		padding-bottom: 0;
		justify-content: flex-start;
	}
	.timeContent{
		width:150px;
	}
	.timeline ul li {
		flex-wrap: wrap;
		padding-left: 5px;
		padding-right: 5px;
	}
	.timeline ul {
		align-items: flex-start;
	}
	.timeline ul li:nth-child(odd) .timeContent{
		justify-content: flex-start;
		margin-left: 2px;
		margin-right: 2px;
	}
	.timeline:before {
		content: none;
	}
	#photoCv {
		display: flex;
		justify-content: center;
	}
	.right {
    	padding-left: 0;
	}
}
@media (max-width: 500px){
	.timeline ul li:nth-child(odd) .timeContent,.timeline ul li:nth-child(even) .timeContent{
		justify-content: center;
	}
	.content:nth-child(even), .content:nth-child(odd){
		padding-top: 5px;
	}
}