:root {
    --color-brown: rgb(163, 93, 23);
    --color-red: rgb(212, 52, 52);
    --color-pink: #ec647b;
    --color-cream: rgb(241, 233, 194);

    --color-lemon: #d48b36;
}
html, body {
    position: relative;
}

body {
    position: relative;
    min-height: 100dvh;
    margin: 0;
    font-family: "Avenir Next", sans-serif;
    font-weight: 400;
    letter-spacing: 1.25px;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.design-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 800vh;
    background: url('images/source/design-overlay.jpg') no-repeat;
    background-size: 1400px;
    background-position: top center;
    z-index: 100;
    opacity: 0.2;
}

.design-overlay:hover {
    opacity: 0.8;
}

h1, h2, h3 {
    font-family: 'CreamBlack', serif;
    font-weight: 900;
    color: var(--color-brown);
    line-height: 1;
    margin: 0;
}

h1, h2 {
    font-size: 2.5rem;
    letter-spacing: -0.025rem;
}

h3 {
    font-size: 1.75rem;
    letter-spacing: -0.075rem;
}

a {
    color: currentColor;
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover:not(.no-opacity),
a:focus:not(.no-opacity) {
    opacity: 0.5;
}

.btn,
.btn-med,
.btn-lrg {
    display: inline-block;
    color: var(--color-cream);
    background: var(--color-red);
    font-weight: 400;
    border-radius: 8px;
}

.btn {
    font-size: 1.2rem;
    padding: 0.6rem 1.5rem;
}

.btn-med {
    font-size: 1.35rem;
    padding: 0.8rem 1.8rem;
}

.btn-lrg {
    font-size: 1.25rem;
    letter-spacing: 0.1rem;
    padding: 0.8rem 1.6rem;
}

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

.site-main {
    background: white;
    position: relative;
    z-index: 1;
}

.site-header {
    position: relative;
    boder: 1px solid red;
    margin: 1.25rem 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.site-logo {
    width: 220px;
    height: auto;
}

.site-hero {
    position: relative;
    margin: 0 auto 5rem;
}

.site-hero-image-wrapper {
    background: #e6a53c;
}

.site-hero .packaging-image {
    display: none;
}

.site-hero .packaging-image-tall {
    display: block;
}

.site-hero_message {
    position: absolute;
    top: 1rem;
    left: 0rem;
    max-width: 30rem;
    margin: 2rem 2rem 1rem;
}

.site-hero_message h1 {
    margin-bottom: 0.75rem
}

.site-hero .site-hero-cta {
    display: flex;
    gap: 1rem;
    align-items: baseline;
}

.site-hero .site-hero-cta p {
    margin: 0
}

.flavors {
    margin-bottom: 9.5rem;
}

.flavors h2 {
    color: var(--color-pink);
    text-align: center;
    margin-bottom: 2.75rem;
}

.flavors_list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    /* max-width: 1250px; /* x3 grid */
    max-width: 960px; /* x2 grid */
    padding: 0 2rem;
    margin: 0 auto;
}

.flavors_item {
    width: 100%;
    margin-bottom: 2.25rem;
}

.flavors_item .image-contain {
    display: block;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.flavors_item .image-contain img {
    display: block;
    transition: transform 0.3s ease-in-out;
}

.flavors_item .image-contain:hover img {
    transform: scale(1.1);
}


.flavors_item h3 {
    margin-bottom: 0.3rem;
}

.flavors_item p {
    font-size: 0.75rem;
    letter-spacing: 0.025rem;
    line-height: 1.5;
    margin: 0 0.25rem 1.05rem;
}

.about {
    text-align: center;
    padding: 0 1rem;
    padding-bottom: 10rem;
}

.about h2 {
    color: var(--color-pink);
    margin-bottom: 1rem
}

.about p {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.05rem;
    max-width: 60rem;
    margin: 0 auto 1.5rem;
}

.kicker {
    height: 100vw;
    max-height: 61rem;
}

.kicker-image-parallax {
    margin-top: -90vh;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: url('images/PUFFS_emily.jpg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: top center;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: -1;
}

footer {
    position: relative;
    z-index: 10;
    text-align: center;
    font-size: 2rem;
    padding-top: 4rem;
    margin-bottom: 6rem;
    background: white;
}

.footer-button {
    margin-top: 3rem
}

.footer-logo {
    margin-bottom: 1rem;
    width: 20rem;
}

footer p {
    margin: 0;
}

/****
    * Media Queries
    */

@media (max-width: 1019px) {
    .site-header_ship,
    .site-header_shop {
        margin: 0;
        position: absolute;
        top: 0;
        font-size: 1.5rem;
    }

    .site-header_ship {left: 0}
    .site-header_shop {right: 0}
    .site-logo {
        margin-top: 3rem;
    }

    .about br {
        display: none;
    }
}

@media (max-width: 669px) {
    .site-header_ship,
    .site-header_shop {
        font-size: 1.125rem;
    }
}

@media (min-width: 550px) {
    .flavors_item {
        width: 49%;
    }
}


@media (min-width: 870px) {

    h1, h2 {
        font-size: 3.25rem;
    }

    h3 {
        font-size: 2rem;
    }

    .btn {
        font-size: 1.2rem;
        padding: 0.6rem 1.5rem;
    }

    .btn-med {
        font-size: 1.35rem;
        padding: 0.8rem 1.8rem;
    }

    .btn-lrg {
        font-size: 1.5rem;
        letter-spacing: 0.1rem;
        padding: 0.8rem 2rem;
    }

    .site-hero {
        margin: 0 auto 11rem;
    }

    .site-hero .packaging-image {
        display: block;
    }

    .site-hero .packaging-image-square {
        display: none;
    }

    .site-hero .packaging-image-tall {
        display: none;
    }

    .site-hero_message {
        top: 6rem;
        left: 2.5rem;
    }

    .site-hero .site-hero-cta p {
        display: none;
    }

    .flavors_list {
        padding: 0 3rem;
    }

    /* x3 grid */
    /*
    .flavors_item {
        width: 32.5%;
    }
    */

    .about p {
        font-size: 2rem;
    }
}

@media (min-width: 1020px) {
    h1, h2 {
        font-size: 4.5rem;
    }

    h3 {
        font-size: 2.5rem;
    }

    .site-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 30px 0;
        margin: 2.25rem 5rem;
        font-size: 2rem;
    }

    .site-hero_message {
        max-width: 42rem;
    }

    .flavors_list {
        padding: 0 4rem;
    }
}

@media (min-width: 1120px) {
    .site-logo {
        width: 320px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}
