html {
    scroll-behavior: smooth;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.5s ease;
}

.navbar.transparent {
    background-color: rgba(255, 255, 255, 0.8);
}

.large-text {
    font-size: 24px;
    color: #000000;
    text-decoration: none;
}

.content {
    margin-top: 80px;
    transition: opacity 0.5s ease;
}

.content.hidden {
    opacity: 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #855e5e;
}

.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    pointer-events: auto;
    transition: background 0.5s ease;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3683ff;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.overlay.active {
    transform: translateX(0);
}

.dropdown {
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

select {
    width: 20%;
    max-width: 500px;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 25px;
    border: 1px solid #ccc;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

select:hover {
    width: 20%;
    max-width: 500px;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 25px;
    border: 1px solid #ccc;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-color: #3683ff;
    /* เปลี่ยนสีขอบเมื่อชี้ */
}

button {
    margin-left: 8px;
    width: 10%;
    max-width: 500px;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 25px;
    border: 1px solid #ccc;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #3683ff;
    /* เปลี่ยนสีเมื่อชี้ */
}