
body {
    margin: 0;
    padding: 0;
}

/* Navbar styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: white; /* Green background for the navbar */
    color: #006400;
    position: relative;
}

.navbar img {
    max-width: 50px; /* ขนาดของโลโก้ลดลง */
    height: auto;
}
small {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Ensure it takes the full width */
}

.left-side {
    margin-right: 10px; /* Optional: Add spacing between the two sections */
}

.right-side {
    text-align: right;
}

/* Toggle button for mobile */
.toggle-btn {
    background-color: white;
    border: none;
    color: #006400;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
    display: none; /* Initially hidden */
}

/* Navbar links */
.navbar-links {
    display: flex;
    gap: 20px;
}

.navbar-links a {
    color: black;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.navbar-links a:hover {
    background-color: #357ABD;
}

/* For small screens, show toggle button */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .toggle-btn {
        display: block; /* Show toggle button */
    }

    .navbar-links.active {
        display: flex; /* Show menu when active */
    }
}

/* Title styling */
.title {
    color: #006400; /* สีเขียวเข้ม */
    border: 1px solid black; /* กรอบสีเขียวเข้ม */
    padding: 10px; /* ระยะห่างภายในกรอบ */
    border-radius: 10px; /* ทำให้มุมกรอบโค้ง */
    text-align: center; /* จัดกลางข้อความ */
    font-size: 2rem; /* ขนาดตัวอักษร */
    margin-top: 20px;
}

/* Card container */
.card-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.card {
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.custom-img {
    width: 100%; /* ให้กว้างเต็มหน้าจอ */
    max-height: 300px; /* กำหนดความสูงสูงสุด */
    object-fit: cover;
    border-radius: 15px;  /* จัดให้ภาพพอดีในขอบเขต */
}

/* สำหรับหน้าจอมือถือขนาดเล็ก */
@media (max-width: 576px) {
    .custom-img {
        max-height: 200px; /* ลดความสูงลงสำหรับมือถือ */
    }
}
.logo-container {
    display: flex;
    align-items: center; /* Vertically centers the text and image */
}
