*{
	box-sizing: border-box;
	text-decoration: none;


}

header, main, footer {
	font-family: 'Fjalla One', sans-serif;

}

/***********************************************************************************/
nav{

	position: absolute;
	z-index: 999;
	width: 100%;
	}

#nav {
	position: fixed;
	display: inline-block;
	background-color: #d6ae7b;
	margin-top: -10vh;
	box-shadow: 0px 4px 0px;
	opacity: 0.8;

	/*display: inline-flex;
	flex-direction: row;*/

}
#habout, #hport, #hcontact {
	float: right;
	padding: 3vh;

}

#titre {
	float: left;
	padding: 3vh;
}

#logo {
	display: inline-block;
	float: left;
	margin-top: 1vh;
	margin-left: 3vh;
	width:	3%;
}

#nav a {
	color: /*#f5e4c3*/ #000;
	font-size: 2vh;
}
/***********************************************************************************/




#hport li {
/* on place les liens du  horizontalement */
    display: inline-block;
}
#hport ul li {
/* on enlève ce comportement pour les liens du sous  */
    display: inherit;

}
#hport a {
    text-decoration: none;
    display: block;

}

#soushport a {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	background-color: #AF946D;
	padding-left: 2em;
	padding-right: 2em;

}
#hport ul {
    position: absolute;
/* on cache les sous s complètement sur la gauche */
    left: -999em;
    text-align: left;
    z-index: 1000;
}
#hport li:hover ul {
/* Au survol des li du  on replace les sous s */
    left: auto;
}



body {
	background: #eacda3;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #d6ae7b, #eacda3);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #d6ae7b, #eacda3); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}





/**********************"titre portfo"*******************************************/


#crittitre{
	font-size: 2vh;
	display: flex;
	flex-direction: column;

	opacity: 0.8;
	background-color: #000;
	/*margin-top: 4.25em;*/

	/*left: 26%;
	position: relative;*/


	margin-top: 10vh;

	text-align: center;
}

#crittitre li{

	text-align: center;
	padding: 1em;

	color:#AF946D ;
	display: inline-block;
	/*right: 27%;*/

}

/********************************************************************************/

.daft, .bat, .spy, .lego{

}

#portfo li{
	text-align: center;
	display: inline-block;
}
#portfo div{
	text-align: center;

	width: /*379.5px*/23em;
	height: /*379.5px*/23em;
	display: flex;
	float: left;

}

#page img {
	object-fit: cover;
	text-align: center;
	overflow: hidden;
	display: inline-block;
}

#page div:hover,
#page div:focus {
	transform: scale(1.2);
}

#nav a:hover{
	text-decoration: underline;
	color: #590000;
}

#portfo {
	/*margin-left: auto;
  	margin-right: auto;
  	width: 70em;*/
  	text-align: center;
}


@media (max-width: 980px){

	#logo {
	width: 6%;
	}

	#titre{
			display: none;
	}

}

@media (max-width: 405px){
	#nav a, #titre, #hport, #hcontact{
		font-size: 10px;
	}
	#nav{
		margin-top: none;
	}
}

@media (max-width: 350px){

	#logo {
	width: 8%;
	}
}
