/* Global */
body {
  font-family: 'Kanit', sans-serif;
  background: url("../assets/img/bg-blue.jpg") no-repeat center center fixed;
  background-size: cover;
}

.navbar {
  background-color: navy;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  white-space: nowrap;
}

.masthead {
  padding-bottom: 2rem;
}

.masthead h2 {
  color: #0c172b;
  font-weight: bold;
  padding: 0px
}

.container {
  max-width: 800px;
  /*padding: 0px;*/
  /* ลบ padding: 0px ออก */
}

/* Choices */
.choice-container {
  cursor: pointer;
  transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  /*border: 2px solid black;*/
  /*เอาออก*/
  border-radius: 10px;
  text-align: center;
  /* เพิ่ม margin เพื่อให้มีช่องว่างรอบๆ */
  margin: 5px;
}

/* เพิ่มส่วนนี้ */
/*เอาออก*/
/*.choice-container:hover {
  border: 2px solid #007bff;
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}*/

.choice-container.selected {
  border-color: #007bff;
  background-color: #e0f0ff;
  transform: scale(1.05);
}

.choice-img {
  /*width: 100%;*/
  /* ลบ width: 100% ออก */
  /*max-width: 250px;*/
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 10px;
  /* เพิ่มขอบโค้งให้กับรูป */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* เพิ่มเงาให้กับรูป */
  border: 2px solid black;
  /* เพิ่มเส้นขอบสีดำ */
  transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  /* เพิ่ม transition */
}

.choice-img:hover {
  transform: scale(1.05);
  /* ขยายใหญ่ขึ้นเล็กน้อยเมื่อ hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  border: 2px solid #007bff;
  /* เส้นขอบสีน้ำเงินเมื่อ hover */
}

/* Buttons */
.btn {
  font-size: 1rem;
}

.navbar-brand:hover {
  color: white !important;
  /* กำหนดสีตัวอักษรเป็นสีขาวเหมือนเดิม */
}