@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");

:root {
	--color-body-bg: #0f101a;
	--color-aside-bg: #1a1b26;
	--color-nav-bg: #1a1b26;
	--color-hover-bg: #2f3549;
	--color-border: #2f3549;
	--color-text-primary: #f5f5f5;
	--color-text-secondary: #d4d4d4;
	--color-text-muted: #888888;
	--color-text-accent: #a0a0a0;
	--color-code-bg: #0d0e15;
	--color-code-text: #e0e0e0;
	--color-code-keyword: #d4af37;
	--color-code-string: #7ec699;
	--color-code-comment: #666666;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

html,
body {
	height: 100%;
}

body {
	font-family:
		"Inter",
		-apple-system,
		sans-serif;
	background-color: var(--color-body-bg);
	color: var(--color-text-primary);
	display: flex;
	flex-direction: column;
}

nav.topbar {
	background-color: var(--color-nav-bg);
	border-bottom: 1px solid var(--color-border);
	padding: 1rem 1.5rem;
	flex-shrink: 0;
}
.container {
	display: flex;
	flex: 1;
	overflow: hidden;
}
aside {
	flex-shrink: 0;
	overflow-y: auto;
}
main {
	flex: 1;
	overflow-y: auto;
	padding: 2rem;
}
@media (max-width: 768px) {
	body {
		flex-direction: column;
	}
	.container {
		flex-direction: column;
	}
	aside {
		width: 100% !important;
		min-height: auto;
		border-right: none;
		border-bottom: 1px solid var(--color-border);
	}
	main {
		padding: 1.5rem;
	}
}
@media (max-width: 480px) {
	main {
		padding: 1rem;
	}
	nav.topbar {
		padding: 0.75rem 1rem;
	}
}
