
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    font-family: 'Open Sans', 'Noto Sans Thai';
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}

a {
    color: white;
    font-size: 20px;
    cursor: pointer;
}

body {
    margin: 0;
    padding: 0;
}

nav {
    width: 100%;
    position: fixed;
    background-color: #21BE28;
    display: flex;
    z-index: 10;
}
/* ////////////////////////////////////////////////////// */
.navbar {
    overflow: hidden;
    width: 100%;
    /* position: fixed; */
    background-color: #21BE28;
    /* display: flex; */
    z-index: 10;
}

.navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 16px;  
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: red;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* //////////////////////////////////////////// */


/* ///////////////////////////////////////////// */

.menu_mobile {
    z-index: 15;
    position: fixed;
    right: 0;
    top: 40px;
    transform:translate(0,-50%);
    display: none;
}

.menu_mb {
    width: 100%;
    background-color: #fff;
    top: 85px;
    position: fixed;
    z-index: 20;
    display: none;
    flex-wrap: wrap;
    text-align: center;
}

.inmb{
    color: black;
    width: 100%;
    padding: 10px 15px;
    transition: all 0.3s;
}

.inmb:hover {
    background-color: #ddd;
}

.nav-icon-6{
    width: 35px;
    height: 30px;
    margin: 10px 10px;
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .nav-icon-6 span{
    background-color:#fff;
    position: absolute;
    border-radius: 2px;
    transition: .3s cubic-bezier(.8, .5, .2, 1.4);
    width:100%;
    height: 4px;
  }
  .nav-icon-6 span:nth-child(1){
    top:0px;
    left: 0px;
  }
  .nav-icon-6 span:nth-child(2){
    top:13px;
    left: 0px;
  }
  .nav-icon-6 span:nth-child(3){
    bottom:0px;
    left: 0px;
  }
  .nav-icon-6:not(.open):hover span:nth-child(1){
    transform:  scaleY(1.2);
    left: -5px;
  }
  .nav-icon-6:not(.open):hover span:nth-child(2){
    transform: rotate(5deg) scaleY(1.1);
  }
  .nav-icon-6:not(.open):hover span:nth-child(3){
    transform:  scaleY(1.2);
    left: 5px;
  }
  .nav-icon-6.open span:nth-child(1){
    transform: rotate(45deg) scaleX(0.7);
    top: 13PX;
    left: -8px;
  }
  .nav-icon-6.open span:nth-child(2){
    transform: scale(0);
    transition-duration: 50ms
  }
  .nav-icon-6.open span:nth-child(3){
    transform: rotate(-45deg) scaleX(0.7);
    top: 13PX;
    left: 7px;
  }

  /* /////////////////////////////////////////////////// */

.in_sec_two {
    font-size: 20px;
}

.nav_logo img {
    height: 80px;
    cursor: pointer;
}

.w-30 {width: 30%;}
.w-40 {width: 40%;}
.w-50 {width: 50%;}
.w-70 {width: 70%;}
.w-80 {width: 80%;}
.w-100 {width: 100%;}

.navbar {
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.icmenu {
    width: 10%;
}

.nav_menu {
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.pd_drop {
    display: none;
    flex-wrap: wrap;
    position: fixed;
    right: 100px;
    top: 100px;
    width:auto;
    height: auto;
    background-color: #9af79e;
    z-index: 5;
}

.pd_drop a {
    width: 100%;
}

.out_pd {
    margin-top: 100px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
}

.contain {
    display: flex;
}

.head_one {
    font-size: 70px;
    font-weight: 800;
    color: #21BE28;
    line-height: 60px;
}

.head_two {
    font-size: 45px;
    font-weight: 500;
}

.head_section {
    font-size: 20px;
}

.diss-flex {
    display: flex;
    
}

.home {
    flex-wrap: wrap;
    height: 750px;
    align-items: center;
}

.head_line {
    width: 8px;
    background-color: #21BE28;
    margin: 0 20px;
}

.section_one {
    width: 100%;
    display: flex;
}

.section_head_home {
    margin-left: 30px;
}

.line_home {
    width: 7px;
    height: 250px;
    background-color: #21BE28;
    position: absolute;
    display: flex;
}

.btn_buy {
    width: 285px;
    height: 60px;
    background-color: #21BE28;
    border: 0;
    border-radius: 15px;
    color: white;
    font-size: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.btn_buy:hover {
    width: 315px;
}

.bg_home_pd {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-20%,-50%);
}

.pd_erawan {
    position: absolute;
    width: 60%;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-20%,-50%);
}

.advice {
    background-color: #21BE28;
    height: 170px;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.in_adv {
    display: flex;
    width: 65%;
    justify-content: center;
    height: 110px;
    justify-content: space-between;
    align-items: center;
}

.btn_adv {
    height: 50px;
    width: 280px;
    height: 70px;
    border: 0;
    background-color: white;
    border-radius: 10px;
    color: #21BE28;
    font-size: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.adv_section {
    display: flex;
    flex-wrap: wrap;
    color: white;
}

.adv_sec_one {
    width: 100%;
    font-size: 18px;
}

.adv_sec_two {
    width: 100%;
    font-size: 25px;
}

.ft_h1 {
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    font-size: 50px;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

.ft_line {
    width: 105px;
    height: 5px;
    background-color: #21BE28;
    border-radius: 10px;
    position: relative;
}

.features {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 100px;
}

.ft_section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.ft_img {
    width: 50%;
    margin-top: 50px;
}

.img_ft {
    width: 100%;
}

.ft_text {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 50px;
}

.ft_text_sec {
    width: 40%;
    padding-left: 15px;
    border-left: 5px solid #21BE28;
    margin-bottom: 30px;
    height:120px;
}

.ft_text_sec span {
    font-size: 12px;
}

.ft_text_sec h3 {
    font-size: 24px;
    line-height: 0;
}

.line_ft_B {
    width: 100%;
    display: flex;
    justify-content: center;
}

.ft_line_B {
    width: 344px;
    height: 4px;
    border-radius: 10px;
    background-color: #21BE28;
    margin: 50px;
}

.product {
    background-color: #E9E9E9;
    padding-top: 80px;
    padding-bottom: 50px;

}

.bg-wht {
    background-color: white ;
}

.product_img {
    width: 50%;
    display: flex;
    align-items: center;
}

.pdimg_one {
    width: 100%;
}

.pdimg_two {
    position: absolute;
    width: 50%;
}

.pdimg_three {
    margin-left: -250px;
    width: 55%;
    position: absolute;
}

.product_text {
    width: 50%;
}

.pd_sec_one {
    padding-left: 35px;
    border-left: 6px solid #21BE28;
    margin-left: 15px;
}

.pd_sec_two {
    padding-right: 35px;
    border-right: 6px solid #21BE28;
    margin-right: 15px;
    text-align: right;
}

.pd_head_one {
    font-size: 50px;
    font-weight: 900;
}

.pd_head_two {
    font-size: 35px;
    font-weight: 500;
}

.pd_txt_sec {
    font-size: 22px;
    font-weight: 400;
}

.pd_ft_box {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.pd_ft_box img {
    width: 70%;
    margin: 20px auto;
}

.bg_contact {
    background-image: url("../image/car2.jpg"); /* The image used */
    height: auto; /* You must set a specified height */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
    width: 100%;

    display: flex;
    color: white;
}

.in_sec_one {
    width: 5%
}

.in_sec_one img {
    width: 100%;
}

.ct_sec {
    display: flex;
    justify-content: space-around;
}

.in_sec_two {
    width: 80%;
}

.in_contact {
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    margin-bottom: 70px;
}

.ctct_h1 , .abu_h1 {
    width: 100%;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
}

.abu_line {
    width: 90px;
    height: 3px;
    border-radius: 5px;
    background-color: #21BE28;
}

.about {
    display: flex;
    justify-content: center;
}

.in_abu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.abu_txt {
    font-weight: 300;
}

.out_line {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.ct_center_line {
    width: 5px;
    background-color: #21BE28;
    height: 100%;
    border-radius: 5px;
}

.ct_sec {
    margin: 15px 0;
}

.diss_none {
    display: none;
}

.link-contact:hover{
    color: #21BE28 !important;
    
}

.link-contact{
    transition: all 0.3s;
}

.btn_adv:hover{
    font-size: 27px;
    height: 80px;
}

footer {
    background-color: rgb(26, 26, 26);
    color: white;
    padding: 10px 0;
    text-align: center;
}


@media only screen and (max-width: 1360px) {
    .pd_erawan {
        width: 50%;
        transform: translate(-10%,-50%);
    }
    .ft_text {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        margin-top: 50px;
    }
    .ft_img {
        width: 100%;
        margin-top: 50px;
        display: flex;
    }
    .img_ft {
        width: 80%;
        margin: auto;
    }
    
}

@media only screen and (max-width: 960px) {
    .pd_erawan {
        position: relative;
        width: 100%;
        z-index: 2;
        top: 50%;
        left: 0;
        transform: translate(0,-50%);
    }
    .head_section {
        display: none;
    }
    .btn_buy {
        display: none;
    }
    .line_home {
        display: none;
    }
    .w-80 {
        width: 95%;
    }
    .home_img {
        width: 100%;
    }
    .home {
        margin-top:100px ;
        flex-wrap: wrap;
        height: 300px;
        align-items: center;
    }
    .in_adv {
        display: flex;
        width: 65%;
        justify-content: center;
        flex-wrap: wrap;
        height: 110px;
        justify-content: space-between;
        align-items: center;justify-content: center;
        text-align: center;
    }
    .btn_adv {
        width: 180px;
        height: 50px;
        border: 0;
        background-color: white;
        border-radius: 10px;
        color: #21BE28;
        font-size: 25px;
        margin-top:10px ;
    }

    .ft_text_sec {
        width: 100%;
        padding-left: 15px;
        border-left: 5px solid #21BE28;
        margin-bottom: 30px;
        height:120px;
    }

    .ft_text_sec span {
        font-size: 18px;
    }
    
    .ft_text_sec h3 {
        font-size: 35px;
        line-height: 0;
    }
}

@media only screen and (max-width: 900px) {

    .product_text {
        width: 100%;
    }
    .product_img {
        width: 100%;
    }
    .contain {
        flex-wrap: wrap;
    }
    .pdimg_three {
        margin-left: 0;
        width: 100%;
        position: relative;
    }
    .pdimg_two {
        position: relative;
        width: 100%;
    }
    .diss_none {
        display: block;
    }
    .diss_none_two {
        display: flex;
        background-color: #E9E9E9;
    }
    .diss_if_none {
        display:none;
    }
    .bg-wht {
        background-color: #E9E9E9;
    }
    .ft_text {
        width: 100%;
    }
    
}

@media only screen and (max-width: 700px){
    .ft_text_sec span {
        font-size: 12px;
    }
    
    .ft_text_sec h3 {
        font-size: 24px;
        line-height: 0;
    }

    .advice {
        height: auto;
    }

    .in_adv {
        padding: 20px 0;
        justify-content: center;
        height: auto;
        align-items: center;
    }
    
}

@media only screen and (max-width: 640px) {
    .nav_menu {
        display: none;
    }

    .menu_burger {
        display: flex;
    }

    .dropdown_mb {
        display: flex;
    }

    .nav_logo {
        margin: auto ;
    }

    .head_one {
        font-size: 50px; 
        line-height: auto;
    }

    .head_two {
        font-size: 30px;
    }

    .ct_center_line {
        display: none;
    }

    .about  {
        width: 100%;
    }
    .contact {
        width: 100%;
    }
    .in_contact {
        flex-wrap: wrap;
    }

    .bg_contact {
        height: auto;
    }
    .ctct_h1 {
        margin-top: 50px;
    }
    .menu_mobile {
        display: flex;
    }
}

@media only screen and (max-width: 640px) {
    .section_one {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }


    .home {
        margin-top:100px ;
        height: 400px;
    }
}
