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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    font-family: "Noto Sans", sans-serif;
}

.bold {
    font-weight: bold;
}

section {
    text-align: center;
}

.container {
    display: flex;
    justify-content: center;
}

img {
    width: 100%;
    height: 100%;
    border: .25rem solid #8f3431;
    object-fit: cover;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.4);
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

a:active {
    color: #8f3431;
}

/* Header Styles */

header {
    background-color: #f8f8f8;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom:.25rem solid #8f3431;
}

h1 {
    font-family: "Norican", cursive;
    font-size: 2.5rem;
    color: #8f3431;
}

a.title:hover {
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li {
    font-size: 1.2rem;
}

@media only screen and (max-width: 550px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2.75rem;
    }

    nav {
        width: 90%;
        margin-top: 1.5rem;
    }

    nav ul {
        justify-content: space-between;
    }
}

/* Mission Style */

section#mission {
    background-image: url(images/coffee-hands.jpg);
    height: 300px;
    background-size: cover;
    background-position-y: 71%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner {
    width: 100%;
    margin: 50px 0;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.8);
}

h2 {
    font-family: "Norican", cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-decoration: underline;
}

section#mission p {
    width: 65%;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #333;
}

@media only screen and (max-width: 850px) {
    section#mission p {
        width: 90%;
        font-size: 1rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

@media only screen and (max-width: 550px) {
    .banner {
        padding: 10px;
    }


    section#mission p {
        width: 90%;
        font-size: .875rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
}

/* Product Styles */

section#products {
    background-image: #f8f8f8;
    padding: 2rem 0;
}

section#products h2 {
    margin-bottom: 2rem;
}

section#products .container {
    margin: 0 auto;
    width: 75%;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.product img {
    width: 275px;
    height: 275px;
}

/* Team Styles */

section#team {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(images/background-vietnam.jpg);
    background-size: cover;
    color: white;
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
}

section#team .container {
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    justify-content: space-around;
}

.team-member {
    width: 150px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

section#team h2 {
    padding: 15px;
}

.headshot {
    width: 90%;
    height: 90%;
    margin-bottom: 1.5rem
}

@media only screen and (max-width: 550px) {
    section#team .container {
    align-content: center;
    }

    .team-member {
    flex-grow: 0;
    }

    .headshot {
    width: 175px;
    height: 175px;
    margin-bottom: 1.5rem
    }
}

/* Footer Styles */

footer {
    text-align: center;
    padding: 2rem;
}

footer h2 {
    font-size: 2.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.copyright {
    width: 80%;
    text-align: left
}

@media only screen and (max-width: 550px) {
    .copyright {
        text-align: center;
        width: 100%;
    }
}