:root {
    --sectionWidth: clamp(320px, 95%, 1440px);
    --nav: rgba(44, 44, 44, 0.5);
    --navSection: rgba(23, 23, 23, 0.5);
    --navLink: #b3a89e;
    --aHover: rgb(100, 100, 100);
    --aActive: rgb(170, 170, 170);
    --main: #efefef;
    --mainSection: #ffffff;
    --footer: #474747;
    --footerSection: #222222;
    --white: #ffffff;
    --navHeight: 4vh;
    --footerHeight: 8vh;
}

@media (width <= 960px) {
    :root {
        --sectionWidth: clamp(320px, 95%, 1440px);
    }
}

@media (width <= 480px) {
    :root {
        --sectionWidth: clamp(320px, 100%, 1440px);
    }
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > nav {
    background-color: var(--nav);
    position: sticky;
    top: 0;
    z-index: 10;
}

body > main {
    background-color: var(--main);
    flex: 1;
    display: flex;
    flex-direction: column;
}

body > footer {
    background-color: var(--footer);
}

body > * > section {
    max-width: var(--sectionWidth);
    margin: 0 auto;
}

body > nav > section {
    background-color: var(--navSection);
    display: flex;
    flex-direction: row;
    justify-content: end;
}

body > main > section {
    background-color: var(--mainSection);
    flex: 1;
    width: 100%;
}

body > footer > section {
    background-color: var(--footerSection);
    min-height: var(--footerHeight);
    color: var(--white);
}
body > nav > section > ul {
    min-height: var(--navHeight);
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
body > nav > section > ul > li {
    list-style-type: none;
    margin: 0;
}
body > nav > section > ul > li > a {
    color: var(--white);
    text-align: center;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 1.2em;
}
body > nav > section > ul > li > a:hover {
    background-color: var(--aHover);
    /* color: white; */
}
body > nav > section > ul > li > a.active {
    background-color: var(--aActive);
    color: rgb(49, 49, 49);
    pointer-events: none;
}
