@font-face {
    font-family: "ubuntu-regular";
    src: url("/static/ubuntu-regular.woff2");
}

@font-face {
    font-family: "ubuntu-bold";
    src: url("/static/ubuntu-bold.woff2");
}

:root {
    --darkgrey: #222229;
    --white: #ffffff;
    --elysiangreen: #2fa73f;
    --fieldgreen: #1c7333;
    font-size: 16px;
    font-family: "ubuntu-regular", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--darkgrey);
    color: var(--white);
    min-height: calc(100vh + 10rem);
    display: flex;
    flex-direction: column;
}

b, strong {
    font-family: "ubuntu-bold";
    font-weight: 700;
}

.main-content-container {
    display: flex;
    flex-grow: 1;
    padding: 1rem;
}

.spacer {
    flex-grow: 1;
}

.header-container {
    display: flex;
    background-color: var(--fieldgreen);
}

a {
    color: white;
}

header {
    max-width: 1200px;
    width: calc(100% - 1rem);
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

header p {
    font-family: "ubuntu-bold";
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    margin-left: 1rem;
}

.menu li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 8rem;
    text-decoration: none;
    font-size: 1.2rem;
    height: 100%;
    background-color: var(--fieldgreen);
}

.menu li a:hover {
    background-color: var(--elysiangreen);
    color: var(--darkgrey);
}

footer {
    background-color: var(--fieldgreen);
    padding: 2rem;
    height: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer p {
    margin: 0.25rem 0;
}

h1 {
    padding: 0.5rem;
    margin-top: 0;
    font-size: 1.5rem;
    font-family: "ubuntu-bold";
    font-weight: 700;
    background-color: var(--fieldgreen);
}

h2 {
    padding: 0.5rem 0;
    font-size: 1.3rem;
    font-family: "ubuntu-bold";
    font-weight: 700;
    border-bottom: 3px solid var(--elysiangreen);
}

h3 {
    font-size: 1.2rem;
    font-family: "ubuntu-bold";
    font-weight: 700;
}

main {
    max-width: 1200px;
    width: calc(100% - 1rem);
}

.menu {
    display: flex;
    flex-direction: row;
    height: 100%;
    padding: 0;
    margin: 0;
}

.menu li {
    list-style-type: none;
    height: 100%;
}

.showcase {
    height: 50vh;
    min-height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #22222990;
    background-blend-mode: darken;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.showcase .big-guy {
    font-family: "ubuntu-bold";
    font-weight: 700;
    font-size: 3rem;
}

.showcase p {
    font-size: 1.5rem;
    margin: 0.5rem;
}

.showcase .locator {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    font-size: 1.2rem;
    background-color: #00000040;
    padding: 1rem;
}

.branding-logo-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.branding-logo-container div {
    padding: 1rem;
}

.branding-colour {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.branding-colour div {
    padding: 1rem;
}

.branding-colour div p {
    padding: 0;
    margin: 0;
}

.menu-button {
    display: none;
    position: absolute;
    width: 4rem;
    height: 4rem;
    font: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    background-color: var(--fieldgreen);
    border: none;
    color: white;
    border-radius: 0;
    top: 0;
    right: 0;
}

.menu-button:hover {
    background-color: var(--elysiangreen);
    color: black;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    header p, header .spacer {
        display: none;
    }

    header img {
        padding: 0;
        margin: 0;
    }

    .menu-button {
        display: block;
    }

    .menu {
        flex-direction: column;
        justify-content: start;
        position: absolute;
        top: 4rem;
        width: 100vw;
        z-index: 1;
        display: none;
    }

    .menu li {
        height: 4rem;
    }

    .menu li a {
        background-color: var(--fieldgreen);
        width: 100%;
    }


    .menu.active{
        display: block;
    }
}