:root {
    --background: #f5f0ea;
    --heading-background: #f5f0ea;
    --heading-text: #bd1421;
    --player-text: #000;
    --table-header: #f5f0ea;
    --dark-sand: #f5f0ea;
    --table-cell-outline: #bd1421;
    --sky: #81c5e8;
    --surf: #329d8a;
    --surf-deep: #248aa9;
    --wash: #d7e0e5;
    --sand: #eedac9;
    --sand-dark: #cb8f57;
    --hat: #fa0041;
    --base: #1E201E;
    --white: #ECDFCC;
    --highlight: #697565;
    --lowlight: #3C3D37;
}

@font-face {
    font-family: Nunito Regular;
    src: url(/nunito-regular.woff2);
}

@font-face {
    font-family: Eyesome Script;
    src: url(/eyesome-script.otf);
}

body {
    background-color: var(--background);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0;
    font-size: 12pt;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a:visited,
a {
    color: var(--surf-deep);
}

.container {
    max-width: 1024px;
    margin: 0 auto;
}

.content {
    padding: 0 1em;
}

main {
    flex-grow: 1;
    background-color: var(--background);
}

header {
    /* background-color: var(--heading-background); */
    color: var(--heading-text);
    /* border-bottom: 1px solid var(--lowlight); */
}

header div.background {
    background-size: auto 90px;
    background-image: url("/hanging-crap.png");
    background-repeat: repeat-x;
    height: 90px;
}

header>canvas {
    position: absolute;
    height: 128px;
    width: 100%;
}

header h1 {
    font-family: Eyesome Script, sans-serif;
    font-size: 2.5em;
    text-align: center;
    margin: 0.5em 0;
}

h2 {
    font-size: 1.5em;
}

ol,
ul {
    text-align: left;
}

button {
    font-size: 0.75em;
}

fieldset {
    margin: 1em 0 0 0;
    padding: 0;
    border: none;
}

textarea {
    font-size: inherit;
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
}

button {
    padding: 1em;
    font-size: 12pt;
}

#nnlist {
    display: flex;
}

#nnlist div {
    flex: 0 1 auto;
}

form>div {
    margin: 2em 0;
}

table {
    text-align: left;
}

table td,
table th {
    padding: 0.5em;
}

table th {
    font-weight: normal;
}


div.grid-table {
    display: grid;
    column-gap: 0.5em;
    margin: 1em 0;
}

div.grid-table.giftee {
    grid-template-columns: 1fr 2fr;
}

div.grid-table.player {
    grid-template-columns: repeat(3, 1fr);
}

div.grid-table .header {
    padding: 0.5em;
    font-family: Eyesome Script, sans-serif;
    font-size: 16pt;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--table-cell-outline);
    border-bottom: none;
    border-radius: 1em;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: var(--table-header);
}

div.grid-table .value {
    font-family: Nunito Regular, sans-serif;
    font-size: 16pt;
    padding: 0.5em;
    text-align: center;
    font-weight: normal;
    border: 2px solid var(--table-cell-outline);
    border-top: none;
    border-radius: 1em;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: var(--dark-sand);
}

div.grid-table.giftee .value.wishlist {
    font-size: 12pt;
    font-weight: normal;
    text-align: left;
}

footer {
    border-top: 1px solid var(--lowlight);
    /* background-color: var(--sand-dark); */
}