* {
	/* 初始化 清除元素原有的内外边距 */
	padding: 0;
	margin: 0;
}
body {
	/* 让页面占浏览器可视区域的高度 */
	height: 100vh;
	background: black;
	min-height: 600px;
	min-width: 350px;

	/* 安卓上的点击出现篮框问题/*/
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}
h1{
	font-size: 40px;
}
h2{
	font-size: 30px;
}
p{
	font-size: 15px;
}

.navbar input {
	/* 隐藏复选框，原本*/
	display: none;
}

.navbar {
	/* 相对定位 */
	position: fixed;
	/* 让元素的宽度占浏览器可视区域的宽度 */
	width: 100%;
	height: 100px;
	background: rgba(0, 0, 0, 0.8);
	top: 0px;
}


.logo {
	float:left;
	padding: 35px 0px 0px 100px;
}
/* 我们先写PC的导航栏样式 start */
.navbar ul {
	/* 弹性布局 一个线上*/
	display: flex;
	padding: 0px 100px;
	float: right;
}

.navbar ul li {
	/* 隐藏列表的点 */
	list-style: none;
	min-width: 120px;
	/* 控制列表里面的文字居中 */
	text-align:center;
	height: 100%;

}
.navbar ul li a{
	display: block;
	/* 隐藏下划线 */
	text-decoration: none;
	color: white;
	font-size: 20px;
	height: 100%;
	line-height: 100px;
}
.navbar ul li a:hover{
	background: rgba(255, 0, 0, 0.5);
}


video{
	z-index: -9999;
	min-height: 600px;
	min-width: 350px;
	width: 100%;
	height: 100%;
	object-fit: fill;
	/*灰色调*/
	/*-webkit-filter:grayscale(100%)*/
}

.container{
	width: 100%;
	height: 100%;
}

/* 首页Technical_Analysis的介绍和搜索框*/
#Technical_Analysis{
	width: 100%;
	position: absolute;
	bottom: 5px;
	color: rgba(255,255,255,1);
	top: 30%;
	text-align: center;
	min-height: 600px;
	min-width: 350px;
}
.position{
	position: absolute;
	margin-top: -100px;
}

#about_us{
	width: 100%;
	height: calc(100% - 100px);
	background: white;
	color: black;
	overflow: hidden;
}

#about_us_left{
	display: table;
	height: 100%;
	width: 35%;
	float:left;
	padding-left: 100px;

}

#about_us_right {
	display: table;
	/*这个样式根据自己来改就行，有没有都可以*/
	height: 100%;
	float:right;
	padding-right: 100px;
	width: 40%;
}
.vertical_content{
	/*文案垂直居中样式，about_us和serverice都有调用*/
	display: table-cell;
	vertical-align: middle;
}


.img {
	/*这是图片的样式*/
	border-radius: 250px;
	width: 100%;
	min-width: 400px;
}

#service{
	width: 100%;
	height: calc(100%);
	background: black;
	color: white;
	overflow: hidden;
}

#SP{
	position: absolute;
}

#service_left{
	display: table;
	height: 100%;
	width: 35%;
	float:left;
	padding-left: 10%;
	background: black;
}

.vertical_content ul{
	/* 隐藏列表的点 */
	list-style: none;
	color: gray;
}
.vertical_content ul h1:hover{
	color: white;
}
#service_right {
	display: table;
	/*这个样式根据自己来改就行，有没有都可以*/
	height: 100%;
	width: 40%;
	float:right;
	padding-right: 10%;
}
.Contact_US{
	width: 100%;
	height: calc(100% - 100px);
	background: black;
	color: white;
	display: table;
}
#Contact{
	width: 100%;
	height:100%;
	display: table;
	bottom: 5px;
	text-align: center;
	min-height: 600px;
	min-width: 350px;

}
.Contact_sub{
	width: 100%;
}
.Contact_left{
	width: 50%;
	display: inline-block;
	text-align: left;
	margin-left: 10px;

}
.Contact_right{
	width: 50%;
	display: inline-block;
}

#Contact input{
	border: 3px solid white;
	width: 100%;
	padding:3px;
	margin: 5px;
}
#Contact input[id = "name"] , input[id = "email"] {
	height: 20px;
}

#Contact input[id = "message"] {
	height: 200px;

}

#Contact input:focus:invalid:required {
	border: 3px solid rgb(220, 5, 2);
}
#Contact input:valid:required {
	border: 3px solid rgba(255, 255, 255, 0.8);
}
#Contact input:focus {
	outline: none;
}
#Contact button{
	width: calc( 100% + 10px);
	height: 30px;
	background-color: white;
	border: 3px solid white;
	color: black;
	font-size: 20px;
	cursor: pointer;
	padding:3px;
	margin: 5px;
}

#Contact button:hover{
	color: white;
	background-color: black;
	border: 3px solid white;
}


input:invalid:required {
	background-image: url('nor.png');
	box-shadow: 0 0 5px #f0bb18;
	border: 2px solid #f0bb18;
}
/*以下就是让图片旋转的样式代码了*/
@-webkit-keyframes rotation {
	from {
		-webkit-transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(360deg);
	}
}
.Rotation {
	-webkit-transform: rotate(360deg);
	animation: rotation 8s linear infinite;
	-moz-animation: rotation 8s linear infinite;
	-webkit-animation: rotation 8s linear infinite;
	-o-animation: rotation 8s linear infinite;
}
@media (max-width: 980px) {
	.logo {
		padding: 35px  0px 0px 20px;
	}
	/* 我们先写PC的导航栏样式 start */
	.navbar ul {
		/* 弹性布局 一个线上*/
		padding: 0px 20px;
	}
	#about_us_left{
		width: 45%;
		float: left;
		padding-left: 20px;
	}
	#about_us_right {
		display:block;
		/*这个样式根据自己来改就行，有没有都可以*/
		padding-right: 20px;
		width: 45%;
		padding-top:15%;
	}
	.img {
		/*这是图片的样式*/
		border-radius: 250px;
		min-width: 400px;
	}
	.vertical_content ul h1{
		/* 隐藏列表的点 */
		font-size: 30px;
	}
}
@media (max-width: 760px) {
	h1{
		font-size:30px;
	}
	h2{
		font-size:20px;
	}

	.navbar {
		height: 60px;

	}
	.position{
		position: absolute;
		margin-top: -60px;
	}
	.logo {
		padding: 15px 20px;
	}
	.navbar label {
		/* 绝对定位 */
		position: absolute;
		/* clac方法自动计算 让元素垂直居中 50%是中间50%的位置，由于高度是30px，所以要减15px才是中间点*/
		top: calc(50% - 15px);
		right: 15px;
		width: 30px;
		height: 30px;
		border: 1px solid white;

		/* 鼠标移入变小手 */
		cursor: pointer;
		transition: all 0.5s ease-out;
	}
	/* 先把label元素内的两条线定义一下 */
	.navbar label::before,
	.navbar label::after {
		content: "";
		/* 利用两个伪元素来定义 */
		position: absolute;
		left: 5px;
		width: 20px;
		height: 4px;
		/* 让两条更佳圆滑 */
		border-radius: 4px;
		background-color: white;
		/* 收回来的动画刚好相反 */
		transition: transform 0.3s ease-out, top 0.3s ease-out 0.3s;
	}
	/* 分别定义两条线的位置 */
	.navbar label::before {
		top: calc(50% - 8px);
	}
	.navbar label::after {
		top: calc(50% + 5px);
	}
	/* 然后定义label元素的动画效果 */
	/* 对了:checked是判断复选框是否被选中 + 是相邻兄弟选择器 找最近的下一次label元素 */
	.navbar input:checked + label {

	}
	.navbar input:checked + label::before {
		top: calc(50% - 2px);
		/* 逆时针旋转45度 */
		transform: rotate(-45deg);
		transition: top 0.3s ease-out, transform 0.3s ease-out 0.3s;
	}
	.navbar input:checked + label::after {
		top: calc(50% - 2px);
		/* 顺时针旋转45度 */
		transform: rotate(45deg);
		/* 定义过渡效果 */
		/* 先执行top的变化 然后在.3s后执行transform转换 ease-out是从快速到慢速的过程 */
		transition: top 0.3s ease-out, transform 0.3s ease-out 0.3s;
	}
	/* 我们先写移动端的导航栏样式 start */
	.navbar ul {
		width: 100%;
		background: rgba(0, 0, 0, 0.8);

		/* 列表的位置，相对title */
		position: absolute;
		/* PC 的padding 是10px,0, 为了剧中，这里不需要还会影响list出现的位置 */
		padding: 0px 0;
		/* list出现的位置留出顶栏的高度 */
		top: 60px;
		/* 元素的不透明度 为0 就是完全透明 */
		opacity:0;
		/* 让元素缩放到0 就是直接隐藏 */
		transform: scaleY(0);
		/* 这个属性设置元素缩放的中心点 设置到了最上面的中间位置 */
		transform-origin: 50% 0;
		transition: all 0.5s ease-out;

		/* 换行 */
		display:block;
	}
	.navbar ul li {
		list-style: none;

		/* 元素边框 */
		height: 60px;
		border: 0px solid #3c3f41;
	}
	.navbar ul li a {
		/* a标签是行内元素 不设置为块级或者行内块就没法设置宽高 */
		text-align: center;
		font-size: 18px;
		/* 取消文字下划线 */
		text-decoration: none;
		color: white;
		transition: all 0.3s ease-out;
		line-height: 60px;

	}

	.navbar input:checked ~ ul {
		opacity: 1;
		transform: scaleY(1);
	}
	video{
		object-fit: cover;
	}



	#about_us{
		height: calc(100% - 60px);
	}
	#about_us_left{
		width:  calc(85% - 40px);
	}
	#about_us_right {
		display:block;
		/*这个样式根据自己来改就行，有没有都可以*/
		padding-right: 20px;
		width: 15%;
		padding-top:20%;
	}
	.Contact_US{
		height: calc(100% - 60px);
	}
	.Contact_left{
		width: 70%;
		min-width: 250px;
	}
	.Contact_right{
		width: 70%;
		min-width: 250px;
	}

}

