* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	height: 100%;
	background-color: #fbf9f5;
	/* font-family: 'SimSun', '宋体', sans-serif; */
	/* font-family: "Microsoft YaHei", sans-serif; */
	overflow-x: hidden;
}

.header-img {
	width: 100%;
	height: auto;
	display: block;
	transition: opacity 1s ease;
	opacity: 0;
	animation: fadeIn 2s ease-in-out;
	/* animation: slideDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; */
}

.header-img.show {
	opacity: 1;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* @keyframes slideDown {
            0% { transform: translateY(-100%); }
            100% { transform: translateY(0); }
        } */
.nav-container {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 0;
	background-color: transparent;
}

.nav-list {
	display: flex;
	justify-content: space-between;
	/* max-width: 1200px;
            margin: 0 auto; */
	list-style: none;
}

.nav-item {
	position: relative;
	width: calc(25% - 19.5px);
	aspect-ratio: 4/3;
	/* margin: 0 13px; */
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	overflow: hidden;
	cursor: pointer;
	/* border-radius: 8px; */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 0.6s forwards;
	max-height: 280px;
}

.nav-item:nth-child(1) {
	animation-delay: 0.5s;
	background-image: url('http://tjkx.oss-cn-shenzhen.aliyuncs.com/content/gjmj/images/gjmjsoupic_03.jpg');
}

.nav-item:nth-child(2) {
	animation-delay: 0.7s;
	background-image: url('http://tjkx.oss-cn-shenzhen.aliyuncs.com/content/gjmj/images/gjmjsoupic_05.jpg');
}

.nav-item:nth-child(3) {
	animation-delay: 0.9s;
	background-image: url('http://tjkx.oss-cn-shenzhen.aliyuncs.com/content/gjmj/images/gjmjsoupic_07.jpg');
}

.nav-item:nth-child(4) {
	animation-delay: 1.1s;
	background-image: url('http://tjkx.oss-cn-shenzhen.aliyuncs.com/content/gjmj/images/gjmjsoupic_09.jpg');
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.nav-item::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.nav-item:hover::before {
	width: 550px;
	height: 550px;
}

.nav-item {
	background-size: cover;
	background-position: center;
}

.nav-item:hover {
	transform: scale(1.05);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.nav-item:nth-child(1):hover {
	background-image: url('http://tjkx.oss-cn-shenzhen.aliyuncs.com/content/gjmj/images/gjmjsoupics_03.jpg');
}

.nav-item:nth-child(2):hover {
	background-image: url('http://tjkx.oss-cn-shenzhen.aliyuncs.com/content/gjmj/images/gjmjsoupics_05.jpg');
}

.nav-item:nth-child(3):hover {
	background-image: url('http://tjkx.oss-cn-shenzhen.aliyuncs.com/content/gjmj/images/gjmjsoupics_07.jpg');
}

.nav-item:nth-child(4):hover {
	background-image: url('http://tjkx.oss-cn-shenzhen.aliyuncs.com/content/gjmj/images/gjmjsoupics_09.jpg');
}

.nav-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
	width: 100%;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	transition: all 0.3s ease;
	z-index: 2;
}

.nav-item:hover .nav-content {
	transform: translate(-50%, -50%) scale(1.05);
}

.nav-title {
	font-size: 18px;
	margin-bottom: 5px;
	font-weight: 500;
	font-family: "Microsoft YaHei", sans-serif;
}

.nav-subtitle {
	font-size: 44px;
	font-weight: bolder;
	letter-spacing: 1px;
	font-family: 'SimSun', '宋体', sans-serif;
}

/* 底部样式 */
.footer-container {
	padding: 20px 15px;
	box-sizing: border-box;
	width: 100%;
}

.footer-info {
	text-align: center;
	color: #563418;
	font-size: 14px;
	line-height: 1.5;
}

.separator {
	margin: 0 10px;
}

@media (max-width: 768px) {
	.nav-list {
		flex-wrap: wrap;
	}

	.nav-item {
		width: calc(50% - 13px);
		margin-bottom: 26px;
	}

	.footer-info {
		font-size: 12px;
		flex-direction: column;
	}

	.footer-info span {
		width: 100%;
	}

	.separator {
		display: none;
	}

	.footer-info span {
		display: block;
		margin-bottom: 5px;
	}
}

@media (max-width: 480px) {

	/*  .nav-item {
                width: 100%;
                margin: 0 0 26px 0;
            } */
	.nav-container {
		position: inherit;
		margin-top: 30px;
		padding: 0 20px;
	}

	.nav-subtitle {
		font-size: 24px;
	}
}