body, html {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 72px;
    line-height: 110%;
    font-weight: 400;
    color: #ebebeb;
    font-family: 'Alfa Slab One', cursive;
}
h2 {
    font-size: 40px;
    line-height: 120%;
    font-weight: 400;
    color: #595959;
    font-family: 'Alfa Slab One', cursive;
}
h3 {
    font-size: 28px;
    line-height: 130%;
    font-weight: 700;
    color: #595959;
    font-family: 'Fira Sans', sans-serif;
}
h4, th {
    font-size: 20px;
    line-height: 130%;
    font-weight: 500;
    color: #595959;
    font-family: 'Fira Sans', sans-serif;
}

caption h1,
caption h2,
caption h3,
caption h4,
caption h1:last-of-type,
caption h2:last-of-type,
caption h3:last-of-type,
caption h4:last-of-type {
    padding-bottom: 3px;
}

a {
    text-decoration: none;
    color: #31b44b;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 500;
}

strong {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
}

em {
    color: #31b44b;
    font-style: normal;
}

p, ul, ol, td {
    font-size: 16px;
    font-weight: 400;
    line-height: 163%;
    padding-bottom: 16px;
    color: #595959;
    font-family: 'Bitter', serif;
}

h1, h2, h3, h4, th, td, figure, p {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-bottom: 16px;
}

h3:last-of-type,
h4:last-of-type,
figure:last-of-type,
p:last-of-type {
    padding-bottom: 36px;
}

.btn {
    width: 200px;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 8px;
    display: block;
    min-height: 48px;
    color: #ebebeb;
    margin-bottom: 12px;
    text-align: center;
}
.btn:hover, .btn:active {
    color: #fff;
}
.btn.orange {
    background-color: #fa6e57;
}
.btn.green {
    background-color: #31b44b;
}

br.clear {
    clear:both;
    line-height:0;
}

.sponsors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.charity, .sponsor {
    display: inline-block;
    width: 29%;
    padding: 16px;
}
.charity img, .sponsor img {
    object-fit: contain;
    width: 100%;
}

.deck, .deck p {
    font-size: 24px;
    font-weight: 400;
    line-height: 200%;
    font-family: 'Fira Sans', sans-serif;
    text-decoration: underline;
    text-decoration-color: #d9d9d9;
    text-decoration-thickness: 2px;
    text-underline-offset: 11px;
}

img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.autosize {
    max-width: 100%;
    height: auto;
}

figcaption {
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
}


.container {
    position: relative;
    min-height: 100vh;
}

.main {
    background-color: #efefef;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.section {
    display: flex;
    flex-wrap: wrap;
}
.section-content {
    flex-basis: 0;
    flex-grow: 999;
}
.sidebar {
    flex-grow: 1;
    flex-basis: 200px;
    padding-left: 48px;
    padding-right: 48px;
    float: right;
}
.section:nth-child(n+2) .section-content, .board_member:nth-child(n+3) {
    border-top-width: 6px;
    border-color: #d9d9d9;
    border-top-style: solid;
}

.body_bg {
    opacity: 100%;
    width: 100%;
    z-index: -1;
    position: absolute;
}
.body_bg_nav {
    background: #000;
    height: 120px;
    top:0;
    left:0;
}
.body_bg_title {
    background: #000;
    height: 280px;
    background-color: #006838;
    top:120px;
    left:0;
}
.body_bg_title.camp {
    height: 430px;
}
.body_bg_content {
    height:100%;
    z-index: -2;
    background: #d9d9d9;
    top: 0;
    left: 0;
}
.body_bg_footer {
    background: #000;
    height: 280px;
    bottom:0;
    left:0;
}

.footer {
    min-height: 280px;
    background: #000;
}
.footer p { 
    font-family: 'Fira Sans', sans-serif;
}
.footer .legal {
    float: left;
    padding-left: 48px;
}
.footer .legal p {
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
    color: #b2b2b2;
}
.footer .legal img.logo {
    height: 64px;
    padding-top: 28px;
    padding-bottom: 28px;
}
.footer .legal a {
    font-weight: 500;
}

.footer .links {
    font-size: 20px;
    font-weight: 500;
    line-height: 130%;
    color: #ebebeb;
    float: right;
    width: 296px;
    box-sizing: border-box;
    padding: 48px;
}
.footer .links a {
    color: #ebebeb;
    display: block;
    margin-bottom: 36px;
}
.footer .links .twitter {
    position: relative;
    top: -10px;
    color: #31b44b;
    padding-bottom: 0;
}
.footer .links .twitter::before {
    content: url(/2021/assets/images/twitter.png);
    height: 30px;
    width: 45px;
    position: relative;
    top: 10px;
}

table {
    table-layout: auto;
    width: calc(100% - 72px);
    border-radius: 16px;
    margin: 36px;
}
table, th, td {
    border-collapse: collapse;
    border-width: 3px;
    border-style: solid;
    border-color: #ebebeb;
    background-color: white;
}
th, td {
    padding: 16px;
}

.talk, .event {
    display: flex;
}
.talk .links, .event .links {
    margin-left: auto;
}
.talk .links a, .event .links a {
    display: block;
    margin: 3px;
}

nav {
    color: #ebebeb;
    background-color: #000;
    padding-left: 48px;
    padding-right: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 120px;
}
nav .hamburger {
    min-width: 750px;
    float: right;
    display: flex;
    justify-content: space-between;
    transition: max-height 0.3s ease-out;
}
nav .hamburger-button {
    display: none;
    vertical-align: middle;
    text-align: right;
}

.twitch_embed {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.title {
    /* Auto-tint the background
    background-color: #3bff176b;
    background-blend-mode: multiply; */
    background-size: cover;
    margin-top: 0;
    margin-top: 0;
    padding: 48px;
    height: 280px;
    box-sizing: border-box;
    position: relative;
}

.title.camp {
    height: 430px;
    background-position: center;
}

.title h1 {
    position: absolute;
    bottom: 48px;
}
div.title:before, div.title:after,
div.content:before, div.content:after {
    content: " ";
    height: 100%;
    position: absolute;
    top: 0;
    width: 48px;
}
div.title:before {
    left: -48px;
    background: linear-gradient(to right, #006838, #00341c);
}
div.title:after {
    right: -48px;
    background: linear-gradient(to left, #006838, #00341c);
}
.content {
    position: relative;
    box-sizing: border-box;
    padding: 48px;
    min-height: calc(100vh - 829px);
}
div.content:before {
    left: -48px;
    background: linear-gradient(to right, #d9d9d9, #b2b2b2);
}
div.content:after {
    right: -48px;
    background: linear-gradient(to left, #d9d9d9, #b2b2b2);
}

nav a, nav .hamburger a {
    color: #ebebeb;
    vertical-align: middle;

    font-family: 'Fira Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
}
nav a.navsectionhead, nav .hamburger a.navsectionhead {
    height: 64px;
    line-height: 64px;
    display: inline-block;
    text-decoration: none;
    margin-top: 28px;
    margin-bottom: 28px;
}
nav img {
    max-height: 100%;
}
nav a.logo {
    height: 64px;
    padding: 0;
}


.board_member {
    padding-top: 24px;;
}
.board_member img {
    width: 200px;
    height: 200px;
    float: left;
    padding-right: 36px;
    padding-bottom: 36px;
    object-fit: cover;
}
.board_member:nth-child(even) img {
    float: right;
    padding-right: 0;
    padding-left: 36px;
}
.board_member h3 {
    padding-bottom: 36px;
}
.board_member p {
    padding-top: 36px;
}

.qanda {
    background-color: #fff;
    margin-bottom: 18px;
}
.qanda .question::before, .qanda .answer::before {
    height: 104px;
    width: 104px;
    display: block;
    float: left;
    position: relative;
    right: 36px;
}
.qanda .question::before {
    content: url(/2021/assets/images/q.png);
}
.qanda .answer::before {
    content: url(/2021/assets/images/a.png);
}
.qanda, .qanda .question {
    border-radius: 16px;
}
.qanda .question {
    min-height: 140px;
    padding-left: 36px;
    background-color: #595959;
}
.qanda .question p {
    color: #d9d9d9;
    line-height: 130%;
    font-weight: 500;
    font-family: 'Fira Sans', sans-serif;
}
.qanda p {
    padding: 36px;
    padding-left: 0;
    clear: right;
    overflow: hidden;
}
.qanda .answer {
    padding-left: 36px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

@media only screen and (max-width: 1195px) {
    div.title:before, div.title:after,
    div.content:before, div.content:after {
        content: "";
        width: 0;
    }
}

.navsection {
    position: relative;
    display: inline-block;
}
.navsubsection {
    display: none;
    position: absolute;
    min-width: 160px;
    /* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); */
    z-index: 1;
    left: -48px;
    background-color: #000000;
    padding-bottom: 20px;
}

.navsection:focus-within a, .navsection a:focus ~ .navsubsection, .navsection:hover .navsubsection {
    display: block;
    color: #31b44b !important;
}
.navsection a:focus, .navsection:hover a {
    color: #31b44b !important;
}
.navsubsection a {
    height: 40px;
    line-height: 40px;
    display: block;
    background-color: #000000;
    white-space: nowrap;
    padding-left: 48px;
    padding-right: 48px;
    margin-bottom: 6px;
}
.navsubsection a:hover, .navsubsection a:focus {
    color: #ebebeb !important;
    background-color: #31b44b;
}
.navsubsection a:active {
    color: #c1e8c9 !important;
    background-color: #28a941;
}

.hg_people li {
    list-style: none;
}
.hg_people li strong {
    padding-right: 15px;
}
.hg_people li a {
    padding-left: 15px;
}

@media only screen and (max-device-width: 1079px),
       only screen and (max-width: 1079px) {
    nav {
        min-height: 120px;
    }
    nav .hamburger {
        min-width: 0;
        width: 100%;
        display: block;
        flex-basis: 100%;
        overflow: hidden;
        position: absolute;
        z-index: 10;
        background-color: #000000;
        top: 119px;
        left: 0;
        transform: scale(0);
        padding-bottom: 34px;
    }
    nav .hamburger-button {
        display: block;
    }
    nav .hamburger a {
        width: 100%;
        text-align: center;
    }
    .sidebar {
        flex-basis: 100%;
    }

    nav, .footer .links, .title, .content, .sidebar {
        padding-left: 34px;
    }
    nav, .footer .links, .title, .content, .sidebar {
        padding-right: 34px;
    }
    .board_member img {
        padding-right: 24px;
        padding-bottom: 24px;
    }
    .board_member:nth-child(even) img {
        padding-left: 24px;
    }
    .board_member h3, .footer .links a {
        margin-bottom: 24px;
    }
    .board_member p {
        padding-top: 24px;
    }
    .qanda .question::before, .qanda .answer::before {
        right: 24px;
    }
    .qanda .question {
        padding-left: 24px;
    }
    /* call-to-action buttons in-line with content, 200px wide
    content width min 700px
    1/3 photo fixed width 200px
    2/3 text min 464px, maximize width 100%
    24px between objects in each section, h/v
    48px vertical space between sections */

    .navsection {
        display: block;
        padding-left: 34px;
    }
    nav .hamburger a.navsectionhead {
        margin-top: 0;
        margin-bottom: 0;
        height: 40px;
        line-height: 40px;
        text-align: left;
    }
    .navsubsection {
        position: inherit;
        padding-left: 34px;
    }
    .hamburger .navsubsection a {
        text-align: left;
    }

    h3:last-of-type,
    h4:last-of-type,
    figure:last-of-type,
    p:last-of-type {
        padding-bottom: 24px;
    }
}

@media only screen and (max-device-width: 767px),
       only screen and (max-width: 767px) {
    nav {
        min-height: 72px;
    }
    .qanda, .qanda .question {
        border-radius: 8px;
    }
    nav, .footer .links, .title, .content, .sidebar {
        padding-left: 18px;
        padding-right: 18px;
    }
    
    .footer .links a {
        margin-bottom: 18px;
    }

    nav, .footer .links, .title, .content, .sidebar {
        padding-left: 18px;
    }
    nav, .footer .links, .title, .content, .sidebar {
        padding-right: 18px;
    }
    .board_member img {
        padding-right: 18px;
        padding-bottom: 18px;
    }
    .board_member:nth-child(even) img {
        padding-left: 18px;
    }
    .board_member h3, .footer .links a {
        margin-bottom: 18px;
    }
    .board_member p {
        padding-top: 18px;
    }
    .qanda .question::before, .qanda .answer::before {
        right: 18px;
    }
    .qanda .question {
        padding-left: 18px;
    }

    .navsection {
        padding-left: 18px;
    }
    nav .hamburger {
        padding-bottom: 18px;
        top: 71px;
    }
    nav .hamburger a.navsectionhead, nav .navsubsection a {
        height: 30px;
        line-height: 30px;
    }
    .navsubsection {
        padding-left: 18px;
        padding-bottom: 5px;
    }

    .charity, .sponsor {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    h3:last-of-type,
    h4:last-of-type,
    figure:last-of-type,
    p:last-of-type {
        padding-bottom: 18px;
    }
}

.hg_link img {
    position: relative;
    top: 5px;
    max-height: 30px;
}
