@font-face {
	font-family: "Zpix";
	src: url("../font/zpix.woff2") format("woff2");
	font-display: swap;
}

* {
	margin: 0;
	padding: 0;
	user-select: none;
	/* 配置像素字体 */
	font-family: "Zpix", monospace;
	-webkit-font-smoothing: none;
	-moz-osx-font-smoothing: grayscale;
}

/* 亮色主题 */
:root,
html[data-theme="light"] {
	--bg: #ffffff;
	--text-main: #333333;
	--text-sub: #52515C;
	--div-light: #FBA312;
	--div-light-color: #ffffff;
	--div-sub: #F4F4F5;
	--pop-bg: rgba(255, 255, 255, .5)
}

/* 暗色主题 */
html[data-theme="dark"] {
	--bg: #1A1B25;
	--text-main: #D4D4D9;
	--text-sub: #B6B6BA;
	--div-light: #FBA312;
	--div-light-color: #000000;
	--div-sub: #27272A;
	--pop-bg: rgba(26, 27, 37, .5)
}

/* 全局滚动条美化 */
::-webkit-scrollbar {
	width: 5px;
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
	background: var(--bg);
	border-radius: 4px;
}

/* 滚动滑块 */
::-webkit-scrollbar-thumb {
	background: var(--div-sub);
	border-radius: 0px;
}

/* hover滑块加深 */
::-webkit-scrollbar-thumb:hover {
	background: var(--div-light);
}

body {
	background-color: var(--bg);
	color: var(--text);
	/* 平滑过渡 */
	transition: background 0.3s, color 0.3s;
}

.box {
	background: var(--card);
}

.header {
	height: 40px;
	padding: 15px 30px;
	display: flex;
}

.header_logo {
	flex-grow: 1;
}

.header_theme {
	width: 40px;
	height: 40px;
	background: var(--bg);
	cursor: pointer;
	transition: .2s all;
}

.header_theme:hover {
	background: var(--div-sub);
}

.header_theme img {
	width: 20px;
	height: 20px;
	padding: 10px;
	display: flex;
}

.header_logo img {
	width: 155px;
	height: 30px;
	padding: 5px 0;
	cursor: pointer;
}

.center {
	width: 640px;
	margin: 60px auto;
}

.center_head {
	display: flex;
}

.center_head img {
	width: 60px;
	height: 60px;
	border-radius: 99px;
	cursor: pointer;
}

.center_info_1,
.center_info_2,
.center_info_3 {
	color: var(--text-main);
}

.center_info_1 {
	font-size: 24px;
	margin: 20px 0;
}

.center_info_1_name {
	cursor: pointer;
	display: inline-block;
	text-decoration: underline;
	text-decoration-color: var(--div-light);
	text-underline-offset: 8px;
	/* 还可以控制线粗细 */
	text-decoration-thickness: 2px;
}

.center_info_1_name:hover {
	animation: shake 0.4s ease-in-out;
}

@keyframes shake {
	0% {
		transform: translateX(0);
	}

	20% {
		transform: translateX(-4px) rotate(-2deg);
	}

	40% {
		transform: translateX(4px) rotate(2deg);
	}

	60% {
		transform: translateX(-3px) rotate(-1deg);
	}

	80% {
		transform: translateX(3px) rotate(1deg);
	}

	100% {
		transform: translateX(0);
	}
}

.center_info_2,
.center_info_3 {
	line-height: 2;
	font-size: 12px;
}

.center_info_4 {
	display: flex;
	margin: 20px 0 0 0;
	gap: 20px;
}

.center_info_4_1 {
	background: var(--div-light);
	display: flex;
	padding: 0 10px;
	height: 32px;
	align-items: center;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
}

.center_info_4_1 p {
	font-size: 12px;
	color: var(--div-light-color);
}

.center_info_4_1 span {
	color: var(--div-light-color);
	font-size: 14px;
}

.center_info_4_2 {
	background: var(--div-sub);
	display: flex;
	padding: 0 10px;
	height: 32px;
	align-items: center;
	justify-content: center;
	gap: 5px;
	text-decoration: none;
}

.center_info_4_2 p {
	color: var(--text-main);
	font-size: 12px;
}

.center_info_4_2 span {
	color: var(--text-main);
	font-size: 12px;
}

.center_project {
	margin-top: 40px;
}

.title {
	font-size: 12px;
	color: var(--text-main);
}

.brief {
	font-size: 12px;
	color: var(--text-sub);
	margin-top: 10px;
}

.center_project_list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-top: 20px;
}

.center_project_list_item {
	border: 1px solid var(--div-sub);
	padding: 10px;
	transition: .2s;
	cursor: pointer;
	text-decoration: none;
}

.center_project_list_item:hover {
	border: 1px solid var(--text-sub);
}

.center_project_list_item_top {
	display: flex;
	gap: 10px;
}

.center_project_list_item_top img {
	width: 30px;
	height: 30px;
	display: flex;
	border-radius: 2px;
}

.center_project_list_item_top p {
	line-height: 30px;
	font-size: 16px;
	color: var(--text-main);
}

.center_project_list_item_top span{
	margin:4px 0;
	display: block;
	height: 22px;
	padding: 0 6px;
	line-height: 22px;
	font-size: 12px;
	background: var(--div-sub);
	color: var(--text-main);
}

.center_project_list_item_bottom {
	margin-top: 10px;
	font-size: 12px;
	color: var(--text-sub);
}

.center_platform {
	margin-top: 40px;
}

.center_platform_list {
	margin-top: 20px;
	display: flex;
	flex-flow: wrap;
	gap: 10px;
}

.center_platform_list_item {
	display: flex;
	gap: 5px;
	background: var(--div-sub);
	padding: 5px 10px;
	align-items: center;
	text-decoration: none;
}

.center_platform_list_item span {
	font-size: 14px;
	color: var(--text-main);
}

.center_platform_list_item p {
	font-size: 12px;
	color: var(--text-main);
}

.center_contact {
	margin-top: 40px;
}

.center_contact_list {
	margin-top: 20px;
}

.center_contact_list .center_contact_list_item:first-child {
	margin-bottom: 10px;
}

.center_contact_list_item {
	display: flex;
}

.center_contact_list_item p {
	font-size: 12px;
	color: var(--text-sub);
}

.center_contact_list_item_value {
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: var(--div-light);
	/* 控制距离，可改成3/5px */
	text-underline-offset: 4px;
	/* 还可以控制线粗细 */
	text-decoration-thickness: 2px;
}

.footer {
	border-top: 1px solid var(--div-sub);
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	padding: 20px 30px;
	font-size: 12px;
}

.footer_copyright {
	color: var(--text-sub);
	flex-grow: 1;
	text-align: left;
}

.footer_icp {
	text-decoration: none;
	color: var(--text-sub);
	text-align: right;
}

.pop_wechat {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 20px;
	background: var(--pop-bg);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	display: none;
	opacity: 0;
	transition: .4s;
}

.pop_wechat img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60%;
	max-width: 300px;
	box-shadow: 0 0 0 var(--text-sub);
	background: var(--bg);
	border: 4px solid var(--div-light);
}