*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: helvetica,"PingFang SC","microsoft yahei",sans-serif;
	  font-size: 14px;
}
@font-face {
  font-family: 'iconfont';
  src: url('../iconfont/iconfont.eot');
  src: url('../iconfont/iconfont.eot?#iefix') format('embedded-opentype'),
      url('../iconfont/iconfont.woff2') format('woff2'),
      url('../iconfont/iconfont.woff') format('woff'),
      url('../iconfont/iconfont.ttf') format('truetype'),
      url('../iconfont/iconfont.svg#iconfont') format('svg');
}

body{
	line-height: 1;
	background-color: #ffffff;
}
/*  导航栏 */
.header{
	width: 100%;
	height: 82px;	
	display: grid;
	grid-template-columns: 1fr 2fr;
	align-items: center;
	padding: 0 40px;
	background-color: white;
}
.header .burger{
	display: none;
}
.header.sticky{
	position: fixed;
	z-index: 100;
	background-color: white;
	box-shadow: 0 0 18px rgba(0,0,0,.2);
	animation: dropDown 0.5s ease-in-out forwards;
}
@keyframes dropDown{
	from{
		transform: translateY(-100px);
	}
	to{
	    transform: translateY(0);
	}
}


.logo>div:first-child{
	font-size: 24px;
	color: #333333;
}
.logo>div:last-child{
	font-size: 14px;
	color: #333333;
}
.nav{
	justify-self: end;
}
.nav a{
	display: block;
	text-decoration: none;
	font-size: 20px;
	color: #333333;
}
.nav>ul>li{
	display: inline-block;
	width: 110px;
	height: 50px;
	background-color: #ffffff;
	border-radius: 25px;
	text-align: center;
	line-height: 50px;
	margin-left: 20px;
	list-style: none;
}
.nav>ul>li:hover a{
	background-color: #1b57ec;
	color: #ffffff;
	border-radius: 25px;
}

/* 底部栏 */
.footer{
	width:100%;
	height: auto;
	background-color: #2a282b;
	padding-top: 50px;
	
}
.footer-menus{
	width: 1200px;
	margin: 0 auto;
	
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-auto-rows: 292px;
	
}
.footer-menus>div{
}
.frist-div{
	display:grid;
	grid-template-columns: repeat(2,1fr);
	grid-auto-rows: 100%;
}
.last-div{
	display:grid;
	grid-template-columns:263px 1fr;
	grid-auto-rows:auto;
}
	
.last-div img{
	width: 170px;
	height: 170px;
	object-fit: cover;
}
.frist-div>div{

	overflow: hidden;
}
.frist-div>div>p{
	line-height: 35px;
}
.frist-div>div>p>a{
	text-decoration: none;
	font-size: 14px;
	color: #ffffff;
}
.frist-div>div:first-child{
	padding-left: 45px;
}

.last-div>div>h5{
	font-size: 18px;
	color: #ffffff;
	margin-bottom: 29px;
}
.last-div>div>p{
	font-size: 14px;
	color: #ffffff;
	line-height: 35px;
}

@media screen and (max-width: 768px) {
	.header.sticky{
		background-color: black;
	}
	.header{
		height: 40px;
		grid-template-columns: 1fr 40px;
		align-items: center;
		padding:0 10px;
		background-color:black;
	}
	.logo>div:first-child{
		font-size:14px;
		color: #ffffff;
	}
	.logo>div:last-child{
	 display: none;
	}
	.header .nav{display: none;}
	.footer-menus{
		width: 100vw;
		margin: 0 auto;
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		grid-row-gap: 40px;
		
	}
	.frist-div{
		
	}
	.frist-div>div{
		text-align: center;
	}
	.frist-div>div:first-child{
		padding-left: 0;
	}
	.last-div{
		grid-template-columns:1fr;
		grid-auto-rows: auto;
		justify-items: center;
	}
	.last-div div{
		width: 100vw;
		text-align: center;
		padding-top: 28px;
		grid-auto-rows: 100%;
		background-color: #2a282b;
	}
	.header .burger{
		display: block;
		width: 20px;
		height: 6px;
		position: relative;
		justify-self: end;
	}
	.burger-line1,.burger-line2,.burger-line3{
		width: 20px;
		height: 2px;
		background-color: white;
	}
	.burger-line1{
		position: absolute;
		top: -6px;
	}
	.burger-line2{
		position: absolute;
		
	}
	.burger-line3{
		position: absolute;
		top: 6px;
	}
	
	.header.open .nav{
		display: block;
		z-index: 100;
		position: absolute;
		left: 0;
		top: 0;
		width: 100vw;
		height: 100vh;
		background-color: white;
		display: grid;
		grid-template-columns: 1fr;
		animation: slideDown 0.6s ease-out forwards;

	}
	.header.open .nav ul{
		display: block;
		z-index: 100;
		position: absolute;
		left: 0;
		top: 0;
		padding-bottom: 10px;
		width: 100vw;
		height: 100vh;
		background-color: white;
		display: grid;
		grid-template-columns: 1fr;
		animation: slideDown 0.6s ease-out forwards;
	
	}
	.header.open .nav ul li{
		background-color:transparent;
		width: 100%;
		height: auto;
		margin-left: 0;
	
	}

	.header.open .burger-line1 ,.header.open .burger-line2,.header.open .burger-line3{
		background-color: black;
		z-index: 102;
	}
	.header.open .logo div:first-child{
		position: relative;
		z-index: 102;
		color:#000000;
		
	}
	.header.open .logo{
		position: relative;
		z-index: 102;
		color:#000000;
		
	}
 	.header.open .nav ul{
		
	
	}
	.header.open .burger-line1{
		transform: rotate(45deg) translate(3px,5px);
	}
	.header.open .burger-line2{
		transform: translateX(5px);
		opacity: 0;
		
	}
	.header.open .burger-line3{
			transform: rotate(-45deg) translate(3px ,-5px);
		
	}
	@keyframes slideDown{
		from{
			height: 0;
			opacity: 0;
		}
		to{
			height: 100vw;
			padding-top: 80px;
			opacity: 1;
		}
	}
	
}