body {
	background: url(../img/bg.jpg) no-repeat;
	width: 100%;
	background-size: cover;
	overflow-x: hidden;
}

input[type=number] {
	-moz-appearance: textfield;
}

body,h1,h2,h3,h4,h5,h6,p,ul,ol,li,dd,dt,form,select,input,div,table,td,th {
	margin: 0;
	padding: 0;
}

ul,li {
	list-style: none;
}

img {
	border: none;
}

a {
	text-decoration: none;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	overflow: hidden;
}

@font-face {
	font-family: 'iconfont';  /* Project id 2603172 */
  src: url('../fonts/iconfont.woff2?t=1623227535737') format('woff2'),
       url('../fonts/iconfont.woff?t=1623227535737') format('woff'),
       url('../fonts/iconfont.ttf?t=1623227535737') format('truetype');
}

.iconfont {
	font-family: "iconfont" !important;
	font-size: 16px;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-webkit-text-stroke-width: 0.2px;
	-moz-osx-font-smoothing: grayscale;
	vertical-align: baseline;
}

.layout {
    display: flex;
    flex-direction: column;
}

.list {
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
}

#container {
	padding-bottom: 20px;
    flex: 1;
}

.nav {
	height: auto;
	background-color: rgba(255,255,255,0.8);
	backdrop-filter: blur(6px);
	padding: 36px 0;
	position: relative;
    flex-shrink: 0;
}

.mobile-nav {
	display: none;
	position: absolute;
	font-size: 24px;
	width: 36px;
	height: 36px;
	top: 21px;
	right: 15px;
	text-align: center;
	line-height: 34px;
	cursor: pointer;
	box-sizing: border-box;
	border: 1px solid #999;
}

.mobile-nav .iconfont {
	font-size: 24px;
}

.mobile-nav .close-icon {
	display: none;
}

.mobile-nav.open .open-icon {
	display: none;
}

.mobile-nav.open .close-icon {
	display: block;
}

.logo-container {
	float: left;
	width: 810px;
	margin-left: 30px;
}

.nav p {
	margin-top: 0;
	margin-left: 20px;
	width: auto;
	color: #b21532;
	text-shadow: 4px 4px 4px #FFF;
	font-size: 45px;
	font-weight: 700;
	float: left;
	line-height: 70px;
}

.nav img {
	width: 70px;
	height: 70px;
	float: left;
}

.search {
	height: 60px;
	width: 360px;
	float: right;
	margin-top: 13px;
	margin-left: 20px;
	margin-right: 20px;
}

.search-input {
	margin-bottom: 40px;
	font-size: 16px;
	height: 40px;
	width: 250px;
	border-radius: 8px;
	border: none;
	outline: none;
	padding-left: 10px;
	padding-right: 15px;
	user-select: none;
	box-shadow: 0 0 16px #00;
	float: left;
}

.search-reset {
	margin-bottom: 40px;
	margin-left: 20px;
	font-size: 16px;
	color: #fff;
	text-align: center;
	height: 40px;
	width: auto;
	background-color: #c93b31;
	border-radius: 8px;
	border: none;
	outline: none;
	padding-left: 15px;
	padding-right: 15px;
	user-select: none;
	box-shadow: 0 0 16px #00;
	float: left;
	cursor: pointer;
	transition: .6s;
}

.search-reset:hover {
	transform: scale(1.1);
	background-color: #b8160a;
}

.recommend {
	width: 80%;
	float: left;
	padding: 25px 10%;
    flex-shrink: 0;
}

.recommend p {
	margin-top: 2px;
	margin-right: 10px;
	height: auto;
	width: auto;
	font-size: 20px;
	font-weight: 700;
	color: #b21532;
	text-shadow: 1px 1px 5px #fff;
	float: left;
}

.recommend button {
	margin-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-bottom: 5px;
	height: auto;
	width: auto;
	background-color: rgb(0 0 0 / 40%);
	font-size: 16px;
	color: #e2e2e2;
	border: none;
	outline: none;
	user-select: none;
	cursor: pointer;
	float: left;
}

li.list-item {
	float: left;
	height: auto !important;
	width: 31%;
	margin: 0 1.16% 30px;
}

.card {
	width: 98%;
	height: 100%;
	background-color: rgba(255,255,255,0.8);
	box-shadow: 0 0 16px #00;
	border-radius: 10px;
	overflow: hidden;
	transition: .8s;
	cursor: pointer;
	margin: 0 auto;
}

.card img {
	width: 100%;
	margin-bottom: 15px;
	border-radius: 10px 10px 0 0;
	height: auto !important;
	transition: .6s;
}

.card:hover {
	transform: scale(1.06);
}

.card h1 {
	margin: 0 20px;
	font-size: 24px;
	font-weight: 700;
	color: #000;
	margin-bottom: 0;
	height: 64px;
}

.card h2 {
	margin: 0 20px;
	margin-top: 6px;
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: 400;
	color: gray;
}

.container {
	position: relative;
	left: 50%;
}

.column {
	width: 500px;
	height: auto;
	float: left;
}

.footer {
	margin-top: 50px;
	margin-bottom: 50px;
	text-align: center;
	float: left;
}

.footer p {
	font-size: 16px;
	color: gray;
}

input::-webkit-outer-spin-button,input::-webkit-inner-spin-button,.search input {
	-webkit-appearance: none;
}

@media screen and (min-width:1120px) and (max-width:1280px) {
	li.list-item {
		height: 355px;
	}

	.card img {
		height: 234px;
	}

	.card h1 {
		font-size: 20px;
	}

	.nav {
		padding: 24px 0;
	}

	.logo-container {
		width: 670px;
	}

	.nav p {
		font-size: 36px;
	}
}

@media screen and (min-width:960px) and (max-width:1120px) {
	.nav {
		padding: 15px 0;
	}

	.logo-container {
		width: auto;
		margin-top: 10px;
	}

	.nav p {
		font-size: 24px;
		line-height: 50px;
	}

	.nav img {
		width: 50px;
		height: 50px;
	}

	#search-box, .search-reset {
		margin-bottom: 0;
	}

	li.list-item {
		height: 325px;
		margin-bottom: 20px;
	}

	.card img {
		height: 214px;
	}

	.card h1 {
		font-size: 18px;
		height: 50px;
	}

	.card h2 {
		font-size: 14px;
	}
}

@media screen and (min-width:640px) and (max-width:960px) {
	li.list-item {
		width: 48%;
		margin: 0 1% 20px;
	}

	.nav {
		padding: 15px 0;
	}

	.logo-container {
		width: auto;
		margin-top: 10px;
	}

	.nav p {
		font-size: 24px;
		line-height: 50px;
	}

	.nav img {
		width: 50px;
		height: 50px;
	}

	#search-box, .search-reset {
		margin-bottom: 0;
	}
}

@media screen and (max-width:900px) {
	#container {
		padding-bottom: 20px;
		padding-top: 100px;
	}

	.mobile-nav {
		display: block;
	}

	.nav {
		padding: 15px 0;
		position: fixed;
		width: 100%;
		z-index: 10;
		top: 0;
		left: 0;
	}

	.logo-container {
		width: 100%;
		margin-top: 0;
		margin-left: 0;
		text-align: left;
	}

	.nav p {
		font-size: 26px;
		line-height: 50px;
		float: none;
		display: inline-block;
		vertical-align: middle;
	}

	.nav img {
		width: 50px;
		height: 50px;
		float: none;
		display: inline-block;
		vertical-align: middle;
		margin-left: 20px;
	}

	.search {
		position: fixed;
		top: 120px;
		left: 10%;
		margin-left: 23px;
		display: none;
	}

	#search-box, .search-reset {
		margin-bottom: 0;
	}

	#search-box {
		width: 50%;
	}

	.recommend {
		width: 90%;
		float: none;
		padding: 140px 25px 25px;
		box-sizing: border-box;
		margin: 0 auto;
		background: rgba(0,0,0,0.8);
		position: fixed;
		height: 100%;
		right: 0;
		top: 80px;
		display: none;
	}

	.recommend p {
		display: block;
		float: none;
		margin-bottom: 20px;
	}

	.recommend button {
		margin: 0 30px 10px 0;
		padding: 10px 15px;
	}
}

@media screen and (min-width:640px) and (max-width:850px) {
	li.list-item {
		height: 345px;
	}

	.card img {
		height: 234px;
	}

	.card h1 {
		font-size: 20px;
		height: 54px;
	}
}

@media screen and (max-width:640px) {
	.nav {
		padding: 10px 0;
	}

	.mobile-nav {
		top: 16px;
	}

	.recommend {
		top: 70px;
	}

	.search {
		top: 110px;
	}

	.nav p {
		font-size: 16px;
		line-height: 20px;
		float: none;
		display: inline-block;
		vertical-align: middle;
        width: 165px;
	}

    .nav p span {
        display: block;
    }

	li.list-item {
		width: 96%;
		margin: 0 auto 15px;
		height: auto;
		float: none;
	}

	.card img {
		height: auto;
	}

	.card h1 {
		font-size: 18px;
		height: auto;
		margin-bottom: 10px;
	}

	.card h2 {
		font-size: 14px;
	}
}