:root {
    --primary-color: rgb(77, 93, 41);
    --secondary-bg: rgb(240, 242, 234);
    --nav-bg: rgb(207, 212, 195);
    --border-color: rgb(200, 204, 178);

    --off-white: rgb(221, 221, 221);
    --shadow: rgb(17, 17, 17);

    --max-width: 960px;
    --sidebar-width: 230px;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 10px 0 20px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    background: url(../assets/bg_tile.png) repeat top left;
}

h1, h2, h3 {
    color: var(--primary-color);
}

a {
    text-decoration: none;
    font-weight: bold;

    color: inherit;

    &:hover {
        color: var(--primary-color);
    }
}

#container {
    width: var(--max-width);
    margin: 0 auto;
    background-color: var(--secondary-bg);
    box-shadow: var(--shadow) 0 0 35px;
}

header {
    background: url(../assets/banner-new.png) no-repeat 0 0;
    background-size: cover;

    padding: 0 25px;

    color: var(--off-white);
    font-size: 1.5em;
    line-height: 120px;
    text-align: right;
}

#callout {
    position: relative;
    height: 265px;

    background: var(--page-slug, none), url(../assets/headers/home-callout.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;

    nav {
        width: 100%;
        display: flex;

        a {
            flex: 1;

            border-left: var(--primary-color) solid 1px;
            border-right: var(--off-white) solid 1px;

            font-size: 1.05em;
            line-height: 45px;
            text-align: center;

            background-color: color-mix(in srgb, var(--nav-bg), transparent 50%);

            transition: background-color 0.35s ease-in-out;

            &:hover {
                background-color: color-mix(in srgb, var(--nav-bg), transparent 20%);
            }

            &:first-child {
                border-left: none;
            }

            &:last-child {
                border-right: none;
            }
        }
    }
}

#content {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    min-height: 468px;
    width: 100%;
}

#contact {
    box-shadow: var(--shadow) -10px 0 20px;
    clip-path: inset(0 -15px 0 0);

    padding: 1.5em;

    display: grid;
    grid-template-columns: auto 1fr;
    align-content: start;
    grid-gap: 0.5em;

    span {
        font-weight: bold;
    }

    a {
        font-weight: normal;
    }

    address {
        grid-column: span 2;
        font-style: normal;
    }
}

main {
    padding: 0 40px;

    img {
        max-width: 100%;
    }
}

footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5em 40px;

    color: var(--primary-color);
    font-size: 0.85em;

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

    nav {
        display: flex;
        gap: 20px;
        font-weight: bold;
    }
}

#contact-box {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 37px;

    box-sizing: border-box;
    width: var(--sidebar-width);
    padding: 0 1.5em;

    background-color: color-mix(in srgb, var(--nav-bg), transparent 40%);

    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.10em;
    line-height: 37px;
}

#slogan {
    position: absolute;
    left: 58px;
    top: 70px;
    pointer-events: none;
}

#login-btn {
    position: fixed;
    top: 0;
    right: 2em;
    background-color: color-mix(in srgb, var(--off-white), transparent 50%);
    padding: 0.5em 1em;
    border-radius: 0 0 0.5em 0.5em;
    font-size: 0.75em;
    font-weight: normal;
    border: 1px solid var(--off-white);
    border-top: none;
    transition: text-shadow 0.33s ease-in-out;
    z-index: 999;
}

#login-btn:hover {
    text-shadow: 0 0 0.75em var(--shadow);
}

