/* =====================
   Global Reset & Variables
   ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Typography */
    --thatfont: Helvetica;
    --thatfsize: 22px;
    /* Colors */
    --thatcolor: seashell;
    --that2color: black;
    --thathover: turquoise;
}

/* =====================
   Base Body Styles
   ===================== */
body {
    background-color: var(--that2color);
    color: white;
    font-family: var(--thatfont);
    font-size: var(--thatfsize);
    color: var(--thatcolor);
    padding: 30px;
    margin: 0;
}

/* =====================
   Header & Navigation
   ===================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--that2color);
    padding: 19px;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--thatcolor);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 19px;
}

nav img.tea-icon-img {
    height: 50px;
    width: 140px;
    margin-left: 0;
    margin-right: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

nav ul li {
    margin-left: 15px;
    text-decoration: underline;
}

nav ul li a {
    display: block;
    color: var(--thatcolor);
    padding: 5px 10px;
}

nav ul li a:hover {
    color: var(--thathover);
}

nav ul li a:visited {
    color: var(--thatcolor);
}

/* End of navigation styles */

/* =====================
   Logo Image Sizing
   ===================== */
.tea-icon-img {
    height: 50px;
    width: 90px;
    margin-left: 10px;
}

/* =====================
   Mission Section Styles
   ===================== */
.mission-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-background-img {
    width: 1200px;
    height: 700px;
    object-fit: cover;
    z-index: 0;
}

.mission-statement {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgb(0, 0, 0);
    padding: 20px;
    z-index: 1;
    width: 1200px;
}

.mission-statement h2 {
    margin-bottom: 1rem;
}
/* End of mission section styles */

/* =====================
   Tea of the Month Section
   ===================== */
.tea-type {
    width: 1000px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.tea-of-month h2 {
    text-align: center;
    margin: 2rem 0 2rem;
}

.tea-of-month h3 {
    margin-bottom: 4rem;
    text-align: center;
}

/* Featured teas rows */
.tea-row-first {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
    margin: 2rem 0;
}

.tea-row-two {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
    margin: 8rem 0;
}

.tea-image-depiction {
    width: 300px;
    height: 200px;
}

.tea-name {
    margin-top: 10px;
    text-align: center;
}

/* End of Tea of Month section */

/* =====================
   Locations Section
   ===================== */
.location-section {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    text-align: center;
}

.location-section h2 {
    margin-top: 1.25rem;
    text-align: center;
    font-size: var(--thatfsize);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.location-background-img {
    width: 1200px;
    height: 500px;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}

.location-div-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.container {
    background-color: black;
    width: 350px;
    height: 300px;
    text-decoration: none;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.container h3 {
    margin: 1rem 0;
}

.container ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.container ul li {
    margin: 2rem 0.5rem;
    text-wrap: nowrap;
    text-align: center;
}

/* End of Locations section */

/* =====================
   Footer Section
   ===================== */
footer {
    padding: 20px;
    height: 250px;
    width: 100%;
}

footer div {
    margin-bottom: 4%;
    text-align: center;
}

footer div h2 {
    margin-bottom: 2rem;
}

footer div h5 {
    margin-bottom: 1.5rem;
}

footer.copyright{
    text-align: left;
    margin-bottom: 1rem;
}

/* =====================
   End of Stylesheet
   ===================== */