@import url("https://fonts.googleapis.com/css2?family=Inter&family=Sen:wght@400;700&display=swap");

:root {
    --bg_light: #d8d3c9;
    --bg_dark: #24373b;

    --fg_light: #c9c4c1;
    --fg_dark: #151318;

    --fg_bright: #f5e4e2;

    --dark_highlight: #b72012;
    --light_highlight: #f74b3b;

    --title_font: 'Sen', sans-serif;

    --max_page_width: 64rem;

    --page_padding: 1rem;
}

/* reset margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--title_font);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    line-height: 1.4rem;
}

b {
    color: var(--dark_highlight);
}

article b {
    color: var(--light_highlight);
}

h1, h2 {
    text-align: center;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
    letter-spacing: -0.15rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

header > nav, footer > nav {
    height: 4rem;
    max-width: var(--max_page_width);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav > figure {
    max-width: 10rem;
}

nav > figure > img {
    width: 4rem;
}

nav > ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1rem;
}

header, footer, main {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

header > nav,
footer > nav {
    padding: 0 var(--page_padding);
}

header {
    background: var(--bg_light);
    color: var(--fg_dark);
}

footer {
    background: var(--bg_dark);
    color: var(--fg_light);
}

a {
    text-decoration: none;
}

article a {
    color: var(--fg_light);
    border-bottom: 2px solid var(--fg_light);
}

article a:hover {
    color: var(--fg_bright);
    border-bottom: 2px solid var(--fg_bright);
}

header > nav > ul > li > a,
footer > nav > ul > li > a {
    font-size: 1.125rem;
    text-transform: uppercase;
    border: none;
}

header > nav > ul > li > a {
    color: var(--bg_dark);
}

header > nav > ul > li > a:hover {
    color: var(--fg_dark);
}

footer > nav > ul > li > a {
    color: var(--fg_light);
}

footer > nav > ul > li > a:hover {
    color: var(--fg_bright);
}

body {
    background: var(--bg_light);
}

section {
    width: 100%;
    max-width: var(--max_page_width);
}

article {
    background: var(--bg_dark);
    color: var(--fg_light);
    padding: 1rem;
    margin-bottom: var(--page_padding);
}

.neutral_stripe {
    border-left: 4px solid var(--fg_light);
}

section > figure > img {
    width: 100%;
    max-width: var(--max_page_width);
}
