nav{
	position: fixed;
	display: flex;
	background: var(--navcolor-panel);
	justify-content: space-around;
	width: 100%;
	color: var(--navcolor-text) ;
	align-items: center;
	z-index: 50;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}
nav .logo{
	display: flex;
	/*font-family: Pacifico, cursive;*/
	letter-spacing: 2px;
	align-items :center;
}
nav .logo img{
	height: 40px;
	margin-right :10px;
}
nav .logo h4{
	margin: 0;
	font-size: 1.5em;
}

nav ul{
	display: flex;
	list-style: none;
	justify-content: space-between;
	margin: 0;
	padding: 0;
} 
nav ul li{
	border-left: solid 1px var(--navcolor-panel-line);
	border-right: solid 1px var(--navcolor-panel-hover);
}

nav ul li a{
	display: flex;
	flex-direction : column;
	color: var(--navcolor-text) ;
	text-decoration: none;
	padding: 10px 0;
	align-items : center;
	width : 80px;
}
nav ul li a .fa{
	font-size:  1.3rem;
	margin-bottom: 5px;
}
nav ul li a label{
	font-size : 0.9rem;
}
nav ul li:hover{
	color: #FFF ;
	background : var(--navcolor-panel-hover);
}

/* Hamburger menu */
.menu-toggle{
	display: none;
	flex-direction: column;
	height: 20px;
	justify-content: space-between;
	position: relative;	
}

.menu-toggle input{
	position: absolute;
	width: 40px;
	height: 28px;
	cursor: pointer;
	opacity: 0;
	left: -5px;
	top: -3px;
	z-index: 2;
}

.menu-toggle span{
	display: block;
	width: 28px;
	height: 3px;
	background :var(--navcolor-text);
	border-radius: 3px;
	transition: all 0.5s;
}

.menu-toggle span:nth-child(2){
	transform-origin: 0 0;
}
.menu-toggle span:nth-child(4){
	transform-origin: 0 100%;
}

.menu-toggle input:checked ~ span:nth-child(2){
	background: #FFF;
	transform : rotate(45deg) translate(-1px, -1px);
}
.menu-toggle input:checked ~ span:nth-child(4){
	background: #FFF;
	transform : rotate(-45deg) translate(-1px, 0);
}
.menu-toggle input:checked ~ span:nth-child(3){
	transform : scale(0);
	opacity: 0;
}


/* Responsive  */
@media screen and ( max-width : 950px ){
	.menu-toggle{
		display: flex;
	}
	nav{
		
		height: 60px;
	}	
	nav ul{
		position : absolute;
		right: 0;
		top : 60px;
		width: 70%;
		height: calc(100vh - 60px);
		justify-content : space-evenly;
		flex-direction : column;
		align-items : center;
		background-color : var(--navcolor-panel);
		/*z-index : -1;*/
		transform: translateX(100%);
		transition : all 1s;
		opacity : 0;
	}
	nav ul.slide{
		opacity: 1;
		transform: translateX(0);
	}
	nav ul li{
		border: none;
		width: 100%;
	}
	nav ul li a{
		flex-direction : row;
		width: 80%;
		margin: auto;
	}
	nav ul li a .fa{
		font-size:  1.7rem;
		margin-bottom: 0;
		margin-right: 10px;
	}	
	nav ul li a label{
		font-size : 1rem;
	}	
}