:root {
	--bg-colour: #3c3836;
	--bg-colour-dark: #3c3836;
	--bg-colour-light: #bdae93;
	--border-colour: #d5c4a1;
	--border-colour-dark: #d5c4a1;
	--border-colour-light: #928374;

	--light-orange: #fe8019;
	--orange: #d65d0e;
	--light-blue: #83a598;
	--blue: #458588;
	--light-purple: #d3869b;
	--purple: #b16286;

	--dark2: #504945;
	--dark3: #665c54;
	--dark4: #7c6f64;
	--gray: #928374;
	--light-gray: #a89984;

	--light1: #ebdbb2;
	--light2: #d5c4a1;
	--light3: #bdae93;
	--light4: #a89984;

	--fg-colour: #928374;
	--fg-colour-dark: #928374;
	--fg-colour-light: black;
}

body {
	font-family: "Roboto Mono";
	border: 2px;
	border-color: black;
	background-color: var(--bg-colour);
	color: var(--fg-colour);
}

a {
	all: unset;
	cursor: pointer;
}

hr {
	border-color: var(--dark4);
}

#lightModeBtn {
	float: right;
	border-radius: 30px;
	width: 2rem;
	cursor: pointer;
}

.titlebox {
	position: relative;
	border: 3px solid #222323;
	background-color: var(--bg-colour);
	margin: 1rem auto;
	padding: 0.5rem;
	width: 90%;
	box-sizing: border-box;
}

.titlebox:focus {
	outline: none;
	border-color: var(--border-colour);
}

.titlebox:hover {
	border-color: var(--border-colour);
}

.titleboxTitle {
	position: absolute;
	top: 0;
	left: 0.5rem;
	transform: translateY(-50%);
	background-color: var(--bg-colour);
	padding: 0 0.5rem;
	line-height: 1;
}

.titleboxTitle p {
	margin: 0;
	font-size: 1rem;
}

.titleboxContent {
	margin-top: 0.5rem;
	font-size: 12px;
}

.navItems {
	list-style: none;
	display: flex;
	gap: 2rem;
	margin: 0;
	padding: 0;
}

.navItem {
	padding: 0.1rem 0.3rem;
	cursor: pointer;
	position: relative;
}

.navItem.active {
	text-decoration: underline;
	color: var(--blue);
}

.navItem:focus {
	outline: none;
	background-color: var(--light-blue);
	border-radius: 15px;
}

.navItem:hover {
	background-color: var(--light-blue);
	border-radius: 15px;
}

.footerBar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1rem;
	background-color: var(--dark2);
	color: #c0c0c0;
	display: flex;
	align-items: center;
	font-family: monospace;
	font-size: 0.9em;
	z-index: 1000;
}

.footerBarInner {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-sizing: border-box;
}

.footerLeft,
.footerRight {
	background-color: #665c54;
	white-space: nowrap;
	padding-left: 0.3rem;
	padding-right: 0.3rem;
}

.modeIndicator {
	background-color: var(--bg-colour-light);
	height: flex;
	padding-left: 0.3rem;
	padding-right: 0.3rem;
	color: black;
	margin: 0;
}

.helpMenu {
	position: fixed;
	top: 20%;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--bg-colour);
	/*padding: 16px;*/
	padding: 0;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	width: 300px;
	display: none;
	z-index: 2000;
	outline: none;
}

.container {
	display: flex;
	background-color: var(--bg-colour);
	margin: 1rem auto;
	padding-top: 0.15rem;
	width: 90%;
	height: 80vh;
	box-sizing: border-box;
}

.box {
	flex: 1;
	padding: 20px;
}


.projectSelector {
	flex: 1;
	margin-right: 3px;
	margin-bottom: 0px;
	margin-top: 0px;
}

.projectsInfo {
	flex: 4;
	margin-bottom: 0px;
	margin-top: 0px;
	padding: 1rem;
	padding-top: 0.3rem;
}

#projectInfo {
	overflow: auto;
	height: 75vh;
	margin-top: 0;
	font-size: 10px;
}

.project {
	padding: 10px;
	font-size: 12px;
	cursor: pointer;
}

.project.selected {
	color: #d65d0e;
	border-style: solid;
	border-color: black;
	border-width: 2px;
	outline: none;
}

.highlightOrange {
	color: var(--orange);
}

.highlightPurple {
	color: var(--purple);
}

.highlightBlue {
	color: var(--blue);
}

.link {
	color: var(--blue);
	text-decoration: underline;
}

.gallery-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	max-width: 30rem;
	max-height: 30rem;
}

.image-wrapper {
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.button-row {
	display: flex;
	gap: 20px;
}

.img-btn {
	background-color: var(--bg-colour);
	border: 2px solid #222323;
	font-size: 12px;
	cursor: pointer;
	padding: 0.1rem 0.5rem;
	transition: background-color 0.2s ease;
}

.img-btn:hover {
	background-color: var(--light-blue);
}

.prevBtn {
	color: black;
}

.nextBtn {color: black;}

.gallery-image {color: black;}