.nav {
	position: fixed;
	top: 0;
	left: 0;
	width: var(--nav-width);
	max-width: 80%;
	height: 100vh;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: var(--z-index-nav);
}

nav.glass {
	/* background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-right: 1px solid var(--color-theme); */
	transform: translate3d(0, 0, 0);
	backdrop-filter: blur(5px) saturate(50%);
	-webkit-backdrop-filter: blur(5px) saturate(50%);
	box-shadow: 0 4px 30px rgba(255, 255, 255, 0.1);
	border-image: linear-gradient(45deg, var(--color-theme), var(--color-theme-line)) 1;
	border-right: 1px solid;
}

.nav-shadow {
	width: var(--nav-width);
	min-width: var(--nav-width);
	height: 100vh;
}

.nav-logo {
	padding: 1rem;
	width: 12rem;
	filter: drop-shadow(2px 4px 1rem var(--color-theme));
}

.nav-body {
	transition: all 0.5s cubic-bezier(0.6, 0.05, 0.28, 0.91) allow-discrete;
	margin: 1.25rem 0 1.25rem 0;
}

.nav-body-title {
	padding: 0.625rem 1.25rem;
	font-size: var(--font-size-fluid-1);
	font-weight: var(--font-weight-3);
	color: var(--color-theme-line);
}

.nav-body-select,
.nav-body-unselect {
	user-select: none;
}

.nav-body-select,
.nav-body-unselect,
.nav-body-select-disabled {
	padding: 0.625rem 1.25rem;
	font-size: var(--font-size-fluid-0);
}

.nav-body-select,
.nav-language-select-icon i,
.nav-body-unselect {
	color: var(--color-theme-line);
}

.nav-body-select-disabled {
	color: var(--color-theme-disabled);
}

.nav-body-select {
	cursor: pointer;
}

.nav-body-select:hover {
	color: var(--color-theme-line);
	font-weight: var(--font-weight-9);
}

.nav-body-select.selected {
	background: var(--color-theme-hover);
	font-weight: var(--font-weight-9);
}

.nav-body-select-icon {
	position: relative;
	margin-right: 0.938rem;
	width: 1.25rem;
	color: var(--color-theme-line);
}

.nav-body-select-icon .dark {
	filter: invert(90%);
}

.nav-body-select-icon.right {
	margin-right: 0;
	margin-left: 0.625rem;
}

.nav-body-select-icon img {
	width: 1.125rem;
	height: 1.125rem;
	user-select: none;
	transition-duration: 0.2s;
	transition-behavior: allow-discrete;
	filter: drop-shadow(0px 0px 0.2rem var(--color-theme-line)) drop-shadow(0px 0px 0.4rem var(--color-theme-line));
}

.nav-body-select-icon .icon-important {
	width: 2.375rem;
	height: 2.375rem;
}

.nav-body-select-icon .icon-important img {
	width: 100%;
	height: 100%;
}

.nav-body-select-icon .icon-inner-active {
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}

.nav-body-select-text {
	flex: 1;
	line-height: var(--font-lineheight-5);
	margin-left: 0.75rem;
}

.nav-body-select .spin,
.nav-body-select-disabled .spin {
	color: #fff;
}

.nav-body-separate {
	margin: 0.625rem 1.25rem;
	border-top: 1px solid #505251;
}

.nav-body-space {
	margin: 0.625rem;
}

.nav-body-select-inner {
	display: none;
	min-height: var(--nav-dropdown-inner-min-height);
}

.nav-body-select-inner.selected {
	background: var(--color-theme-hover);
	font-weight: var(--font-weight-9);
}

.nav-body-select-inner .nav-body-select,
.nav-body-select-inner .nav-body-unselect,
.nav-body-select-inner .nav-body-select-disabled {
	padding-left: 2.5rem;
}

.nav-body-select-disabled .spin {
	margin: 5px;
	padding: 0;
	font-size: 13px;
	line-height: 0;
}

#navOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 150%;
	background: #000;
	opacity: 0.6;
	overflow: hidden;
	z-index: var(--z-index-nav);
}

@media only screen and (min-width: 1024.1px) {
	.nav {
		display: block !important;
	}

	.nav.glass {
		background-color: rgba(255, 255, 255, 0.05);
	}

	#navOverlay {
		display: none;
	}
}

@media only screen and (max-width: 1024px) {
	.nav {
		display: none;
	}

	.nav.glass {
		background-color: rgba(0, 0, 0, 0.7);
	}

	.nav-shadow {
		width: auto;
		min-width: auto;
	}

	#navOverlay {
		display: none;
	}
}
