body {
    font-family: 'Kanit';
}

.custom-container {
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-logo {
    width: 70px;
    height: auto;
}

.navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 500;
}

.navbar-nav .nav-link {
    color: black;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-nav .nav-link.active {
    color: #007bff;
    font-weight: 900;
}

.splash-screen img {
    max-width: 200px;
    animation: fade-in 1.5s ease-in-out;
}

.product-image-container {
width: 100%;  /* กำหนดความกว้างให้เต็มพื้นที่ของ container */
overflow: hidden; /* ป้องกันการ overflow ของภาพ */
}

.product-image {
width: 100%;  /* กำหนดให้ภาพขยายเต็มความกว้าง */
height: auto; /* รักษาสัดส่วนของภาพ */
object-fit: cover; /* ควบคุมการครอบภาพให้เต็ม container */
}

.social-icon {
    width: 40px; /* ขนาดไอคอน */
    height: auto;
    margin-right: 10px; /* เพิ่มระยะห่างระหว่างไอคอนกับชื่อ */
    vertical-align: middle; /* ทำให้ไอคอนและชื่ออยู่แนวเดียวกัน */
}

.social-icon:hover {
    transform: scale(1.1); /* ขยายขนาดเล็กน้อยเมื่อเมาส์ชี้ */
}

footer {
        background-color: #1b1b1b; /* พื้นหลังสีอ่อน */
        padding: 20px 0;
        display: flex;
        flex-direction: column;
        align-items: center; /* จัดให้เนื้อหาตรงกลางในแนวนอน */
        justify-content: center; /* จัดให้เนื้อหาตรงกลางในแนวตั้ง */
        text-align: center;
        position: relative;
        bottom: 0;
        width: 100%;
    }

footer a {
    text-decoration: none;
    font-size: 16px; /* ขนาดตัวอักษร */
    color: black; /* สีปกติของข้อความ */
    transition: color 0.3s ease; /* เอฟเฟกต์การเปลี่ยนสี */
}


footer a:hover {
    color: #007bff;
}

footer img {
        width: 100px;  /* ขนาดของ logo */
        height: auto;
 
    }

    .divider {
        border: 0;
        height: 1px;
        background-color: #6c757d; /* สีของเส้นขีด */
        margin: 20px auto;
        width: 80%; /* ความยาวของเส้น */
    }