:root {
	--background-color: #141618;
	--secondary-background-color: #0d0e0f;
	--primary-foreground-color: #ffffff;
}

body {
	background-color: var(--background-color);
	color: var(--primary-foreground-color);
	font-family: Verdana, sans-serif, Arial;
	margin: 0;
	width: 100vw;
	transition: background-color 0.5s;
}

.sidebar {
	background-color: var(--secondary-background-color);
	padding: 18px;
	width: 250px;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	overflow-y: auto;
	transition: background-color 0.5s, box-shadow 1s, transform 0.5s;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
	display: none;
}

.sidebar:hover {
	box-shadow: 2px 0px 16px 1px rgb(from var(--primary-foreground-color) r g b / 25%);
	transition: background-color 0.5s, box-shadow 0.75s, transform 0.5s;
}

.sidebar.hidden {
	transform: translateX(-100%);
	transition: transform 0.5s;
}

.sidebar hr {
	width: 90%;
}

.sidebar .selected {
	background: rgb(from var(--primary-foreground-color) r g b / 20%);
	border-radius: 5px;
}

.tree {
	margin-top: 20px;
}

.tree ul {
	list-style: none;
	padding-left: 10px;
	margin: 0;
}

.tree .hide {
	display: none;
}

.folder, .file {
	cursor: pointer;
	padding: 5px;
}

.folder {
	font-weight: bold;
}

.file {
	font-weight: normal;
}

.folder::before {
	content: "📁 ";
}

#mode {
	float: left;
	padding-top: 40px;
	padding-left: 6px;
	transform: translateY(-50%);
	height: 28px;
	width: 28px;
	user-select: none;
	transition: 1s;
}

#mode:hover, .hamburger:hover {
	cursor: pointer;
	filter: drop-shadow(0px 0px 10px var(--primary-foreground-color));
	transition: 0.75s;
}

.hamburger {
	background-color: rgb(from var(--primary-foreground-color) r g b / 20%);
	width: 26px;
	height: 26px;
	display: flex;
	border-radius: 5px;
	margin-top: 7px;
	margin-right: 8px;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	user-select: none;
	transition: 1s;
}

#hamburger1 {
	float: right;
}

#hamburger2 {
	margin-top: 25px;
	margin-left: 25px;
	float: left;
	opacity: 0;
	visibility: hidden;
	transition-delay: 0s;
	transition-duration: 0s;
}

#hamburger2.hidden {
	opacity: 1;
	visibility: visible;
	transition-delay: 0.4s;
	transition-duration: 0.25s;
}

.content {
	z-index: -1;
	position: fixed;
	top: 0;
	left: 286px;
	right: 0;
	bottom: 0;
	width: auto;
	height: auto;
	transition: left 0.5s;
	display: flex;
	overflow-x: hidden;
}

.content.hidden {
	left: 0px;
	transition: left 0.5s;
}