/* ฟอนต์จาก Google Fonts */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    cursor: url('path_to_image/your_custom_cursor.png'), auto;
}

/* เมนูโปร่งใสเล็กน้อย */
header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, 0.7);
    /* โปร่งใสเล็กน้อย */
    backdrop-filter: blur(10px);
    /* ทำให้เนื้อหาด้านหลังเบลอ */
    width: 98%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo img {
    height: 50px;
    margin-right: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 5px;
    position: relative;
    /* ใช้สำหรับให้เส้นขีดอยู่ตรงหัวข้อ */
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    padding: 15px 15px;
    display: block;
    position: relative;
}

/* เอฟเฟกต์ hover */
.nav-links a:hover {
    background-color: rgba(255, 0, 0, 0.2);
    /* สีพื้นหลังแดงอ่อน */
    color: white;
    border-radius: 5px;
    /* กำหนดความโค้งของขอบเมื่อ hover */

}

/* เส้นขีดเริ่มจากตรงกลาง */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: red;
    bottom: 0;
    left: 50%;
    /* เริ่มต้นจากกลาง */
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

/* เมื่อ hover เส้นขีดจะขยายออกจากกลาง */
.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

/* ปุ่ม login และ download */
.login-download {
    margin-left: auto;
    margin-right: -60px;
}

.login-download a {
    margin-left: -5px;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 13px;
}

.login-btn {
    background-color: #333;
    color: white;
    width: 200px;
    /* ความกว้างของปุ่ม */
    height: 70px;
    /* ความสูงของปุ่ม */
    font-size: 18px;
    line-height: 60px;
    /* จัดข้อความให้อยู่กลางในแนวตั้ง */
    text-align: center;
    display: inline-block;
}

.download-btn {
    background-color: red;
    color: white;
    width: 130px;
    /* ความกว้างของปุ่ม */
    height: 70px;
    /* ความสูงของปุ่ม */
    font-size: 18px;
    line-height: 60px;
    /* จัดข้อความให้อยู่กลางในแนวตั้ง */
    text-align: center;
    display: inline-block;
}


/* Hamburger Menu สำหรับมือถือ */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.hamburger-menu span {
    background: white;
    height: 3px;
    margin: 4px;
    width: 25px;
}

/* Mobile Menu */
#mobile-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    /* โปร่งใสสำหรับ mobile menu */
    backdrop-filter: blur(10px);
    padding: 20px;
}

#mobile-menu ul {
    list-style: none;
}

#mobile-menu ul li {
    margin-bottom: 15px;
}

#mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* Responsive styling */
@media (max-width: 1500px) {

    .nav-links,
    .login-download {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    #mobile-menu {
        display: none;
        flex-direction: column;
    }

    #mobile-menu.show {
        display: block;
    }


}