/* ============================================================
   BASE
 */
html {
    box-sizing: border-box;
    font-size: 100%;
    background-color: #593752;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    color: #faebd7;
}


/* ============================================================
   LOGO OG VEDTÆGTER
 */
.page {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: clamp(2rem, 6vh, 4rem);
    min-height: 100svh;
    padding: 1.5rem;
}

.page-heading {
    margin: 0;
    line-height: 0;
}

.page-logo {
    width: min(24rem, 75vw);
    height: auto;
}

.page-file {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
    letter-spacing: 0.04em;
    color: inherit;
    text-decoration: none;
}

.page-file:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.page-file:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}

.page-file-icon {
    width: 1.5rem;
    height: auto;
}

.page-new-tab {
    width: 1rem;
    height: auto;
    opacity: 0.85;
}

.page-file:is(:hover, :focus-visible) .page-new-tab {
    opacity: 1;
}


/* ============================================================
   404
 */
.page-logo-small {
    width: min(14rem, 50vw);
}

.notfound {
    display: grid;
    justify-items: center;
    text-align: center;
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
    letter-spacing: 0.04em;
}

.notfound-heading {
    margin: 0 0 0.5rem;
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    font-weight: 400;
}

.notfound-text {
    margin: 0;
}

.notfound-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 1rem;
    color: inherit;
    text-underline-offset: 0.25em;
}

.notfound-link:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}