body {
  font-family: 'Sarabun', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

.navbar {
  background-color: #346c9d;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.navbar ul li {
  margin: 0 15px;
  position: relative;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 15px 20px;
  display: inline-block;
  transition: all 0.3s ease;
}

.navbar ul li a:hover {
  color: #d2b11b;
  transform: translateY(-5px);
}


.navbar ul li a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background-color: #d2b11b;
  transition: width 0.3s ease;
  margin: auto;
}

.navbar ul li a:hover::after {
  width: 100%;
}

header {
  background-image: url('https://miro.medium.com/v2/resize:fit:3820/1*AvVPFHIZGKYN6Fft-J6Arg.png');
  background-size: cover;
  background-position: center center;
  text-align: center;
  padding: 100px 20px;
  color: white;
}

header h1 {
  font-size: 36px;
  color: #346c9d;
  position: relative;
  text-shadow: 
    0 0 3px #1d1f21,
    0 0 5px #1d1f21,
    0 0 10px #1d1f21,
    0 0 15px #1d1f21; 
}  

header h1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid #ffffff; 
  border-radius: 8px; 
  z-index: -1; 
}

header .highlight {
  color: #d2b11b;
}

section {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

section p {
  font-size: 18px;
  text-align: center;
}

main {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.image-button-container {
  display: inline-block;
  text-align: center;
  margin: 20px auto;
  padding: 10px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.clickable-image {
  width: 100%;
  max-width: 150px;
  border-radius: 8px;
  cursor: pointer;
}

.image-caption {
  margin-top: 10px;
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

.image-button-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.image-button-container:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  margin: 5% auto;
  text-align: center;
  width: 80%;
  max-width: 500px;
  position: relative;
}

.modal-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.modal-content a {
  color: #0866f9;
  text-decoration: none;
  font-weight: 600;
}

.modal-content a:hover {
  text-decoration: underline;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

#modalImage {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #333;
  color: white;
  font-size: 14px;
}
