@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;
    }
}











@font-face {
    font-family: '鼎猎珠海体';
    src: url('../字体/鼎猎珠海体.ttf') format('truetype');
    font-weight: normal;
    /* 字体粗细 */
    font-style: normal;
    /* 字体样式（斜体） */
}

p {
    font-family: '鼎猎珠海体';
    /* font-size: 1.5em; */
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: url(../img/culture-5/背景2.png);
    overflow: hidden;
    height: 100vh;
}

/* 设置滚动条 */
::-webkit-scrollbar {
    width: 1px;
    height: 1px;
}

.box {
    /* 设置一个较大的 z-index 值，确保文字始终在图片之上 */
    color: azure;
    z-index: 999;
    width: 400px;
    text-indent: 2em;
    font-weight: 400;
    line-height: 1.5;
    position: relative;
    /* 确保 z-index 生效 */
}

.box h3 {
    font-family: '余思源颜黄体';
    font-weight: 400;
    font-size: 2rem;
    margin: 20px 0 0 20px;
    justify-content: center;
}

.images img {
    max-width: 45vh;
    max-height: 50vh;
    transition: .5s;
    position: relative;
    /* 确保 z-index 生效 */
    z-index: 1;
    /* 图片的 z-index 低于文字 */
}

.images:hover img {
    box-shadow: 0 10px 30px #86c4f7;
    transform: scale(1.05);
}

.shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vh;
    transform: rotate(-90deg) translate3d(0, -100vh, 0);
    transform-origin: right top;
    overflow-x: hidden;
    height: 100vw;
    perspective: 1px;
    transform-style: preserve-3d;
}

.images {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    transform-origin: 50% 50%;
    transform: rotate(90deg) translateZ(.1px) scale(1.1) translateX(0px) translateY(2vh);
    transition: 1s;
}

.slower {
    transform: rotate(90deg) translateZ(-.12px) scale(1.3) translateX(0%) translateY(-8vh);
}

.slower1 {
    transform: rotate(90deg) translateZ(-.25px) scale(1.35) translateX(0%) translateY(2vh);
}

.slower-down {
    transform: rotate(90deg) translateZ(-.1px) scale(1) translateX(0%) translateY(16vh);
}

.faster {
    transform: rotate(90deg) translateZ(-.05px) scale(1.1) translateX(0%) translateY(15vh);
}

.faster1 {
    transform: rotate(90deg) translateZ(.05px) scale(1.4) translateX(0%) translateY(10vh);
}

.fastest {
    transform: rotate(90deg) translateZ(.22px) scale(0.7) translateX(-10vh) translateY(-15vh);
}

.vertical {
    transform: rotate(90deg) translateZ(-.1px) scale(1.6) translateX(0%) translateY(-3vh);
}