/* Basic styles */
@font-face {
    font-family: 'Iansui';
    src: url('../static/Iansui-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ChenYuluoyan';
    src: url('../fonts/ChenYuluoyan-Thin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


body, html {
    margin: 0;
    padding: 0;
    font-family: 'Iansui', serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: url("./image/底2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 50px;
    overflow: hidden;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 20px;
}

.language-switch {
    margin-left: auto;
    padding-right: 50px;
}

.language-switch button {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 5px;
    cursor: pointer;
    font-family: 'Iansui', serif;
    font-size:1.6rem;
}

.language-switch button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
}

.navbar a {
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size:1.6rem;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

/* Contact Container Styles */
.contact-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.contact-container h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 23px;
    margin-bottom: 15px;
}

.line-contact, .email-contact {
    margin-top: 20px;
}

.qr-code {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

/* Footer Styles */
.footer {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}
/* Burger Menu Styles */
.navbar .menu-toggle {
    display: none;
    cursor: pointer;
    padding-right: 20px;
}

.navbar .menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .language-switch{
        display: none;
    }
    .navbar {
        justify-content: space-between;
    }

    .navbar a {
        display: none;
    }

    .navbar .menu-toggle {
        display: block;
    }

    .navbar.responsive {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        transform: translateX(0);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 60px;
    }

    .navbar.responsive a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 14px 20px;
        border-bottom: 1px solid #444;
    }
}
