html, body {
  margin: 0;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: border-box;
}


a {
    -webkit-tap-highlight-color: transparent;
}


html {
  font-family: 'Poppins';
  font-size: 16px;
  color: #000;
}


:root {
    --max-content-width: 1024px;
    --gutter: 20px;
    --radius-large: 24px;
    --blue: #005793;
    --gold: #f2b711; /* #e1aa11*/
    --blue-90: color-mix(in srgb, var(--blue), white 90%); /* #e1f3ff; */
    --blue-80: color-mix(in srgb, var(--blue), white 80%);
    --blue-75: color-mix(in srgb, var(--blue), white 75%);
    --blue-70: color-mix(in srgb, var(--blue), white 70%);
    --blue-60: color-mix(in srgb, var(--blue), white 60%);
    --blue-50: color-mix(in srgb, var(--blue), white 50%);
    --gold-90: color-mix(in srgb, var(--gold), white 90%); /*#fefbf3;*/
}

h1,h2,h3,h4,h5,h6 {
    margin: 0;
    font-family: 'Anton';
    letter-spacing: 1px;
    color: var(--gold);
    text-shadow: 2px 2px var(--blue);
}

h3 {
    text-shadow: none;
    color: var(--blue);
    font-size: 1.4rem;
}



nav {
    width: 100%;
    min-height: 50px;
    display: flex;
    box-shadow: 0 3px 3px #0000001f;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 10;
    top: 0;
    background-color: #f2b71121; /* rgba(255, 255, 255, .5);*/
    backdrop-filter: blur(5px);
    padding-inline: calc(var(--gutter) / 2);
    padding-block: 12px;

    .nav-responsive-btn {
            display: none;
        }

    .nav-responsive-items {
            display: flex;
            gap: 8px;
        }


    @media (max-width: 700px) {


        .nav-spacer {
            display: none;
        }

        .nav-items {
            flex-direction: column;
            justify-content: start;
            align-items: start !important;

            &.show {
                .nav-responsive-items {
                    display: flex;
                }

                .nav-responsive-btn {
                    .opened {display: inline-block;}

                    .closed {display: none;}
                }
            }
        }

        .nav-responsive-btn {
            margin-inline-start: auto;
            display: block;
            line-height: 0;
            border: none;
            height: 32px;
            width: 32px;
            text-align: center;
            padding: 0;
            background: transparent;
            cursor: pointer;


            svg {
                color: black;
                height: 32px;
                width: 32px;
            }

            .opened {
                display: none;
            }
        }

        .nav-responsive-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .nav-responsive-items {
            display: none;
            /* display: flex; */
            flex-direction: column;

            &.show {
                display: flex;
            }

        }
    }



    .nav-items {
        position: relative;

        display: flex;
        align-items: center;
        max-width: var(--max-content-width);
        width: 100%;
        /* border: 1px solid black; */
        font-size: 1.1rem;
        gap: 12px;
        padding-inline: var(--gutter);

        a {
            text-decoration: unset;
            color: unset;


            &:hover {
                text-decoration: underline;
                text-underline-offset: 3px;
            }
        }

        @media (max-width: 600px) {
            flex-wrap: wrap;
        }
    }

    .nav-hide-small {
        /* @media (max-width: 500px) {
            display: none;
        } */
    }

    .checkout {
        /* position: absolute;
        right: 0;
        bottom: -52px;
        padding: 3px 10px;
        border-end-end-radius: 5px;
        border-end-start-radius: 5px; */
        flex: 1;
        display: flex;
        justify-content: end;


        button.hide {
            display: none;
        }
    }
}

main {
    display: flex;
    flex-direction: column;
    gap: calc(var(--gutter) * 2);
    margin-block: 100px;
    margin-block-end: 30px;
    align-items: center;
    padding-inline: calc(var(--gutter) / 2);
}

.hero {
    /* border: 1px solid gray; */
    border-radius: var(--radius-large);
    min-height: 10px;
    max-width: var(--max-content-width);
    width: 100%;
    padding: var(--gutter);
    display: grid;
    column-gap: var(--gutter);
    background-color: var(--blue-90);

    grid-template-columns: 40% 1fr;

    @media (max-width: 767px) {
        grid-template-columns: none;
        row-gap: var(--gutter);
    }

    .hero__info {
        align-self: center;
        display: flex;
        flex-direction: column;
        gap: 8px;

        h1 {
            font-size: 3rem;
            text-align: center;

            span {
                display: block;
            }
        }

        .sub {
            font-size: 2.1rem;
            color: var(--blue);
            font-weight: 600;
            align-self: center;
            text-align: center;
        }

        .info {
            color: gray;
            font-size: 1.3rem;
            font-weight: 500;
            align-self: center;
        }


    }

    .hero__slideshow{
        aspect-ratio: 1124/751;
                overflow: hidden;

        iframe {
            width: 100%;
            height: 100%;
            border-radius: var(--radius-large);
        }
    }
}

.section {
    /* border: 1px solid gray; */
    border-radius: var(--radius-large);
    min-height: 10px;
    max-width: var(--max-content-width);
    width: 100%;
    padding: var(--gutter);
    display: flex;
    flex-direction: column;
    gap: var(--gutter);
    background-color: var(--gold-90);



    &:nth-child(odd) {
        background-color: var(--blue-90);
    }

    .section__logo {
        overflow: hidden;
        display: flex;
        align-items: start;
        justify-content: center;
        img {
        border-radius: var(--radius-large);
            max-width: 100%;
            max-height: 550px;

        }

        &.dinner,
        &.parade {
            gap: var(--gutter);
            flex-direction: column;
            align-items: center;
            justify-content: start;
        }
    }

    .section__title {
        font-size: 2.3rem;
        scroll-margin-top: 90px;
    }

    .section__sub {
        font-size: 1.7rem;
        color: var(--blue);
        text-shadow: none;
        font-weight: 600;
    }

    .section__content {
        display: grid;
        column-gap: var(--gutter);

        &.welcome,
        &.reserve {
            grid-template-columns: 40% 1fr;

            @media (max-width: 700px) {
                grid-template-columns: none;
                row-gap: var(--gutter);
            }
        }

        &.farewell{
            grid-template-columns: 50% 1fr;

            @media (max-width: 700px) {
                grid-template-columns: none;
                row-gap: var(--gutter);
            }
        }

        &.donate{
            grid-template-columns: 35% 1fr;

            @media (max-width: 700px) {
                grid-template-columns: none;
                row-gap: var(--gutter);
            }
        }

        &.menu {
            grid-template-columns: 50% 1fr;

            @media (max-width: 700px) {
                grid-template-columns: none;
                row-gap: var(--gutter);
            }
        }

        &.events {
            grid-template-columns: 1fr calc(60% - var(--gutter));

            @media (max-width: 650px) {
                grid-template-columns: none;
                row-gap: var(--gutter);
            }
        }

        img {
            max-width: 100%;
            border-radius: var(--radius-large);
        }

        > div {
        > p:first-child {
            margin-top: 0;
        }
    }
    }

    .section__footer {
        align-self: center;
        justify-self: center;
    }

}

.events {
    display: flex;
    flex-direction: column;
    gap: var(--gutter);
}

.event-card {
    display: flex;
    gap: calc(var(--gutter) / 2);
    flex-direction: column;
    /* border: 1px solid black; */
    border-radius: var(--radius-large);
    padding: var(--gutter);
    color: unset;
    text-decoration: unset;
    background-color: var(--blue-80);
    box-shadow: 0 0 3px 0 #00000008;
    transition: box-shadow 200ms linear;

    p {
        margin-block: 0;
    }

    &:not(.inert) {


        &:hover {
            box-shadow: 0 0 5px 0 #00000078;
        }

        &:active {
            background-color: var(--blue-75);
        }

    }
    &.slim {
        padding: calc(var(--gutter) / 2);
    }

    h3{
        font-size: 2rem;
    }

    .event-card__info{
        margin-block: calc(var(--gutter) / 2);
        display: flex;
        gap: 12px;
        justify-content: space-around;
        flex-wrap: wrap;

            span {
                display: flex;
                gap: 4px;
                align-items: center;
            }

        svg {
            color: var(--blue);
        }
    }

    .more-info {
        align-self: center;
    }

    hr {
            width: 70%;
    border: none;
    height: 1px;
    background: var(--blue-50);
    }

    .info-alert {
        align-self: center;
        background: var(--blue-70);
        border-radius: 800px;
        padding: 4px 12px;
        font-size: .8rem;
        font-weight: 500;
    }
}

.icon {
    display: inline-block;
    line-height: 0;
    height: 22px;
    width: 22px;
    color: gray;
}

footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-block: 8px;
    font-size: 12px;

    .shh {
        font-size: 8px;
        color: white;
    }
}

.box,
.blank {
    border-radius: var(--radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
}

.box {
    border: 1px solid black;
    background: lightgray;
}

.button {
    text-decoration: none;
    color: unset;
    background: var(--gold);
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;

    &:disabled {
        opacity: .5;
    }

    &:hover {
        background-color: color-mix(in srgb, var(--gold), black 10%);
    }

    &:active {
        background-color: color-mix(in srgb, var(--gold), black 20%);
    }
}

.order-items {

}

.order-item {
        display: grid;
        gap: 8px;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        align-items: center;

        .item {
            font-size: 1.3rem;
        }

        .cost {
            justify-self: end;
        }

        .quantity {
            grid-column: 1 / -1;
        }

        .subtotal {
            justify-self: end;
            grid-column: 2 / -1;
        }



        .total {
            font-size: 1.2rem;
        }
}

.order-success {
    display: grid;
    flex-direction: column;
    gap: 24px;
    grid-template-columns: 1fr auto 100px;
}

.order-success-item {
            display: grid;
        gap: 4px;
        grid-template-columns: subgrid;
        align-items: center;
        column-gap: 24px;
        justify-items: end;
        grid-column: 1 / -1;
}

.merch{
    display: flex;
    flex-direction: column;
    gap: var(--gutter);

    &.hide,
    &.hide + hr {
        display: none;
    }

    .merch__section {
        display: grid;
        gap: var(--gutter);
        grid-template-columns: 40% 1fr;

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

        @media (max-width: 700px) {
                grid-template-columns: none;
                row-gap: var(--gutter);
            }
    }

    .merch__preview {
        border-radius: var(--radius-large);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--gutter);
        flex-direction: column;
    }

    .merch__controls {
        display: flex;
        flex-direction: column;
        gap: var(--gutter) ;

        .merch__control-row {
            display: flex;
            flex-direction: column;
            gap: calc(var(--gutter) / 2);

            label {
                span {
                    display: block;
                }
            }

            select {
                min-width: 200px;
            }

        }
            .hide {
                display: none;
            }

            .merch__cta {
                margin-block-start: var(--gutter);
            }

    }


}
                hr {
            width: 70%;
    border: none;
    height: 1px;
    background: var(--blue-50);
    }

        input, select {
            padding: 8px;
            border-radius: 8px;
            border: none;
            font-size: 1rem;
            max-width: 150px;
            border: 1px solid rgb(92, 92, 92);
        }


details {
    cursor: pointer;
}