/* ===========================================
 * sales use css
=========================================== */
#sales{
	padding: 60px 0;
}
#salesTitle{
	padding: 40px 0;
	text-align: center;
	color: #54C3F1;
	font-size: 26px;
}
.main_text{
	text-align: center;
}
#salesInner .block{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#salesInner .block .box{
	width: 540px;
	height: 360px;
	position: relative;
	border-radius: 4px;
	margin-bottom: 40px;
	overflow: hidden;
}
#salesInner .block .box a img{
	width: 540px;
	height: 360px;
	object-fit: cover;
	transition: transform 0.4s ease;
}
#salesInner .block .box a:hover img{
	transform: scale(1.1);
}
#salesInner .block .box a p{
	position: absolute;
	left: 0;
	bottom: 0;
	width: 540px;
	height: 150px;
	background: #54C3F1;
	background: linear-gradient(0deg,rgba(84, 195, 241, 1) 40%, rgba(84, 195, 241, 0) 100%);
	text-align: center;
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	padding-top: 70px;
	box-sizing: border-box;
	border-radius: 0 0 4px 4px;
}


@media screen and (max-width:640px){
	#sales{
		padding: 60px 0;
	}
	#salesTitle{
		padding: 40px 0;
		text-align: center;
		color: #54C3F1;
		font-size: 28px;
	}
	.main_text{
		text-align: left;
	}
	#salesInner .block{
		display: block;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	#salesInner .block .box{
		width: 580px;
		height: 387px;
		position: relative;
		border-radius: 8px;
		margin-bottom: 40px;
		overflow: hidden;
	}
	#salesInner .block .box a img{
		width: 580px;
		height: 387px;
		object-fit: cover;
		transition: transform 0.4s ease;
	}
	#salesInner .block .box a:hover img{
		transform: scale(1.1);
	}
	#salesInner .block .box a p{
		position: absolute;
		left: 0;
		bottom: 0;
		width: 580px;
		height: 150px;
		background: #54C3F1;
		background: linear-gradient(0deg,rgba(84, 195, 241, 1) 40%, rgba(84, 195, 241, 0) 100%);
		text-align: center;
		color: #fff;
		font-size: 32px;
		font-weight: 700;
		padding-top: 70px;
		box-sizing: border-box;
		border-radius: 0 0 8px 8px;
	}
}

