@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 200 800;
    font-display: fallback;
    src: url("fonts/Manrope-VariableFont_wght.woff2") format("woff2");
}

:root {
    color-scheme: light;
    --content-width: 1340px;
    --pad-x: clamp(20px, 5vw, 50px);
    --pad-y: clamp(30px, 7vw, 70px);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #fff;
    color: #111111;
    font-family: Manrope, sans-serif;
    font-size: clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 0.392), 1.375rem);
    font-weight: 300;
    letter-spacing: -0.1px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: currentColor;
}

a:hover {
    text-decoration: none;
}

h1, h2 {
    font-weight: 400;
    letter-spacing: -0.1px;
    line-height: 1.125;
    margin: 0;
}

h2 {
    font-size: clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 0.392), 1.375rem);
}

.bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 20px var(--pad-x);
}

.bar .logo img {
    display: block;
    width: 15rem;
    max-width: 100%;
    height: auto;
}

.bar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.bar nav a {
    text-decoration: none;
    font-size: 1rem;
}

.bar nav a:hover {
    text-decoration: underline;
}

.bar h2 {
    text-align: right;
}

header .bar {
    border-bottom: none;
}

main {
    flex: 1;
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--pad-y) var(--pad-x);
    display: flex;
    justify-content: center;
    min-width: 0;
}

main img {
    display: block;
    width: 100%;
    max-width: 32rem;
    height: auto;
    min-width: 0;
}

footer {
    border-top: 1px solid #eee;
    padding-top: clamp(30px, 7vw, 70px);
    padding-bottom: clamp(30px, 5vw, 50px);
}

footer .bar {
    align-items: flex-start;
}

footer .logo img {
    width: 8.5rem;
}

footer h2 {
    text-align: left;
    font-weight: 300;
}

footer nav {
    flex-direction: column;
    gap: 0.5rem;
}
