header {
	display: block;
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	width: 100%;
	height: 0px;
}

#menu-button {
	display: block;
	position: absolute;
	z-index: 3;
	top: 20px;
	right: 20px;
	width: 46px;
	height: 46px;
	margin: 0;
	border-radius: 23px;
	cursor: pointer;
	background-color: #242526;
	box-shadow: 0 0 12px #18191a;
}

#show-menu-button,
#hide-menu-button {
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	visibility: hidden;
}

#show-menu-button.show,
#hide-menu-button.show {
	visibility: visible;
}

#show-menu-button span {
	position: absolute;
	z-index: 1;
	right: 10px;
	width: 0px;
	height: 1px;
	background: linear-gradient(90deg, rgba(172, 175, 180, 0) 0%, #adb0b5 10%, #e4e6eb 50%, #adb0b5 90%, rgba(172, 175, 180, 0) 100%);
	transition: .25s;
}

#show-menu-button span:nth-child(1) {
	top: 17px;
}

#show-menu-button span:nth-child(2) {
	top: 23px;
}

#show-menu-button span:nth-child(3) {
	top: 29px;
}

#show-menu-button.show span {
	width: 26px;
}

#menu-button:hover > #show-menu-button.show span:nth-child(1) {
	width: 20px;
}

#menu-button:hover > #show-menu-button.show span:nth-child(3) {
	width: 14px;
}

#hide-menu-button span {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	height: 2px;
	width: 0px;
	background: linear-gradient(90deg, rgba(172, 175, 180, 0) 0%, #adb0b5 10%, #e4e6eb 50%, #adb0b5 90%, rgba(172, 175, 180, 0) 100%);
	transition: .25s;
}

#hide-menu-button span:nth-child(1) {
	transform: translate(-50%, -50%) rotate(45deg);
}

#hide-menu-button span:nth-child(2) {
	transform: translate(-50%, -50%) rotate(-45deg);
}

#hide-menu-button.show span {
	width: 26px;
}

#menu-button:not(.ontrnstn):hover > #hide-menu-button.show span:nth-child(1),
#menu-button.ontrnstn > #hide-menu-button span:nth-child(1) {
	transform: translate(-50%, -50%) rotate(-45deg);
}

#menu-button:not(.ontrnstn):hover > #hide-menu-button.show span:nth-child(2),
#menu-button.ontrnstn > #hide-menu-button span:nth-child(2) {
	transform: translate(-50%, -50%) rotate(-135deg);
}

#menu-wpr {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	visibility: hidden;
	overflow: auto;
}

#menu {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	height: auto;
	margin: auto;
	width: calc(100% - 80px);
	max-width: 920px;
}

#menu > div {
	display: block;
	margin: 0 20px;
}

#menu > div > div {
	display: block;
	margin: 40px 0;
	width: 100%;
}

#menu span,
#menu ul li {
	transform: translateY(50%);
	opacity: 0;
	transition: .25s ease;
}

#menu span {
	display: inline-block;
	color: #e4e6eb;
	font-weight: 500;
}

#menu ul {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

#menu ul li {
	display: block;
}

#menu ul li:before {
	display: none;
}

#menu ul li.current {
	pointer-events: none;
}

#menu ul li.current:before {
	content: '';
	display: block;
	position: absolute;
	top: calc(50% - 3px);
	left: -16px;
	width: 6px;
	height: 6px;
	border-radius: 3px;
	background: #147ce5;
}

#menu a {
	display: inline-block;
	position: relative;
	margin: 0;
	padding: 4px 0;
	color: #68696b;
	text-decoration: none;
}

#menu a:hover,
#menu ul li.current a {
	color: #adb0b5;
}

#menu-overlay {
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	visibility: hidden;
	opacity: 0;
	transition: opacity .4s ease, visibility .4s ease;
	background-color: #18191a;
	background-image: url(../image/global/menu-logo.svg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top left;
}

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

	#menu-button {
		right: 10px;
		top: 10px;
	}

	#menu-wpr {
		display: block;
	}

	#menu {
		display: block;
		margin: 100px auto 40px;
	}

	#menu > div {
		width: 100%;
		margin: 0;
	}

	#menu > div > div {
		margin: 30px 0;
	}

}
