:root {
    /*palette*/
    --black: #102b36;
    --gray-dark: #3e555f;
    --gray: #c3cfe7;
    --gray-light: #e7eaf7;
    --blue-dark: #151660;
    --blue-gray: #355090;
    --blue: #3442b0;
    --blue-light: #588efa;
    --yellow: #ecb922;
    --yellow-light: #f2da78;
    --red-dark: #570102;
    --red: #df4727;
    --red-light: #f0785c;
    --brown: #8e4228;
    --tan: #eba95c;
    --tan-light: #f4f0d7;
    --green-dark: #124a1d; /*#2e9156;*/
    --green-light: #bfde75;
    --green: #6daf4b;
    --teal-light: #8fffff;
    --teal: #4bb0b7;
    --teal-dark: #0b4f47;
    /*fonts*/
    --header-font: "Winky Sans", sans-serif;
    --body-font: "Nunito", sans-serif;
    /*spacing*/
    --gutter-x: 1rem;
    --gutter-y: 1rem;
}

/***GENERAL***/
body {
    color: var(--black);
    font-family: var(--body-font);
    margin: 0;
    background-color: white;
}

main {
    color: var(--gray-dark);
}

footer {
    font-size: 0.9rem;
}
p {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.4rem;
}

li {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.3rem;
}
ul,
ol {
    padding-left: calc(2 * var(--gutter-x));
}
ul.no-bullets-list {
    list-style: none;
    padding-left: 0;
    margin: 0 auto;
    & li {
        margin: 0.5rem auto;

        padding-left: none;
    }
}

/***BUTTONS***/
.btn,
a.btn {
    display: inline-flex;
    flex-flow: row;
    padding: 0.5rem 1rem;
    margin: auto;
    font-weight: bold;
    border-radius: 1.5rem;
    border: 2px solid white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;

    &:hover {
        transform: scale(1.05);
    }

    &:active {
        transform: scale(0.95);
    }

    & .btn-icon {
        display: flex;
        align-self: flex-end;
        height: 22px;
        width: 22px;
        margin: auto;
        margin-right: -0.25rem;
        &.arrow-right {
            opacity: 0.5;
        }
        & img {
            height: auto;
            width: 100%;
        }
    }
}
.btn-primary {
    background: var(--blue);
    color: white;
    & :hover {
    }

    & :active {
    }
}
.btn-secondary {
    & :hover {
    }

    & :active {
    }
}
.btn-module {
    & :hover {
    }

    & :active {
    }
}

.btn-lg {
    font-size: 130%;
    letter-spacing: 0.07rem;
}
.btn-group {
    display: flex;
    margin: auto;
    width: 100%;
    max-width: 500px;
    justify-content: center;
    align-items: center;

    & > * {
        margin: auto;
    }
}

.btn-with-icon,
a.btn-with-icon {
    padding-left: calc(1.8rem + 50px);
    position: relative;
    &:before {
        content: "";
        display: flex;
        height: 60px;
        width: 60px;
        position: absolute;
        left: 0.25rem;
        top: -7px;
    }
}

/***NAVIGATION***/

nav {
    & ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-wrap: nowrap;
        margin: 0;
        & li {
            margin: auto 0.5rem;
        }
        & li a {
            color: inherit;
            text-decoration: none;
            &:hover {
            }
            &:active {
            }

            &.active {
            }
        }
    }
}

.tab-bar {
    /*background: linear-gradient(rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 100%);*/
    background-color: rgba(245, 250, 255, 1);
    justify-content: start !important;
    display: flex;
    flex-flow: column;
    padding: 0.5rem 0;
    border-top: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue-gray);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.tab-container.container {
    /*background-color:rgba(0,0,0)*/
    display: flex;
    flex-grow: 1;
    justify-content: center;
}
.nav-tabs {
    /*
    --nav-tabs-border-radius: 20px;
    --nav-tabs-link-bg: rgba(255, 255, 255, 0.8);
    --nav-tabs-link-active-bg: var(--blue);
    
    --nav-tabs-active-color: white;
    */
    --nav-tabs-border-radius: 20px;
    --nav-tabs-link-bg: transparent;
    --nav-tabs-link-hover-bg: rgba(255, 255, 255, 0.2);
    --nav-tabs-link-active-bg: rgba(255, 255, 255, 0.5);
    --nav-tabs-active-color: var(--blue);
    --nav-tabs-link-hover-border-color: var(--blue);
    --nav-tabs-link-active-border-color: var(--blue);
    --nav-tabs-border-width: 2px;

    border-bottom: var(--nav-tabs-border-width) solid var(--nav-tabs-border-color);
    margin: auto;
    display: flex;
    width: auto;
    row-gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: left;
    align-items: flex-start;

    /*flex-wrap: wrap;*/
    & .nav-item {
        height: 100%;
        justify-content: center;
        align-items: center;
        flex-grow: 0;
        text-align: center;
        border: 0;
    }
    & .nav-link {
        background: var(--nav-tabs-link-bg);
        color: var(--blue-gray);
        font-size: 1.1rem;
        /*font-weight: bold;*/
        display: flex;
        flex-grow: 1;
        flex-basis: 10%;
        justify-content: center;
        align-items: center;
        min-width: max-content;
        max-width: fit-content;
        margin: 0 auto;
        padding: 0.2rem 1rem;
        border: 0;
        border: var(--nav-tabs-border-width) solid transparent;
        border-radius: var(--nav-tabs-border-radius);

        &.active {
            color: var(--nav-tabs-active-color);
            background-color: var(--nav-tabs-link-active-bg) !important;
            border-color: var(--nav-tabs-link-active-border-color);
        }

        &:hover {
            border-color: var(--nav-tabs-link-hover-border-color);

            background-color: var(--nav-tabs-link-hover-bg);
        }
    }
}

.tab-pane {
    display: none;

    &.active {
        display: block;
    }
}

.pagination {
    margin: var(--gutter-y) auto;
    display: flex;

    & .btn-next {
        margin-left: 0;
        /*padding-right: 1rem;*/
        & .arrow-right {
            margin-right: -0.5rem;
            margin-left: 0.5rem;
            margin-top: auto;
            margin-bottom: auto;
            display: flex;
            justify-content: center;
            align-items: center;
            & img {
                height: auto;
                width: 1rem;
            }
        }
    }
}

.btn-eval {
    & .notepad {
        margin-right: 0;
        margin-left: 0.5rem;
        margin-top: auto;
        margin-bottom: auto;
        display: flex;
        justify-content: center;
        align-items: center;

        & img {
            height: auto;
            width: 1rem;
        }
    }
}

/***UTILS***/

.text-hide {
    text-indent: -9999px; /* Shifts the text far off-screen */
    overflow: hidden; /* Ensures no overflow text is visible */
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    display: block; /* Allows setting width and height */
    font-size: 1px;
    height: 0;
    width: 0;
}
/***LAYOUT***/
.container {
    display: flex;
    flex-flow: column;
    padding: 0 var(--gutter-x);
    max-width: 960px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--gutter-y));
    margin-right: calc(-0.5 * var(--gutter-x));
    margin-left: calc(-0.5 * var(--gutter-x));
}
.row > * {
    flex-shrink: 0;
    width: calc(100% - var(--gutter-x));
    max-width: 100%;
    padding-right: calc(var(--gutter-x) * 0.5);
    padding-left: calc(var(--gutter-x) * 0.5);
    margin-top: var(--gutter-y);
}

/***NAVBAR***/
a.navbar-brand {
    color: white;
    text-decoration: none;
    display: flex;
    /*flex-flow:column;*/
    justify-content: center;
    align-items: stretch;
    position: relative;
    flex-wrap: wrap;
    & .app-title {
        display: flex;
        text-transform: uppercase;
        font-size: 1.2rem;
        margin: auto;
        flex-grow: 0;
        margin-right: 10px;
        max-width: fit-content;
        padding-left: 32px;
        display: block;
        line-height: 1;
        font-weight: 600;
        &:before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            background-image: url(../images/adobe-house.svg);
            height: 1.2rem;
            aspect-ratio: 50 / 35;
        }
    }
    & .category-title {
        display: flex;
        margin: auto;
        font-size: 1.2rem;
        font-weight: 200;
    }
}
.navbar {
    display: flex;
    width: 100%;
    height: 44px;
    background: var(--blue);
    color: white;
    flex-flow: row;
    position: relative;

    justify-content: center;
    align-items: center;
}

.btn-navbar {
    width: 44px;
    height: 44px;
    border: 0;
    padding: 0;
    background: transparent;
    justify-content: center;
    align-items: center;
    &#btn-back {
        margin-left: var(--gutter-x);
        height: 100%;
        aspect-ratio: 1 / 1;
        display: flex;
        justify-content: center;
        align-items: center;
        /*background:black;*/
        margin-left: 0.25rem;
    }
    &#btn-toggler {
        transition: transform 0.3s ease-in-out;
        margin-right: 0.25rem;
        &.close {
            transform: rotate(45deg);

            & #hamburger-icon {
                display: none;
            }
            & #close-icon {
                display: block;
            }
        }
    }
    & #arrow-left {
        fill: white;
        height: 50%;
        width: auto;
    }
    & #hamburger-icon,
    & #close-icon {
        stroke: white;
        height: 60%;
        width: auto;
    }
    & #close-icon {
        display: none;
    }
    & path {
        fill: white;
    }
}
.navbar-collapse {
    display: flex;
    position: absolute;
    top: 44px;
    min-height: 0px;
    height: 0px;
    width: 100%;
    transition: all 0.5s ease-in-out;
    background-image: linear-gradient(var(--blue), var(--blue-dark) 90%);
    overflow: hidden;

    z-index: 2;
}
.navbar-collapse {
    top: 0px;
    position: relative;
}

.navbar-collapse.active {
    min-height: 600px;
    height: calc(100vh - 47px);
}

.navbar-backdrop {
    height: calc(100vh - 47px);
    top: 44px;
    position: fixed;
    width: 100vw;
    background: var(--black);
    z-index: 1;
}

.navbar-nav {
    display: flex;
    flex-flow: column;
    margin: var(--gutter-y) auto;
    justify-content: stretch;
    align-items: center;
    width: 90%;
    padding: var(--gutter-x);

    & .menu-title {
        color: white;
        font-size: 1.2rem;
        margin-bottom: 1rem;
        margin-top: auto;
        font-weight: bold;
    }

    & .btn.nav-link {
        display: flex;
        justify-content: center;
        width: inherit;
        text-decoration: none;
        color: var(--blue);
        font-size: 1.2rem;
        background: var(--gray-light);
        margin: auto;
    }

    & .nav-link-group {
        display: flex;
        flex-flow: column;
        margin: auto;
        padding: var(--gutter-x);
        width: 80%;
        justify-content: center;
        align-items: center;

        &#physical-activity-link-group,
        &.outlined-link-group {
            border: 1px solid white;
            width: calc(80% - 2px);
            border-radius: 10px;
        }

        & .link-group-label {
            text-transform: uppercase;
            color: white;
            font-size: 0.9rem;
        }

        & .btn {
            margin: 0.5rem auto;
        }

        & .btn-text {
            background: rgba(255, 255, 255, 0);
            color: white;
        }
    }
}

/***LIST GROUPS***/
.list-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.5);
    &:first-child {
        border-radius: 10px 10px 0 0;
    }
    &:last-child {
        border-radius: 0 0 10px 10px;
    }
}
/***MENU PAGES***/
.menu-page {
    background-color: var(--gray-light);
}
.module-header {
    padding: var(--gutter-x);
    & .module-title-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin: auto;
        font-family: var(--header-font);
    }

    & img {
        height: auto;
        width: 100px;
        margin-bottom: -18px;
        z-index: 1;

        filter: drop-shadow(-3px 3px 5px rgba(10, 10, 30, 0.5));
    }
    & .module-title {
        margin: auto;
        padding: 0.05rem 1rem;
        border-radius: 10px;
        background-color: white;
        box-shadow: 0 0 10px rgba(10, 10, 30, 0.5);
        font-size: 1.6rem;
        color: var(--black);

        &.text-hide {
            background-color: transparent;
            box-shadow: none;
            margin: 0;
            padding: 0;
        }
    }

    & .module-nav-heading {
        color: var(--blue-dark);
        font-size: 1.4rem;
        margin: 1.5rem auto 0rem;
    }
}

/***HEADERS***/

header.content-header > div {
    display: flex;
    flex-flow: row;
    align-items: center;
}
.module-banner-group {
    height: 90px;
    max-height: 100px;
    margin: 0.5rem 1.25rem 0.5rem 2%;
    flex-grow: 0;
    flex-shrink: 1;
    aspect-ratio: 1 / 1;
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    /*box-shadow: 0 0 5px var(--blue-dark);*/

    & .activity-icon {
        position: absolute;
        height: 110%;
        aspect-ratio: 1 / 1;
        left: -25px;
        top: -5px;
        z-index: 1;
    }
    & .module-icon {
        position: absolute;
        height: 95%;
        aspect-ratio: 1 / 1;
        right: -20px;
        top: -10px;
    }
}

.content-titles {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    flex-grow: 1;
    margin: 0.75rem 0.25rem 0.75rem 0.5rem;
    font-family: var(--header-font);
    & .module-title {
        margin: auto auto 0 0;
        font-size: 1.2rem;
        font-weight: 700;
        letter-spacing: 0.05rem;
    }
    & .activity-title {
        margin: 0 auto auto 0;
        font-size: 1.8rem;
        font-weight: 700;
        color: white;
        line-height: 1;
    }
}

/***BODY STYLES***/

.illustration-container {
    & img {
        width: 100%;
        height: auto;
    }
}
ul.checklist {
    list-style: none;
    padding-left: 1rem;
}
h2.article-title {
    margin-top: 0;
    color: var(--blue-gray);
    & .game-time-title {
        font-size: 1rem;
        line-height: 1;
        margin-bottom: 0;
        text-transform: uppercase;
    }
    & .game-time-sub-title {
        color: var(--theme-bg-dark);
        font-size: 2rem;
        line-height: 1.2;
        margin-top: 0;
        &:before {
            content: "\A";
            white-space: pre;
        }
    }
}

article.tab-pane {
    margin-top: 1rem;
    padding-bottom: 2rem;
    & h3 {
        color: var(--blue-gray);
        font-size: 1.3rem;
        margin-top: 2rem;
        margin-bottom: 0.375rem;
        letter-spacing: 0.03rem;
    }
    & .illustration-container {
        width: 100%;
        max-width: 160px;
        margin-top: 2rem;
        margin-bottom: -1.5rem;
    }
    & ul,
    & p,
    & ol {
        font-size: 1.1rem;
    }
    & ol,
    & ul {
        margin: 0.5rem auto;
    }
    & p,
    & li {
        line-height: 1.5;
        margin-top: 0.25rem;
        margin-bottom: 1.25rem;
    }
    & .row h3:nth-child(1),
    & .row .illustration-container:nth-child(1) {
        margin-top: 1rem;
    }
}
.additional-information-container {
    position: absolute;
    right: calc(-0.5 * var(--gutter-x));
    top: var(--gutter-y);
    max-width: 33%;
}
aside.time-information,
aside.location-information {
    position: relative;
    padding: 1rem 2rem 1rem 1rem;
    background: var(--gray-light);
    color: var(--blue);
    display: flex;
    flex-flow: column;
    justify-content: center;
    border-radius: 10px 10px 10px 10px;
    border: 2px solid rgba(45, 50, 55, 0.2);

    & .time-container,
    & .location-container {
        border-bottom: dotted 1px rgba(45, 50, 55, 0.8);
        padding: 0.25rem 0;

        &:last-child {
            border: none;
        }
    }
    & h4 {
        font-family: var(--body-font);
        color: var(--blue-dark);
        font-weight: 400;
        font-size: 0.9rem;
        margin-top: 0.1rem;
        margin-bottom: 0.1rem;
    }

    & .time-number {
        font-size: 1.5rem;
        font-weight: 900;
        margin-right: 0.25rem;
    }

    & .location {
        font-size: 1.3rem;
        font-weight: bold;
        margin-right: 0.25rem;
    }
}

aside.time-information:before {
    display: block;
    position: absolute;
    width: 24%;
    aspect-ratio: 1 / 1;
    background-image: url("../images/clock-icon.png");
    background-size: 100%;
    content: "";
    top: -1.4rem;
    margin: auto;
    left: calc(50% - 12%);
}
aside.location-information {
    background: var(--gray);
    margin-top: var(--gutter-y);
}
aside.pull-quote,
.activity-table {
    padding: var(--gutter-x);
    background: var(--theme-bg-light);
    position: relative;
    border-radius: 4px;
    margin-bottom: var(--gutter-y);
    & p {
        margin: 1rem 0;

        font-style: italic;
        font-size: 110%;
    }
    & .quotation-mark,
    & .music-symbol {
        font-size: 4rem;
        opacity: 0.45;
        position: absolute;
        margin: 0;
        height: 22px;
        line-height: 1;
    }
    & .music-symbol {
        font-size: 3rem;
    }
    & .start-quotation-mark {
        top: 0.1rem;
        left: 0.1rem;
    }
    & .start-music-symbol {
        top: -0.1rem;
        left: 0.2rem;
    }
    & .end-quotation-mark {
        top: auto;
        left: auto;
        bottom: 0.4rem;
        right: 0.1rem;
    }
    & .end-music-symbol {
        top: auto;
        left: auto;
        bottom: 1.5rem;
        right: 0.33rem;
    }

    &.summary-pull-quote {
        background: var(--theme-bg-light);
    }
}
.activity-table {
    padding: 0;
    background: var(--theme-bg-light);
    & table p {
        font-size: 100%;
        margin: 0.25rem auto;
    }
    & thead {
    }
    & tr {
        /*border: 1px solid white;*/
    }
    & th,
    & td {
        width: 50%;
        padding: 0.75rem;
        border: none;
    }
    & td {
        /*border-top: 1px solid white;*/

        background: rgba(255, 255, 255, 0.6);
        &:first-child {
            /*border-right: 1px solid white;*/
        }
    }

    & table h4 {
        margin: 0.5rem auto;
    }
}

aside.arrow-post-it {
    --shadow-color: rgb(150, 170, 200);
    padding: var(--gutter-x);
    background: var(--gray-light);
    margin-bottom: 20px;
    -moz-border-radius: 4px 0 4px 4px;
    border-radius: 4px 0 4px 4px;
    box-shadow: 4px 7px 1px 0px var(--shadow-color);
    position: relative;
    font-size: 1.1rem;
    color: var(--black);
    overflow: hidden;

    &:before {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        border-style: solid;
        background: white;
        -webkit-box-shadow:
            0 -1px 1px rgba(0, 0, 0, 0.3),
            1px -1px 1px rgba(0, 0, 0, 0.2);
        -moz-box-shadow:
            0 -1px 1px rgba(0, 0, 0, 0.3),
            1px -1px 5px rgba(0, 0, 0, 0.2);
        box-shadow:
            -1px 1px 1px rgba(0, 0, 0, 0.3),
            -1px -1px 5px rgba(0, 0, 0, 0.2);
        /* Firefox 3.0 damage limitation */
        display: block;
        width: 0;
        border-width: 8px;
        border-color: transparent var(--shadow-color) var(--shadow-color) transparent;
        -moz-border-radius: 4px 0 0 0;
        border-radius: 4px 0 0 0;
    }

    /*
    & .arrow {
        content: "";
        display: block;
        position: absolute;
        width: 10%;
        aspect-ratio: 5 / 4;
        background-image: url(../images/arrow.png);
        background-size: 100%;
        background-repeat: no-repeat;
        background-image: url(../images/arrow.svg);
        right: calc(-0.5 * var(--gutter-x));
        top: -1rem;
    }
    */
}

aside.tips-for-the-cook {
    padding: var(--gutter-x);
    background: var(--gray);
    position: relative;
    border-radius: 4px;
    margin-bottom: var(--gutter-y);
}
.optional-legend {
    margin-top: 0;
}

.asterisk {
    color: var(--red);
}

/***FOOTER***/
footer {
    & .funding-statement {
        background: var(--gray);
        padding: var(--gutter-y) 0;
        margin-bottom: var(--gutter-y);
    }
    & .logos {
        padding: var(--gutter-y) 0;
        margin-bottom: var(--gutter-y);
        & .container {
            display: flex;
            flex-flow: row;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }
        & img {
            max-width: 70%;
            max-height: 90px;
            margin: 1rem auto;
            &.wide {
                max-width: 90%;
                max-height: none;
            }
        }
        & a {
            color: var(--blue-dark);
        }
    }
}
.row {
    flex-wrap: nowrap;
}
.col-sm-10 {
    max-width: calc(80% - var(--gutter-x) * 2);
    flex: 0 0 auto;
}
.col-sm-8 {
    max-width: calc(66.6% - var(--gutter-x) * 2);
    flex: 0 0 auto;
}

.col-4, .col-6 {
   max-width: calc(100% - var(--gutter-x) * 2);
}
.row {flex-wrap: wrap;}
@media (min-width: 768px) {
    .row {
        flex-wrap: nowrap;
    }
    .col-6 {
        max-width: calc(50% - var(--gutter-x) * 2);
        flex: 0 0 auto;
    }
    .col-4 {
        max-width: calc(33.3% - var(--gutter-x) * 2);
        flex: 0 0 auto;
    }
    .col-lg-8 {
        max-width: calc(66.6% - var(--gutter-x) * 2);
        flex: 0 0 auto;
    }
    footer .logos img.wide {
        max-width: 60%;
    }
}

.notice,
.warning,
.error {
    margin: 0px;
    padding: 1em;
    background-color: black;
    color: white;

    &.notice {
        border: 2px solid #69c;
        background-color: #def;
        color: #369;
    }
    &.red {
        border: 2px solid #900;
        background-color: #fcc;
        color: #700;
    }
    &.yellow {
        border: 2px solid #990;
        background-color: #ff9;
        color: black;
    }
    &.warning {
        border: 2px solid #990;
        background-color: #ff9;
        color: #550;
    }
}
ul.checklist {
    margin-top: 1rem !important;
}
ul.checklist li {
    display: grid;
    grid-template-columns: 20px auto;
    column-gap: 5px;
    align-items: start;
    margin-bottom: 0.75rem;
}

input[type="checkbox"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    /* Remove most all native input styles */
    appearance: none;
    margin: 0;
    width: 1.15rem;
    height: 1.15rem;
    border: 0.15rem solid var(--gray-dark);
    border-radius: 0.15rem;
    transform: translateY(0.075rem);
    display: grid;
    place-content: center;
}

input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    transform-origin: bottom left;
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--gray-dark);
    /* Windows High Contrast Mode */
    background-color: white;
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]:focus {
    outline: max(2px, 0.15em) solid var(--gray-dark);
    outline-offset: max(2px, 0.15em);
}

input[type="checkbox"]:disabled {
    --form-control-color: var(--gray-light);

    color: var(--gray-light);
    cursor: not-allowed;
}

.breadcrumbs {
    zbackground-color: var(--blue-light);
    zcolor: white;
    display: flex;
    padding: 1em;
    justify-content: right;
    & ul {
        padding: 0px;
    }
    & li {
        display: inline;
    }
}

header.header-banner {
    background-color: var(--blue);
    padding-top: 2rem;
    padding-bottom: 1rem;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    color: white;
    & .illustration-container {
        max-width: 400px;
        margin: auto;

        & img {
            filter: drop-shadow(-3px 3px 20px rgba(40, 40, 45, 0.5)), drop-shadow(-3px 3px 100px rgba(40, 40, 45, 1));
        }
    }

    & h1 {
        font-size: 4.5rem;
        margin: 0 auto;
        text-shadow: 1px 1px 1px var(--blue-dark);
        font-weight: 900;
    }

    & h2 {
        margin: 0 auto;
        font-size: 2.2rem;
        font-weight: 300;
    }

    & p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

.home-page-menu {
    background-color: var(--gray);
    & .navbar-nav {
        & .link-group-label {
            font-size: 1.3rem;
            color: var(--blue-dark);
            text-transform: uppercase;
            margin: 0.5rem auto 0.25rem;
        }
        & .nav-link-group {
            flex-flow: row nowrap;
            margin: 1rem auto 2rem;
            gap: 1rem;
            border: 0;
            padding: 0;
            width: 90%;
            max-width: 800px;
            align-items: stretch;
            /*flex:1 1 auto;*/
        }
        & .nav-link {
            background: white;
            box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);

            &.btn-text {
                background: transparent;
                color: var(--blue-dark);
                border-color: var(--blue-dark);
            }

            &.btn-with-icon {
                padding-left: 1rem;
                justify-content: center;
                align-items: center;

                & .button-label {
                    text-align: center;
                    line-height: 1;
                }
            }
        }

        & #curriculum-nav-group {
            & .btn-with-icon {
                flex-flow: column;
                font-size: 2rem;
                justify-content: center;
                align-items: center;
                position: relative;
                & .icon-container {
                    position: relative;
                    left: 0px;
                    height: 100px;
                    width: 100px;
                    aspect-ratio: 1 / 1;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    overflow: hidden;
                    margin: auto;
                    clip-path: circle(50%);

                    & img {
                        width: 96px;
                        height: auto;
                        margin-top: -10px;
                        margin-left: -5px;
                    }
                }

                & .btn-icon {
                    position: absolute;
                    align-self: center;
                    margin-right: 0;
                    right: 0;
                }

                &#nutrition-curriculum-btn {
                    & .icon-container {
                        background-color: var(--red);
                    }
                }
                &#physical-activity-curriculum-btn {
                    & .icon-container {
                        background-color: var(--yellow);
                    }
                }
            }
        }
        & #resources-nav-group {
            & .btn {
                align-items: center;
                line-height: 1;
            }
        }
    }
}
section#about {
    padding: 1rem 0;

    & h2 {
        color: var(--blue-gray);
        margin-bottom: 0.5rem;
    }
    & h3 {
        margin-bottom: 0rem;
    }

    & p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

section.pre-footer {
    padding: 1rem 0;
    background: var(--blue);
    color: white;

    & .footer-nav {
        display: flex;
        flex-flow: row;
        justify-content: flex-start;
        gap: 1rem;
        & a {
            color: white;
            padding: 0.5rem 1rem;
        }
    }
}

@media only screen and (max-width: 600px) {
    header.header-banner {
        & .illustration-container {
            max-width: 320px;
        }

        & h1 {
            font-size: 3.5rem;
            margin: 0 auto;
            text-shadow: 1px 1px 1px white;
            font-weight: 900;
        }

        & h2 {
            margin: 0 auto;
            font-size: 1.7rem;
            font-weight: 300;
        }
    }

    .home-page-menu .navbar-nav .nav-link-group {
        flex-flow: column wrap;
    }
}

#about {
    & .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    & h3 {
        font-size: 1.1rem;
        line-height: 1.2;
        margin-bottom: 0.25rem;
    }
    & ul,
    & ol {
        margin-top: 0.5rem;
    }
    & li {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-top: 0.25rem;
        margin-bottom: 1rem;
    }
}

#accessibility-features {
    padding-bottom: 2rem;
}
#credits {
    padding-bottom: 2rem;
}
dl {
    margin-block-start:0;
    margin-block-end:0;
    & dt {
        font-weight: bold;
        margin-top: 0.75rem;
        font-size: 1rem;
        
        &:first-child {
            margin:0;
        }
    }
    & dd {
        line-height: 1.3;
        margin-inline-start: 0px;
    }
}
