/* ===================================================
   SWEA KITTEL
   Layout v1.0
=================================================== */


/* ---------- VARIABLES ---------- */

:root {

    --background: #ffffff;
    --text: #111111;

    --max-width: 1280px;

    --nav-size: 13px;
    --logo-size: 22px;
    --heading-size: 24px;
    --body-size: 14px;

    --space-xs: 12px;
    --space-s: 24px;
    --space-m: 60px;
    --space-l: 120px;
    --space-xl: 180px;

}


/* ---------- RESET ---------- */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    background: var(--background);
    color: var(--text);

    font-family: Helvetica, Arial, sans-serif;
    font-size: var(--body-size);
    line-height: 1.7;

}


/* ---------- GENERAL ---------- */

img {

    display: block;
    width: 100%;
    height: auto;

}

a {

    color: inherit;
    text-decoration: none;

}

ul {

    list-style: none;

}


/* ---------- HEADER ---------- */

header {

    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,255,255,.96);
    backdrop-filter: blur(6px);

    border-bottom: 1px solid transparent;

}

.header-inner {

    max-width: var(--max-width);

    margin: 0 auto;

    padding: 28px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

}


/* ---------- LOGO ---------- */

.logo {

    font-size: var(--logo-size);
    font-weight: 400;
    letter-spacing: .01em;

}


/* ---------- NAVIGATION ---------- */

nav ul {

    display: flex;
    gap: 34px;

}

nav a {

    font-size: var(--nav-size);
    letter-spacing: .06em;

    transition: opacity .25s ease;

}

nav a:hover {

    opacity: .45;

}


/* ---------- PAGE ---------- */

.page {

    max-width: var(--max-width);

    margin: var(--space-l) auto;

    padding: 0 40px;

}

.page h1 {

    font-size: var(--heading-size);
    font-weight: 400;

    margin-bottom: var(--space-l);

}


/* ---------- FOOTER ---------- */

footer {

    max-width: var(--max-width);

    margin: var(--space-xl) auto 40px;

    padding: 0 40px;

    display: flex;
    gap: 18px;

    font-size: 11px;

    color: #888888;

}

footer a {

    transition: opacity .25s ease;

}

footer a:hover {

    opacity: .55;

}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {

    .header-inner {

        padding: 24px;

    }

    .page {

        padding: 0 24px;

    }

    footer {

        padding: 0 24px;

    }

}


@media (max-width: 700px) {

    .header-inner {

        flex-direction: column;
        align-items: flex-start;
        gap: 20px;

    }

    nav ul {

        gap: 22px;
        flex-wrap: wrap;

    }

}