/* 定义字体族 */
@font-face {
  font-family: ziti;  /* 自定义字体名称 */
  src:
    url(../fonts/演示秋鸿楷2.0.ttf) format('truetype');
  font-weight: 100 900;          /* 字体粗细 */
  font-style: normal;           /* 字体样式 */
  font-display: swap;           /* 避免文字闪烁 */
}


body,header,main,nav,aside,h1,h2,h3,h4,h5,h6,p,ul,ol,li,img,a,span,div,p{
    margin:0;
    padding:0;
    border:0;
    list-style: none;
    box-sizing: border-box;

}
*{
    margin: 0;
    padding: 0;
}
a,a:hover{
    text-decoration: none;
}
html {
  /* 公式：clamp(最小值, 理想值, 最大值) */
  font-size: clamp(16px, 1.5vw + 0.5rem, 28px);
}
body{
    font-family: ziti;
}


/* 导航栏 */
nav{
    height: 60px;
    background: #5A2B17;
    color: #fff;
    display: flex;
    gap: 10px;
    justify-content:space-around ;
    line-height: 60px;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
header{
    position: relative;
}
nav .logo{
    height: 60px;
    display: inline-flex;
    align-items: center;
}
nav span{
    display:block;
    /* font-size: 1.6rem; */
    font-size: 2vw;
    /* 改为相对单位 */
}
nav .daohang{
    display: flex;
    gap: 20px;
    /* font-size:1.5rem ; */

}
nav img{
    height: 60px;
    width: 60px;    
}
/* ul li{
    text-align: center;
} */
li a{
    color: #fff;
    font-size: 2vw;
    /* 改为相对单位 */
}
li a:hover{
    color: #A35C0A;
    font-size: 1.8vw;
    /* 改为相对单位 */
}

.daohang {
  width:1000px;
  height: 65px;
  /* background-color: #E8CEA5; */
  display: flex;

}
.daohang a{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size:28px ;
}
.item1{
  width:15%;
  height:100%;
  position: relative;
  transition: .4s;
}
.lists{
  position: absolute;
  top:65px;
  width:100%;
  overflow: hidden;
  max-height: 0px;
  transition: .4s;
  border-radius: 0 0 10px 10px;
  background-color: #c57f2e;
}
.list{
  height:60px;
  transition: .4s;
}
.item1:hover{
  background-color: rgba(157,104, 42,0.5);
}
.item1:hover .lists{
  max-height: 500px;
}
.list:hover{
  background-color:#edcc97;
  border-radius: 10px;
}

/* 媒体查询，调整不同屏幕尺寸下的字体大小 */
@media (min-width: 1200px) {
    nav .logo span {
        font-size: 28px;
    }

    li a,
    .daohang a {
        font-size: 28px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    nav .logo span {
        font-size: 20px;
    }

    li a,
    .daohang a {
        font-size: 20px;
    }
}

@media (max-width: 1146px) {
    nav .logo span {
        display: none;
        /* 隐藏logo中的“布老虎”三个大字 */
    }

    li a,
    .daohang a {
        font-size: 1.8vw;
        /* 保持相对单位 */
    }
}

@media (max-width: 700px) {
    nav .logo span {
        display: none;
        /* 隐藏logo中的“布老虎”三个大字 */
    }

    li a:hover {
        color: #fff;
        /* 恢复原色 */
        font-size: 2vw;
        /* 恢复原大小 */
    }

    .item1:hover .lists {
        max-height: 0px;
        /* 隐藏下拉菜单 */
    }

    .list:hover {
        background-color: transparent;
        /* 恢复原背景色 */
        border-radius: 0;
        /* 恢复原边框半径 */
    }
}
/* 导航栏 */



/* 主体内容 */
main{
    background-image: url(../images/bgc.png);
    background-size: cover;
    /* height: 100vh; */
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 3500px;
    z-index: -1;
}
/* 版尾 */
footer{
    background-color: #5A2B17;
    color: #fff;
    text-align: center;
    padding: 50px;
    font-size: 0.65rem;
}

/* 顶部图片 */
.top1{
    min-width: 1024px;
    min-height: 700px;
    display: flex;
    position: relative;
}

.top img{
    width: 100%;
    height:100%;
    object-fit: cover;
}
.top2{
    /* width: 600px; */
    /* height: 180px; */
    position:absolute;
    left: 400px;
    top: 400px;
    
}
.top2 p{
    font-size: 160px;
    color: #fff;
    text-shadow: 0 0 10px #A35C0A;
    letter-spacing: 100px;
}
.grow-text {
    display: inline-block;
    /* font-size: 24px; */
    animation: growAnimation .8s ;
    animation-delay: .3s;
}

@keyframes growAnimation {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* 回到顶部 */
#gettop{
    position: fixed;
    bottom: 30px;
    left: 95%;
    display: none;
}
#gettop img{
    width: 45px;
    height: 45px;
   
}


h2{
    margin:30px;
    margin-top: 0px;
    padding-top: 80px;
}
.title1{
    display: flex; 
}
.title yun{
    flex: 1;
}
h2{
    text-align: center;
    padding-top: 80px;
    color: #A35C0A;
    font-size: 30px;
}
.title1 img{
    width:70px;
} 
.yun a{
    text-decoration: none;
    color: #A35C0A;
}
.yun1{
    margin-right: -30px;
}
.yun2{
    margin-left: -30px;
}
.cialiao{
    width:80%;
    height:510px;
    /* background-color: #fff; */
    margin: auto;
    /* margin-top: 15px; */
    display: flex;
    flex-direction: column;
    gap:10px;
}
.item img:hover{
    transform: rotateY(0deg) scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0, 0,.3);
}
.items{
    flex:1;
    /* background: linear-gradient(to bottom, #E8CEA5, #e0a84d); */
    border-radius: 10px;
    display: flex;
    gap:20px;
}
.item{
    flex:1;
    /* background-color: pink; */
}
.item img{
    width:110px;
    height:110px;
    margin: 10px;
    margin-left: 50px;
    border-radius: 50%;
    transition-duration: .3s;
}
.item p{
    text-align: center;
    font-size: 20px;
    color: black;
    margin-bottom: 15px;
    margin-left: -40px;
}
.th1 p{
    margin-top: 80px;
    
}
h3{
    text-align: center;
    margin-top:150px;
    font-size: 30px;
    color: #A35C0A;
    display: flex;
   
}
.yun{
    flex:1;
}
h3 img{
    width: 70px; 
}
.yun3{ 
    margin-right: -30px;

}
.yun4{
    margin-left: -30px;
}
.zhizuo{
    /* background-color: #fff; */
    width:80%;
    height:600px;
    margin:auto;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap:20px;

}
.guocheng{
    flex:1;
    /* background-color: #E8CEA5; */
    display: flex;
    gap:10px;
}
.buzhou{
    /* background-color: #fff; */
    flex: 1;
    border-radius: 10px;
    transition-duration: .3s;
}
.buzhou:hover{
    transform: rotateY(0deg) scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0, 0,.5);
}
.buzhou img{
    width:200px;
    height:150px;
    margin: 10px;
    margin-left: 30px;
    border-radius: 10px;
}
.buzhou p{
    color: black;
    font-size: 16px;
    text-align: center;
}
h4{
    text-align: center;
    margin-top:100px;
    font-size: 30px;
    color: #A35C0A;
    display: flex;
}
h4 img{
    width:70px;
}
.yun5{
    margin-right: -30px;
}
.yun6{
    margin-left: -30px;
}
.items3{
    position:relative;
    min-width: 1000px;
    display: flex;
    justify-content: center;
    /* flex-wrap: wrap; */
    /* 设置3D变化 */
    transform-style: preserve-3d;
    /* 添加透视效果 */
    perspective: 900px;
}
.wenchuan{
    position: relative;
    width:200px;
    height:300px;
    transition: .3s;
    overflow: hidden;
    margin:30px;
    transform: rotateY(0);
    transition-delay: .1s;
    border-radius: 10px;
    border: #fff 5px solid;
}
.tupian img{
    width:200px;
    height:300px;

}
.items3:hover.wenchuan{
    transform: rotateY(20deg);
}
.wenchuan:hover{
    transform: rotateY(0deg) scale(1.20);
    box-shadow: 0 25px 40px rgba(0,0, 0,.5);
    z-index: 1;
}
.wenchuan:hover~.wenchuan{
    transform: rotateY(-20deg);
}
.wenzi{
    position: absolute;
    top:0;
    width:100%;
    height:100%;
    z-index: 999;
    padding:15px;
}
.wenzi p{
    color:#fff;
    transition: .3s;
    font-size: 16px;
    transform: rotateY(600px);
    /* background-color: rgb(255, 255, 255,.5); */
    text-align: center;
    margin-top: 220px;
}
.wenchuan:hover.wenzi p{
    transform: rotateY(220px);
}






    













    



