/* สี ขนาด  */
.tablink {
  float: left;
  display: block;
  padding: 14px 16px;
  text-align: center;
  cursor: pointer;

  color: white;
  border: none;
  outline: none;
  transition: 0.3s;
}

.tablink:hover {
  background-color: #ddd;
}

.tabcontent {
  display: none;
  padding: 20px;
}

/* Responsive styles */
@media screen and (max-width: 600px) {
  .tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: scroll;
  }
  .tablink {
    width: auto;
    white-space: nowrap;
  }
}
.tablink:hover {
  background-color: #fff; /* สีเมื่อนำเมาส์ไปชี้แท็บเมนู */
}
/* สร้าง container ของแท็บ */
.tabs {
  display: flex;
  justify-content: space-around;

  overflow-x: auto;
  padding: 5px 0;
  border-radius: 10px;
}

.tablink {
  color: #000; /* สีข้อความเมนู tab */
  text-decoration: none; 
  padding: 10px 20px  ;
  font-size: 16px;
  border-radius: 10px;
  transition: background-color 0.3s;
}
.tablink.active {
    background-color: #d45e0f !important;
    color: #fff; /* สีข้อความเมนู tab */
}

/* สีพื้นหลัง content */
.tabcontent {
  display: none;
  padding: 20px;
  border-radius: 10px;

}
.tabcontent.active {
  display: block;
}
/* Hide scrollbar for the tabs container */
.tabs::-webkit-scrollbar {
  display: none;
}
/* Responsive styles */
@media screen and (max-width: 600px) {
  .tabs {
      flex-wrap: nowrap; /* Prevent tabs from wrapping */
      justify-content: flex-start; /* Align tabs to the start */
      overflow-x: scroll; /* Enable horizontal scroll on small screens */
  }
}


