/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@1,100&family=Noto+Sans+Thai:wght@100;200;300;400;500;600;700;800;900&family=Poppins:ital,wght@0,300;0,500;0,600;1,500;1,900&family=Prompt:ital,wght@0,300;0,400;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: 'Noto Sans Thai', sans-serif;
}
:root{
    --main-color: #008148;
    --second-color: #1e3932;
}

header{
    position: fixed;
    width: 100%;
    top: 0%;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 4px 41px rgb(14 55 54/14%);
    padding: 15px 10%;
    transition: 0.2s;
}

.logo{
    display: flex;
    align-items: center;
}

.logo img{
    width: 150px;
}

.navbar{
    display: flex;
}

.navbar a{
    font-size: 1rem;
    padding: 11px 20px;
    color: var(--second-color);
    font-weight: 600;
    text-transform: uppercase;
}

.navbar a:hover{
    color: var(--main-color);
}

.navbar img{
    width: 25px;
}
.navbar .lang{
	display: flex;
}
  
.navbar .lang li{
	list-style-type: none
}

#menu-icon{
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: none;
}

section{
    padding: 50px 10%;
    display: block;
	flex-direction: row;
	justify-content: center;
    align-items: center;
}
button{
    position:relative;
    top:50%; 
    left:42%;
}
.btn {
  appearance: none;
  background-color: transparent;
  border: 2px solid #1A1A1A;
  border-radius: 50px;
  box-sizing: border-box;
  color: #3B3B3B;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 20px;
  min-width: 0;
  outline: none;
  padding: 10px 15px;
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 15%;
  will-change: transform;
  align-items: center;
  justify-content: center;
}

.btn:disabled {
  pointer-events: none;
}

.btn:hover {
  color: #fff;
  background-color: #1A1A1A;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.btn:active {
  box-shadow: none;
  transform: translateY(0);
}
.product{
    margin-top: 5%;
}
.heading{
    text-align: center;
    text-transform: uppercase;
}
.heading span{
    font-size: 1rem;
    font-weight: 600;
    color: var(--secoud-color);
}
.heading h1{
    font-size: 2rem;
    color: var(--main-color);
}
.detail{
	display: block;
	margin-top: 2%;
}
.process{
    display: block;
}
.processimg{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 55%;
}
.processmetalimg{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    margin-top: 30px;
    margin-bottom: 50px;
}

.detail h4{
	margin-top: 2%;
	width: 90%;
    margin-left: auto;
    margin-right: auto;
	text-align: center;
}
.product-list{
    padding: 50px 10%;
    margin-bottom: 3%;
}
.product-img{
    display: flex;
    margin-top: 2%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;

}
.text{
    display: block;
}
.text h2{
    text-align: center;
    margin: 2%;
    color: var(--second-color);
}
.product-img .list{
    margin: auto;
    justify-content: center;
}
.product-img .list img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    transition: transform .4s;
}
.product-img .list img:hover{
    transform: scale(1.1);
}

.product-img h4{
    text-align: center;
    margin-bottom: 10px;
}
.product-img .list .detail-img{
    margin-top: 20px;
    text-align: center;
    padding: 10px;
    margin-bottom: 30px;
}
@media (max-width: 1265px){
    header{
        padding: 18px 7%;
    }
    section{
        padding: 50px 7%;
    }
}
@media (max-width: 1035px){
    header{
        padding: 18px 4%;
    }
    section{
        padding: 50px 4%;
    }
}
@media (max-width: 915px){
    header{
        padding: 11px 4%;
    }
    #menu-icon{
        display: initial;
    }
    header .navbar{
        position: absolute;
        top: -500px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: #fff;
        box-shadow: 0 4px 4px rgb(14 55 54 / 14%);
        transition: 0.2s;
        border-top: 2px solid var(--main-color);
        text-align: left;
    }
    .navbar.active{
        top: 100%;
    }
    .navbar a{
        padding: 1rem ;
        display: block;
        color: var(--secoud-color);
    }
    .heading h1{
        font-size: 1.5rem;
    }
    .heading span{
        font-size: 0.9rem;
    }
    .product-img .list img{
        width: 60%;
    }
    .product-img .list img:hover{
        transform: none;
    }
    h4{
        font-size: 0.8rem;
    }
    span{
        font-size: 0.7rem;
    }
    .processimg{
        width: 70%;
    }
    .processmetalimg{
        width: 70%;
    }
    button{
        position:relative;
        top:50%; 
        left:37%;
    }
    .btn{
        padding: 5px 10px;
        font-size: 10px;
        width: 25%;
    }
}
