header {
	background: var(--black);
	padding: 1em 0;
	font-size: calc(1rem - 2px);
	font-weight: 500;
	line-height: 1;
}
header a {
	display: inline-flex;
	color: var(--white);
	text-decoration: none;
}
header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
header nav ul {
	display: flex;
	justify-content: center;
	align-items: center;
}
header nav ul > li:not(:last-child) {
	margin-right: 30px;
}
header nav ul > li:last-child a {
	border-width: 2px;
	border-style: solid;
	border-color: var(--white);
	border-radius: calc(0.5rem - 2px);
	padding: 0.75em 1.5em;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.25);
}
header nav ul > li:last-child a:hover {
	background: var(--white);
    box-shadow: 0 0 2px 8px rgba(255,255,255,0.25);
}
header nav a {
	transition: all 0.1s linear;
}
header nav a:hover {
	color: var(--primary);
}
header .btn--menu {
	padding: 0;
	display: none;
	background: transparent;
	border: 0;
	color: var(--white);
	font-size: 1rem;
	line-height: 1;
	height: 2em;
	width: 2em;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

header .btn--menu > i {
	height: 2em;
	min-height: 2em;
	width: 2em;
	min-width: 2em;
	justify-content: center;
	align-items: center;
	font-size: 1.25em;
}
header .btn--menu > i:nth-child(1) {
	display: flex;
}
header .btn--menu > i:nth-child(2) {
	display: none;
}
header.menu--active .btn--menu > i:nth-child(1) {
	display: none;
}
header.menu--active .btn--menu > i:nth-child(2) {
	display: flex;
}

@media screen and (max-width: 991px) {
	header {
		position: fixed;
		width: 100%;
		left: 0;
		top: 0;
		z-index: 1000;
	}
	header .container {
		flex-direction: column;
	}
	header .top {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	header .btn--menu {
		display: flex;
	}
	header.menu--active nav {
		display: flex;
		flex-grow: 1;
	}
	header.menu--active {
		width: 100%;
		height: 100%;
		display: flex;
		flex-wrap: wrap;
		background: var(--black);
	}
	header nav {
		display: none;
		width: 100%;
	}
	header nav ul {
		flex-direction: column;
		width: 100%;
		font-size: 1.5rem;
		line-height: inherit;
	}
	header nav ul > li {
		width: 100%;
	}
	header nav ul > li a {
		padding: 1rem 0;
		display: flex;
	}
	header nav ul > li:not(:last-child) {
		margin-right: 0;
	}
	header nav ul > li:last-child a {
		border-width: 0;
		border-color: transparent !important;
		border-radius: 0;
		background: transparent !important;
		padding: 1rem 0;
		box-shadow: 0 0 0 0 rgba(0,0,0,0) !important;
	}
}
