@font-face {
    font-family: "Oglavie+Latin";
    src: url("Oglavie-Regular.otf");
    font-weight: normal;
    font-style: normal;
}

html {
    background: black;
    color: white;
    font-family: serif;
    font-size: 24px;
    overscroll-behavior: none;
}

@media (min-height: ) {
}

body {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 0;
    place-items: stretch;
    min-height: 100vh;
}

nav {
    background: red;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0.5em 0 0.5em;
}

footer {
    padding: 1em;
}

main hr,
footer hr {
    width: 85%;
}

footer p {
    text-indent: 0;
}

.oglavie {
    font-family: "Oglavie+Latin", serif;
    font-size: min(48px);
    color: white;
    text-decoration: none;
}

.centerer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Supposed to have 1 child */

.centerer > * {
    margin: 0 auto 0 auto;
}

poem {
    display: block;
    width: max-content;
}

stanza {
    display: block;
    margin-bottom: 1em;
    break-inside: avoid;
}

verse {
    display: block;
    text-indent: -1em;
    padding-left: 1em;
}

main {
    padding: 1em;
    padding-bottom: 0;
}

main p {
    text-align: justify;
    text-indent: 1em;
}

poemTitle {
    break-inside: avoid;
    break-after: avoid;
}

poemTitle.oglavie {
    font-size: 1.5em;
}

poemDate {
    display: block;
    margin-top: -1em;
    text-align: right;
    font-style: italic;
    break-inside: avoid;
    break-before: avoid;
}

h1 {
    margin: 0;
}
