@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;
}

body {
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    margin: auto;
}

header {
    position: fixed;
    padding: 1.25vw 0;
    left: 0;
    right: 0;
    transition: background 0.2s ease-in-out;
    z-index: 999;
    background: linear-gradient(to top,
            rgba(84, 57, 33, 0) 0%,
            rgba(74, 53, 34, 0.16) 23%,
            rgba(0, 0, 0, 1) 92%);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.042vw;
}

.logo {
    background: url(../img/logo.webp) no-repeat center;
    background-size: contain;
    width: 8.75vw;
    height: 5.208vw;
    position: relative;
    flex: 1;
}

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:nth-child(1) {
    flex: 2;
    justify-content: space-evenly;
}

nav ul:nth-child(3) {
    flex: 2;
    justify-content: space-evenly;
}

nav ul li a {
    padding: 0 0.833vw;
    position: relative;
}

nav ul li a:hover {
    color: #e7cb9a;
}

nav ul li a.active {
    height: 0.208vw;
    width: 4.479vw;
    color: #e7cb9a;
}

nav ul li+li {
    margin-left: 1.667vw;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5vw 0;
    background: #000000;


    border-top: 3px solid transparent;
    border-image: linear-gradient(to bottom,
            rgba(219, 202, 176, 1) 0%,
            rgba(117, 108, 94, 1) 48%,
            rgba(219, 202, 176, 1) 100%);
    ;
    border-image-slice: 1;

}

.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    font-size: 1.042vw;
    color: #FFFFFF;
}

.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: #BEBEBE;
}

.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;
}