@font-face {
    font-family: "Rubik";
    src: url("/fonts/rubik-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

:root {
    color-scheme: light;
    font-family: "Rubik", Arial, Helvetica, sans-serif;
    color: #4B222A;
    background: #F9EEFD;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

html,
body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    min-height: 100svh;
}

.page-shell {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    padding: 64px;
}

.profile {
    width: min(100%, 500px);
}

.profile__portrait {
    display: block;
    width: min(277px, 100%);
    aspect-ratio: 1;
    margin: 0 0 64px;
    border-radius: 20px;
    object-fit: cover;
}

.profile__intro h1,
.profile__intro p {
    margin: 0;
    font-size: 20px;
    line-height: 1;
}

.profile__intro h1 {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 800;
}

.profile__intro p {
    font-weight: 400;
}

.profile__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    margin-top: 54px;
}

.profile__links a {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    gap: 16px;
    color: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.12em;
}

.profile__icon {
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    object-fit: contain;
}

.profile__icon--pastry {
    width: 25px;
    height: 20px;
    flex-basis: 24px;
}

.profile__links a:focus-visible,
.page-footer a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

.page-footer {
    margin-top: auto;
    padding-top: 48px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
}

.page-footer a {
    color: inherit;
    text-decoration: none;
}

.imprint {
    width: min(100%, 500px);
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

.imprint h1 {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.imprint p {
    margin: 0;
    margin-top: 4px;
}

.imprint p.imprint-name {
    margin-bottom: 24px;
}

.imprint p.imprint-email {
    margin-top: 24px;
}

.imprint a {
    color: inherit;
    font-weight: 400;
    text-decoration: underline;
    text-decoration-thickness: auto;
    text-underline-offset: 0;
}

@media (max-width: 359px) {
    .page-shell {
        padding: 32px;
    }
}
