/* Base */
:root {
    --c-bg: #0A0A0A;
    --c-bg-highlight: #1C1C1C;
    --c-primary: #99A098;
    --c-highlight: #A6ADA5;
    --c-secondary: #5C6F66;
    --c-disabled: #50635B;
    --c-border: #5C6F66;
    --c-border-highlight: #687C74;
    --c-link: #579B5E;
    --c-link-hover: #009900;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
html {
    overflow-y: scroll;
    color: var(--c-primary);
    background-color: var(--c-bg-highlight);
}
body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
}
/* Links */
a {
    color: var(--c-link);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--c-link-hover);
}
/* Content Styles */
h1, h2, h3 {
    text-transform: uppercase;
    font-weight: 300;
    margin: 0;
    padding: 0;
}
h1 {
    font-size: 1.75rem;
    font-weight: 900;
    font-family: 'Kanit', sans-serif;
    color: var(--c-highlight);
}
.subtitle {
    font-size: 1.25rem;
    font-weight: 300;
}
.hero-title {
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
    font-size: 2.5rem;
    font-weight: 300;
    font-size: 4rem;
}
b, strong {
    font-weight: 500;
}
dl, dd, dt {
    margin: 0;
    padding: 0;
}
p, dl {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}
p:last-child {
    margin-bottom: 0;
}
.key-values {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: first baseline;
    column-gap: 1rem;
    row-gap: 1rem;
}
.key-values__key {
    font-weight: 500;
    text-align: right;
}
@media screen and (min-width: 60em) {
    .subtitle {
        font-size: 1.75rem;
    }
}
/* Content Layout */
.content {
    margin-top: -4.625rem;
}
.section {
    padding: 4rem 2rem;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.section--has-bg {
    background-size: auto, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;

}
.section--has-border {
    border-bottom: 2px solid var(--c-bg-highlight);
}
.section--is-tall {
    min-height: 75vh;
}
.section--home {
    min-height: 100vh;
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(img/hero.jpg);
}
.section--history {
    background: var(--c-bg);
}
.section--crew {
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)),
        url(img/crew.jpg);
    background-position: center, left bottom;
}
.section--runners {
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)),
        url(img/runners.jpg);
}
.section--catering {
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)),
        url(img/catering.jpg);
}
.section--contact {
    background-color: var(--c-bg);
}
.section__header {
    padding-bottom: 2rem;
    text-align: center;
}
.section__heading {
    font-size: 2.5rem;
}
.section__content {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    max-width: 64rem;
}
.section__footer {
    padding-top: 2rem;
}
@media screen and (min-width: 30em) {
    .section {
        padding: 4rem;
    }
    .section--home {
        padding-top: 1rem;
    }

}
@media screen and (min-width: 60em) {
    .section__content--cols {
        flex-direction: row;
        column-gap: 2rem;
        align-items: center;
    }
    .col {
        flex: 1 1;
    }
    .section__headline {
        font-size: 3.5rem;
    }
}
@media screen and (min-width: 80em) {
    .section {
        padding: 6rem;
    }
    .section--home {
        padding-top: 2rem;
    }
}
/* Header */
.top-bar {
    position: sticky;
    background-color: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
    right: 0;
    height: 4.625rem;
}
.top-bar__brand {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-bar__nav {
    padding: 1rem;
    display: none;
    width: 100%;
}
/* Navigation Menu */
.site-nav {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}
.site-nav__link {
    text-transform: uppercase;
    font-size: 1.25rem;
    color: var(--c-highlight);
}
.site-nav__link:hover {
    text-decoration: none;
    color: var(--c-link-hover);
}
/* Active Menu */
.nav-is-active .top-bar {
    background-color: rgba(0, 0, 0, 0.8);
    height: 100vh;
    position: fixed;
}
.nav-is-active .top-bar__nav {
    display: block;
}
.nav-is-active .content {
    margin-top: 0;
}
/* Menu Toggle Button */
.hamburger {
    font-size: 1rem;
    display: flex;
    color: var(--c-highlight);
    padding: 0.75rem 0.5rem;
    line-height: 1;
    cursor: pointer;
}
.hamburger:focus {
    outline: none;
}
.hamburger__bars {
    width: 1.25rem;
    height: 0.9375rem; /* 15 */
    position: relative;
}
.hamburger__bar {
    background-color: var(--c-highlight);
    width: 1.25rem;
    height: 0.1875rem; /* 3 */
    border-radius: 100px;
    position: absolute;
    top: 0.375rem; /* 6 */
    right: 0;
    transition: all 0.8s;
}
.hamburger__bar:first-child {
    transform: translateY(-0.375rem); /* -6 */
}
.hamburger__bar:last-child {
    transform: translateY(0.375rem); /* 6 */
}
.hamburger.is-transformed .hamburger__bar {
    display: none;
}
.hamburger.is-transformed .hamburger__bar:first-child {
    transform: rotate(-45deg);
    display: block;
}
.hamburger.is-transformed .hamburger__bar:last-child {
    transform: rotate(45deg);
    display: block;
}
