
body {
  font-family: "Prompt", sans-serif;
  font-style: normal;
  margin: 0;
}

* {
  box-sizing: border-box;
}

.blank 
{
    width: 100%;
    height: 8vh;
}
img {
  vertical-align: middle;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hide the images by default */
.mySlides {
    width: 100%;                /* ความกว้างเต็มจอ */
    height: 400px;              /* กำหนดความสูงที่ต้องการ */
    display: flex;
    overflow: hidden;
    float: left;                /* ซ่อนส่วนที่ล้นออก (บน-ล่าง) */
    object-fit: cover;
    object-position: center;
    justify-content: center;    /* จัดแนวนอนกึ่งกลาง */
    align-items: center;        /* จัดแนวตั้งกึ่งกลาง */}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: #00000063;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.text {
  width: 100%;
  color: #ffffff;
  font-size: 18px;
  padding: 8px 12px;
  position: absolute;
  top: 0; background-color: rgba(0, 0, 0, 0.178);
  font-family: "Prompt", sans-serif;
  font-style: normal;
  text-shadow: #000000;
  /* -webkit-text-stroke: 1px rgb(49, 49, 49); */}

/* Container for image text */
.caption-container {
  text-align: center;
  justify-content: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row{
  display: flex;            /* เปิดใช้งาน Flexbox */
  padding: 20px;
  flex-wrap: wrap;         /* ให้ขึ้นบรรทัดใหม่ได้ถ้าที่เต็ม */
  justify-content: center;  /* จัดให้อยู่กึ่งกลางในแนวนอน */
  align-items: center;      /* จัดให้อยู่กึ่งกลางในแนวตั้ง (ถ้าต้องการ) */
  
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 10%;
  height: 80px; /* กำหนดความสูงที่ต้องการตัด */
  overflow: hidden; /* ซ่อนส่วนที่เกิน */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}
