@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
* {
	font-family: "Rubik", sans-serif;
}
body {
	background-image: url("/assets/img19.jpg");
	background-size: cover;

	margin: 0;
	padding: 0;
}

/*Mica Effect / Setup */
#main {
	height: 100vh;
	width: 100vw;
	box-sizing: border-box;
	border-radius: 0;
	padding: 10px 10px 10px 0;

	display: grid;
	grid-template-columns: 72px auto;

	transition: all 250ms ease, height 0ms linear, width 0ms linear;
}

#main.nav-open {
	grid-template-columns: 320px auto;
}
#main.nav-closed {
	padding: 10px 8px 10px 0px;
}

#secondary {
	height: calc(100% - 30px);
}
#primaryContent {
	padding: 20px;
	padding-left: 0;
	box-sizing: border-box;
}

.mica {
	padding: 16px 16px 16px 30px;
	border-radius: 8px;
	border: none;
	-webkit-backdrop-filter: blur(40px);
	backdrop-filter: blur(40px);
	background-color: rgba(247, 249, 252, 0.6);
	overflow-y: auto;
	box-shadow: 0px 25.6px 57.6px rgb(0 0 0 / 14%),
		0px 0px 16.4px rgb(0 0 0 / 12%);

	transition: all 250ms ease;
}

.mica-alt {
	padding: 16px 16px 16px 30px;
	border-radius: 8px;
	border: none;
	background-color: rgba(247, 249, 252, 0.4);
	overflow-y: auto;
	box-shadow: 0px 25.6px 57.6px rgb(0 0 0 / 14%),
		0px 0px 16.4px rgb(0 0 0 / 12%);

	transition: all 250ms ease;
}

/* Navigation */
#navigation {
	padding: 15px;
}

.nav-item {
	box-sizing: border-box;
	padding: 11px;
	cursor: pointer;
	border-radius: 8px;
	transition: all 100ms ease;
	height: 45px;
	margin-bottom: 6px;
}
.nav-item:hover {
	background-color: rgba(255, 255, 255, 0.3);
}

.nav-item img {
	height: 12px;
	filter: invert(100%);
}

.nav-item:not(#title) > b {
	font-weight: 400;
}

.nav-item.selected {
	background-color: rgba(98, 98, 180, 0.4);
}

#navigation.closed > .nav-item > b {
	display: none;
}
#navigation.open > .nav-item > b {
	margin-left: 5px;
	display: inline;
	animation: displayInline 250ms ease forwards;
}

@keyframes displayInline {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@media (prefers-color-scheme: dark) {
	.nav-item img {
		filter: none;
	}
	.mica {
		color: white;
		background-color: rgba(35, 39, 52, 0.6);
	}
	.mica-alt {
		color: white;
		background-color: rgba(35, 39, 52, 0.6);
	}
}
@media screen and (max-width: 600px) {
	#main.nav-open {
		grid-template-columns: auto 0px;
	}
	#main.nav-open #secondary {
		display: none;
	}
}
