:root {
    --main-theme: rgb(27, 26, 26);
    /*--main-theme: rgb(100, 97, 79);*/
    --transparent: rgba(0, 0, 0, 0);
    --white: rgb(255, 255, 255);
    --warm-gray: #b8b7b7;
    /*--navbar-color: rgba(255, 255, 255);*/
    --navbar-color: rgb(253, 246, 246);
    --black: rgb(0, 0, 0);
    --nvidia-green: rgb(0, 128, 0);
    --product-box: rgb(248, 249, 252);
    --detail-link-color: rgb(122, 122, 129);
}

@media (min-width: 993px) {

    .nav-item {
        font-size: 24px;
        font-weight: bold;
        color: #685C53; /* 暖灰色 */
        text-decoration: none;
        transition: color 0.3s ease;
        position: relative;
    }

    .nav-link {
        font-size: 1rem;
        text-decoration: none;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        position: relative;
        color: var(--navbar-color);
        padding: 1.1em 2em;

    }

    .nav-link:hover {

        background: var(--white);
        color: var(--black);
        transition: color 0.3s ease;

        /*border-bottom: 5px solid var(--black);*/
    }

    .navbar:hover {
        background: var(--main-theme);
    }

    .navbar {
        background: var(--main-theme);
        padding: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    .nav-brand:hover {
        color: var(--navbar-color);
        transition: color 0.3s ease;

    }

    .nav-brand {
        font-size: 35px;
        font-weight: bold;
        color: var(--navbar-color);
        transition: color 0.3s ease;
        float: left;

    }

    .navbar-nav {
        flex-direction: row;
        float: right;
        margin-left: auto;
        margin-right: 0;

    }

    .nav-button {
        display: none;
    }

    .transparent {
        background: var(--transparent);
    }

    .content-image-text-large {
        font-size: 70px;
        color: var(--white);
    }

    .content-image-text-small {
        font-size: 50px;
        color: var(--white);
    }

    .purchase-link {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1em;
        margin-bottom: 1em;
        text-decoration: none;
        color: var(--navbar-color);
        font-size: 1.7em;
        font-weight: bold;
        height: 60px;
    }

    .purchase-btn {
        width: 12em;
        height: 4em;
        background-color: var(--main-theme);
        border-radius: 2.5em;
        border: none;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 1em;
    }

    .slogan h1 {
        font-weight: bold;
        font-size: 70px;
        padding-top: 0.5em;
    }

    .display-products-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 1em;
        padding: 1em;

        flex: 1 1;
        justify-content: center;
        margin-top: 3em;
    }

    .purchase-btn-container {
        display: flex;
        margin-top: 5em;
    }
}

@media (max-width: 992px) {
    .nav-item {
        width: 100vw;
        font-size: 24px;
        font-weight: bold;
        color: #685C53; /* 暖灰色 */
        text-decoration: none;
        transition: color 0.3s ease;
        position: relative;
        place-self: center;
        display: grid;

    }

    .nav-link {
        font-size: 1rem;
        text-decoration: none;
        transition: color 0.3s ease;
        display: grid;
        align-items: center;
        position: relative;
        color: var(--navbar-color);
        padding: 1.1em 2em;
        place-self: center;
        width: 100vw;
        text-align: center;

    }

    .nav-link:hover {

        background: var(--white);
        color: var(--black);
        transition: color 0.3s ease;

        /*border-bottom: 5px solid var(--black);*/
    }

    .navbar:hover {
        background: var(--main-theme);
    }

    .navbar {
        background: var(--main-theme);
        padding: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    .navbar .container {
        display: grid;
        align-items: center;
        justify-content: center;
        grid-template-rows: 1fr auto;
        align-content: center;
    }

    .nav-brand:hover {
        color: var(--navbar-color);
        transition: color 0.3s ease;

    }

    .nav-brand {
        font-size: 35px;
        font-weight: bold;
        color: var(--navbar-color);
        transition: color 0.3s ease;
        justify-self: center;
        width: 100vw;
        text-align: center;
    }

    .nav-button {
        position: absolute;
        top: 0;
        right: 10px;
        background-color: var(--transparent);
        border: none;
        color: var(--navbar-color);
        font-size: 24px;
        font-weight: bold;
    }

    .navbar-nav {


        display: grid;

    }

    .no-display {
        display: none;
    }

    .transparent {

    }

    .content-image-text-large {
        font-size: 40px;
        color: var(--white);
    }

    .content-image-text-small {
        font-size: 30px;
        color: var(--white);
    }

    .purchase-link {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1em;
        margin-bottom: 1em;
        text-decoration: none;
        color: var(--navbar-color);
        font-size: 1.3em;
        font-weight: bold;
        height: 60px;
    }

    .purchase-btn {
        width: 10em;
        height: 3em;
        background-color: var(--main-theme);
        border-radius: 2.5em;
        border: none;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 1em;
    }


}

@media (max-width: 1200px) and (min-width: 770px) {
    .display-products-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1em;
        padding: 1em;

        flex: 1 1;
        justify-content: center;
        margin-top: 3em;
    }

    .slogan h1 {
        text-align: center;
        font-weight: bold;
        font-size: 60px;
        padding-top: 0.5em;
    }
        .purchase-btn-container {
        display: flex;
        margin-top: 3em;
    }
}

@media (max-width: 770px) {
    .display-products-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 1em;
        padding: 1em;

        flex: 1 1;
        justify-content: center;
        margin-top: 3em;
    }

    .slogan h1 {
        text-align: center;
        font-weight: bold;
        font-size: 40px;
        padding-top: 0.5em;
    }
        .purchase-btn-container {
        display: flex;
        margin-top: 2em;
    }
}

.hidden {
    position: absolute;
}


.hero-section {
    background: linear-gradient(172deg,
    #FFFFF0,
    rgba(252, 249, 238, 0.8) 100%);
}

.cta-button {
    background: linear-gradient(145deg,
    #D8C7A8 0%,
    #ECE0CB 100%);
    box-shadow: 0 4px 12px rgba(214, 185, 140, 0.15);
}

.social-media-icons {
    display: flex;
    justify-content: start;
    align-items: end;
    margin-top: 2em;
    margin-bottom: 1em;

}

.social-media-icons img {
    max-height: 20px;
}

.social-media-icons a {
    margin: 0 1em;
    color: #685C53;
    text-decoration: none;
    font-size: 1.5em;
    transition: color 0.3s ease;

}

.footer {
    position: relative;
    left: 0px;
    bottom: 0px;
    width: 100%;
    background-color: var(--main-theme);
    margin-top: 10em;
    padding: 3em 0;
}

.hero-image-container {
    position: relative;
    min-height: 20vh;
    max-height: 80vh;
    /*max-height: 500px;*/
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    min-height: 350px;
    object-fit: cover;
}

.content-image {
    position: absolute;
    top: 20%;

    z-index: 50;

    margin-left: 15%;
}


.purchase-btn:hover {
    background-color: var(--warm-gray);
}


.purchase-btn a:hover {
    text-decoration: none;
    color: var(--navbar-color);
}


.main-text p {
    font-size: 23px;
}

.main-text h1 {
    padding-bottom: 1em;
}

.main-text ul {
    list-style-type: none;
    padding-left: 1em;
    padding-bottom: 0.5em;

}

.main-text li {
    font-size: 1.5em;
    padding-bottom: 0.5em;
}

.main-text a {
    color: var(--main-theme);
    text-decoration: none;
}

.main-text a:hover {
    color: var(--warm-gray);
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    flex: 1 1;
    justify-content: left;
}

.footer-menu-item {
    padding: 0 4em 3em 4em;
    color: var(--navbar-color)
}

.footer-menu-item h3 {
    padding-bottom: 1em;
}

.contact-method {
    color: var(--navbar-color);
}

.contact-method h3 {
    padding-bottom: 1em;
    padding-left: 20px;
}

.contact-method p {
    padding-left: 20px;
}

.right-text {
    margin-top: 3em;
}


.display-products-container .product {
    margin: 1em;
    padding-bottom: 1em;
    border-radius: 15px;
    background-color: var(--product-box);
    box-shadow: 0 4px 12px rgba(214, 185, 140, 0.15);
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: 500px;
    text-align: center;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    max-height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(110%);
    transition: transform 0.3s ease;

}

.display-products-container .product .product-title {
    font-size: 28px;
    color: #4d4d4d;
    font-weight: bold;
    padding: 0.5em 0;
}

.display-products-container .product .product-slogan {
    font-size: 21px;
    color: #757575;
    padding-bottom: 1em;
}

.display-products-container .product .product-btn-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 1em 0;
    padding: 0 1em;
}

.detail-link {
    font-size: 16px;
    color: var(--detail-link-color);
    text-decoration: underline;
    align-content: end;
    margin-bottom: 0.3em;
}


.footer-menu .footer-menu-item ul {
    padding-left: 0.5em;
}

.footer-menu .footer-menu-item li {
    list-style: none;
    padding: 0.5em 0;
    font-size: 16px;
    color: #afafaf;
    text-decoration: underline;
    align-content: start;
    margin-bottom: 0.3em;
}

.footer-menu .footer-menu-item a {
    color: var(--navbar-color);
    text-decoration: underline;
    align-content: start;
    margin-bottom: 0.3em;
}

.footer-menu .footer-menu-item a:hover {
    color: var(--warm-gray);
    text-decoration: underline;
    align-content: start;
    margin-bottom: 0.3em;
}

.product-main {
    margin-top: 2em;
}

.product-main ul {
    list-style-type: none;
    padding-left: 1em;
    padding-bottom: 0.5em;

}

.product-main li {
    font-size: 1.2em;
    padding-bottom: 0.5em;
}

.product-main a {
    color: var(--main-theme);
    text-decoration: none;
}

.product-main a:hover {
    color: var(--warm-gray);
}

.product-main p {
    font-size: 23px;
}

.price_tag {
    font-size: 1.5em;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    display: flex;
    padding-left: 1em;
}