@font-face {
	font-family: dialog;
	src: url('../fonts/FZZhenSYJW.TTF') format('truetype');
}

* {
	margin: 0;
	padding: 0;
	font-family: dialog;
	box-sizing: border-box;
	/* 统一盒模型 */
	scroll-behavior: smooth;
}

header {
	position: relative;
	margin-bottom: 20px;
	width: 100%;
	padding: 10px 100px;
	/* 有什么问题 */
	display: flex;
	/* 子元素盒子模型 */
	justify-content: space-between;
	align-items: center;
	z-index: 15;

}

header .logo {
	color: white;
	font-weight: 700;
	text-decoration: none;
	font-size: 2rem;
	text-transform: uppercase;
	letter-spacing: 2px;
}

header ul {
	display: flex;
	justify-content: center;
	align-items: center;
}

header ul li {
	list-style: none;
	margin-left: 0.125rem;
}

header ul li a {
	color: white;
	font-weight: 400;
	font-size: 1.5rem;
	text-decoration: none;
	padding: 6px 15px;
	border-radius: 20px;
}

header ul li a:hover,
header ul li a.active {
	background-color: white;
	color: #49625e
}

section {
	position: relative;
	width: 100%;
	height: 100vh;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #49625e;
}

/* 留言板 */
.board {
	position: relative;
	background-color: #fff0cd;
	height: 70vh;
	min-width: 80%;
	margin: auto;
	border-radius: 12px;
	overflow: scroll;
}

.board h1 {
	position: absolute;
	top: 10px;
	left: 10px;
	color: #49625e;
}

.board li {
	position: absolute;
	list-style: none;
	top: 50px;
	left: 50px;
}

/* 便笺纸 */
.board .note {

	width: 200px;
	height: 200px;

	background-image: url("../images/note2.png");
	background-size: cover;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

}

.board .note .note-text {
	width: 170px;
}

.board .note .note-name {
	position: absolute;
	bottom: 10px;
	right: 10px;
}


/* 输入区 */
.message-form {
	position: relative;

	width: 80%;
	/* 表单类容器一般不要写固定 vh 高度。 */
	margin: 10px auto;


	background-color: #fff0cd;
	border-radius: 12px;



}

.message-form form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;


}

.message-form textarea,
.message-form input {
	position: relative;
	width: 90%;
	min-width: 90%;
	resize: none;
	font-size: 16px;
	line-height: 1.5;
	background-color: #fff8e7;
	border-radius: 5px;
	border-width: 2px;
	border-color: burlywood;
	border-style: solid;
}

#message-text {
	margin-top: 15px;

}

#message-name {
	margin-bottom: 15px;
}

.message-form form .buttons {
	width: 90%;
	min-width: 90%;
	padding-bottom: 15px;
	display: flex;
	flex-direction: row;
	justify-content: end;
}

.message-form form .buttons button {
	padding: 10px 5px;
	font-size: 16px;
	font-weight: 700;
	color: #49625e;
	background-color: #fff8e7;

	border-color: burlywood;
	border-style: solid;
	border-radius: 5px;
}