/* Sidebars */
.sidebar-left, .sidebar-right {
	position: fixed;
	top: 72px; /* slightly lower below navbar */
	width: 250px; /* wider sidebar */
	height: 90px; /* reduced height */
	background: #fff;
	color: #222;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 1.5em 0.5em 1em 0.5em;
	z-index: 200;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	border-radius: 14px;
	font-family: "Roboto", sans-serif;
	transition: width 0.2s;
	margin: 1em 0;
}

.sidebar-left {
	left: 10px;
	border-right: 1px solid #e0e0e0;
}
.sidebar-right {
	right: 12px;
	border-left: 1px solid #e0e0e0;
}
.sidebar-time-label {
	font-size: 0.95em;
	margin-bottom: 0.5em;
	color: #0074d9;
	font-weight: 700;
	margin-top: 0.5em;
}
#server-time, #real-time {
	font-size: 1.3em;
	font-family: "Roboto Mono", monospace;
	letter-spacing: 1px;
}
nav, footer {
	transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.nav-hidden {
	transform: translateY(-100%);
}
.footer-hidden {
	transform: translateY(100%);
}
body {
	background: #e3f0ff;
	color: #222;
	margin: 0;
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings:
		"wdth" 100;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
nav {
	background: #b3d8fd;
	color: #222;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
nav a {
	color: #222;
	text-decoration: none;
	margin-left: 1em;
	transition: color 0.2s;
}
nav a:hover {
	color: #0074d9;
}
section#about {
	background: #fff;
	color: #222;
	max-width: 600px;
	margin: 3em auto 0 auto;
	padding: 2.5em 2em 2em 2em;
	border-radius: 14px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings:
		"wdth" 100;
	font-size: 1.1em;
}
html, body {
	height: 100%;
	min-height: 100vh;
}
.main-content {
	flex: 1 1 auto;
	padding-top: 80px;
	display: flex;
	flex-direction: column;
	padding-bottom: 80px;
	margin-left: 120px;
	margin-right: 120px;
}
footer {
	background: #b3d8fd;
	color: #222;
	text-align: center;
	padding: 1em 0;
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100vw;
	z-index: 100;
}
.main-navbar {
	padding: 0.5em 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 1.2em;
	letter-spacing: 2px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}
.navbar-left {
	display: flex;
	align-items: center;
}
.navbar-title {
	font-weight: bold;
	margin-left: 1.5em;
}
.navbar-right {
	margin-right: 1.5em;
}
.footer-content {
	font-size: 1em;
}
.github-link {
	color: #0074d9;
	text-decoration: none;
}

/* Responsive Design for Mobile */
@media (max-width: 700px) {
	.sidebar-left, .sidebar-right {
		position: static;
		width: 90vw;
		max-width: 400px;
		height: auto;
		margin: 1em auto 0 auto;
		flex-direction: row;
		justify-content: space-between;
		border-radius: 10px;
		box-shadow: 0 2px 8px rgba(0,0,0,0.06);
		padding: 1em 1em;
		font-size: 1em;
	margin-top: 60px; /* Add space below navbar */
	}
	.sidebar-left {
		left: 0;
		border-right: none;
		border-bottom: 1px solid #e0e0e0;
	}
	.sidebar-right {
		right: 0;
		border-left: none;
		border-top: 1px solid #e0e0e0;
	}
	.main-navbar {
		font-size: 1em;
		padding: 0.5em 0.5em;
	}
	.navbar-title {
		margin-left: 0.5em;
		font-size: 1.1em;
	}
	.navbar-right {
		margin-right: 0.5em;
	}
	.main-content {
		margin-left: 0;
		margin-right: 0;
		padding-top: 70px;
		padding-bottom: 90px;
	}
	section#about {
		max-width: 98vw;
		padding: 1.2em 0.5em 1em 0.5em;
		font-size: 1em;
		margin: 2em auto 0 auto;
	}
	footer {
		font-size: 0.95em;
		padding: 0.7em 0;
	}
	body {
		font-size: 1em;
	}
}