/* set variables */
:root {
    --light-gray: #D9D9D9;
    --black: #000000;
    --white: #ffffff;
    --mahogany-red: #b71515;
    --light-green: #7de380;
    --dark-sienna: #2e1919;
    --font-family: "Times New Roman", Georgia, sans-serif;
}

/* set for full page */
body {
    background-color: var(--white);
    color: var(--black);
    font-family: var(--font-family);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
/* set for heading */
h1 {
    color: var(--light-green);
    font-family: var(--font-family);
    font-weight: 500;
    margin: 0;
    padding: 0;
}

h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-sienna);
    font-family: var(--font-family);
    font-weight: 500;
    margin: 0;
    padding: 0;
    text-align: center;
}

h1 {
    font-size: 3.0rem;
    border-bottom: 3px solid var (--light-green);
    padding-bottom: 8px;

}

h2 {
    font-size: 2.2rem;
    font-weight: 650;
    text-align: left;
}

h3 {
    font-size: 1.9rem;
    font-weight: 600;
    text-align: left;
}

h4 {
    font-size: 1.6rem;
    font-weight: 550;
}

h5 {
    font-size: 1.3rem;
    text-transform: uppercase;
}

h6 {
    font-size: 1rem;
    font-style: italic;
    color: var(--dark-sienna);
}

.nav-box {
    background-color: var(--dark-sienna);
    color: var(--light-green);
    padding: 8px 24px;
    border-radius: 50px;
    /* like set on the corner of the box */
    display: inline-flex;
    /* active content in the row */
    align-items: center;
    /* make sure content in the center */
    border: none;
}
/* make effect for nav */
.nav-box:hover,
.nav-box:focus,
.nav-box:active {
    background-color: var(--dark-sienna);
    color: var(--white);
    opacity: 0.9;
}
/* for list dropdown */
.dropdown {
    background-color: var(--dark-sienna);
    color: var(--light-green);
    padding: 8px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    border: none;
}

.category_button {
    background-color: var(--light-green);
    /* for background */
    color: var(--dark-sienna);
    /* for color text*/
    font-family: var(--font-family);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px 24px;
    /* for width */
    border-radius: 12px;
    /* for corner, like from square to circle*/
    text-decoration: none;
    /*delete default underline of <a*/
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    /* minimum width */
}
/* for profile icon */
.icon {
    width: 24px;
    height: 24px;
}
/* for shopping list */
.trolley_button {
    background-color: var(--light-gray);
    color: var(--black);
    font-family: var(--font-family);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px 24px;
    /* for width */
    border-radius: 12px;
    /* for corner, like from square to circle*/
    text-decoration: none;
    /*delete default underline of <a*/
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

/* class for button add to shopping list */
.detail-btn-add {
    background-color: var(--light-green);
    color: var(--dark-sienna);
    font-family: var(--font-family);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    text-decoration: none;


    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 6px var(--black);
}

.detail-btn-add:hover {
    background-color: var(--light-green);
    color: var(--dark-sienna);
    transform: translateY(-2px);
}
/* for image */
.image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    /* want image inside a box */
}
/* for scroll page */

html {
    scroll-behavior: smooth;
}