.main {
	padding: 1em;
	border-bottom: solid 1px #eef;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	z-index: 1;
	background: #fff;
}

.logo {
	color: #924;
}

.sidebar {
	position: fixed;
	width: 296px;
	background: #fff;
	top: 81px;
	left: -296px;
	border-right: solid 1px #ddd;
	border-bottom: solid 1px #ddd;
	transition: left 0.2s ease-in-out;
	max-height: calc(100vh - 81px);
	overflow-y: auto;
	scrollbar-color: #ccc;
}

@media (pointer: fine) {
	.sidebar {
		scrollbar-color: transparent;
	}

	.sidebar:hover {
		scrollbar-color: #ccc;
	}

	.sidebar::-webkit-scrollbar {
		width: 0.4rem;
	}

	.sidebar::-webkit-scrollbar-track {
		background: transparent;
	}

	.sidebar::-webkit-scrollbar-thumb {
		background-color: transparent;
		border-radius: 1rem;
	}

	.sidebar:hover::-webkit-scrollbar-thumb {
		background-color: #ccc;
	}
}

.sidebar.open {
	left: 0px;
}

.topNav {
	display: none;
}

@media (min-width: 900px) {
	.burger {
		display: none;
	}

	.logoContainer {
		flex-grow: 1;
	}

	.topNav {
		display: block;
	}
}

.logo:hover {
	color: #b16;
}

.nav a {
	color: inherit;
}

.topNav ul {
	display: flex;
	line-height: 1;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.topNav li:not(:first-child) {
	margin-left: 1em;
}

.topNav a {
	width: 3em;
}

a.activeLink {
	color: #924;
	font-weight: bold;
}

a.nextLink {
	background: #eef;
}

.docSearchPlaceholder {
	display: inline-block;
	width: 36px;
	padding: 0 8px;
	margin-left: 16px;
}

@media (min-width: 751px) {
	.docSearchPlaceholder {
		width: 160px;
	}

	:global(.DocSearch.DocSearch-Button) {
		width: 160px;
	}
}
