:root {
	--sidebar-width: 300px;
	--primary-blue: #4a90e2;
	--note-bg: #f5f9ff;
	--border-color: #e5e5e5;
}

body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.6;
}

.sidebar {
	position: fixed;
	width: var(--sidebar-width);
	height: 100vh;
	background-color: #f5f5f5;
	border-right: 1px solid var(--border-color);
	padding: 20px 0;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.logo-container {
	padding: 20px;
	border-bottom: 1px solid var(--border-color);
}

.logo {
	width: 150px;
	height: auto;
}

.search-container {
	padding: 15px;
}

.search-input {
	width: 100%;
	padding: 8px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
}

.nav-menu {
	flex-grow: 1;
	background-color: #333131;
	list-style: none;
	padding: 0;
	margin: 0;
	height: auto;
}

.nav-item {
	padding: 8px 20px;
	cursor: pointer;
}

.nav-item:hover {
	background-color: #e8e8e8;
}

.nav-item.active {
	background-color: #333;
	color: white;
}

.main-content {
	margin-left: var(--sidebar-width);
	padding: 40px;
	max-width: 800px;
}

.breadcrumb {
	color: #666;
	margin-bottom: 30px;
}

.breadcrumb a {
	color: var(--primary-blue);
	text-decoration: none;
}

.note-box {
	background-color: var(--note-bg);
	border-left: 4px solid var(--primary-blue);
	padding: 15px;
	margin: 20px 0;
}

.note-title {
	color: var(--primary-blue);
	font-weight: bold;
	margin-bottom: 10px;
}

h1,
h2,
h1:link,
h2:link,
h1:visited,
h2:visited {
	margin-top: 0;
	color: #333;
  text-decoration: none;
}

h1 a,
h2 a {
  text-decoration: none;
}

.requirements-list {
	padding-left: 20px;
}

.requirements-list li {
	margin-bottom: 8px;
}

.navigation-buttons {
	display: flex;
	justify-content: space-between;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
}

.nav-button {
	padding: 8px 16px;
	background-color: #fff;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	cursor: pointer;
}

.nav-button:hover {
	background-color: #f5f5f5;
}

.github-link {
	float: right;
	color: var(--primary-blue);
	text-decoration: none;
}
#search-toggle {
	display: none;
}
.main-content a {
	color: #404040;
}

.main-content a:hover {
	text-decoration: underline; /* Optional: to underline links on hover */
}
blockquote {
	background-color: #e0f7fa; /* Lighter blue background */
	border-left: 4px solid #4a90e2; /* Optional left border */
	padding: 1px 15px;
	margin: 20px 0;
}

blockquote strong {
	color: #4a90e2; /* Sky blue color for the strong element */
	display: block; /* Makes it a block element */
	margin-bottom: 0px; /* Optional spacing */
}
.sidebar a {
	color: #d9d9d9; /* Normal link color */
	text-decoration: none; /* Optional */
}

.sidebar a:hover,
.sidebar a.active {
	color: #bd2c2a; /* Hover and active link color */
	font-weight: bold;
	text-decoration: underline; /* Optional */
}
.sidebar ol {
	list-style-type: none; /* Removes numbers or dots from ordered lists */
	margin: 0;
	margin-top: 30px;
}
.searchresults-outer-data {
	position: fixed; /* or use 'fixed' depending on your requirement */
	top: 60px; /* Adjust this value to move it down */
	left: 320px; /* Adjust this value to move it horizontally */
	background-color: white; /* Optional: set a background color */
	border: 1px solid var(--border-color); /* Optional: adds a border for visibility */
	z-index: 1000; /* Ensures it is above other content */
	padding: 15px; /* Optional: add some padding */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: shadow for depth */
	width: calc(800px - 20px); /* Optional: adjust width */
}
#searchresults {
	color: #333;
}
#searchresults a {
	display: block;
	color: #333;
}
.logo {
	margin: 0px;
	width: 100%;
}

.chapter-item {
	margin-top: 10px;
}
.chapter-item strong {
	/* hides numbering */
	display: none;
}

/* Code block container */
pre {
	background-color: #f3fae6; /* Light green background */
	border-radius: 4px;
	padding: 12px 40px 12px 12px; /* Extra padding on right for copy button */
	margin: 8px 0;
	position: relative;
	border: 1px solid #e0e0e0;
}

/* Code content */
pre code {
	font-family: "Consolas", "Monaco", "Courier New", monospace;
	font-size: 14px;
	line-height: 1.4;
	color: #333;
	display: block;
}

/* Buttons container */
.buttons {
	position: absolute;
	top: 8px;
	right: 8px;
}

/* Copy button */
.clip-button {
	border: none;
	cursor: pointer;
	padding: 4px;
	color: #a91515;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	transition: all 0.2s ease-in-out;
}

.clip-button:hover {
	color: #333;
}

/* Hide tooltiptext by default */
.tooltiptext {
	display: none;
}

.clip-button i {
	font-size: 18px;
	width: auto; /* Changed from 100% */
	height: auto;
}

.clip-button::before {
	font-family: "FontAwesome";
	content: "\f0ea"; /* Unicode for the clipboard icon */
	font-size: 20px;
	font-weight: 900; /* Use solid style */
	margin-right: 5px; /* Optional: add spacing between icon and text */
}

/* Comment styling */
.hljs-comment {
	color: #228b22; /* Dark green for comments */
}

/* Param styling */
.hljs-doctag {
	color: #228b22; /* Dark green for @param */
}

img {
	max-width: 100%;
}

/* breadcrumbs */
.breadcrumbs {
	padding: 8px 16px;
	margin-bottom: 20px;
	border-radius: 4px;
	font-size: 20px;
}

.breadcrumbs ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
}

.breadcrumbs li {
	display: inline-block;
}

.breadcrumbs li:not(:last-child)::after {
	content: "››";
	margin: 0 8px;
	color: #6c757d;
}

.breadcrumbs a {
	color: #0366d6;
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.breadcrumbs .current {
	color: #24292e;
	font-weight: 500;
}
