header {
  width: 100%;
  height: 1rem;
  background: #FFFFFF;
  position: fixed;
  top: 0;
  z-index: 99;
  border-bottom: 0.01rem solid #C1C1C1;
}

header .main {
  display: flex;
  justify-content: space-between;
}

header .logo {
  width: 2.88rem;
  height: 1rem;
}

.navlist {
  height: 1rem;
  display: flex;
  gap: .48rem;
  align-items: center;
}

.navlist a {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.18rem;
  color: #505050;
  line-height: 0.24rem;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.navlist a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.04rem;
  background: linear-gradient(90deg, #9F7D62 0%, #42210B 100%);
  transition: all .3s;
}

.navlist a:hover::after,
.navlist a.act::after {
  width: 100%;
}














.m_header{
    display: none;
    position: fixed;
    z-index: 99;
    width: 100%;
    top: 0;
}
.m_header:before{
    content: "";
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    display: none;
}
.m_header.act:before{
    display: block;
}
.m_header .head_top{
    width: 100%;
    padding: 0 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
    border-bottom: 0.01rem solid #C1C1C1;
    background: #fff;
}
.m_header .logo{
    height: 60px;
    width: auto;
}
.m_header .head_nav{
    position: fixed;
    width: 50%;
    height: 100vh;
    background: #fff;
    right: -50%;
    transition: right 0.5s;
    padding: 20px;
}
.m_header .head_nav.act{right: 0;}
.m_header .head_nav a{
    font-size: 18px;
    color: #333;
    margin: 20px 0;
}
.m_header .head_nav a.act{
    font-weight: bold;
}
#nav-btn {
    z-index: 9;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
}

#nav-btn .navbtn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #42210B;
    transform: translate(-50%, -50%);
}
#nav-btn .colse,
#nav-btn.act .navbtn{
    display: none;
}

#nav-btn.act .colse{
    width: 20px;
    height: 20px;
    background: url(../img/colse.png) center no-repeat;
    background-size: contain;
    display: block;
}

#nav-btn .navbtn::after,
#nav-btn .navbtn::before {
    position: absolute;
    left: 0;
    display: inline-block;
    width: 20px;
    height: 2px;
    content: '';
    -webkit-transition: all .3s ease-out 0s;
    -moz-transition: all .3s ease-out 0s;
    -ms-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s;
    background: #42210B;
}

#nav-btn .navbtn::before {
    top: 8px;
}

#nav-btn .navbtn::after {
    top: -8px;
}
@media only screen and (max-width:1042px) {
    body{
        padding-top: 80px;
    }
    header{
        display: none;
    }
    .m_header{
        display: block;
    }
}





