html {
    font-size: 18pt;
}

pre {
    word-wrap: break-word; /* old property name */
    overflow-wrap: break-word;
}

.nobr {
    white-space: nowrap;
}

article > section {
    border: 1px solid black;
    border-radius: 24px;
    margin: 12px;
    padding: 24px;
    aspect-ratio: 16 / 9;
    page-break-inside: avoid;
    position: relative;
}

article > section:nth-of-type(2n) {
    page-break-after: always;
}

article > section > header,
article > section > footer {
    font-size: 12pt;
    width: 90%;
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

article > section > header {
    top: 0;
}

article > section > footer {
    bottom: 0;
}

article > section > header > *,
article > section > footer > * {
    margin: 0;
    padding: 0;
    flex: 1;
    text-align: center;
}

article > section > header > *:last-child,
article > section > footer > *:last-child {
    text-align: right;
}

article > section > header > *:first-child,
article > section > footer > *:first-child {
    text-align: left;
}
