@font-face {
    font-family: "main_font";
    src: url("fonts/nas.ttf") format("truetype");
    font-display: swap;
}

:root {
    --background: #f7f7f2;
    --text: #111;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    font-family: "main_font", Georgia, serif;
    color: var(--text);
    background: var(--background);
}

body {
    min-height: 100vh;
    margin: 0;
    padding-top: 12vh;
    background: var(--background);
}

.page {
    width: fit-content;
    max-width: calc(100% - 32px);
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

h1 {
    margin: 0 0 42px;
    font-size: 66px;
    font-weight: 200;
    line-height: 1.1;
    white-space: nowrap;
}


.tagline,
.note p {
    margin: 0 auto 28px;
    max-width: 680px;
    font-size: 24px;
    line-height: 1.35;
}

.links-grid {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    row-gap: 20px;
    width: 100%;
    font-size: 24px;
    text-transform: uppercase;
}

table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    text-align: left;
}

th,
td {
    padding: 4px 10px;
    font-size: 24px;
    line-height: 1.25;
    vertical-align: top;
}

th:first-child,
td:first-child {
    padding-left: 0;
}

th {
    font-weight: 700;
    padding-right: 46px;
    white-space: nowrap;
}

td {
    color: #666;
    font-weight: 350;
}

a {
    color: var(--text);
    font-weight: 650;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 3px;
}

.links-grid a:nth-child(3n + 1) {
    justify-self: start;
}

.links-grid a:nth-child(3n + 2) {
    justify-self: center;
}

.links-grid a:nth-child(3n) {
    justify-self: end;
}

.note {
    margin-top: 32px;
}

.note p {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    h1 {
        font-size: 44px;
    }

    .tagline,
    .note p,
    th,
    td,
    .links-grid {
        font-size: 18px;
    }
}

