.main-fire{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* max-height: 100%; */
}
.head_ban{
  margin-top: 5vw;
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
}
.vdo_present {
  width: 100%; /* กำหนดความกว้างของคอนเทนเนอร์ */
  max-width: 100%; /* กำหนดความกว้างสูงสุด */
  margin: auto; /* ทำให้คอนเทนเนอร์อยู่ตรงกลาง */
}

#video {
  width: 100%; /* วิดีโอจะปรับขนาดตามคอนเทนเนอร์ */
  height: 40vw; /* รักษาอัตราส่วนภาพ */
  object-fit: cover;
  
}
/*------------------------------------video--------------------------------------------*/
.videoproduct {
  margin:5vw;
  display: flex;
  justify-content: center;
}
.videoproduct video {
  width: 60vw;
  border-radius: 1vw;
}
/*--------------------------------------------------------------------------*/
#icon-child-deli {
  width: 3vw;
  height: 3vw;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 106%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: white;
  padding-bottom: 4vw;
}
.head_ban img {
  width: 100%;
}
.title-name-fire {
  font-size: 6vw;
  font-weight: 500;
}
.title-detail-fire {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}
.title-detail-fire div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.up-text-ban {
  font-size: 1.5vw;
  font-weight: 600;
}
.down-text-ban{
  font-size: 1vw;
  font-weight: 300;
}


.mean-fire {
  display: flex;
  width: 100%;
  height: auto;
  justify-content: space-evenly;
  margin-top: 5vw
}
.detail-mean-fire {
  width: 40vw;
  height: 25vw;
  padding: 1vw;
}
.head-mean-fire p {
  font-size: 2.5vw;
  font-weight: 500;
}
.child-mean-fire {
  text-indent: 2.5vw;
  font-size: 1vw;
}
.product_rec{
  width: 40vw;
  height: 25vw;
}
.product_rec img {
  width: 40vw;
  height: 25vw;
}



.feature-fire {
  width: 100%;
  height: 35vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5vw;
}
.feature-bg {
  width: 100%;
}
.overlay2 {
  position: absolute;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 3vw;
  background-color: #f1f1f1;
}
.text-feature-fire {
  font-size: 3.5vw;
  font-weight: 500;
  margin-bottom: 4vw;
  color: black;
}
.detail-feature{
  text-align: center;
  margin: 0;
}
.child-func-fire{
  font-size: 1.2vw;
}
.child-spec-fire{
  font-size: 1.2vw;
}
.child-feature-fire {
  width: 85vw;
  display: flex;
  justify-content: space-evenly;
  color: black;
  margin-bottom: 2vw;
}
.child-feature-fire1 {
  width: 50%;
  display: flex;
  justify-content: space-around;
}
.child-feature-fire img {
  width: 4vw;
  height: 4vw;
}
.bg-img-fire {
  background-color: white;
  border: 2px solid;
  padding: 2vw;
  border-radius: 5vw;
  margin-bottom: 2vw;
}
.first-feature-fire {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12vw;
}
.second-feature-fire {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12vw;
}
.third-feature-fire {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12vw;
}
.fourth-feature-fire {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12vw;
}



.img-before-func {
  width: 100%;
  margin-top: 2vw;
  display: flex;
  justify-content: center;
}
.carousel-func {
  width: 60vw;
  display: flex;
  justify-content: center;
}
.crs-img {
  width: 60vw;
  height: 35vw;
}



.func-spec-fire {
  display: flex;
  justify-content: space-evenly;
  padding: 2vw;
}
.func-fire {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.head-func-fire {
  font-size: 2.5vw;
  font-weight: 500;
  margin-bottom: 1vw;
}
.spec-fire {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.head-spec-fire {
  font-size: 2.5vw;
  font-weight: 500;
  margin-bottom: 1vw;
}
.line-fea-fire {
  background-color: black;
  width: 0.05vw;
}



.payload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 30vw;
  margin-top: 5vw;
  margin-bottom: 5vw;
  background-color: #f1f1f1;
  padding: 3vw;
}
.topic-payload {
  font-size: 3vw;
  font-weight: 500;
}
.icon-payload {
  display: flex;
  justify-content: space-between;
  width: 60vw;
  margin-top: 2vw;
}
.child-payload {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bg-icon-payload {
  width: 8vw;
  height: 8vw;
  border-radius: 5vw;
  border: none;
  background-color: white;
}
.text-payload {
  font-size: 1.2vw;
  font-weight: 500;
  margin-top: 2vw;
}
.bg-icon-payload{
  display: flex;
  align-items: center;
  justify-content: center;
}
.bg-icon-payload img{
  width: 5vw;
  height: 5vw;
}

.image-card{
  margin-right: 5vw;
}
.our-product-fire {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.head-product-fire1 {
  font-size: 3vw;
  font-weight: 500;
  margin-bottom: 4vw;
}
.all-product-fire {
  display: flex;
  justify-content: space-evenly;
  width: 90vw;
  padding: 2vw;
}
.first-product-fire {
  width: 20vw;
  padding: 1.5vw;
  border-radius: 1vw;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.first-product-fire:hover{
  box-shadow: 0 0 5px 1px rgba(255, 136, 0, 0.541);
  transform: scale(1.02);
}
.second-product-fire {
  width: 20vw;
  padding: 1.5vw;
  border-radius: 1vw;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.second-product-fire:hover{
  box-shadow: 0 0 5px 1px rgba(255, 136, 0, 0.541);
  transform: scale(1.02);
}
.third-product-fire {
  width: 20vw;
  padding: 1.5vw;
  border-radius: 1vw;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.third-product-fire:hover{
  box-shadow: 0 0 5px 1px rgba(255, 136, 0, 0.541);
  transform: scale(1.02);
}
.fourth-product-fire {
  width: 20vw;
  padding: 1.5vw;
  border-radius: 1vw;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.fourth-product-fire:hover{
  box-shadow: 0 0 5px 1px rgba(255, 136, 0, 0.541);
  transform: scale(1.02);
}
.img-product-fire {
  width: 100%;
  padding: 3vw;
  display: flex;
  justify-content: center;
}
.product-img-fire {
  width: 5vw;
  height: 5vw;
}
.head-product-fire {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5vw;
}
.text-head-product {
  font-size: 1.2vw;
  font-weight: 600;
  margin: 0;
  justify-content: flex-start;
}
.text-des-product {
  font-size: 0.8vw;
  margin: 0;
  color: rgb(172, 172, 172);
  word-wrap: break-word; /* เพื่อให้คำยาว ๆ ถูกตัดและลงบรรทัดใหม่ */
  white-space: normal; /* เพื่อให้ข้อความลงบรรทัดใหม่เมื่อมีความยาวเกินขนาดของ div */
  overflow-wrap: break-word; /* เพื่อให้คำยาว ๆ ถูกตัดและลงบรรทัดใหม่ */
}
.line-product-fire {
  width: 100%;
  height: 0.05vw;
  background-color: rgb(201, 201, 201);
  margin-bottom: 1vw;
}
.feature-detail-auto ul {
  font-size: 0.8vw;
  margin-top: 1vw;
  word-wrap: break-word; /* เพื่อให้คำยาว ๆ ถูกตัดและลงบรรทัดใหม่ */
  white-space: normal; /* เพื่อให้ข้อความลงบรรทัดใหม่เมื่อมีความยาวเกินขนาดของ div */
  overflow-wrap: break-word; /* เพื่อให้คำยาว ๆ ถูกตัดและลงบรรทัดใหม่ */
}
.feature-detail-auto ul li {
  margin-top: 1vw;
  
}
.list-detail-fire {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.list-detail-fire div {
  width: 14.3vw;
}
.custom-btn-fire {
  width: 100%;
  display: flex;
  justify-content: center;
}
.custom-btn-fire button {
  padding: 0.4vw 1.5vw 0.4vw 1.5vw;
  background-color: orange;
  color: white;
  font-weight: 600;
  font-size: 1vw;
  border: none;
  border-radius: 10px;
}


@media only screen and (max-width: 700px) {
  .head_ban{
    margin-top: 10vw;
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    height: 88.5vh;
  }
  .vdo_present {
    width: 100%; /* กำหนดความกว้างของคอนเทนเนอร์ */
    max-width: 100%; /* กำหนดความกว้างสูงสุด */
    margin: auto; /* ทำให้คอนเทนเนอร์อยู่ตรงกลาง */
  }
  
  #video {
    width: 100%; /* วิดีโอจะปรับขนาดตามคอนเทนเนอร์ */
    height:  88.5vh;
    object-fit: cover;
  }
  .videoproduct {
    width: 100%; /* วิดีโอจะปรับขนาดตามคอนเทนเนอร์ */
    height: 50vh;
    margin:10vw 0 0 0;
    display: flex;
    justify-content: center;
  }
  .videoproduct video {
    width: 100%;
    height: 100%;
    border-radius: 1vw;
    object-fit: cover;
  }
  .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: white;
    padding-bottom: 4vw;
  }
  .head_ban img {
    width: 100%;
  }
  .title-name-fire {
    font-size: 8vw;
    font-weight: 500;
    margin-top: 5vh;
  }
  .title-detail-fire {
    width: 90%;
    display: flex;
    justify-content: space-between;
  }
  .title-detail-fire div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20vw;
  }
  .up-text-ban {
    font-size: 3vw;
    font-weight: 600;
    margin-top: 1vh;
  }
  .down-text-ban{
    font-size: 2.5vw;
    font-weight: 300;
    text-align: center;
  }
  
  
  .mean-fire {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    justify-content: space-evenly;
    margin-top: 10vw
  }
  .detail-mean-fire {
    width: 70vw;
    height: auto;
    padding: 1vw;
    margin-top: 5vw;
  }
  .head-mean-fire p {
    font-size: 5vw;
    font-weight: 500;
    margin: 0;
  }
  .child-mean-fire {
    text-indent: 2.5vw;
    font-size: 3vw;
  }
  .product_rec{
    width: 60vw;
    height: 35vw;
  }
  .product_rec img {
    width: 60vw;
    height: 35vw;
  }
  
  
  
  .feature-fire {
    width: 100%;
    height: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5vw;
  }
  .feature-bg {
    width: 100%;
  }
  .overlay2 {
    position: absolute;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3vw;
    background-color: #f1f1f1;
  }
  .text-feature-fire {
    font-size: 6vw;
    font-weight: 500;
    margin-bottom: 4vw;
    color: black;
  }
  .detail-feature{
    text-align: center;
    font-size: 3vw;
    margin: 0;
  }
  .child-func-fire{
    font-size: 1.2vw;
  }
  .child-spec-fire{
    font-size: 1.2vw;
  }
  .child-feature-fire {
    width: 85vw;
    display: flex;
    flex-direction: column;
    color: black;
    margin-bottom: 2vw;
  }
  .child-feature-fire1 {
    width: 100%;
    display: flex;
    margin-top: 3vw;
    height: auto;
  }
  .child-feature-fire img {
    width: 10vw;
    height: 10vw;
  }
  .bg-img-fire {
    background-color: white;
    border: 2px solid;
    padding: 2vw;
    border-radius: 8vw;
    margin-bottom: 2vw;
  }
  .first-feature-fire {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40vw;
  }
  .second-feature-fire {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40vw;
  }
  .third-feature-fire {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40vw;
  }
  .fourth-feature-fire {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40vw;
  }
  
  
  
  .img-before-func {
    width: 100%;
    margin-top: 2vw;
    display: flex;
    justify-content: center;
  }
  .carousel-func {
    width: 60vw;
    display: flex;
    justify-content: center;
  }
  .crs-img {
    width: 60vw;
    height: 35vw;
  }
  
  
  
  .func-spec-fire {
    display: flex;
    justify-content: space-evenly;
    padding: 2vw;
    margin-top: 5vw;
  }
  .func-fire {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .head-func-fire {
    font-size: 6vw;
    font-weight: 500;
    margin-bottom: 1vw;
  }
  .spec-fire {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .head-spec-fire {
    font-size: 6vw;
    font-weight: 500;
    margin-bottom: 1vw;
  }
  .line-fea-fire {
    background-color: black;
    width: 0.05vw;
  }
  .child-func-fire ul li {
    font-size: 2.5vw;
  }
  .child-spec-fire {
    font-size: 3vw;
    padding-left: 3vw;
  }
  .child-spec-fire ul li {
    font-size: 2.5vw;
  }
  
  #icon-child-deli {
  width: 8vw;
  height: 8vw;
}
  
  .payload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: auto;
    margin-top: 5vw;
    margin-bottom: 5vw;
    background-color: #f1f1f1;
    padding: 3vw;
  }
  .topic-payload {
    font-size: 6vw;
    font-weight: 500;
  }
  .icon-payload {
    display: flex;
    justify-content: space-between;
    width: 80vw;
    margin-top: 2vw;
  }
  .child-payload {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 5vw;
    margin-right: 5vw;
  }
  .bg-icon-payload {
    width: 15vw;
    height: 15vw;
    border-radius: 10vw;
    border: none;
    background-color: white;
  }
  .text-payload {
    font-size: 3vw;
    font-weight: 500;
    margin-top: 2vw;
  }
  .bg-icon-payload{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bg-icon-payload img{
    width: 10vw;
    height: 10vw;
  }
  
  
  .our-product-fire {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.head-product-fire1 {
  font-size: 6vw;
  font-weight: 500;
  margin-bottom: 4vw;
}
.all-product-fire {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  width: 90vw;
}
.all-product-fire::-webkit-scrollbar {
  display: none;
}
.first-product-fire,
.second-product-fire,
.third-product-fire,
.fourth-product-fire {
  width: 80vw;
  padding: 1.5vw;
  border-radius: 5vw;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  margin-bottom: 5vw;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.first-product-fire:hover,
.second-product-fire:hover,
.third-product-fire:hover,
.fourth-product-fire:hover {
  box-shadow: 0 0 5px 1px rgba(255, 136, 0, 0.541);
  transform: scale(1.02);
}
.img-product-fire {
  width: 100%;
  padding: 3vw;
  display: flex;
  justify-content: center;
}
.product-img-fire {
  width: 15vw;
  height: 15vw;
}
.head-product-fire {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5vw;
}
.text-head-product {
  font-size: 4vw;
  font-weight: 600;
  margin: 0;
  margin-left: 5vw;
  justify-content: flex-start;
}
.text-des-product {
  font-size: 3vw;
  margin: 0;
  margin-left: 5vw;
  margin-right: 5vw;
  color: rgb(172, 172, 172);
}
.line-product-fire {
  width: 100%;
  height: 0.05vw;
  background-color: rgb(201, 201, 201);
  margin-bottom: 1vw;
}
.feature-detail-auto ul {
  font-size: 3vw;
  margin-top: 5vw;
}
.feature-detail-auto ul li {
  margin-top: 1vw;
}
.list-detail-fire {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2vw;
}
.list-detail-fire img {
  width: 7vw;
  height: 7vw;
}
.list-detail-fire div {
  width: 60vw;
  font-size: 3.2vw;
}

  .custom-btn-fire {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 5vw;
    margin-bottom: 5vw;
  }
  .custom-btn-fire button {
    padding: 1vw 2vw 1vw 2vw;
    background-color: orange;
    color: white;
    font-weight: 600;
    font-size: 4vw;
    border: none;
    border-radius: 10px;
  }
}