/* 通用样式 */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  min-height: 1000px;
  margin: 0 auto;
  padding: 20px;
}

a {
  cursor: pointer;
}
ul {
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;

  display: inline-block;
  text-align: left;
}

ul li {
  float: left;
}

ul li a {
  display: block;
  color: rgb(22, 34, 209);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* 页眉样式 */
header {
  background-color: #fff;
  color: rgb(22, 34, 209);

  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
  margin: 0;
  font-size: 24px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;

  text-align: center;
}
.ul3 {
  display: flex;
  flex-wrap: wrap; /* 允许换行 */
  justify-content: center; /* 水平居中 */
  max-width: 1200px; /* 设置容器的最大宽度 */
  font-weight: bold;
  border: 0px solid #0056b3;
  
}
.ul3 .active {
  background-color: #000;
}
.div1 {
}
.div1 a {
  float: left;
  font-family: "Times New Roman", Times, serif;
  font-size: 32px;
  font-weight: bold;
  color: rgb(22, 34, 209);
  text-decoration: none;
}

.div1 span {
  width: 300px;
  height: 30px;
  display: inline-block;
  line-height: 30px;
  vertical-align: bottom;
  padding-top: 16px;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  color: rgb(62, 72, 212);
  text-decoration: none;
  margin-left: 10px;
  border: 0px solid #0056b3;
  text-align: left;
}

.div2 {
}
.div2 ul {
  list-style-type: none;
  float: right;
}

.div3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  background-color: rgb(22, 34, 209);

  text-align: center;
}
.div3  /* 当鼠标悬停时把链接颜色更改为 #111（黑色） */
  ul  li a {
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;

  color: #fff;
}
.div3  /* 当鼠标悬停时把链接颜色更改为 #111（黑色） */
ul  li a:hover {
}

.active-2 {
  background-color: #312ece;
}

.active-2 a {
  color: #fff;
}

h2 {
  font-size: 24px;
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  color: #007bff;
}

/* 首页样式 */
.hero {
  text-align: center;
  padding: 100px 20px;
  background-color: #e9f5ff;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin: 0 10px;
}

.hero .btn:hover {
  background-color: #0056b3;
}

.latest-news {
  padding: 40px 20px;
}

.latest-news h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.news-item {
  background-color: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.news-item p {
  font-size: 16px;
  color: #555;
}

.news-item small {
  font-size: 14px;
  color: #888;
}

/* 页脚样式 */
footer {
  background-color: #fff;
  color: rgb(38, 11, 155);
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
}

footer a {
  color: #007bff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.header-list {
  margin-bottom: 50px;
}
.header-list a {
  text-decoration: underline;
}

.yuanpinyin-list a {
  text-decoration: underline;
}

.h2-1 {
  text-align: center;
}

.h2-2 {
  padding: 10px;
  border-bottom: 1px solid #a1a1a1;
  margin-top: 50px;
}

.h3-1 {
  text-align: left;
  color: #007bff;
}
h3 {
  color: #007bff;
}
h5 {
  text-align: center;
  font-size: 14px;
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
  color: #007bff;
}
.h5-1 {
  text-align: center;
}

textarea {
}

.textarea-1 {
  width: 500px;
  height: 600px;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
}

.p-1 {
  text-align: center;
  margin-bottom: 20px;
}

.div-1 {
  width: 100%;
  height: 1100px;
}

.div-1 .left {
  float: left;
}
.div-1 .right {
  float: right;
}

.button-1 {
  padding-left: 20px;
  padding-right: 20px;
  height: 50px;
  background-color: #007bff;
  color: #fff;
  border: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  border-radius: 5px;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
  min-width: 100px;
}

.button-2 {
  padding-left: 10px;
  padding-right: 10px;
  height: 30px;
  background-color: #007bff;
  color: #fff;
  border: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  border-radius: 0px;
  margin: 10px;
  cursor: pointer;
}

.div-2 {
  padding: 40px; /* 缩进 20px */
  text-align: center;
  margin-bottom: 50px;
}

.div-2 h2 {
  margin-bottom: 40px;
  color: #007bff;
}

.div-3 {
  white-space: pre-wrap; /* 保留换行和空格 */
  text-align: left;
  margin-bottom: 50px;
}

.div-4 {
  text-align: left;
}

.div-5 {
  text-align: center;
}

.textarea-2 {
  width: 500px;
  height: 1000px;
  font-family: "Times New Roman", Times, serif;
  font-size: 20;
}

.vertical-list {
  flex-direction: column; /* 改为垂直排列 */
}

.vertical-list li {
}

.table-1 {
  width: 100%; /* 表格宽度 */
  border-collapse: collapse; /* 合并边框 */
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  color: #fff;
  margin: 20px 0; /* 外边距 */
}

.table-1 th,
td {
  padding: 12px; /* 内边距 */
  text-align: left; /* 文字对齐 */
  border: 1px solid #6e6e6e; /* 边框 */
}

.table-1 th {
  background-color: #f4f4f4; /* 表头背景色 */
  font-weight: bold; /* 加粗 */
}

.table-1 tr {
  background-color: #6f24fa;
  height: 60px;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
}

.table-1 tr td {
  border: 1px solid #8e7afa;
}

.table-1 tr:nth-child(even) {
}

.table-1 tr:hover {
}

.td-1 {
  font-weight: bold;
}

.td-2 {
  font-weight: normal;
}

input[type="number"] {
  /* 隐藏箭头（适用于大多数浏览器） */
  -moz-appearance: textfield; /* Firefox */
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  /* 隐藏箭头（适用于 WebKit 浏览器，如 Chrome 和 Safari） */
  -webkit-appearance: none;
  margin: 0;
}

.input-1 {
  width: 500px;
  height: 50px;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: hidden;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
}

.status-1 {
  display: block; /* 转换为块级元素 */
  margin: 0 auto;
  width: 800px;
  height: 50px;
  line-height: 50px; /* 垂直居中 */
  background-color: #f3444c;
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  text-align: center;
}

.label-1 {
  color: #0c72df;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
}

.span-1 {
  width: 500px;
  height: 50px;
  line-height: 50px; /* 垂直居中 */

  color: #0c72df;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
}
.a-1 {
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 16px;
}
.p-2 {
  width: 100%;
  text-align: center;
}

.ul-5 {
  display: flex;
  flex-wrap: wrap; /* 允许换行 */
  justify-content: center; /* 水平居中 */
  max-width: 1200px; /* 设置容器的最大宽度 */

  list-style: none; /* 移除默认的列表符号 */
  
  margin: 0 auto;
  border: 1px solid #0c72df;
  text-align: center;
  padding: 20px;
  margin-bottom: 50px;
}

.ul-5 li {
  height: 30px;
  width: 150px;
  border: 1px solid #0c72df;
  line-height: 30px;
  text-align: center;

  margin: 10px;
  padding-bottom: 20px;
}

.ul-3 {
  border: 0px solid #0c72df;
  padding: 20px;
}

.li3 {
  display: flex;
  flex-direction: column;
  height: 100px;
  width: 100px;
  border: 1px solid #0c72df;
  line-height: 100px;
  text-align: center;
  vertical-align: middle;
  margin: 10px;

  margin-bottom: 20px;
  color: #666;
}

.li3 span {
  display: block;
  width: 80px;
  height: 40px;
  line-height: 40px;

  text-align: center;
  border: 0px solid #0c72df;
  margin: 0 auto;
}

.pinyin {
  font-size: 18px; /* 设置字体大小 */
  color: #775151; /* 设置拼音颜色 */
}

.hanzi {
  font-size: 24px; /* 设置字体大小 */
  color: #775151; /* 设置拼音颜色 */
  font-weight: normal;
}

ruby {
  margin: 10px;

  width: 30px;
  height: 60px;
  border: 1px solid #0c72df;
}
rt {
  font-size: 18px; /* 设置拼音字体大小 */
  color: #666; /* 设置拼音颜色 */
  width: 30px;
  height: 20px;
  margin: 10px;
  border: 1px solid #0c72df;
}

.div-6 {
  width: 100%;
  text-align: center;
  padding: 0px;
  border: 0px solid #0c72df;
  margin: 0 auto;
}

/* styles.css */
body {
  font-family: Arial, sans-serif;
}

/* 弹出窗口样式 */
.modal {
  display: none; /* 默认隐藏 */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
