header {
	min-height: 92px;
}

header p {
	margin: 0;
}

header nav {
	background-color: #00C;
	color: #FFF;
	display: flex;
	justify-content: space-around;
	min-height: 92px;
	position: fixed;
	text-shadow: 0 0 5px #000;
	top: 0;
	width: 100%;
	z-index: 1;
}

[data-scroll~='20'] header nav .logo {
	transform: scale(0.7);
}

header nav .logo {
	font-size: 24px;
	font-weight: bold;
	line-height: 1.5em;
	text-align: center;
	transition: 0.5s;
	width: min-content;
}

header nav .logo a {
	display: block;
}

header nav .logo a:hover {
	text-decoration: none;
}

header nav #hamburger {
	display: none;
}

header nav .hamburger {
	cursor: pointer;
	display: none;
	height: 50px;
	position: relative;
	width: 75px;
}

header nav .line {
	background: #000;
	display: block;
	height: 4px;
	left: 10px;
	position: absolute;
	transition: 0.5s;
	transform-origin: center;
	width: 55px;
}

header nav .line:nth-child(1) {
	top: 12px;
}

header nav .line:nth-child(2) {
	top: 24px;
}

header nav .line:nth-child(3) {
	top: 36px;
}

header nav #hamburger:checked + .hamburger .line:nth-child(1) {
	transform: translateY(12px) rotate(-45deg);
}

header nav #hamburger:checked + .hamburger .line:nth-child(2) {
	opacity: 0;
}

header nav #hamburger:checked + .hamburger .line:nth-child(3) {
	transform: translateY(-12px) rotate(45deg);
}

header nav ul {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

header nav ul li {
	display: flex;
	flex-direction: column;
	text-transform: uppercase;
	z-index: 1;
}

header nav ul li ul {
	align-items: flex-start;
	display: none;
	flex-direction: column;
	max-width: min-content;
	padding-left: 10px;
	position: absolute;
	top: 100%;
}

header nav ul li:hover ul {
	display: flex;
}

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

	header nav {
		flex-direction: row-reverse;
	}

	header nav .logo {
		display: none;
	}

	header nav .hamburger {
		display: block;
	}

	header nav #hamburger ~ ul li {
		max-height: 0;
		overflow: hidden;
		transition: max-height 400ms cubic-bezier(0.23, 1, 0.32, 1);
	}

	header nav #hamburger:checked ~ ul {
		display: flex;
	}

	header nav #hamburger:checked ~ ul li {
		font-size: 14px;
		max-height: 25em;
		transition: max-height 3000ms cubic-bezier(0.23, 1, 0.32, 1);
	}

	header nav ul {
		flex-direction: column;
	}

	header nav ul li ul {
		position: relative;
		top: auto;
	}

	header nav ul li.selected ul {
		display: flex;
	}

}