@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: '鼎猎珠海体';
    src: url('../字体/鼎猎珠海体.ttf') format('truetype');
    font-weight: normal;
    /* 字体粗细 */
    font-style: normal;
    /* 字体样式（斜体） */
}






:root {
    --imperial-blue: #d28a39;
    --gold: #4f5f96;
}

@font-face {
    font-family: '鼎猎珠海体';
    src: url('../字体/鼎猎珠海体.ttf') format('truetype');
    font-weight: normal;
    /* 字体粗细 */
    font-style: normal;
    /* 字体样式（斜体） */
}

a {
    font-family: '鼎猎珠海体';
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* 消除 li 元素的默认样式 */
ul li {
    list-style-type: none;
    /* 如果需要去除列表项的内边距和外边距，可以添加以下两行 */
    margin: 0;
    padding: 0;
}

/* 其他样式保持不变 */

/* 添加固定导航栏的样式 */
.nav-container.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* 确保导航栏在其他元素之上 */
}

@font-face {
    font-family: '峄山碑篆体';
    /* 自定义字体名称 */
    src: url('../字体/峄山碑篆体.ttf') format('truetype');
    /* 兼容旧浏览器 */
    font-weight: normal;
    /* 字体粗细（根据实际文件调整） */
    font-style: normal;
    /* 字体样式（斜体等） */
}

span {
    font-family: '峄山碑篆体';
    font-size: 32px;
    letter-spacing: 5px;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}

.nav-container {
    background-color: var(--imperial-blue);
    /* padding: 10px 20px; */
    background-color: #77201f;
    background-size: cover;
}

.nav-bar {
    font-family: '鼎猎珠海体';
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* 调整图片样式 */
.brand img {
    width: 70px;
    /* 根据实际情况调整宽度 */
    height: auto;
    /* 保持图片比例 */
}

.nav-menu {
    font-family: '鼎猎珠海体';
    display: flex;
    list-style: none;
    position: relative;
    transition: opacity 0.3s;
}

.nav-item {
    margin-left: 15px;
    position: relative;
}

.nav-link {
    font-family: '鼎猎珠海体';
    color: white;
    text-decoration: none;
    padding: 0px 30px;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 24px;
}

.nav-link:hover {
    background-color: #77201f;
    border-radius: 4px;
}

.dropdown-menu {

    display: none;
    list-style: none;
    position: absolute;
    top: 124%;
    left: 0;
    background-color: #77201f;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(119, 181, 186, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    min-height: 40px;
}

.dropdown-menu.visible {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    transition: 0.2s;
}

.dropdown-item a {
    color: #ffffff;
}

.dropdown-item a:active {
    color: #4f5f96;
}

.dropdown-item:hover {
    background-color: #77201f;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 32px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--imperial-blue);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #77201f;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu.visible {
        max-height: 500px;
    }

    .hamburger {
        display: block;
    }
}











p {
    font-family: '鼎猎珠海体';
    font-size: 1.5em;
}

h2 {
    font-family: '鼎猎珠海体';

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

::selection {
    background: rgba(0, 0, 0, .2);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

@font-face {
    font-family: '余思源颜黄体';
    src: url('../字体/余思源颜黄体.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.daping {
    background: url(../img/gongtong/敦煌乐舞.png) no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

#text {
    font-family: '余思源颜黄体';
    position: absolute;
    font-size: 12em;
    font-weight: normal;
    color: #eaeaea;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .2);
}

.parallax img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.sec {
    position: relative;
    background: url('../img/figure/背景1.png');
    padding: 50px;
    flex: 1;
}

.banxin {
    width: 70%;
    margin: auto;
    align-items: center;
}

.jieshao {
    position: relative;
    overflow: hidden;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    text-indent: 2em;
    justify-content: center;
    /* 垂直居中 */
    align-items: center;
    /* 水平居中 */
    /* background-image: url('../img/yuewu/供养伎乐天.png'); */
    background-size: cover;
    /* 使背景图覆盖整个容器，保持比例且不变形 */
    background-position: center;
    background-attachment: fixed;
    /* 固定背景图 */
    background-repeat: no-repeat;
    /* 防止背景图重复 */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    min-height: 300px;
    /* 设置最小高度，可根据实际情况调整 */
    width: 100%;
    /* 确保宽度为 100% */
}

.jieshao p {
    font-size: 1rem;
    color: #fff;
    font-weight: 300;
    padding: 0 4rem;
    margin-top: 50px;
    margin-bottom: 50px;
    line-height: 3rem;
    width: 100%;
    /* 确保 p 元素宽度占满容器 */
}

.jieshao h2 {
    color: white;
    font-size: 1.5rem;
    /* 可根据实际情况调整字体大小 */
    margin-bottom: 20px;
    /* 可根据实际情况调整间距 */
}

.heading-brush {
    width: -moz-fit-content;
    width: fit-content;
    height: -moz-fit-content;
    height: fit-content;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    cursor: default;
    display: flex;
    justify-content: center;
    align-items: center;

}

.heading-brush img {
    height: 5rem;
    width: 15rem;
    margin: auto;
    position: relative;
    border-radius: 10px;
}

.heading-brush h2 {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
}

.leibie {
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
}

.category {
    width: 150px;
    height: 150px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('../img/yuewu/伎乐.png');
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
    overflow: hidden;
    position: relative;
}

.category img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: transform 5s ease;
}

.tiff {
    z-index: 2;
    text-align: center;
    color: white;
}

.category:hover img {
    transform: rotate(360deg);
}

/* 图片掉落 */
.beijing {
    position: relative;
    background-color: #fff;
    width: 100%;
    height: 0;
    padding-bottom: 44%;
    margin: 0 auto;
    overflow: hidden;
    /* margin-top: 8%; */
}

.beijing .three1 {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    background: url(../img/yuewu/背景2.png);
}

.beijing .three1 .one {
    position: absolute;
    margin-top: -36%;
    width: 80%;
    z-index: 1;
}

.beijing .three1 .one img {
    width: 100%;
}

.beijing .three1 .two {
    position: absolute;
    margin-top: -36%;
    z-index: 2;
}

.beijing .three1 .two img {
    width: 100%;
}

.beijing .three1 .three {
    position: absolute;
    margin-top: 2%;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.beijing .three1 .three img {
    width: 80%;
}

.beijing .three1 .four {
    position: absolute;
    margin-top: 8.5%;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.beijing .three1 .four img {
    width: 80%;
}

/* footer 样式 */
.footer {
    background-image: url('../img/yuewu/footer2.png');
    /* 替换为实际的图片路径 */
    background-size: cover;
    /* 使背景图覆盖整个容器，保持比例且不变形 */
    background-position: center;
    /* 背景图居中显示 */
    background-repeat: no-repeat;
    /* 防止背景图重复 */
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer_box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_content {
    width: 100%;
}

.footer_title {
    font-family: '鼎猎珠海体';
    margin-bottom: 10px;
}

.footer_data {
    list-style-type: none;
    padding: 0;
}

.footer_data li {
    font-family: '鼎猎珠海体';
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--imperial-blue);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #ad5f2e;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu.visible {
        max-height: 500px;
    }

    .hamburger {
        display: block;
    }

    .banxin {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .banxin {
        width: 1200px;
    }
}