div.navigation {
	position: fixed;
	top: 0em;
	right: 0em;
	pointer-events: all;
	z-index: 100;
	padding: 0.85em 0em 1em;
}

div.navigation:after {
	content: "";
	position: absolute;
	background: #9e1737;
	width: 100%;
	height: 100%;
	top: 0em;
	left: 0em;
	z-index: -1;
	opacity: 0.9;
}

div.navigation ul {
	display: flex;
	pointer-events: all;
	margin-bottom: 0em;
}

div.navigation li {
	list-style-type: none;
	pointer-events: all;
	padding-right: 1em;
}

div.navigation a {
	border-bottom: none;
	pointer-events: all;
	color: white;
	position: relative;
}

div.navigation a:after {
	content: "";
	position: absolute;
	width: 0%;
	height: 1px;
	bottom: 0em;
	left: 0em;
	background: white;
	transition: 0.2s width ease-in;
}

div.navigation a:hover:after {
	width: 100%;
	transition: 0.3s width ease-in;
}

div.navigation .nav-close {
	position: absolute;
	top: 3em;
	right: 3em;
	color: white;
	pointer-events: none;
	opacity: 0;
	transition: 0.1s opacity;
	line-height: 1.25;
}

div.navigation .nav-close:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 1px;
	bottom: 0em;
	left: 0em;
	background: white;
	transition: 0.2s width ease-in;
}

div.navigation .mobnav {
	display: none;
}

@media screen and (max-width: 1152px) {
	div.navigation ul {
		opacity: 0;
		position: absolute;
	}

	div.navigation {
		width: 100vw;
		height: 100vh;
		padding: 0em;
		right: 0em;
		top: 0em;
		transform: translateX(100%);
		background: #9e1737;
		pointer-events: all;
		transition: 0.3s transform ease-in;
	}

	div.navigation .nav-hamburger {
		content: "";
		position: absolute;
		width: calc(100% - 1.5em);
		height: 2px;
		bottom: calc(50% - 1px);
		left: 0.75em;
		background: white;
		opacity: 1;
		transition: 0.3s opacity ease-in;
		transition-delay: 0.3s;
	}

	div.navigation .nav-open:before {
		content: "";
		position: absolute;
		width: calc(100% - 1.5em);
		height: 2px;
		bottom: 0.88em;
		left: 0.75em;
		background: white;
		opacity: 1;
		transition: 0.3s opacity ease-in;
		transition-delay: 0.3s;
	}

	div.navigation .nav-open:after {
		content: "";
		position: absolute;
		width: calc(100% - 1.5em);
		height: 2px;
		top: 0.88em;
		left: 0.75em;
		background: white;
		opacity: 1;
		transition: 0.3s opacity ease-in;
		transition-delay: 0.3s;
	}

	div.navigation a {
		pointer-events: none;
	}

	div.navigation .nav-open {
		content: "";
		width: 3em;
		height: 3em;
		padding: 0em;
		right: 0.25em;
		top: 0.25em;
		transform: translateX(-100%);
		z-index: 100;
		opacity: 1;
		transition: opacity 1s ease-out;
	}

	div.navigation.active {
		width: 100vw;
		height: 100vh;
		top: 0em;
		right: 0em;
		transition: 1s all;
		pointer-events: none;
		transform: translateX(0%);
	}

	div.navigation.active .nav-close {
		position: absolute;
		opacity: 1;
		pointer-events: all;
		transition: 1s opacity ease-in;
	}

	div.navigation.active:before {
		opacity: 0;
		transition: 0.05s opacity ease-in;
	}

	div.navigation.active:after {
		opacity: 0;
		transition: 0.05s opacity ease-in;
	}

	div.navigation.active .nav-open {
		opacity: 0;
		transition: 0.05s opacity ease-in;
	}

	div.navigation.active ul {
		opacity: 1;
		position: absolute;
		top: 5em;
		left: 3em;
		flex-wrap: wrap;
		flex-direction: column;
	}

	div.navigation.active li {
		position: relative;
		padding-left: 1em;
	}

	div.navigation.active li:before {
		position: absolute;
		left: -0.5em;
		top: calc(50% - 0.25em);
		content: "";
		width: 0.5em;
		height: 0.5em;
		transform: rotate(45deg);
		border-top: 2px solid white;
		border-right: 2px solid white;
	}

	div.navigation.active a {
		pointer-events: all;
	}

	div.navigation.active a:after {
		width: 100%;
	}

	div.navigation.active .mobnav {
		display: flex;
		top: unset;
		bottom: 3em;
		left: unset;
		right: 3em;
		flex-direction: row;
	}

	div.navigation.active .mobnav li {
		position: relative;
		margin-right: 1.5em; 
		padding-left: 1.5em;
		padding-right: 0em;
	}

	div.navigation.active .mobnav li:last-child {
		margin-right: 0em;
	}

	div.navigation.active .mobnav li:before {
		position: absolute;
		left: 0em;
		top: calc(50% - 0.25em);
		content: "";
		width: 0.5em;
		height: 0.5em;
		transform: rotate(45deg);
		border-top: 2px solid white;
		border-right: 2px solid white;
	}
}
