/* ******************** HEADER ******************** */
header {
	position: sticky;
	width: 100%;
	top: 0;
	left: 0;
	height: 70px;
	background: #43a5f6;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	z-index: 1000;
}

.headerContainer {
	position: relative;
	max-width: 1340px;
	width: 100%;
	height: 70px;
	padding: 0 32px;
	margin: 0 auto;
	display: flex;
}

.headerLogo {
	flex: 1;
}

.headerLogo {
	flex: 1;
	width: 100%;
	height: 70px;
	display: flex;
	align-items: center;
}

.headerLogo a {
	font-size: 21px;
	color: #fff;
	font-weight: 700;
	letter-spacing: 2px;
}

.headerLogo a span {
	font-weight: 300;
}

.headerMenu {
	flex: 3;
	display: flex;
}

.menuLinks {
	flex: 1;
}

.menuLinks > ul {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.menuLink {
	position: relative;
}

.menuLink > a {
	line-height: 70px;
	color: #fff;
	padding: 0 14px;
	letter-spacing: 1px;
	font-size: 16px;
	transition: .5s;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.menuLink > a > i {
	margin-left: 6px;
}

.menuLink:hover > a {
	background: #2b93e3;
}

.subMenu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 250px;
	background: #445964;
	padding: 15px;
	transform: translateY(10px);
	opacity: 0;
	pointer-events: none;
	transition: .5s;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.subLink {
	border-bottom: 1px dashed #efefef;
}

.subLink:last-child {
	border-bottom: none;
}

.subLink > a {
	display: flex;
	color: #f7f7f7;
	padding: 10px 20px;
	font-size: 15px;
	transition: .3s;
}

.menuLink:hover > .subMenu {
	transform: translate(0, 0);
	opacity: 1;
	pointer-events: auto;
}

.responseContainer {
	flex: 1;
	display: none;
	align-items: center;
	justify-content: flex-end;
}

.responseMenu {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.responseMenu div {
	position: relative;
	width: 25.6px;
	height: 3px;
	border-radius: 3px;
	background: #fff;
	z-index: 1001;
	transition: .5s;
}

.responseMenu div:before, .responseMenu div:after {
	content: '';
	position: absolute;
	width: inherit;
	height: inherit;
	background: #fff;
	border-radius: 3px;
	transition: .5s;
}

.responseMenu div:before {
	transform: translateY(-7px);
}

.responseMenu div:after {
	transform: translateY(7px);
}

#toggleBox {
	position: absolute;
	top: 50%;
	right: 32px;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	z-index: 90000;
	cursor: pointer;
	opacity: 0;
	display: none;
}

#toggleBox:checked ~ .responseContainer .responseMenu div {
	background: transparent;
}

#toggleBox:checked ~ .responseContainer .responseMenu div:before {
	transform: translateY(0) rotate(-45deg);
}

#toggleBox:checked ~ .responseContainer .responseMenu div:after {
	transform: translateY(0) rotate(45deg);
}

@media (max-width: 700px) {
	.responseContainer {
		display: flex;
	}
	
	#toggleBox {
		display: block;
	}
	
	.headerMenu {
		position: fixed;
		height: calc(100vh - 70px);
		top: 70px;
		left: 0;
		width: 100%;
		background: #445964;
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		overflow-x: hidden;
		overflow-y: auto;
		transform: translateX(100%);
		transition: .65s;
	}
	
	#toggleBox:checked ~ .headerMenu {
		transform: translateX(0);
	}
	
	.menuLinks {
		flex: initial;
		width: 100%;
	}
	
	.menuLinks > ul {
		flex-direction: column;
	}
	
	.menuLink {
		width: 100%;
	}
	
	.menuLink > a {
		line-height: 1;
		padding: 16px 32px;
	}
	
	.menuLink:hover > a {
		background: #36474f;
	}
	
	.subMenu {
		position: initial;
		top: initial;
		left: initial;
		transform: initial;
		opacity: 1;
		pointer-events: auto;
		width: 100%;
		box-shadow: none;
		padding: 0;
		background: #3183ac;
		display: none;
	}
	
	.menuLink:hover > .subMenu {
		display: block;
	}
	
	.subLink > a {
		background: transparent;
		padding: 16px 42px;
	}
	
	.subLink:hover > a {
		background: #36474f;
	}
	
	.subLink {
		border-bottom: none;
	}
}
/* ******************** HEADER ******************** */