* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: Arial, sans-serif;
	line-height: 1.6;
	margin: 20px;
	background-color: #f9f9f9;
	color: #333;
}

/* 添加一个包裹元素控制 header 的实际空间 */
.header-wrapper {
	display: flex;
	justify-content: center;
	/* 初始高度 */
	transition: height 0.1s ease;
	/* 平滑调整高度 */
	overflow: hidden;
	/* 防止内容溢出 */
}

header {
	display: flex;
	justify-content: center;
	margin: 40px 0 20px;
	transform: scale(1);
	transform-origin: center top;
	transition: transform 0.05s ease;
}

header a:hover {
	text-decoration: none;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	border-radius: 8px;
}

h1,
h2,
h3 {
	font-family: "Times New Roman", Times, serif;
	color: #1a1a1a;
}

h1 {
	display: flex;
	align-items: center;
	font-size: 3.5em;
	margin-bottom: 20px;
}

h1 img {
	width: 200px;
	height: auto;
	margin-right: 50px;
	border-radius: 50%;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

h1 img:hover {
	transform: rotate(5deg);
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
	cursor: pointer;
}

h1 span {
	font-style: italic;
}

h2 {
	font-size: 1.8em;
	margin: 0 0 10px;
	border-bottom: 2px solid #007aff;
	padding-bottom: 5px;
}

section {
	margin-bottom: 30px;
	padding: 25px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

ul,
ol {
	padding-left: 20px;
}

li {
	margin: 10px 0;
}

.job-title {
	font-weight: bold;
	font-style: italic;
	color: #007aff;
}

a {
	color: #007aff;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.bio {
	font-size: 1.1em;
	line-height: 1.8;
}

footer {
	text-align: center;
	margin-top: 40px;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Quote Section Styling */
.quote-section {
	text-align: center;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
	cursor: pointer;
}

.quote-text {
	font-style: italic;
	font-size: 1.2em;
	color: #555;
	opacity: 1;
	transition: opacity 0.3s ease-in-out;
}

.quote-text.fade {
	opacity: 0;
}

.section-content {
	overflow: hidden;
	transition: max-height 0.3s ease;
	max-height: 1000px;
}

.section-content.collapsed {
	max-height: 0;
}

/* Responsive Design */
@media (max-width: 600px) {
	h1 {
		flex-direction: column;
		text-align: center;
	}

	h1 img {
		margin: 0 0 15px 0;
	}

	section {
		padding: 20px;
	}
}
