/* Development supported by OpenAI Codex 5.5 */

:root {
	--line-height: 1.5em;
	--global-max-width: 70%;
	--content-max-width: 68.5%;

	--h1-font-size-big: 2.5em;
	--h2-font-size-big: 1.8em;
	--h4-font-size-big: 1em;
	--p-font-size-big: 1em;

	--header-bg-color: #b5c7b3;
	--button-font-color: black;
	--content-bg-color: white;
	--header-bg-color-hover: #f7b28e;
	--header-bg-color-active: #f3e5db;

	--mini-border-setting: 3px 0 3px 0;
}

html {
	overflow-y: scroll;
}

body {
	font-size: 100%;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	line-height: var(--line-height);
	background: var(--content-bg-color);
}

h1 {
	font-size: var(--h1-font-size-big);
	line-height: var(--line-height);
	margin: 7px 0 0 -2px;
	padding: 0 0 0 0;
}

h2 {
	font-size: var(--h2-font-size-big);
	line-height: var(--line-height);
	margin-top: .5em;
}

h3 {
	font-size: var(--p-font-size-big);
}

h4 {
	font-size: var(--h4-font-size-big);
	font-weight: normal;
}

p {
	font-size: var(--p-font-size-big);
	padding-bottom: 8px;
}

.span1 {
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	margin-left: 0;
}

/* Header navigation */
.inner {
	margin: 0 auto;
	max-width: var(--global-max-width);
}

header {
	background: var(--header-bg-color);
	position: sticky;
	top: 0;
	z-index: 10;
	margin: 0 0 0 0;
}

nav {
	margin: 7px 0 7px 0;
}

nav ul {
	overflow: auto;
	width: 100%;
}

nav ul li {
	margin: 0 0 0 0;
	text-align: center;
	overflow: auto;
	float: left;
	width: 20%;
}

a {
	color: black;
}

nav a {
	text-decoration: none;
	display: block;
	padding: 7px 0 7px 0;
	margin: 0 4% 0 4%;
	background: rgba(255, 255, 255, 0.3);
}

.alt,
.alt1 {
	color: var(--button-font-color);
	letter-spacing: 0.05em;
}

.alt:hover,
.alt1:hover {
	background-color: var(--header-bg-color-hover) !important;
}

.alt1 {
	background-color: var(--header-bg-color-active) !important;
}

#container {
	clear: both;
	padding-left: 15%;
	padding-right: 15%;
	margin: 0 auto;
	max-width: var(--content-max-width);
}

.portrait-spacer {
	height: 3em;
}

.portrait {
	height: auto;
	max-width: 100%;
}

.justified {
	text-align: justify;
}

.seperator {
	display: none;
}

#note {
	font-size: 0.7em;
}

@media screen and (max-width: 768px) {

	nav .span0 .span1,
	article {
		width: 100%;
	}

	.span0 {
		width: 100%;
		margin-left: 0;
	}

	#container {
		width: 98%;
		padding: 0 0 0 0;
	}

	#container,
	.inner {
		max-width: 100%;
	}

	.seperator {
		display: inherit;
		margin-top: -3px;
		font-size: 0.8em;
	}
}

@media screen and (max-width: 480px) {
	nav ul li {
		width: 100%;
		margin: var(--mini-border-setting);
	}

	nav a {
		padding: var(--mini-border-setting);
	}

	nav {
		margin: var(--mini-border-setting);
	}

	.alt {
		margin-left: 4px;
		margin-right: 4px;
	}

	header {
		position: relative;
	}

	#container {
		padding: 4px 0 0 0;
		margin-left: 4px;
		margin-right: 4px;
		text-align: left;
	}

	#container,
	.inner {
		max-width: 100%;
	}

	.seperator {
		display: inherit;
		margin-top: -3px;
		font-size: 0.8em;
	}

	h1 {
		font-size: 1.5em;
		padding-top: 4px;
		line-height: 1.2em;
	}

	h2 {
		font-size: 1.2em;
		line-height: var(--line-height);
		margin-top: 1.5em;
	}

	p {
		font-size: 0.8em;
	}

	li {
		font-size: 0.8em;
	}
}

.cf {
	zoom: 1;
}

.cf::before,
.cf::after {
	content: "";
	display: table;
}

.cf::after {
	clear: both;
}

.accordion {
	background-color: #eee;
	color: #444;
	cursor: pointer;
	padding: 18px;
	width: 100%;
	text-align: left;
	border: none;
	transition: 0.4s;
	border-bottom: 1px solid green;
	margin-left: 0;
	font-size: var(--p-font-size-big);
	margin-bottom: 5px;
	padding-bottom: 18px;
}

.accordion:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.active,
.accordion:hover {
	background-color: #ccc;
}

.panel {
	padding: 0 18px;
	background-color: white;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}

.accordion::after {
	content: '\02795';
	font-size: 13px;
	color: #777;
	float: right;
	margin-left: 5px;
}

.active::after {
	content: "\2796";
}

.imgcontainer {
	display: flex;
	align-items: center;
	width: 100%;
}

.image-container {
	width: 15%;
	min-width: 100px;
	box-sizing: border-box;
}

.image-container img {
	width: 100%;
	height: auto;
	max-height: 200px;
	max-width: 200px;
}

.text-container {
	padding: 10px;
	box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
	.imgcontainer {
		flex-direction: column;
		align-items: center;
	}

	.image-container,
	.text-container {
		width: 100%;
	}
}
