	/* Ajout de polices */

@font-face {
	font-family: Aileron;
	src: url(Ailerons-Regular.otf);
}
@font-face {
	font-family: Landa;
	src: url(Shentox-Regular.otf);
}


	/* Mise en page générale */

body{
	color: #ffffff;
	font-family:Landa;
	font-size: 1.2em;
	text-align:justify;
	background-color: #381D3D;
	background-image: url("../img/spaceb.jpg");
	background-repeat: no-repeat;
	background-size:cover;
	background-clip: border-box;
	margin:0px;
}

p{
	padding: 15px;
}

a, a:visited{
	color: #ffffff
}

a:hover{
	text-shadow: 1px 1px 2px #efefef;
}
	
h1{
	font-family: Aileron;
	font-size: 2em;
	margin:10px;
	text-align:right;
	margin-left:auto;
}


	/* Organisation des pages */

.page{
	display: flex;
	flex-direction: column;
	align-items: stretch;
	height: 100vh;
}

.principal{
	flex:1;
}


	/* Mise en page du corps */

.bloc_photo{
	display:flex;
	flex-direction: row-reverse;
	padding: 15px;
	align-items: center;
	justify-content: center;
}

img#Tri{
	max-width : 200px;
	height: auto;
}

.presentation{
	padding-bottom:45px;
}

.photo_txt{
	padding:30px;
}

.parcours{
	background-color: #381D3D;
	padding-bottom : 50px;
}

.scolaire, .professionnel{
	background-color: #552C5D;
	margin: 20px;
	padding: 10px;
}


	/* En tête de page */

header{
	display: flex;
	flex-direction: column;
	align-items: start;
	max-width: 200px;
}

.begin{
	flex:1;
}

.LI, .FB{
	padding: 0px 10px;
	filter: saturate(0%);
}

.LI{
	margin-top: 20px;
}

.FB{
	margin-top: 0px;
}

.LI_png, .FB_png{
	max-width: 30px;
}


	/* Changement de style */

.style_bouton{
	text-align: center;
	border-radius: 5px;
	background-color: #381D3D;
	padding: 10px;
	margin: 10px;
	position: relative;
	font-family:Landa;
	font-weight: bold;
	color: #ffffff;
	cursor: pointer;
	border:none;
}

.style_bouton:hover{
	text-shadow: 3px 3px 5px #efefef;
}

.style{
	display: inline-block;
	position:static;
	max-height:35px;
	z-index:100;
}

.style_liste{
	display: none;
	background-color: #552C5D;
	padding-bottom: 1px;
	padding-top: 1px;
}

.style:hover .style_liste{
	display: block;
}

.style_choix{
	display: block;
	text-decoration:none;
	background-color: #381D3D;
	padding: 6px;
	margin: 6px;
	text-align:center;
	color: #ffffff
}

@keyframes shake{
	0% {transform: rotate(0deg);}
	25% {transform: rotate(3deg);}
	50% {transform: rotate(0deg);}
	75% {transform: rotate(-3deg);}
	100% {transform: rotate(0deg);}
}

.style_choix:hover{
	animation-name: shake;
	animation-duration: 0.2s;
	animation-iteration-count: 2;
	animation-timing-function: ease-in-out;
}


	/* Menu de navigation */

.menu {
	padding:10px;
	position: absolute;
	top: 0;
	right: 0;
	height: auto;
	display: flex;
	flex-direction: row;
	font-size: 1.5em;
}

.tab_ghost {
	padding: 20px;
}

@keyframes decollage{
	from {background-size: auto 40%; background-position: 0% 10%;}
	to {background-size: auto 0%; background-position: 90% -5%;}
}

@keyframes atterrissage{
	from {background-size: auto 10%; background-position: -50% 30%;}
	to {background-size: auto 40%; background-position: 0% 10%;}
}

a.tab#home, a.tab#cv, a.tab#projects, a.tab#links, a.tab#contact{
	text-align: center;
	text-decoration: none;
	color: #ffffff;
	padding: 30px;
	padding-bottom:15px;
	padding-top:15px;
}

a:hover.tab#home, a:hover.tab#cv, a:hover.tab#projects, a:hover.tab#links, a:hover.tab#contact{
	text-shadow: 3px 3px 5px #5a5a5a;
	font-size: 110%;
	background-color: #381D3D;
	clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

a:active.tab{
	text-shadow: 3px 3px 5px #ffffff;
}


header, .head{
	max-height:102px;
}


	/* Mise en page CV */

.cv{
	position: relative;
	padding-top: 50%;
	background-color: #45244B;
	border-radius: 30px;
	width: 60%;
	margin-left: 20%;
}

.cv_pdf{
	position: absolute;
	left: 20%;
	top: 2%;
	width: 60%;
	height: 96%;
	border: 0;
}


	/* Mise en page bloc paragraphe */

.emg, .phy_mod, .etn, .polytech, .eupi, .louapre, .vortex, .form{
	background-color: #552C5D;
	margin: 20px;
	padding: 10px;
}


	/* Mise en page formulaire */

.form{
	text-align: center;
	line-height: 2em;
}

.case{
	background-color: rgba(255,255,255,0.1);
	color: #ffffff;
	border: solid 2px #ffffff;
	border-radius: 5px;
}

.case#avis{
	width:33%;
	height:80px;
}

.bouton_form{
	border-style: solid;
	color: #ffffff;
	background: none;
	cursor: pointer;
	border-radius: 10px;
	border-color: #ffffff;
	outline-style: none;
}

.bouton_form:active{
	box-shadow: inset 0 0 5px 1px #000000;
}

.bouton_form:hover{
	background-color: rgba(255,255,255,0.5);
}

.case:focus:valid{
	box-shadow: inset 0 0 5px 1px #038052;
	outline-style: none;
}

.case:focus:invalid{
	box-shadow: inset 0 0 5px 1px #8b0000;
	outline-style: none;
}


	/* Mise en page pied */

.pied {
	display: flex;
	flex-direction:column-reverse;
	font-size: 0.5em;
	text-align: center;
	background-color: #6C3876;
}

.credits{
	display: none;
}


	/* Responsive : écran taille moyenne */

@media screen and (max-width: 1100px) {
	.tab_ghost {
		padding: 5px;
	}

	a.tab#home, a.tab#cv, a.tab#projects, a.tab#links, a.tab#contact{
		padding: 20px;
	}
	
	.photo{
		background-color: #6C3876;
		padding: 20px;
		border-top-left-radius: 30px;
		border-top-right-radius: 30px;
	}
	
	img#Tri{
		border-top-left-radius: 30px;
		border-top-right-radius: 30px;
	}
		
		
}




	/* Responsive : mobile */

@media screen and (max-width: 800px) {
	.menu {
		position: relative;
		margin-left: auto;
		margin-right: auto;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		top: -50px;
	}

	.bloc_photo{
		display: flex;
		flex-direction: column-reverse;
	}
	
	a.tab#home, a.tab#cv, a.tab#projects, a.tab#links, a.tab#contact{
		text-align: center;
		padding: 0;
		padding-left: 15px;
		padding-right: 15px;
		margin-left: 10px;
		margin-right: 10px;
	}
	a:hover.tab#home, a:hover.tab#cv, a:hover.tab#projects, a:hover.tab#links, a:hover.tab#contact{
		font-size: 100%;
		background-color: #381D3D;
		clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
		padding-left: 30px;
		padding-right: 30px;
	}
	
	.tab_ghost {
		padding: 5px;
	}
	
	.photo_txt{
		background-color: #6C3876;
		padding: 10px;
		border-radius: 30px;
	}
        

		
}