*{
    max-width: 100%;
    
    
    
  
}



nav{
  padding: 18px;
 padding-left: 50px;
 padding-right: 50px;
  
  
  
}

.container{
  max-width: 1420px;
  margin: 0 auto;
  

}

.nav-con{
  display: flex;
  align-items: center;
  justify-content: space-between;/*ทำให้โลโก้แยกออกจากmenu หรือแบ่งฝั่งกัน*/
}


.logo a img{
    width: 200px;
}

.logo a img:hover {
  animation: shake 10s;
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: translate(20px, 5px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.menu{
    display: flex; /*ทำให้หัวข้อเรียงกัน ด้วยคำสั่งflex*/
    list-style: none;/*กำหนดเส้นใต้ไม่มีด้วยคำสั่ง none*/
    align-items: center;
}

.menu li{
    margin-left: 40px; /*ระยะห่างด้านซ้าย*/

}

.menu li a{
    text-decoration: none;
    color: black;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 35px;
    width: 20px;
    /* padding-left: 100px; */
    
}

.menu li a:hover{
    color: rgb(243, 177, 12);
    position: relative;
    bottom: 3px;
}

main{
  /* display: grid; */
  /* grid-template-columns: repeat(2,1fr); */
 
   
}

.all-product{
  font-family: 'Josefin Sans', sans-serif;
  font-size: 25px;
  margin-left: 70px;
}



.text_main {
  font-family:'Josefin Sans', sans-serif ;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(243, 177, 12);
  width: 100%;
  height: 350px;
  color: aliceblue;
  margin-bottom: 40px;
}

.text_main h1 {
 font-size: 50px;
}

.containet-main{
  font-family:'Josefin Sans', sans-serif ;
  color: rgb(243, 177, 12);
  padding: 10px;
  }


  .containet-main img{
    width: 500px;
    margin-left: 100px;
    border-radius: 100%;
    padding-right: 10px;
    padding: 5px;
    
  }



  .main-a1{
    display: flex;
    align-items: center;
    font-size: 150px;
    width: 99%;
    position: relative;
    bottom: 40px;
  }

  .main-a1 h1{
    margin-left: 100px;
    position: relative;
    right: 300px;
  }
  


  .main-a1 h1:hover{
      animation: shake 50s;
      animation-iteration-count: infinite;
    }
    
    @keyframes shake {
      0% { transform: translate(20px, 5px) rotate(0deg); }
      10% { transform: translate(-1px, -2px) rotate(-10deg); }
      20% { transform: translate(-3px, 0px) rotate(1deg); }
      30% { transform: translate(3px, 2px) rotate(0deg); }
      40% { transform: translate(1px, -1px) rotate(1deg); }
      50% { transform: translate(-1px, 2px) rotate(-1deg); }
      60% { transform: translate(-3px, 1px) rotate(0deg); }
      70% { transform: translate(3px, 1px) rotate(-1deg); }
      80% { transform: translate(-1px, -1px) rotate(1deg); }
      90% { transform: translate(1px, 2px) rotate(0deg); }
      100% { transform: translate(1px, -2px) rotate(-1deg); }
    }

    img.abc2{
      width: 20%;
      position: relative;
      right: 22%;
      bottom: -115px;
    }

  
 
 .main-a2{
  display: flex;
  align-items: center;
  background-color: rgb(243, 177, 12);
  border-radius: 90px;
  color: aliceblue;
  position: relative;
  left: 2%;
  width: 97%;
  height: 470px;
  font-size: 100px;
  
  
 }
 .main-a2 img{
  margin-right: 60%;

 }
 .main-a2 h1{
  margin-left: 20px;
  position: relative;
  left:1.5%;
 }
 
 img.vin2{
  width: 27%;
  position: relative;
  right: 110%;
  top: 10%;
 }

 .main-a2 h1:hover{
  animation: shake 50s;
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: translate(20px, 5px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-10deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}



.main-a3{
    display: flex;
    align-items: center;
    font-size: 120px;
    width: 99%;
    margin-top: 10px;
  }

.main-a3 h1{
  position: relative;
  right: 50%;
}



img.cz2{
  width: 20%;
  position: relative;
  right: 17%;
  bottom: 90px;
}

img.cz3{
  width: 15%;
  position: relative;
  position: relative;
  right: 42%;
  top: 50px;
}

img.cz4{
  width: 10%;
  position: relative;
  position: relative;
  right: 65%;
  top: 150px;
}



.main-a3 h1:hover{
  animation: shake 50s;
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: translate(20px, 5px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-10deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
} 
.products{
  max-width: 100%;
  background-color: rgb(255, 255, 255);
  width:19.5%;
  height:40px;
  margin-left :50px ;
  -webkit-transform: rotate(-3deg);
  border-radius: 10px;
  box-shadow: 11px 9px 20px 0 rgb(164, 164, 164);
}
.products p{
  font-size: 30px;
  font-family:'Josefin Sans', sans-serif ;
  color: rgb(243, 177, 12);
  margin-left :5px ;
  -webkit-transform:translate(1px,5px);

}

.row{
  display: flex;
  justify-content: center;
  
  
}
.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: -0.7s;
  width: 27%;
  margin: 10px;
  border-radius: 50px;
  
}

.card img{
  border-radius: 50px;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgb(243, 177, 12);
}

.container-c {
  padding: 2px 16px;
}

.container-c h4{
  color: rgb(243, 177, 12);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  margin-top: 10px;
}

.container-c p{
  font-family: 'Prompt', sans-serif;
}

.container-c a h3{
  font-family: 'Prompt', sans-serif;
  text-align-last: right;
  color: black;
  font-size: 15px;

}

.container-c h3:hover{
  color: rgb(100, 97, 97);
}
/* content-index */
.content_main1{
  background-color: rgb(243, 177, 12);
}

.contt_11{
  display: contents;
  font-family: 'Prompt', sans-serif;
  
}



.contt_11 p{
  width: 95%;
  text-indent: 27px;
  margin-left: 40px;
  color: aliceblue;
}

.contt_11 a{
 margin-left: 92%;
 margin-bottom: 10px;
 color: black;
}
/* promotion-index */
.pro_img{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 7px;
}

.pro_mt{
  margin: 2px;
}

#btt{
  width: 50px;
  position:fixed;
  right:1rem;
  bottom:5rem;
  display: none;
}
/* footer */
  footer{
    max-width: 100%;
    width: 100%;
    background-color: rgb(243, 177, 12);
    height: 120px;
   display: flex;
    
  }

  .name_bs{
    margin-top: 14px;
    margin-right: 17%;
  }

  .name_bs a{
    list-style: none;
    text-decoration: none;
    font-family: 'Josefin Sans', sans-serif;
    color: black;
    font-size: 10px;
    align-items: center;
    justify-content: center;
    margin-left: 20px ;
    
  }

  .name_bs  p{
    font-family: 'Prompt', sans-serif;
    font-size: 9px;
    margin-left: 20px ;
  }

  #bs_th{
    font-family: 'Prompt', sans-serif;
  }

.con_t{
  display: flex;
  align-items: center;
  
}

.con_t img{
  width: 30px;
  
  

}

.con_t p{
  align-items: center;
  display: flex;
  justify-content: center;
  margin-right: 10px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 15px;
  text-indent: 5px;
}

  

  

 
