@font-face {
  font-family: '余思源颜黄体';
  src: url('../字体/余思源颜黄体.ttf') format('truetype');
  font-weight: normal;
  /* 字体粗细 */
  font-style: normal;
  /* 字体样式（斜体） */
}




:root {
  --imperial-blue: #d28a39;
  --gold: #4f5f96;
}

@font-face {
  font-family: '鼎猎珠海体';
  src: url('../字体/鼎猎珠海体.ttf') format('truetype');
  font-weight: normal;
  /* 字体粗细 */
  font-style: normal;
  /* 字体样式（斜体） */
}

a {
  font-family: '鼎猎珠海体';
}

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

/* 消除 li 元素的默认样式 */
ul li {
  list-style-type: none;
  /* 如果需要去除列表项的内边距和外边距，可以添加以下两行 */
  margin: 0;
  padding: 0;
}

/* 其他样式保持不变 */

/* 添加固定导航栏的样式 */
.nav-container.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* 确保导航栏在其他元素之上 */
}

@font-face {
  font-family: '峄山碑篆体';
  /* 自定义字体名称 */
  src: url('../字体/峄山碑篆体.ttf') format('truetype');
  /* 兼容旧浏览器 */
  font-weight: normal;
  /* 字体粗细（根据实际文件调整） */
  font-style: normal;
  /* 字体样式（斜体等） */
}

span {
  font-family: '峄山碑篆体';
  font-size: 32px;
  letter-spacing: 5px;
}

body {
  font-family: 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
}

.nav-container {
  background-color: var(--imperial-blue);
  /* padding: 10px 20px; */
  background-color: #77201f;
  background-size: cover;
}

.nav-bar {
  font-family: '鼎猎珠海体';
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



/* 调整图片样式 */
.brand img {
  width: 70px;
  /* 根据实际情况调整宽度 */
  height: auto;
  /* 保持图片比例 */
}

.nav-menu {
  font-family: '鼎猎珠海体';
  display: flex;
  list-style: none;
  position: relative;
  transition: opacity 0.3s;
}

.nav-item {
  margin-left: 15px;
  position: relative;
}

.nav-link {
  font-family: '鼎猎珠海体';
  color: white;
  text-decoration: none;
  padding: 0px 30px;
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 24px;
}

.nav-link:hover {
  background-color: #77201f;
  border-radius: 4px;
}

.dropdown-menu {

  display: none;
  list-style: none;
  position: absolute;
  top: 124%;
  left: 0;
  background-color: #77201f;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(119, 181, 186, 0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  min-height: 40px;
}

.dropdown-menu.visible {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.dropdown-item {
  padding: 12px 16px;
  transition: 0.2s;
}

.dropdown-item a {
  color: #ffffff;
}

.dropdown-item a:active {
  color: #4f5f96;
}

.dropdown-item:hover {
  background-color: #77201f;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 32px;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--imperial-blue);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 20px 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: #77201f;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown-menu.visible {
    max-height: 500px;
  }

  .hamburger {
    display: block;
  }
}




@font-face {
  font-family: '鼎猎珠海体';
  src: url('../字体/鼎猎珠海体.ttf') format('truetype');
  font-weight: normal;
  /* 字体粗细 */
  font-style: normal;
  /* 字体样式（斜体） */
}

p {
  font-family: '鼎猎珠海体';
  font-size: 1.5em;
}



* {
  margin: 0;
  padding: 0;
  /* 解决失真 */
  image-rendering: -webkit-optimize-contrast;
  /* 确保所有元素的宽度包含 padding 和 border */
  box-sizing: border-box;
}

/* 消除 li 元素的默认样式 */
ul li {
  list-style-type: none;
  /* 如果需要去除列表项的内边距和外边距，可以添加以下两行 */
  margin: 0;
  padding: 0;
}

body {
  background: url('../img/figure/背景1.png') top center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  /* 设置最小宽度为视口宽度 */
  min-width: 100vw;
  /* 最大宽度为视口宽度，避免超出 */
  max-width: 100vw;
  /* 隐藏横向滚动条 */
  overflow-x: hidden;
}

body .bj {
  /* background: url(../img/gongtong/科学保护.png) no-repeat; */
  background-size: cover;
  background-position: center;
  width: 100%;
  /* padding-bottom: 49.5%; */
  margin: 0 auto;
  overflow: hidden;
}

.daping {
  background: url(../img/gongtong/灿烂辉煌.png) no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  margin: 0;
  background-color: #f0f0f0;
}

.text-with-image-color {
  font-family: '余思源颜黄体';
  font-size: 200px;
  /* letter-spacing: 1em; */
  /* font-weight: bold; */
  background-image: url('../img/lishi/baohu.jpg');
  text-align: center;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* 设置背景图片的位置和大小，这里截取图片左上角 100x100 的部分 */
  background-position: 0 0;
  background-size: 150px 100px;
}

body .content {
  width: 70%;
  display: flex;
  margin: auto;
  flex-direction: column;
  border-radius: 10px;
  /* background-image: url(../img/gongtong/严重破坏.png); */
}

.licheng {
  display: flex;
  flex-direction: row;
  margin: auto;
  justify-content: center;
  align-items: center;
  text-align: left;
  margin-top: 50px;

  gap: 30px;
  padding: 0 20px;

}

.wen {
  flex: 1;
  line-height: 2em;
}

.wen h2 {
  font-family: '余思源颜黄体';
  text-align: center;
  font-size: 60px;
  /* margin-bottom: 20px; */
  line-height: 2em;
}

.wen p {
  text-indent: 2em;
  line-height: 2em;
}

.tu img {
  border-radius: 10px;
}


.heading-brush {
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
  cursor: default;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

}

.heading-brush img {
  height: 5rem;
  width: 10rem;
  margin: auto;
  position: relative;
  border-radius: 10px;

}

.heading-brush h2 {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
  font-weight: bold;
}

.cg {
  /* width: 70%; */
  gap: 80px;
  margin: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  /* height: 30vh; */
}

.st {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.st .wenz h1 {
  font-family: '鼎猎珠海体';
  line-height: 2em;
  text-align: center;
}

.st .wenz p {
  flex: 0 0 40%;
  text-align: left;
  text-indent: 2em;
}

.st img {
  width: 100%;

}

.sc {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.sc .wenz p {
  flex: 0 0 40%;
  text-align: left;
  text-indent: 2em;
}

.sc .wenz h1 {
  font-family: '鼎猎珠海体';
  line-height: 2em;
  text-align: center;
}

.sc img {
  width: 100%;

}

.tx {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.tx .wenz p {
  flex: 0 0 40%;
  text-align: left;
  text-indent: 2em;
}

.tx .wenz h1 {
  font-family: '鼎猎珠海体';
  line-height: 2em;
  text-align: center;
}

.tx img {
  width: 100%;
}

.footer {
  background-image: url('../img/yuewu/footer2.png');
  /* 替换为实际的图片路径 */
  background-size: cover;
  /* 使背景图覆盖整个容器，保持比例且不变形 */
  background-position: center;
  /* 背景图居中显示 */
  background-repeat: no-repeat;
  /* 防止背景图重复 */
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}

.footer_box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer_content {
  width: 100%;
}

.footer_title {
  font-family: '鼎猎珠海体';
  margin-bottom: 10px;
}

.footer_data {
  list-style-type: none;
  padding: 0;
}

.footer_data li {
  font-family: '鼎猎珠海体';
  margin-bottom: 5px;
}