#navbar {
	width: 100%;
	padding: 0.667em 1em;
	background: #fff;
	z-index: 99;
	font-size: 18px;
}
@media all and (max-width: 700px) {
	#navbar {
		font-size: 17px;
	}
}
#navbar.floating {
	position: fixed;
	color: #fff;
	background: transparent;
}
#navbar .nav-item {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

/* mobile nav */

.mobile-nav-icon {
	position: absolute;
	cursor: pointer;
	/* make the click area bigger */
	padding: 1em;
	margin: -1em;
}

/* center the logo */

#navbar .nav-item.logo {
	width: 100%;
	padding-left: 35px;
	text-align: center;
	display: inline-block;
}
.mobile-nav.open {
	left: 0;
}
.page-wrap {
	transition: 0.2s transform, 0.2s opacity;
}
.page-wrap.slide-right {
	transform: translateX(300px);
	opacity: 0.6;
}
.page-wrap.slide-right * {
	pointer-events: none;
}

/* the mobile gallery menu */

.mobile-nav {
	position: fixed;
	top: 0;
	left: -400px;
	width: 300px;
	background-color: #fff;
	height: 100vh;
	z-index: 9;
	transition: 0.2s all;
	overflow: auto;
	box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.25);
	-webkit-overflow-scrolling: touch;
}
.mobile-nav .nav-item {
	display: block;
	padding: 1em;
	font-weight: 400;
	cursor: pointer;
	color: inherit;
	text-decoration: none;
}
.mobile-nav .nav-item.selected {
	background: #f5f5f5;
}
@media all and (max-width: 700px) {
	.mobile-nav {
		width: 290px;
	}
	.page-wrap.slide-right {
		transform: translateX(290px);
	}
}
