html {
    height: 100%;
}

body {
    height: calc(100% - 2em);
    width: calc(100vw - 2em);
    padding: 1em;

    display: grid;
    grid-template-columns: auto;
    grid-template-rows: min-content 2em auto;
    grid-template-areas: "header" "." "body";

    background-color: #0F1214;
    color: #E0E0E0;
    font-family: sans-serif;
}

header {
    grid-area: header;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    margin: 0 1em;
}

header span {
    font-size: 5em;
}

h1 {
    margin: 0;
    white-space-collapse: preserve-spaces;
}

main {
    grid-area: body;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

h2 {
    margin-top: 0;
}

.gift h2 {
    margin-bottom: 0.2em;
}

.gift {
    margin-bottom: 1em;
}

.links, .single-link {
    margin-top: 1em;
    height: 4em;
    width: 100%;
}

.links {
    display: grid;
    grid-template-columns: 1fr 1em 1fr;
    grid-template-rows: auto;
    grid-template-areas: "previous . next";
}

.previous {
    grid-area: previous;
}

.next {
    grid-area: next;
}

button {
    background-color: #1B1D21;
    border: none;
    color: inherit;
}

img {
    width: 100%;
}

.summary {
    text-align: initial;
    display: contents;
    list-style: none;
}
