
@font-face {
	font-family: 'EB Garamond';
	src: url('fonts/EBGaramond-VariableFont_wght.woff2');
	font-weight: 400 800;
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: unset;
}

:root {
	--color-text: black;
	--color-bg: rgb(224, 224, 208);
	--page-border: 1rem;
	font-size: 28px;
}

html {
	font: 22px/40px 'EB Garamond', serif;

	border: var(--page-border) solid black;
	background: var(--color-bg);
	color: var(--color-text);
}

main {
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	flex-direction: column;

	min-height: calc(100vh - 2 * var(--page-border));

	gap: 1.5rem;

	padding: 1rem;
}

section > * + * {
	margin-top: 0.5rem;
}

h1,h2,h3,h4,h5,h6 {
	line-height: 1.125;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 1.75rem;
}

ul {
	list-style-type: none;
}

img {
	max-width: 100%;
}
