body {
    font-family: 'Kanit', sans-serif;
}

.top-nav {
    background: rgb(246, 142, 5);
    background: linear-gradient(90deg, rgba(246, 142, 5, 0) 0%, rgba(219, 222, 216, 0.779) 35%);
}

.top-nav a {
    color: rgb(0, 0, 0);
    font-weight: bold;
}

.top-nav a:hover {
    color: rgb(246, 142, 5);
    background: transparent;
}

.green-text {
    color: rgb(107, 176, 42);
}

.orange-text {
    color: rgb(246, 142, 5);
}


/* ------------------------------------ */


/* css ผลิตภัณฑ์ */

.show_product h1 {
    margin-top: 100px;
    font-weight: bold;
}

.show_product .card {
    border: none;
}

.show_product .card img {
    width: 90%;
    object-fit: cover;
    height: 350px;
}

@media (max-width: 767.98px) {
    .show_product .card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }
    .show_product h1 {
        margin-top: 50;
        font-weight: bold;
    }
}

.show_product .multiple-card-slider .carousel-inner {
    padding: 1em;
}

.show_product .multiple-card-slider .carousel-control-prev,
.show_product .multiple-card-slider .carousel-control-next {
    background-color: #e1e1e1;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    top: 40%;
    transform: translateY(-50%);
}

.show_product {
    position: relative;
    top: 50px;
    /* Adjust the initial floating position as needed */
    opacity: 0;
    /* Start with opacity 0 to create a fade-in effect */
    transition: top 0.8s ease, opacity 0.8s ease;
}

.show_product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 110vh;
}


/* ------------------------------------ */


/* css ส่วนประกอบ */

.ingredient {
    margin-top: 200px;
}

.ingredient h1 {
    text-align: center;
    font-weight: bold;
    color: rgb(107, 176, 42);
}

.show_product p {
    text-align: center;
}

.ingredient img {
    width: 70%;
}

.ingredient .card {
    border: none;
}

.ingredient .card .text-1 {
    color: rgb(107, 176, 42);
}

.ingredient .card .text-2 {
    color: rgb(246, 142, 5);
}

.ingredient .multiple-card-slider .carousel-inner {
    padding: 1em;
}

.ingredient .multiple-card-slider .carousel-control-prev,
.ingredient .multiple-card-slider .carousel-control-next {
    background-color: #e1e1e1;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    top: 40%;
    transform: translateY(-50%);
}

.ingredient {
    position: relative;
    top: 50px;
    /* Adjust the initial floating position as needed */
    opacity: 0;
    /* Start with opacity 0 to create a fade-in effect */
    transition: top 0.8s ease, opacity 0.8s ease;
}


/* ------------------------------------ */


/* css รีวืว */

.review {
    margin-top: 200px;
}

.review h1 {
    font-weight: bold;
}

.review .card img {
    width: 80%;
    height: 300px;
    object-fit: cover;
}

.review .card-body h5 {
    text-align: center;
}

.review .multiple-card-slider .carousel-inner {
    padding: 1em;
}

.review .multiple-card-slider .card {
    margin: 0 0.8em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
}

.review .multiple-card-slider .carousel-control-prev,
.review .multiple-card-slider .carousel-control-next {
    background-color: #e1e1e1;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    top: 40%;
    transform: translateY(-50%);
}

.review {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 110vh;
}
.review {
    position: relative;
    top: 50px;
    /* Adjust the initial floating position as needed */
    opacity: 0;
    /* Start with opacity 0 to create a fade-in effect */
    transition: top 0.8s ease, opacity 0.8s ease;
}

@media (max-width: 767.98px) {
    .review .card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }
    .review h1 {
        margin-top: 50;
        font-weight: bold;
    }
}


/* ------------------------------------ */


/* css ร้านค้าที่มีจำหน่าย */

.distributor h1 {
    font-weight: bold;
}

.distributor .card {
    border: none;
}

.distributor .card img {
    object-fit: cover;
    width: 100%;
}

.distributor .multiple-card-slider .carousel-control-prev,
.distributor .multiple-card-slider .carousel-control-next {
    background-color: #e1e1e1;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.distributor .multiple-card-slider .carousel-inner {
    padding: 1em;
}

.distributor .multiple-card-slider .card {
    margin: 0 0.8em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
}

.distributor {
    position: relative;
    top: 50px;
    /* Adjust the initial floating position as needed */
    opacity: 0;
    /* Start with opacity 0 to create a fade-in effect */
    transition: top 0.8s ease, opacity 0.8s ease;
}

@media (min-width: 768px) {
    .distributor .multiple-card-slider .carousel-item {
        margin-right: 0;
        flex: 0 0 calc(100% / 4);
        display: block;
        backface-visibility: visible;
    }
    .distributor .multiple-card-slider .carousel-inner {
        display: flex;
    }
}


/* ------------------------------------ */


/* css คำถามที่พบบ่อย */

.question {
    margin-top: 200px;
}

.question h1 {
    font-weight: bold;
}

.question h4,
h5 {
    text-align: center;
}

.question h4 {
    color: rgb(107, 176, 42);
}

.question h5 {
    color: rgb(246, 142, 5);
}

.question {
    position: relative;
    top: 50px;
    /* Adjust the initial floating position as needed */
    opacity: 0;
    /* Start with opacity 0 to create a fade-in effect */
    transition: top 0.8s ease, opacity 0.8s ease;
}

.question {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 110vh;
}


/* ------------------------------------ */


/* css  */

.shop {
    margin-top: 200px;
}

.shop h1 {
    font-weight: bold;
}

.shop .card {
    border: none;
}

.shop .card img {
    width: 100px;
}

.shop {
    position: relative;
    top: 50px;
    /* Adjust the initial floating position as needed */
    opacity: 0;
    /* Start with opacity 0 to create a fade-in effect */
    transition: top 0.8s ease, opacity 0.8s ease;
}


/* ------------------------------------ */


/* css  */

.contact {
    margin-top: 200px;
}

.contact h1 {
    font-weight: bold;
}

.contact .card {
    border: none;
}

.contact .card-body {
    text-align: center;
}

.contact .card-body p {
    font-size: 1.2rem;
}

.contact {
    position: relative;
    top: 50px;
    /* Adjust the initial floating position as needed */
    opacity: 0;
    /* Start with opacity 0 to create a fade-in effect */
    transition: top 0.8s ease, opacity 0.8s ease;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 110vh;
}


/* ใช้กับทุก section */

@media (min-width: 768px) {
    .multiple-card-slider .carousel-item {
        margin-right: 0;
        flex: 0 0 calc(100% / 3);
        display: block;
        backface-visibility: visible;
    }
    .multiple-card-slider .carousel-inner {
        display: flex;
    }
}


/* ------------------------------------ */


/* css article บทความ  */

.article h1 {
    margin-top: 100px;
    font-weight: bold;
}

.article .card {
    border: none;
}

.article .card img {
    width: 100%;
}

.article .card-body h5 {
    font-weight: bold;
}

.article .btn {
    border: none;
    background-color: rgb(107, 176, 42);
    color: rgb(255, 255, 255);
}

.article .btn:active {
    background-color: rgb(246, 142, 5);
}

.article {
    position: relative;
    top: 50px;
    /* Adjust the initial floating position as needed */
    opacity: 0;
    /* Start with opacity 0 to create a fade-in effect */
    transition: top 0.8s ease, opacity 0.8s ease;
}


/* ------------------------------------ */


/* css article strroid  */

.steroid h1 {
    margin-top: 100px;
    font-weight: bold;
}

.steroid p {
    font-size: large;
    font-weight: bold;
    margin-bottom: 50px;
}

.steroid img {
    width: 100%;
    object-fit: cover;
    height: 500px;
}


/* ------------------------------------ */


/* css article prodermild */

.article_prodermild h1 {
    margin-top: 100px;
    font-weight: bold;
}

.article_prodermild h3 {
    font-weight: bold;
}

.article_prodermild img {
    width: 100%;
    object-fit: cover;
}

.article_prodermild p {
    font-size: large;
    font-weight: bold;
    margin-bottom: 50px;
}

.article_prodermild .img-cover-1 img {
    width: 70%;
}

.article_prodermild .img-cover-2 img {
    width: 100%;
    margin-top: 150px;
    margin-bottom: 50px;
}


/* ------------------------------------ */


/* css article prodermild */

.atopic h1 {
    margin-top: 100px;
    font-weight: bold;
}

.atopic p {
    font-weight: bold;
    font-size: large;
}

.atopic h3 {
    font-weight: bold;
    margin-top: 100px;
    margin-bottom: 50px;
}

.atopic img {
    width: 100%;
    object-fit: cover;
    height: 500px;
}

.atopic ul li {
    font-weight: bold;
}


/* ------------------------------------ */


/* footer */

footer p {
    text-align: center;
}
