* {
  margin: 0;
  padding: 0;
  /* 去掉默认的内外边距 */
  box-sizing: border-box;
  /* 告诉浏览器：你想要设置的边框的值包含在width内的*/
}
body {
  width: 100%;
  height: 100vh;
  /* body铺满整个视口 */
  background-color: #FFFFFF;
  /* 设置一个背景颜色防止图片加载不出来导致没有背景 */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* 图片位置居中，大小适应宽高，不重复 */
}

html {
  font-size: 62.5%;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  /* 去掉a标签默认样式 */
}
.header {
  border-bottom: 1px solid #e2e8f0;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background-color: #fff;
}
.hamburger {
  display: none;
}
.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  /* 设置个过渡动画 */
  background-color: #101010;
}
.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-item {
  margin-left: 5rem;
}
.nav-item1{
	margin-left: 5rem;
	font-size: 2.5rem;
	color: #F59160;
	font-weight:bold;
}
.nav-link {
  font-size: 2.3rem;
  font-weight: 400;
  color: #475569;
}
.nav-link1 {
  font-size: 2.5rem;
	color: #F59160;
	font-weight:bold;
}
  
.nav-link:hover {
  font-size: 2.5rem;
  color: #F59160;
  font-weight:bold;
}
.logo{
	margin-top: 20px;
	float: left;
    margin-left: 90px;
	width: 230px;
	height: 55px;
}
.nav-logo {
  font-size: 2.1rem;
  font-weight: 500;
  color: #482ff7;
}

.daohang link.active a {
    font-size: 2.5rem;
	color: #F59160;
	font-weight:bold;
    }

.popup-box {
            display: none;
            position: absolute;
            width: 140px;
            height: 140px;
            background-color: #C5C5C5;
            border: 1px solid #C5C5C5;
            padding: 5px;
	        text-align:center;/*设置文字左右居中*/
        }
        .popup-title {
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        .popup-qrcode {
            width: 100px;
            height: 100px;
        }

@media only screen and (max-width:1200px) {
	.logo{
	margin-top: 20px;
	float: left;
    margin-left: 70px;
	max-width: 70%;
	height: auto;
}
}

@media only screen and (max-width:895px) {
  /* 媒体查询用于根据宽度匹配布局 */
  .hamburger{
    display: block;
    cursor: pointer;
  }
  .nav-menu{
    position: fixed;
    right: -100%;
    top: 4rem;
    flex-direction: column;
    /* 纵向布局 */
    background-color: #fff;
    width: 30%;
    border-radius: 10px;
    text-align: center;
    /* 文本居中 */
    transition: all .3s;
    /* 过渡 */
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);

  }
  .nav-menu.active{
    right: 0;
  }
  .nav-item{
    margin: 1rem 0;
	
  }

.nav-item1{
	margin-left: 5rem;
	font-size: 2rem;
	color: #F59160;
	font-weight:bold;
}
.nav-link {
  font-size: 2rem;
  font-weight: 400;
  color: #475569;
}
.nav-link1 {
  font-size: 2.2rem;
	color: #F59160;
	font-weight:bold;
}
  
.nav-link:hover {
  font-size: 2.rem;
  color: #F59160;
  font-weight:bold;
}
	.logo{
	margin-top: 20px;
	float: left;
    margin-left: 30px;
	max-width: 70%;
	height: auto;
}
}
.hamburger.active .bar:nth-child(2){
opacity: 0;
}
.hamburger.active .bar:nth-child(1){
transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(3){
transform: translateY(-8px) rotate(-45deg);

}


@media only screen and (max-width:660px) {
	.logo{
	margin-top: 20px;
	float: left;
    margin-left: 10px;
	max-width: 50%;
	height: auto;
}
	
	
}