body{
	margin:0;
	background:#f5f5f5;
}
h1,h2,h3,h4,p{
	margin:0;
	font-weight:normal;
}
strong{
	font-weight:normal;
}
ul,dl,dd{
	margin:0;
	padding:0;
	list-style:none;
}
em{
	font-style:normal;
}
a{
	text-decoration:none;
}
input{
	outline:0;
	border:none;
}
@font-face{
	src:url('/philosophycolor.woff');
	font-family:philosophycolor;
}

header{
	height:100px;
	margin:0 auto;
	position:relative;
	overflow:hidden;
	background:#c5d1b9;
}
nav{
	width:1280px;
	height:100px;
	margin:0 auto;
	position:relative;
	z-index:1;
	display:flex;
}
nav a{
	vertical-align:middle;
	margin:auto;
	color:#fff;
	font-size:20px;
	text-shadow:0 0 5px #000;
	padding-bottom:6px;
	transition:200ms;
}
nav a:hover{
	border-bottom:4px #fff solid;
}
nav .active{
	border-bottom:4px #fff solid;
}
nav img{
	height:100px;
}
nav a:nth-of-type(7) em{
	font-family:philosophycolor;
	font-size:18px;
	margin-right:10px;
}
nav a:nth-of-type(8){
	position:relative;
}
nav a:nth-of-type(8):hover{
	border:none;
}
nav a:nth-of-type(8) input{
	width:160px;
	height:28px;
	border-radius:20px;
	padding:0 40px 0 20px;
	transition:500ms;
}
nav a:nth-of-type(8) em{
	font-family:philosophycolor;
	position:absolute;
	right:12px;
	top:4px;
	font-size:18px;
	text-shadow:none;
	color:#b8c8ab;
}

section{
	width:1320px;
	margin:30px auto;
}
section dl{
	padding:10px 10px 10px 60px;
	font-size:18px;
	position:relative;
}
section dt{
	display:inline-block;
	font-weight:bold;
	position:absolute;
	left:10px;
	top:20px;
}
section dd{
	display:inline-block;
	margin:8px;
	cursor:pointer;
	padding:2px 6px;
	border-radius:6px;
}
section .active{
	color:#2FA98E;
	background:#DADADA;
}

section ul{
	font-size:0;
}
section li{
	width:420px;
	height:300px;
	margin:10px;
	background:red;
	display:inline-block;
	position:relative;
	overflow:hidden;
	border-radius:8px;
	box-shadow:0 0 8px 2px #b0b0b0;
	transition:500ms;
}
section li:hover{
	transform:scale(1.06);
}
section li img{
	width:420px;
	height:300px;
	object-fit:cover;
}
section li div{
	width:420px;
	height:300px;
	position:absolute;
	top:0;
	left:0;
	background:#000;
	transition:500ms;
	opacity:0.3;
}
section li:hover div{
	opacity:0.7;
}
section li h4{
	font-size:20px;
	color:#fff;
	text-shadow:0 0 4px #000;
	position:absolute;
	left:30px;
	top:220px;
	transition:500ms;
}
section li:hover h4{
	top:70px;
}
section li h3{
	font-size:24px;
	color:#fff;
	text-shadow:0 0 4px #000;
	position:absolute;
	left:30px;
	top:250px;
	transition:500ms;
}
section li:hover h3{
	top:100px;
}
section li p{
	font-size:18px;
	color:#EEEEEE;
	text-shadow:0 0 4px #000;
	position:absolute;
	left:30px;
}
section li p:nth-of-type(1){
	transition:500ms;
	color:#fff;
	top:300px;
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
	overflow:hidden;
}
section li:hover p:nth-of-type(1){
	top:140px;
}
section li p:nth-of-type(2){
	top:370px;
	transition:600ms;
}
section li:hover p:nth-of-type(2){
	top:210px;
}
section li p:nth-of-type(3){
	top:400px;
	transition:600ms;
}
section li:hover p:nth-of-type(3){
	top:240px;
}


footer{
	width:1280px;
	margin:30px auto 30px auto;
	display:flex;
}
footer a{
	color:#000;
	margin:auto;
}