* {
    font-family: Roboto, sans-serif;
    box-sizing: border-box;
}

:root {
    --text-xs: 0.64rem;
    --text-s: 0.8rem;
    --text-m: 1rem;
    --text-l: 1.25rem;
    --text-xl: 1.56rem;
    --text-xxl: 1.95rem;
    --text-xxxl: 2.44rem;
    --text-xxxxl: 3.05rem;
    --text-xxxxxl: 3.81rem;

    --color-bg: #fafafa;
    --color-card: #ffffff;
    --color-text: #262626;
    --color-text-inverse: #fafafa;
    --color-text-inverse-faint: #b5b5b5;
    --color-shadow: #0000004f;
    --color-nav-hover: #3d3d3d;
}

body {
    background: var(--color-bg);
    margin: 0;
    padding: 0;
}

p {
    margin-bottom: 1rem;
}

h1, h2, h3, h4, h5 {
    margin: 3rem 0 1.38rem;
    font-weight: 400;
    line-height: 1.3;
}

h1 {
    margin-top: 0;
    font-size: var(--text-xxxxl);
}

h2 {
    font-size: var(--text-xxxl);
}

h3 {
    font-size: var(--text-xxl);
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-l);
}

p, h1, h2, h3, h4, h5, small, .text_small {
    color: var(--color-text);
}

small, .text_small {
    font-size: var(--text-s);
}

.page {
    padding: 15px;
}

.content {
    margin: auto;
    max-width: 1000px;

    background-color: var(--color-card);
    border-radius: 13px;

    box-shadow: 0 0 10px var(--color-shadow);
}

header {
    display: grid;
    grid-template-columns: auto 30%;
    padding: 10px 20px 10px 20px;
}

.logo-group {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
}

.logo-group .logo-text {
    margin: 0;
}

.logo-text h2, .logo-text p {
    margin: 0;
}

.logo-text p {
    font-weight: 300;
    font-style: italic;
}

.logo-group .logo {
    width: 128px;
    height: 128px;
    margin-right: 5px;
}

.interactable {
    --interactable-shadow-color: var(--color-shadow);

    display: block;
    text-align: center;

    padding: 15px 17px 15px 17px;
    text-decoration: none;
    color: var(--color-text);
    font-size: var(--text-l);
    transition-duration: 0.25s;
    cursor: pointer;

    border: solid 2px var(--color-text);
    border-radius: 7px;
}

.interactable.small {
    font-size: var(--text-m);
    padding: 7px 8px 7px 8px;
}

.interactable:hover {
    box-shadow: 0 0 7px var(--interactable-shadow-color);
    transition-duration: 0.25s;
}

.button-group {
    justify-self: right;
    align-self: center;
}

.button-group .interactable {
    margin-top: 5px;
}

@media only screen and (max-width: 700px) {
    header {
        grid-template-rows: auto auto;
        grid-template-columns: auto;
    }

    .logo-group {
        justify-content: center;
    }

    .button-group {
        justify-self: center;
    }
}

nav {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;

    background-color: black;
}

.nav-item {
    color: var(--color-text-inverse);
    text-decoration: none;
    padding: 15px;
    font-weight: bold;
}

.nav-item:hover {
    background-color: var(--color-nav-hover);
}

footer {
    background-color: black;
    padding: 10px;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

footer p {
    color: var(--color-text-inverse-faint);
    text-align: center;
    font-weight: 300;
    margin: 0;
}

.cookie {
    position: fixed;
    bottom: 0;
    left: 0;

    background-color: var(--color-card);
    box-shadow: 0 0 5px var(--color-shadow);
    width: 100vw;
    padding: 10px;

    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;

    z-index: 99;
}

.cookie p {
    text-align: center;

    margin-top: 10px;
    max-width: 800px;
}

button {
    border: solid 1px var(--color-text);
    border-radius: 7px;
    padding: 5px 7px 5px 7px;
    color: var(--color-text);
    background-color: transparent;
    font-size: var(--text-s);
    cursor: pointer;
}

.cookie button {
    align-self: flex-end;
}

.hidden {
    display: none !important;
}