@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat/Montserrat-VariableFont_wght.woff2") format("woff2-variations");
    font-weight: 300 700;
    font-stretch: 75% 125%;
    font-style: normal;
}

@property --default-flex-direction {
    inherits: true;
    initial-value: row;
    syntax: "<flex-direction>";
}

:root {
    --heading-font-family: Montserrat, sans-serif;
    --body-copy-font-family: "Courier New", monospace;
    font-size: 20px; /* == 1 rem */

    --color-white: #fff;
    --color-black: #161514;

    --color-yellow: #f6a803;
    --color-orange: #e45919;
    --color-red: #df3344;
    --color-purple: #ba5095;
    --color-blue: #2864ae;

    --link-color: var(--color-blue);
    --visited-color: var(--color-purple);

    --about-color: var(--color-orange);
}

a:link {
    color: var(--link-color);
}

a:visited {
    color: var(--visited-color);
}

body {
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--body-copy-font-family), monospace;
    margin: 3rem auto 10rem;
    max-width: 1280px;
    min-width: 940px;
    padding: 0 2rem 10rem;
}

#longarrow {
    font-size: xx-large;
}

footer {
    padding-top: 2rem; /* or 4.5? */
}

footer img.logo {
    margin-left: -30px;
}

footer li {
    list-style-type: none;
}

footer ul {
    margin: 1.5rem 0 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: var(--heading-font-family), sans-serif;
    font-weight: normal;
}

header {
    align-items: center;
    display: flex;
    flex-direction: var(--default-flex-direction);
    font-size: x-large;
    font-weight: bold;
    justify-content: space-between;
    text-align: center;
}

header img.logo {
    height: 120px;
    margin-left: -60px;
    width: 480px;
}

header nav {
    justify-self: end;
    margin-left: 10%;
    overflow: hidden;
    width: 100%;
}

header nav a, a:link, header nav a:visited {
    color: var(--color-white);
    text-decoration: none;
}

header nav a:hover {
    text-decoration: underline;
}

header nav a.hire-us:hover {
    text-decoration: none;
}

header nav ul {
    display: flex;
    flex-direction: var(--default-flex-direction);
    justify-content: space-between;
    padding: 0;
}

header nav ul li {
    list-style-type: none;
    padding: 0 1rem;
}

section {
    border-bottom: 1px dotted var(--color-white);
    padding-bottom: 2.5rem;
}

section#hero {
    background: top right no-repeat url(../images/hexagons.png);
    font-size: 1.5em;
    margin: 5rem 0 3rem;
}

section#hero h1 {
    margin-top: 0;
}

section#hero .blurb {
    padding: 30px 90px 0 0;
    width: 70%;
}

section#hero img {
    margin-bottom: 130px;
    width: 100%;
}

section#hero div#button-container {
    text-align: right;
    height: 60px;
}

section#hero a {
    display: inline-block;
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--body-copy-font-family), monospace;
    font-size: x-large;
    font-weight: bold;
    padding: .5rem;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    width: 384px;
}

section#about ul {
    display: flex;
    flex-direction: column;
    gap: 90px;
    padding: 0;
    max-width: 1024px;
}

section#about h1 {
    color: var(--about-color);
    text-transform: lowercase;
}

section#about li.bio {
    list-style-type: none;
}

section#about li.bio div {
    display: flex;
    gap: 2.5rem;
}

li.bio h2 {
    margin-top: 0;
}

section#about li.bio:nth-child(even) div {
    flex-direction: row-reverse;
}

section#about li.bio:nth-child(odd) h2 {
    margin-left: 20.5rem;
}

.bio img {
    height: 18rem;
    margin-top: -3rem;
    width: 18rem;
}

.hire-us {
    border: 3px solid var(--color-yellow);
}

#menu-hire {
    padding: .25rem;
}

@media only screen and (max-width: 500px) {
    :root {
        --default-flex-direction: column;
    }

    body {
        font-size: large;
        padding: 1rem 1rem 0;
        min-width: 0;
        margin-top: 0rem;
    }

    .bio img {
        height: 15rem;
        width: 15rem;
        margin-top: 0;
    }

    #menu-hire {
        display: none;
    }

    header img.logo {
        height: 90px;
        margin-left: -90px;
        width: 360px;
    }

    header nav {
        margin: 0;
    }

    section#hero {
        background: none;
        font-size: 1.2em;
        margin: 2rem 0 3rem;
    }

    section#hero .blurb {
        padding: 0;
        width: 100%;
    }

    section#hero a {
        width: 100%;
        padding: .25rem 0;
    }

    section#about li.bio div {
        flex-direction: var(--default-flex-direction);
        gap: .5rem;
    }

    section#about li.bio:nth-child(even) div {
        flex-direction: var(--default-flex-direction);
    }

    section#about li.bio:nth-child(odd) h2 {
        margin-left: 0;
    }

    section#about ul {
        gap: 1rem;
    }
}
