@charset "UTF-8";

body {
	font-family: Verdana, Tahoma, Arial, Times New Roman;
	font-size: 1rem;
	padding: 0;
	margin: 0 auto;
	color: black;
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	max-width: 90rem;
}

h1 {
	font-size: 1.5rem;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

h2 {
	font-size: 1.25rem;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

h3 {
	font-size: 1.125rem;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.header {
	font-size: 1.75rem;
	font-family: Verdana, Tahoma, Arial, Times New Roman;
	font-weight: bold;
	font-style: italic;
	vertical-align: center;
	text-align: center;
	white-space: nowrap;
}

hr.divider {
	border: none;
	border-top: 0.625rem solid #8bb5b2;
}

.logo-img {
	padding-left: 1.625rem;
	padding-top: 0.375rem;
}

.header-container {
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 50rem;
}

.header-logo {
	width: 25%;
	flex-shrink: 0;
}

.header-title {
	width: 50%;
	flex-shrink: 0;
	text-align: center;
}

.header-github {
	width: 25%;
	flex-shrink: 0;
	text-align: right;
}

.last-updated {
	vertical-align: bottom;
	font-style: italic;
}

footer {
	text-align: center;
	vertical-align: middle;
	padding-top: 0.875rem;
	padding-bottom: 0.875rem;
	background: #e6f9e6;
}

header {
	padding-top: 0.375rem;
	padding-bottom: 0.375rem;
	background: #e6f9e6;
}

.content-wrapper {
	display: flex;
	background-color: #ffffff;
	min-height: 24rem;
	flex: 1;
}

.content-wrapper nav {
	width: 25%;
	flex-shrink: 0;
}

.content-wrapper main {
	flex: 1;
	padding-left: 1.25rem;
	padding-right: 2.5rem;
}

.content-wrapper main img {
	max-width: 100%;
	height: auto;
	transition: width 0.1s ease-out;
}

.skip-link {
	position: absolute;
	top: -2.5rem;
	left: 0;
	background: #000;
	color: #fff;
	padding: 0.5rem;
	text-decoration: none;
	z-index: 100;
}

.skip-link:focus {
	top: 0;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.external-link-icon {
	font-size: 1.1em;
	margin-left: 0.2em;
	color: #0000EE;
	font-weight: bold;
}

/* Mobile responsive styles */
@media (max-width: 48rem) {
	/* Remove min-width constraint on mobile */
	.header-container {
		min-width: 0;
		flex-direction: column;
		text-align: center;
	}

	/* Header elements stack vertically, full width */
	.header-logo,
	.header-title,
	.header-github {
		width: 100%;
	}

	/* Remove desktop padding, add spacing between stacked elements */
	.logo-img {
		padding-left: 0;
		padding-top: 0.5rem;
	}

	.header-title {
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}

	/* Allow title wrapping on mobile */
	.header {
		white-space: normal;
	}

	.header-github {
		text-align: center;
		padding-bottom: 0.5rem;
	}

	/* Stack menu and content vertically */
	.content-wrapper {
		flex-direction: column;
	}

	/* Menu takes full width */
	.content-wrapper nav {
		width: 100%;
	}

	/* Menu styling for mobile */
	#menu {
		width: 100%;
		border-style: solid;
		border-bottom-width: 0.0625rem;
	}

	/* Content takes full width with reduced padding */
	.content-wrapper main {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	/* Make images responsive */
	.content-wrapper main img {
		max-width: 100%;
		height: auto;
	}
}
