/* 定义字体族 */
@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: 2600px;
      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{
    text-align: center;
    padding-top: 120px;
    color: #A35C0A;
    font-size: 30px;
}
.title1 img{
    width:70px;
} 
.yun1{
    margin-right: -30px;
}
.yun2{
    margin-left: -30px;
}
.yun a{
    text-decoration: none;
    color: #A35C0A;
}
.items2{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background: var(--clr);
}
.content{
    position:relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap:20px;
}

.card{
    position:relative;
    width:320px;
    height:250px;
    background: linear-gradient(to bottom right, #f1d9b2, #d8ab61);
    border-radius: 10px;
    display: flex;
    justify-content: conter;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    transition: 0.5s;
}
.card:hover{
    height: 350px;
}
.img-box{
    position: absolute;
    inset: 20px 20px 50px 20px;
    /* background: #f00; */
    border-radius: 10px;
    transition: 0.5s;
}
.card:hover .img-box{
    inset: -50px 60px 250px 60px;
    box-shadow: 0 0 0 10px #EBE4D2;
}
.img-box img{
    width:100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.card p{
    position: relative;
    padding:40px;
    font-size: 16px;
    color: black;
    text-align: center;
    opacity: 0;
    transform: translateY(-50px);
}
.card:hover p{
    opacity: 1;
    transform: translateY(90px);
}
.card h3{
    position: absolute;
    bottom: 8px;
    transition: 0.5s;
    text-align: center;
    color: #A35C0A;
    font-size: 24px;
}
.card:hover h3{
    padding: 5px 25px;
    background: #A35C0A;
    color: #ffffff;
    bottom: -25px;
    border-radius: 10px;
    box-shadow: 0 0 0 10px #EBE4D2;
}
h4{
    text-align: center;
    padding-top: 50px;
    color: #A35C0A;
    font-size: 30px;
}
.title2 img{
    width:70px;
} 
.yun3{
    margin-right: -30px;
}
.yun4{
    margin-left: -30px;
}
.chuanchengren{
    width:80%;
    margin: auto;
    padding-top:20px;
}
.chuanchengren.title{
    display: flex;
	justify-content: space-between;
	margin-bottom: 50px;
}
.allmingzi{
    display: flex;
    gap: 20px;
}
.mingzi{
    background:#f3cf95;
	height: 60px;
	width: 30%;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 28px;
	box-shadow: 0 0 10px #fff;
	cursor: pointer;
}
.mingzi img{
    width: 50px;
	height: 50px;
	border-radius: 100%;
	transition: .5s;
	object-fit: cover;
			
}
.mingzi span{
    color: #fff;
	font-size: 20px;
	letter-spacing: 5px;
	margin-right: 10px;
	font-weight: bold;
	transition: .5s;
}
.mingzi.checked{
    background: linear-gradient(to bottom right, #d1924a, #E8CEA5);
	box-shadow: 0 0 30px #fff;
}
.mingzi.checked span{
    margin-right: 35px;
}
.mingzi.checked img{
    transform: scale(1.5);
}
.renwu{
    /* background-color: #E8CEA5; */
    background: linear-gradient(to bottom right, #E8CEA5, #da9f40);
	height: 0;
	padding: 0;
	overflow: hidden;
	border-radius: 30px;
	color: black;
	opacity: 0;
	transition: .5s;
    margin-top: 10px;
}
.che{
    opacity: 1;
	height: 600px;
	padding: 20px;
}
.diqu{
    font-size: 20px;
}
.renwu h1{
    font-size: 50px;
	margin: 20px 0;
}
.jieshao p{
    font-size: 16px;
	line-height: 2;
	text-align: justify;
}
.jieshao p span{
    font-size: 20px;
    line-height: 5px;
    color: #b33c08;
}
.renwuimg{
    display: flex;
	justify-content: space-between;
	margin-top: 30px;
}
.renwuimg img{
    width: 47%;
	height: 280px;
	object-fit: cover;
	border-radius: 10px;
}
