:root {
    --header-height: 180px;
    --figcaption-height: 40px;
    --padding-main: 60px;
}

@font-face {
    font-family: "Figtree";
    src: url("/figtree.ttf") format("truetype-variations");
    font-weight: 300;
    font-style: normal;
    font-display: optional;
}

* {
    box-sizing: border-box;
}

body {
    background-color: #CCC;
    color: #333;
    font-family: "Figtree", sans-serif;
    font-size: 30px;
    margin: 0;
    padding: 0 var(--padding-main);
    width: 100%;
}

header {
    align-items: center;
    background-color: inherit;
    border-bottom: 1px solid #666;
    display: flex;
    flex-wrap: wrap;
    height: var(--header-height);
    justify-content: space-between;
    position: sticky;
    top: 0;
}

.name {
    flex-grow: 1;
    font-size: 80px;
    font-weight: normal;
    margin: 0;
    white-space: nowrap;
}

main {
    padding: var(--padding-main) 0;
}

nav {
    color: #666;
    text-align: right;
    white-space: nowrap;

    a {
        color: inherit;
        display: block;
        line-height: max(1.2em, calc(24px / var(--zoom, 1)));

        &.hidden {
            display: none;
            opacity: 0.3;
        }
    }
}
