:root {
    --body-bg-color: #ffffff;
    --body-text-color: #000000;
}

html {
    line-height: 1.15;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: "Liberation Sans", Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    min-height: 100vh;
    display: grid;
    border: solid #dedede;
    border-width: 0 1px;
    box-shadow: 0 0 5px #dededecc;
    grid-template-rows: auto auto 1fr auto;
    grid-template-columns: 20% 65% 15%;
    grid-template-areas:
		"header header header"
        "nav nav nav"
		"content content content"
		"footer footer footer"
    ;
}

header {
    display: grid;
    background-color: #464646;
    color: white;
    grid-area: header;
}

.page-header__logo {
    margin: 1em;
}

main {
    display: grid;
    grid-area: content;
    padding: 0 1em 1em 1em;
}

.flex {
    display: flex;
}

nav {
    background-color: #dedede;
    display: grid;
    grid-area: nav;
}

.navbar {
    display: flex;
    margin: 0;
    list-style-type: none;
    gap: 1em;
    border-bottom: 1px solid black;
}

.navbar__nav-item {
    padding: 1em 0;
    margin: 0;
    border-right: 1px solid black;
    border-left: 1px solid black;
}

.navbar__link {
    color: black;
    font-weight: bold;
    padding: 1em 0.5em;
    text-decoration: none;
}

.navbar__link--active {
    background-color: white;
    text-decoration: underline;
    border-bottom: 1px solid white;
}

.navbar__link:hover {
    background-color: white;
    border-bottom: 1px solid white;
}

footer {
    grid-area: footer;
    background-color: #dedede;
    width: 100%;
    border-top: 1px solid black;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.navbar-footer__nav-item {
    list-style-type: none;
}

.navbar-footer__nav-item:not(:first-child) {
    padding-left: 0.5em;
}

.navbar-footer__link {
    color: black;
    font-size: 0.8em;
    font-weight: bold;
    text-decoration: none;
}

.navbar-footer__link:hover {
    color: black;
    text-decoration: underline;
}

.navbar-footer__link--active {
    text-decoration: underline;
}

.navbar-footer__nav-item {

}