body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff27;
    color: #333;
}
 
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 
}
 
.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}
 
.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
 
.nav a {
    font-size: 1em;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}
 
ul li a.active {
    font-weight: bold; /* ทำให้ข้อความตัวหนา */
    color: rgb(224, 168, 0); /* เปลี่ยนสีข้อความ (ตัวอย่าง) */
  }

.auth-buttons {
    display: flex;
    gap: 1px;
}
 
.auth-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
 
 
.main-content {
    padding: 50px;
}


.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-size: cover; /* Ensures the background image covers the entire area */
    background-position: center; /* Center the background image */
    height: 700px; /* Set the height to 300px */
    padding: 20px; /* Adjust padding as needed */
    border-radius: 20px;
    margin-bottom: 40px;
}
.duckky {
    background-image: url(../images/DuckkyJus.png);
}
.cactus{
    background-image: url(../images/CactusJus.png);
}
.cat{
    background-image: url(../images/CatJus.png);
}
.fox{
    background-image: url(../images/Fox.png);
}
.D2, .D3, .D4, .D5 {
    background-color: #e0e0e0; /* สีพื้นหลังพื้นฐาน */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .D2 {
    background-color: #f4f4f4; /* สีพื้นหลังสำหรับ D2 */
  }
  
  .D3 {
    background-color: #f4f4f4; /* สีพื้นหลังสำหรับ D3 */
  }
  
  .D4 {
    background-color: #f4f4f4; /* สีพื้นหลังสำหรับ D4 */
  }
  
  .D5 {
    background-color: #f4f4f4; /* สีพื้นหลังสำหรับ D5 */
  }

  .D2 img {
    width: 100%; /* Makes the image take up 100% of its container's width */
    height: auto; /* Maintains the aspect ratio of the image */
    max-width: 100%; /* Ensures the image doesn't exceed its original size */
}
.D3 img {
    width: 100%; /* Makes the image take up 100% of its container's width */
    height: auto; /* Maintains the aspect ratio of the image */
    max-width: 100%; /* Ensures the image doesn't exceed its original size */
}
.D4 img {
    width: 100%; /* Makes the image take up 100% of its container's width */
    height: auto; /* Maintains the aspect ratio of the image */
    max-width: 100%; /* Ensures the image doesn't exceed its original size */
}
.D5 img {
    width: 100%; /* Makes the image take up 100% of its container's width */
    height: auto; /* Maintains the aspect ratio of the image */
    max-width: 100%; /* Ensures the image doesn't exceed its original size */
}



 
.hero-text {
    max-width: 50%;
}
 
body h1 {
    text-align: center;
    font-size: 50px;
    margin: 0;
    color: #393939;
    position: relative;
    align-self: center;
    -webkit-text-stroke: 2px #575656; /* ขอบสีดำหนา 2px */
    bottom: 15px; /* เลื่อนตำแหน่งขึ้น */
    left: 50%; /* ตั้งค่าให้องค์ประกอบอยู่ที่กึ่งกลาง */
    transform: translateX(-50%); /* เลื่อนตำแหน่งกลับครึ่งหนึ่งของความกว้าง */
    margin-bottom: 30px; /* Adjust this value to create space below the <h1> */
}

.hero-text p {
    font-size: 18px;
    margin: 20px 0;
}
 
.hero-image img {
    max-width: 500px;
    border-radius: 10px;
}
 
.content {
    display: flex;
    justify-content: space-between;
    gap: 2px;
}
 

section.content img {
    width: 300px; /* กำหนดความกว้างของรูปภาพ */
    height: auto; /* ปรับความสูงอัตโนมัติตามความกว้าง */
    display: block; /* ทำให้รูปภาพเป็นบล็อก (block) */
    margin: 0 auto; /* จัดกึ่งกลางรูปภาพภายใน div */
  }
  
 
  footer {
    background-image: url(../images/footer-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 130px;
    padding: 15px;
  }
  
  footer p {
    text-align: center;
    margin: 20px 0px;
    color: #fff;
  }
  
  footer p a {
    color: #fff;
    transition: all .5s;
  }