:root {
	--background-color: #428c3f;
	--background-color-darker: #1E401D;
	--text-color: #fed052;
}
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}
body {
	background-color: var(--background-color);
	color: var(--text-color);
	font-family: "Bookman Old Style", "Times New Roman", Times, sans-serif;
	box-sizing: border-box;
	font-size: 9pt;
}

/* Resets */
a {
	color: var(--text-color);
}
h1 {
	margin: 0;
	text-shadow: 1px 1px 1px var(--background-color-darker);
}

/* Styles */

#container {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

#container > div {
	padding: 1em;
}

#container .headline {
	display: flex;
	justify-content: space-between;
}
#container .headline ul {
	list-style: none;
	display: flex;
	gap: 1em;
	padding: 0;
}
#container nav {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-top: 1em;
	gap: 1em;
}
#container nav ul {
	list-style: none;
	display: flex;
	gap: 1em;
	padding: 0;
	margin: 0;
}
#container nav a,
#container nav button {
	display: block;
	background-color: var(--text-color);
	color: var(--background-color);
	text-decoration: none;
	padding: 6px 12px;
	border-radius: 6px;
	font-weight: bold;
	line-height: 1.3em; /* Chrome + Unicode signs result in different height */
	transition: box-shadow .2s;
}
#container nav button {
	cursor: pointer;
	border: none;
	font-size: inherit;
	font-family: inherit;
}
#container nav a:focus-visible,
#container nav button:focus-visible {
	outline: none;
	box-shadow: 3px 3px 3px var(--background-color-darker);
}
#container nav a:hover,
#container nav button:hover{
	box-shadow: 1px 1px 4px var(--background-color-darker);
}

#container .images {
	align-content: center;
	overflow: hidden;
}

#slider {
	display: block;
	width: 100%;
	aspect-ratio: 16/9;
	max-height: 100%;
}

#slider img {
	width: 100%;
	max-height: 100%;
	object-fit: contain;
}

@media (min-width: 520px) {
	body {
		font-size: 12pt;
	}
	#container nav {
		flex-direction: row;
	}
	#container nav a {
		padding: .4em .8em;
	}
}
