@import url(fonts.css);

:root {
    --white: #eee1cf;
    --background: #f7f1ec;
    --parchment: #f6ede2;
    --copper: #913a05;
    --teal: #154849;

    --font-headers: "Kirkwood";
    --font-body: "Josefin Sans"
}

/* ----- Reset ------------------ */

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

html {
    padding: 0;
    margin: 0;

    scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;

    font-family: var(--font-body);
    background: var(--background);
    color: var(--brown);
}

a {
    text-decoration: none;
    color: inherit;
}
a::before {
    content: "↳";
}
a:hover, a:active {
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

#navbar {
    display: grid;
    grid-template-columns: 50% 50%;;
    padding: 0 10%;
    background-color: var(--parchment);
}

#logo {
    font-size: 3rem;
    font-family: var(--font-headers);
    color: var(--copper);
}
#logo span {
    color: var(--teal);
}
#locations {
    margin: auto;

    font-family: var(--font-headers);
    font-size: 1.5vw;
    color: var(--teal);
}
#locations span {
    color: var(--copper);
} 

#hero {
    display: grid;
    grid-template-columns: 30% 70%;
}

#tagline {
    padding: 4.6vw 0;
    font-family: var(--font-headers);
    text-transform: capitalize;
    text-align: center;
}
#tagline-top {
    font-size: 3vw;
    line-height: 100%;
    color: var(--teal);
}
#tagline-naturally {
    font-size: 5vw;
    line-height: 100%;
    color: var(--copper);
}
#tagline-refreshing {
    font-size: 4.7vw;
    line-height: 100%;
    color: var(--teal);
}
#tagline-separator {
    font-size: 2.5vw;
    line-height: 100%;
    color: var(--copper);
}
#tagline-bottom {
    font-size: 1.7vw;
}

#hero-image {
    background-image: url("images/hero.webp");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain; 
}

#bar {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;

    background-color: var(--teal);
}
.bar-detail {
    display: grid;
    grid-template-columns: 30% 70%;
    padding: 2vw;
}
.bar-detail img {
    height: 4vw;
    min-height: 3rem;
    margin: auto auto;
}
.bar-detail p {
    padding: 1rem 0rem;

    color: var(--parchment);
    font-family: var(--font-headers);
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: .1rem;
    font-size: 1.5vw;
    line-height: 100%;
}
.bar-detail p span {
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 1.6vw;
    letter-spacing: .006rem;
    line-height: .05rem;
}

#products {
    padding: 0 5% 2rem 5%;

    font-weight: bold;
    background-color: var(--white);
}
#product-headers {
    display: grid;
    grid-template-columns: 70% 30%;
}

#products h2 {
    padding: 1vw;

    color: var(--copper);
    font-family: var(--font-body);
    text-align: center;
    font-weight: bold;
    font-size: 1.1vw;
}

#products h2 span {
    font-family: var(--font-headers);
    font-size: 1.3vw;
    letter-spacing: .15rem;
    text-transform: uppercase;
    color: var(--teal);
}
#products-container {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
}

.product {
    color: var(--brown);
    font-family: var(--font-body);
    font-size: 1.2vw;
    font-weight: bolder;
    background-color: var(--white);
    text-align: center;
}
.product img {
    margin: auto auto .25rem auto;
    height: 13vw;
}

#product-prices {
    display: none;
}

footer {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    padding-bottom: 2rem;

    background-color: var(--teal);
}
footer .bar-detail {
    padding: 2vw 1vw;
}
footer .bar-detail p span {
    font-size: 1.2vw;
}

@media (max-width: 640px) {
    
    #navbar {
        display: block;
        padding: 1rem 0;
    }
    
    #logo {
        text-align: center;
        font-size: 10vw;
    }

    #locations {
        text-align: center;
        font-size: 4vw;
    }

    #hero {
        display: block;
        background-color: var(--parchment);
    }
    #hero-image {
        min-height: 42vw;
    }

    #tagline-top {
        font-size: 10vw;
    }
    #tagline-naturally {
        font-size: 16vw;
    }
    #tagline-refreshing {
        font-size: 15vw;
    }
    #tagline-separator {
        font-size: 8vw;
    }
    #tagline-bottom {
        font-size: 6.5vw;
    }


    #bar {
        display: grid;
        grid-template-columns: 50% 50%;
    }
    .bar-detail p {
        padding: 1rem 0rem;
        font-size: 3vw;
    }
    .bar-detail p span {
        font-size: 3vw;
        letter-spacing: .006rem;
    }

    #products {
        padding: 2rem 0;
    }
    #products-container {
        display: grid;
        grid-template-columns: auto auto;
    }
    #product-headers {
        visibility: hidden;
    }
    .product {
        padding: 1rem;
        margin-bottom: 1rem;

        font-size: 5vw;
    }
    .product img {
        margin: auto auto .25rem auto;
        height: 40vw;
    }

    #product-prices {
        display: block;
        width: 100%;
        padding: 2vw 0;

        background: var(--teal);
        
        text-align: center;
        font-family: var(--font-body);
        font-size: 5vw;
        line-height: 150%;
        
        color: var(--parchment);
    }
    #product-prices table {
        width: 100%;
    }
    #product-prices table tbody tr td {
        padding: .25rem .5rem;
    }
    #product-prices table tbody tr td:nth-of-type(1) {
        text-align: right;
    }

    footer {
        grid-template-columns: auto;
    }
    footer .bar-detail p {
        font-size: 6vw;
        line-height: 125%;
    }
    footer .bar-detail p span {
        font-size: 5vw;
    }

}
