@font-face {
    font-family: 'TaoBaoMaiCaiTi';
    src: url('/font/TaoBaoMaiCaiTi-Regular.ttf') format('truetype'),
        url('/font/TaoBaoMaiCaiTi-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('/font/HarmonyOS_Sans_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans Condensed';
    src: url('/font/HarmonyOS_Sans_Condensed_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OPPOSans';
    src: url('/font/OPPOSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FZCuHuoYi-M25S';
    src: url('/font/FZCHYJW--GB1-0.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: 'OPPOSans', Arial, sans-serif;
    font-weight: normal;
}

.zoom-wrapper {
    transform-origin: top center;
    /* transition: transform 0.3s ease; */
}

body {
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    /* max-width: 87.5vw; */
    margin: auto;
}

header {
    position: fixed;
    padding: 1.25vw 0;
    left: 0;
    right: 0;
    transition: background 0.2s ease-in-out;
    z-index: 999;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
    background: #FFFFFF;
}

/* header.active,
header:hover {
    background: rgba(0, 0, 0, 0.3);
} */

header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E1E1E;
    font-size: 0.938vw;
}

.logo {
    background: url(../images/logo.webp) no-repeat center;
    background-size: contain;
    width: 9.417vw;
    height: 2.708vw;
    right: 3vw;
    position: relative;
}

nav {
    width: 100%;
    max-width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    padding-left: 0px;
}

nav ul li a {
    padding: 0 0.833vw;
    position: relative;
}

nav ul li a:hover {
    color: #8C9EF3;
}

nav ul li a.active {
    height: 0.208vw;
    width: 4.479vw;
    color: #8C9EF3;
}

nav ul li+li {
    margin-left: 1.667vw;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5vw 0;
}

.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    font-size: 1.042vw;
    color: #1E1E1E;

}

.copyright-info {
    margin-top: 2vw;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    line-height: 2.5;
    font-size: 0.833vw;
    color: #1E1E1E;
}

.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.dialog-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.dialog-content h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.5rem;
}

.dialog-content p {
    margin: 0 0 1.5rem 0;
    color: #666;
}

.dialog-content button {
    background-color: #007AFF;
    color: white;
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.dialog-content button:hover {
    background-color: #0056b3;
}