@font-face {
	font-family: 'Quattrocento';
	src: url('assets/fonts/Quattrocento-Regular.ttf');
}
@font-face {
	font-family: 'Libre Baskerville';
	src: url('assets/fonts/LibreBaskerville-Regular.ttf');
}
@font-face {
	font-family: 'Libre Baskerville';
	src: url('assets/fonts/LibreBaskerville-Bold.ttf');
	font-weight: bold;
}
@font-face {
	font-family: 'Libre Baskerville';
	src: url('assets/fonts/LibreBaskerville-Italic.ttf');
	font-style: italic;
}
:root {
	font-family: baskerville, 'Libre Baskerville', Georgia, serif;
	/*font-size-adjust: 0.42;*/
	font-size: 12pt;
}

p, li {
	line-height: 1.5;
	text-align: justify;
	orphans: 5;
	widows: 5;
	/* hyphens: auto; */
}

@page {
	font-family: 'Quattrocento', baskerville, 'Libre Baskerville', Georgia, serif;
	/*letter-spacing: 0.1em;*/
	size: a4;	
	@bottom-center {
		font-family: 'Quattrocento';
		content: counter(page);
		margin-bottom: 5ex;
	}
}


@media screen {
	p {
    display: block;
		max-width: 75ch;
	}
	body {
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
		width: fit-content;
		margin: auto;
	}
	hr {
		background: black;
		height: 1px;
		width: 30em;
	}
}



header {
	font-family: 'Quattrocento', baskerville, 'Libre Baskerville', Georgia, serif;
	/*font-size-adjust: none;*/
	font-size: 1.2em;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	text-align: center;
	color: #333;
	margin: -1rem;
}
header > * {
	font-weight: normal;
	margin: 1.7em 0;
	break-inside: avoid;
}
header h1 span{
	display: inline-block;
}
header h1 {
	break-after: auto;
}
header div {
	break-before: auto;
	font-size: 1.2em;
}
header .author {
	break-before: avoid;
	font-size: 1.5em;
}

h1, h2, h3 {
	font-family: 'Quattrocento', baskerville, 'Libre Baskerville', Georgia, serif;
	letter-spacing: 0.05em;
	font-size-adjust: none;
	text-transform: uppercase;
	text-align: center;
	margin: 2em 0;
	font-weight: normal;
	break-before: page;
}
h1 {
	break-before: page;
}

h2 {
	font-size: 1.2em;
}
h1 + h2 {
	break-before: avoid;
}
h3 {
	font-size: 1em;
}
h2 + h3 {
	break-before: avoid;
}
.chap-num {
	display: inline-block;
	margin-right: 1ch;
}
p:first-of-type::first-letter {
	font-weight: normal;
}

blockquote {
	margin: 2em 1em 1em 2em;
}
.sign {
	break-before: avoid;
	margin: 1em 1em 2em auto;
}
.to {
	break-after: avoid;
	margin: 2em 1em -1em auto;
}
.sign, .to {
	display: table;
	width: max-content;
	text-align: center;
	white-space: pre-wrap;
	break-inside: avoid;
	line-height: inherit;
}
blockquote p:first-of-type::first-letter {
	font-size: 1em;
	padding-right: 0;
	font-weight: normal;
}
blockquote p:first-of-type:before {
	content: "“";
	font-weight: bold;
	float: left;
	font-size: 3em;
	margin-left: -1.5ch;
	line-height: 1;
}

