

@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Charm:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai+Looped:wght@500;600;800&display=swap');


*{
    font-family: 'Noto Sans Thai Looped', sans-serif;

}

body {
    background: url('image/bg2_2.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.container-fluid {
    justify-content: space-between;
}

.navbar {
    border: 2px solid rgb(255, 255, 255, .3);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.436);
    font-weight: 800;
}

.navbar img {
    width: 100%;
    height: 40px;
}

.nav-link {
    display: inline-block;
    color: rgb(125, 78, 34);
    margin-left: 20px;
    font-size: 17px;
    box-shadow: inset 0 0 0 0 #a3690552;
    transition: color .10s ease-in-out, box-shadow .10s ease-in-out;
    border-radius: 5px;
    opacity: 0;
    animation: slidetop .5s ease forwards;
    animation-delay: calc(.10s * var(--i));
}

@keyframes slidetop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-link:hover {
    box-shadow: inset 150px 0 0 0 #a3690552;
}

#logobrand h1 {
    color: rgb(125, 78, 34);
    text-shadow: 0px 2px 2px rgb(0, 0, 0);
}

#logobrand p {
    color: rgb(0, 0, 0);
    /*text-shadow: 0px 1px 1px rgb(0, 0, 0);*/
    letter-spacing: .5px;
}

#logobrand h4 {
    text-shadow: 0px 1px 1px rgb(0, 0, 0);

}

.logobrand {
    padding-top: 10vh;
}

#product {
    padding-top: 20vh;
}

.service-box {
    height: 500px;
}

.bi {
    font-size: 50px;
}

.cart_icon a i {
    font-size: 22px;
    cursor: pointer;
}

/*==================Product=================*/


.headmenu{
    color: rgb(255, 204, 0);
    font-size: 3.5em;
    text-shadow: 0px 2px 4px rgb(0, 0, 0);
    font-weight: 800;
}
.hs_menu{
    color: rgb(255, 204, 0);
    font-size: 3.5em;
    text-shadow: 0px 2px 4px rgb(0, 0, 0);
    font-weight: 800;
}

.hs_menu {
    color: rgb(255, 204, 0);
    font-size: 3.5em;
    text-shadow: 0px 2px 4px rgb(0, 0, 0);
}

.img-fluid:hover {
    cursor: pointer;

}

#product .pro-box .card,
#product .home-box .card {
    background: linear-gradient(217deg, rgba(255, 191, 0, 0.8), rgba(255, 0, 0, 0) 70.71%),
        linear-gradient(127deg, rgba(229, 255, 0, 0.8), rgba(0, 255, 0, 0) 70.71%),
        linear-gradient(336deg, rgba(255, 106, 0, 0.8), rgba(0, 0, 255, 0) 70.71%);
    font-family: 'Charm', cursive;
    box-shadow: 0px 2px 8px rgb(0, 0, 0);
    flex: 0 50%;
    margin: 8px;
    padding: 20px 25px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: 0.7s;
    opacity: 0;
    animation: zoomin 1s ease forwards, updown 4s ease-in-out infinite;
    animation-delay: 1.1s, 2.1s;
    outline: .1rem solid #878787;
    outline-offset: -1rem;
}

#product .pro-box .card::before,
#product .home-box .card::before {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.208);
    width: 220px;
    height: 450px;
    z-index: -1;
    transform: rotate(42deg);
    right: -60px;
    top: 80px;
    border-radius: 35px;
    color: #000;

}

#product .pro-box .card:hover,
#product .home-box .card:hover {
    box-shadow: 0px 10px 30px rgb(255, 255, 255);
    /*border: 4px solid rgb(255, 255, 255);*/
    /*background: #cc8100;*/
    color: #ffffff;
    transform: scale(1.1);
    z-index: 9;
    outline: .2rem solid #ffffff;
    outline-offset: 0rem;
    text-shadow: 0px 1px 2px rgb(0, 0, 0);
}

#product .pro-box .card:hover::before,
#product .home-box .card:hover::before {
    background: rgba(255, 255, 255, 0.186)
}

#product .pro-box .hover_color_bubble,
#product .home-box .card.hover_color_bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.252);
    width: 100rem;
    height: 100rem;
    left: 0;
    right: 0;
    z-index: -1;
    top: 16rem;
    border-radius: 50%;
    transform: rotate(-36deg);
    left: -18rem;
    transition: 0.7s;

}

#product .pro-box .card:hover .hover_color_bubble,
#product .home-box .card:hover .card.hover_color_bubble {
    top: 0rem;
}

@keyframes zoomin {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes updown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}


#product .pro-box img,
#product .home-box img {
    width: 100%;
    height: 175px;
}


.bi {
    font-size: 20px;
    padding: auto;
}

h2 {
    color: rgb(255, 255, 255);
    text-shadow: 0px 2px 4px black;
    font-weight: 800;
}
.pro-box{
    font-weight: 600;
}

/*============Modal=============*/
.modal-content {
    background: linear-gradient(217deg, rgba(255, 191, 0, 0.8), rgba(255, 0, 0, 0) 70.71%),
    linear-gradient(127deg, rgba(229, 255, 0, 0.8), rgba(0, 255, 0, 0) 70.71%),
    linear-gradient(336deg, rgba(255, 106, 0, 0.8), rgba(0, 0, 255, 0) 70.71%);
    backdrop-filter: blur(4px);
    box-shadow: 0px 10px 30px rgb(255, 255, 255);
    font-family: 'Charm', cursive;
}

.modal img {
    width: 100%;
    height: 300px;
}

/*=============ค้นหาสินค้า============*/
.bnt_search {
    background: linear-gradient(217deg, rgba(255, 191, 0, 0.8), rgba(255, 0, 0, 0) 70.71%),
        linear-gradient(127deg, rgba(229, 255, 0, 0.8), rgba(0, 255, 0, 0) 70.71%),
        linear-gradient(336deg, rgba(255, 106, 0, 0.8), rgba(0, 0, 255, 0) 70.71%);
    backdrop-filter: blur(4px);
    box-shadow: 0px 2px 4px rgb(0, 0, 0);
    cursor: pointer;
}

.box_search {
    backdrop-filter: blur(4px);
    box-shadow: 0px 2px 4px rgb(0, 0, 0);
    height: 40px;
    border: 5px solid rgb(245, 221, 126);
}

/*=============ค้นหาที่พัก============*/
.search_home {
    background: linear-gradient(217deg, rgba(255, 191, 0, 0.8), rgba(255, 0, 0, 0) 70.71%),
        linear-gradient(127deg, rgba(229, 255, 0, 0.8), rgba(0, 255, 0, 0) 70.71%),
        linear-gradient(336deg, rgba(255, 106, 0, 0.8), rgba(0, 0, 255, 0) 70.71%);
    backdrop-filter: blur(4px);
    box-shadow: 0px 2px 4px rgb(0, 0, 0);
}