/* HEADER+NAV */

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding: 20px 0 !important;
	display: block;
	height: auto;
	line-height: 100px;
	color: #FFF;
/* 	background: #222; */
	background: #000;
	
	z-index: 999999;
	
	-webkit-transform: translateZ(0);
		
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
}

header.sticky {
	opacity: 0.75;
	padding: 0 !important;
}

header .wrapper {
	width: calc(1080px - 80px)
}

header img,
header h1,
header nav {
	display: inline-block;
}

header img {
	border-radius: 0 !important;
	height: 50px;
	width: 50px;
	float: left;
	margin-right: 15px;
	transform: scale(1.2)
}

header.sticky img {
	margin-top: 0px;
	transform: scale(1)
}

header h1 {
	float: left;
	font-size: 30px;
	line-height: 50px;
	font-weight: 400;
	margin: 0;
}

header.sticky h1 {
	font-size: 24px;
}

header nav {
	float: right;
	height: 50px;
	display: inline-block;
}

header nav ul {
	margin: 0;
	padding: 0;
}

header nav ul li {
	height: 50px;
	line-height: 50px;
	font-size: 18px;
	font-weight: 400;
	display: block;
	float: left;
	margin: 0 15px 0 0;
	padding: 0;
	text-align: center;
	
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
}

header.sticky nav ul li {
	margin: 0;
}

header nav ul li:first-child {
	margin-left: 0;
}

header nav ul li:last-child {
	margin-right: 0;
}

header nav ul li a {
	display: block;
	padding: 0 15px;
	
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	transition: 0.5s;
}

/* COLOR THEME */

section.resume,
.p1.current a { background: #333 }

section#parcours,
aside#parcours,
.p2.current a,
section.skills { 
	background: #1F1F1F;
}


section#portfolio {
	background: #161616;
	padding: 130px 0 0 0;
}

.p3.current a {
	background: #161616;
}

section#freebies,
.p4.current a {
	background: #F2F2F2;
	color: #111;
}

section#freebies {
	padding: 130px 0 0 0;
}

section#blog,
.p5.current a { background: #cf0922 }

header nav ul:hover li a {
	opacity: 0.2;
}

header nav ul:hover li a:hover {
	opacity: 1;
}

@media screen and (max-width: 1100px) {

	header .wrapper {
		width: calc(100% - 50px);
	}
}

@media screen and (max-width: 960px) {

	header img {
		display: none;
	}
	
	header nav ul li {
		margin: 0 6px;
	}
	
	header nav ul li a {
		padding: 0 10px;
	}
}

@media screen and (max-width: 780px) {
	
	header h1 {
		font-size: 22px;
	}
	
	header nav ul li {
		margin: 0 5px;
	}
	
	header nav ul li a {
		font-size: 16px;
		padding: 0 10px;
	}	
}

@media screen and (max-width: 640px) {
	

	
	header nav {
		display: none;
	}
	header nav {
		display: none;
	}
	
	header h1 {
		font-size: 32px;
		width: 100%;
		text-align: center;
	}
	
	header {
		position: absolute;
	}
}






