:root {
	color-scheme: light dark;
}

* {
	box-sizing: border-box;
}

body {
	font-family: system-ui, sans-serif;
	margin: 0;
}

article {
	hyphens: auto;
	padding: 2rem;
	line-height: 1.4;
	margin: auto;
	max-width: calc(60ch + 4rem);
}

header {
	margin: 1rem 0;
	border-bottom: 1px solid light-dark(#ccc, #666);
}

footer {
	margin: 1rem 0;
	border-top: 1px solid light-dark(#ccc, #666);
}

h1 {
	font-size: 2rem;
	margin-bottom: 0;
}

.horizontal-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	align-items: center;
}

.horizontal-list li:not(:last-child) {
	margin-right: 1rem;
	padding-right: 1rem;
	border-right: 1px solid;
}

figure {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-content: center;
	gap: 0.5rem;
	margin: 0;
}

figure img {
	max-width: 100%;
	height: auto;
}

@media (max-width: calc(60ch)) {
	figure img {
		margin: 0 -1rem;
		min-width: calc(100% + 4rem);
	}
}

.lilypond {
	background: white;
	padding: 5px;
}

figcaption {
	font-size: 0.9rem;
	text-align: center;
}
