body {
  background: radial-gradient(circle at 25% 75%, #6668fc 20%, transparent 35%) ,  
              radial-gradient(circle at 75% 25%, #8a8cff 20%, transparent 35%) ,   
              linear-gradient(#e4e4e4, #556efd);  
  
  height: 100%;
  display: flex;
  flex-direction: column;
  /*align-items: centerrt;
  justify-content: flex;*/
  align-items: flex-sta-start;
  position: relative;
  margin: 0;
  padding: 20px;
  /*overflow-x: hidden;*/
}

* {
  font-family: "Bricolage Grotesque", sans-serif;
}

.flex {
  display: flex;
}

.flex.row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.flex.column {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.canvas-cont {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

#canvas3d {
  width: 100%;
  height: 100%;
}

#transparent-button {  
  position: absolute;  
  top: 50%;  
  left: 50%;  
  transform: translate(-50%, -50%);  
  cursor: pointer;  
  display: block;  
  width: 100px; /* 你可以根据需要调整尺寸 */  
  height: 100px;  
  background: rgba(0, 0, 0, 0);/* 透明背景 */  
  border: 2px solid red;
  text-decoration: none; /* 去掉下划线 */  
  z-index: 1000; /* 确保按钮在canvas之上 */  
  /* 如果需要，可以添加背景图片或SVG图标 */  
  /* background-image: url('path-to-your-image.png'); */  
  /* background-repeat: no-repeat; */  
  /* background-position: center; */  
  /* background-size: contain; */  
}

nav {
  width: 100%;
}

p {
  /*margin: 0;*/
  font-size: 18px;
  font-weight: 200;
  color: white;
  margin-top: -50px;
}

.bar {
  height: 100%;
  width: 0%;
  position: absolute;
  right: 0;
  top: 0;
  background-color: rgb(22, 13, 61);
  z-index: -5;
  opacity: 0.5;
}

h1 {
  font-size: 10vw;
  position: absolute;
  top: calc(100vh - 50vw);
  font-weight: 800;
  left: 20px;
  line-height: 1;
  letter-spacing: -5px;
  color: white;
}

h2 {
  font-size: 60px;
  margin-top: 5px
  line-height: 1.5;
  color: white;
}

#hero {
  height: 100vh;
}

#part1 {
  margin-top: -100px;
  width: 100%;
  height: 150vh;
}

.part1-info,
.part2-info {
  width: 30%;
  gap: 40px;
  padding: 1%;
}

button {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: transparent;
  font-size: 18px;
  font-weight: 200;
  width: 100%;
  border-radius: 10px;
  padding: 20px 0;
  cursor: pointer;
  color: white;
  margin-top: -35px;
  z-index: 1000;
}

button:hover {
  border: 1px solid white;
}

#part2 {
  height: 150vh;
  width: 100%;
  justify-content: flex-start;
  margin-top: -350px;
}

#part3 {
  height: 120vh;
  justify-content: flex-start !important;
  align-items: center !important;
  position: relative;
  margin-bottom: 270Px;
  margin-top: -150px;
}

a {
  color: white;
}

.scroll-icon {
  height: 50px;
  width: 35px;
  border: 1px solid white;
  border-radius: 100px;
  padding: 5px 14px 20px 14px;
  box-sizing: border-box;
}

.scroll {
  height: 10px;
  width: 5px;
  border-radius: 10px;
  background-color: white;
}

.key {
  display: inline-block;
  letter-spacing: -2vw;
  transition: transform 0.2s;
}

@keyframes pressDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@media screen and (max-width: 1000px) {
  .canvas-cont {
    width: 200vw;
    transform: scale(0.5);
    left: auto;
    top: 25vh;
  }

  h1 {
    top: 20vw;
    font-size: 15vw;
  }

  .part1-info,
  .part2-info {
    width: 100%;
  }

  h2 {
    font-size: 5vw;
  }
}

.nav-floating {  
  position: fixed;  
  left: 15px;  
  width: 95%;  
  height: 45px;  
  z-index: 999;  
  display: flex;  
  align-items: center;  
  justify-content: margin-right; /* 让按钮从中间开始横向排列 */  
  padding: 0 15px;  
  background-color: rgba(117, 117, 117, 0.5);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);  
  border-radius: 5px; /* 添加圆角倒角 */  
  overflow: hidden; /* 确保内容不会溢出导航栏 */  
  } 

  .logo {  
  margin-right: 200px; /* 让 Logo 靠左排布 */  
  width: 150px;  
  height: 40px;   
  display: flex; /* 使用Flexbox来垂直和水平居中图片 */  
  justify-content: center; /* 水平居中 */  
  align-items: center; /* 垂直居中 */  
  overflow: hidden;  
  }  

  .logo img {  
  max-width: 100%;  
  max-height: 100%;  
  object-fit: cover; /* 保持图片比例，同时填满整个容器 */  
  }

  .nav-links {  
  display: flex;  
  justify-content: center; /* 链接居中排列 */  
  align-items: center;  
  list-style: none; /* 移除列表样式 */  
  padding: 0; /* 移除默认的内边距 */  
  margin: 0; /* 移除默认的外边距 */  
  }  
  
  .nav-button {  
  background-color: transparent;  
  border: none;
  padding: 10px 20px; /* 为文字提供间距 */  
  margin-right: 10px; /* 如果需要间隔的话 */  
  color: #e1ddfd; /* 默认文字颜色 */  
  text-decoration: none; /* 移除下划线 */  
  transition: color 0.2s ease-in-out; /* 过渡效果应用于文字颜色 */  
  font-size: 18px; /* 假设的公式，您可以根据需要调整 */ 

  text-align: center;  
    
  /* 防止文字换行，并在必要时显示省略号 */  
  white-space: nowrap;  
  overflow: hidden;  
  text-overflow: ellipsis; 
  }  
  
  #contactButton1 {  
    position: relative; /* 或者 absolute/fixed，取决于你的需求 */  
    z-index: 1000; /* 确保这个值比遮罩层的z-index值高 */  
}  

  #contactButton2 {  
  position: relative; /* 或者 absolute/fixed，取决于你的需求 */  
  z-index: 1000; /* 确保这个值比遮罩层的z-index值高 */  
 }  

 
  .nav-button:hover {  
  color: #f7ffaa; /* 悬停时文字颜色变亮 */  
  /*text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* 添加文字阴影效果 */  
  } 

  .banner-bg {  
  /* 假设图片在项目的根目录下 */  
  background-image: url('banner.jpg');  /* 设置背景图填充整个元素 */  
  background-size: cover;  /* 设置背景图始终位于元素的中心 */  
  background-position: center;  /* 不重复背景图 */  
  background-repeat: no-repeat;  /* 根据需要设置高度，比如全屏高度 */  
  height: 62vh; /* 示例值，您可以根据需要调整 */  
  width: 55%;  /* 圆角（如果需要） */
  border-radius: 10px;  /* 增加透明度（如果需要） */  
  opacity: 1;  
  box-shadow: 5px 5px 5px rgba(66, 66, 66, 0.5); 
  /* 定位banner为相对定位，这样#hero可以相对于它定位 */  
  /*position: relative; */ 

  margin-top: 7px;
  margin-left: 600px;

  overflow: hidden;  
 }  

 .banner-content {  
  padding: 20px;  
  z-index: 1; /* 确保文本内容在banner图上方 */  
}  

  /*以下是youtube 修饰代码*/

  .flex.row a {  
    margin-top: 52px;  
  } 

  .flex.row {  
    display: flex;  
    justify-content: flex-end; /* 让子元素靠右排列 */  
    align-items: center; /* 如果需要垂直居中，可以添加这个属性 */  
  }  
  
  /*修饰代码在这里结束*/

  .image-container {  
    /* 通过调整margin或position属性来移动图片位置 */  
    margin-top: -510px; /* 负值会将容器上移，你可以根据需要调整这个值 */  
    text-align: center; /* 使图片居中显示 */  
  }  
    
  .image-container img {  
    /* 调整图片的宽度来缩小图片，高度会自动等比例缩放 */  
    width: 95vw; /* 你可以根据需要调整这个百分比，或者使用具体的像素值 */  
    /*max-width: 600px; /* 设置一个最大宽度，防止在大屏幕上图片过大 */ 
    border-radius: 10px; 
    box-shadow: 5px 5px 5px rgba(66, 66, 66, 0.5); 
  }  

  .image-container2 {  
    position: relative;  
    width: 50vw; /* 视窗宽度 */  
    height: 35vw; /* 视窗高度 */  
    overflow: hidden; /* 隐藏超出视窗的内容 */  
    border-radius: 10px;  
    box-shadow: 5px 5px 5px rgba(66, 66, 66, 0.5);  
    margin-right: 100px;
    margin-top: -128px;  
  } 

  .image-container2 img {  
    position: absolute;  
    width: 100%; /* 图片宽度与视窗相同 */  
    height: auto; /* 图片高度自动 */  
  } 

  .image-container3 {  
    margin-right: -3500px;
    margin-left: 100px;
    margin-top: 40px;
  }

  .image-container3 img {  
    max-width: 58vw; /* 图片最大宽度为其容器的100% */  
    height: auto;
    border-radius: 10px;  
    box-shadow: 5px 5px 5px rgba(66, 66, 66, 0.5);  
  } 

#imageContainer {  
  opacity: 0;  
  transform: translateX(100%);  
  max-width: 0; /* 初始时最大宽度为0，但注意这不会阻止元素占据布局空间 */  
  width: 100%; /* 或者设置为具体的宽度值，但这里我们让它在可见时占据全部宽度 */  
  overflow: hidden; /* 防止内容溢出 */  
  transition: opacity 1s ease-out, transform 1s ease-out, max-width 0.0s ease-out 0s; /* 延迟max-width的过渡效果，以便在位置和透明度变化之后开始 */  
} 


#imageContainer.active {  
  opacity: 1;  
  transform: translateX(0);  
  max-width: 100%; /* 当元素变为可见时，设置最大宽度为100%（或你需要的任何值） */  
  /* 注意：由于max-width的过渡效果有延迟，它可能会在opacity和transform变化之后才开始 */  
}




  
/* 定义动画 */  
@keyframes slideInFromRight {  
  0% {  
    transform: translateX(100%);  
    opacity: 0;  
  }  
  100% {  
    transform: translateX(0);  
    opacity: 1;  
  }  
}  


/*#imageContainer {  
  opacity: 0;  
  transform: translateX(100%);
  transition: opacity 1s ease-out, transform 1s ease-out;  
}  */
  
/* 当图片容器被激活时应用动画 */  
/*#imageContainer.active {  
  animation: slideInFromRight 1s ease-out forwards;  
  opacity: 1;  
  transform: translateX(0);  
}  */



  .pic-container {  
    display: flex;  
    margin-top: 20px; /* 与标题之间的间距 */ 
    justify-content: flex-start; 
  }  
    
  .image-wrapper {  
    flex: 1 0 33.33%;
    margin-bottom: 10px; /* 图片与标题/注解之间的间距 */  
    margin-left: -80px; 
    align-items: center; /* 垂直居中（如果需要） */  
    text-align: center; 
    animation: slideInFromRight 1s ease-out forwards;
  }  
  
  .image-wrapper:last-child {  
    margin-right: -90px; /* 移除最后一张图片右侧的间距 */  
    margin-left: 90px;   
  } 

  .image-wrapper img {  
    max-width:55%; /* 图片最大宽度为其容器宽度的100% */  
    height: auto; /* 保持图片的原始宽高比 */ 
    border-radius: 10px;  
    box-shadow: 5px 5px 5px rgba(66, 66, 66, 0.5);  
  } 
    
  .image-caption {  

    margin-top:80px;
 
  } 

  .image-caption p:nth-child(2) {  
    margin-top: 0px; /* 这里的margin-top会加到第二个<p>元素的顶部 */  
  }


  .image-container4 {  
    /* 初始时隐藏图片容器，但使用opacity和transform */  
    opacity: 0;  
    transform: scale(0);  
    position: fixed; /* 或者使用其他定位方式，如absolute */  
    top: 5; /* 示例定位，根据需要调整 */  
    left: 020; /* 示例定位，根据需要调整 */  
    transform-origin: top left; /* 设置缩放原点 */  
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; /* 动画效果 */  
    /* 其他定位属性和样式 */  
    margin-left:-40px;

}  
  
.image-container4.show {  
    opacity: 1;  
    transform: scale(1); /* 放大到原始大小 */   
}  
  
.image-container4 img {  
    width: 400px; /* 设置图片的最终宽度 */  
    height: auto; /* 保持图片的宽高比 */  
}  

.close-button {  
  position: absolute;  
  top: 70px; /* 将按钮放在图片上方的位置 */  
  right: 0px; /* 将按钮放在图片左侧的位置 */  
  width:35px;
  height:35px;
  cursor: pointer; /* 鼠标悬停时变为小手图标 */  
  padding: 0px 0px; /* 根据需要调整内边距，以调整按钮的大小 */  
  border: none; /* 移除边框 */  
  /*background-color: rgba(0, 0, 0, 0.5); /* 设置背景色，这里使用半透明的黑色 */  
  color: #fff; /* 设置字体颜色 */  
  border-radius: 50%; /* 设置边框圆角为50%，使其呈现圆形 */  
  font-size: 16px; /* 根据需要调整字体大小 */  
  line-height: 1; /* 调整行高以匹配按钮大小 */  
  /* 可以添加更多样式，如阴影等 */  
  text-align: center; /* 文本居中对齐 */  
  transition: all 0.2s ease-in-out; /* 添加过渡效果，使按钮的交互更平滑 */  
  z-index:1000;
}  

.close-button2 {  
  position: absolute;  
  top: 10px;  
  right: 10px;  
  color: white;  
  font-size: 24px;  
  border: none;  
  background: none;  
  width: 30px;  
  height: 30px;  
  line-height: 30px;  
  text-align: center;  
  border-radius: 50%;  
  transition: all 0.2s ease-in-out;  
  z-index:1000;
}  
  
.close-button2:hover {  
  border: 2px solid rgba(255, 255, 255, 0.5);  
  background-color: rgba(0, 0, 0, 0.1); /* 可选：添加背景色以更清楚地看到效果 */ 
  z-index:1000; 
}
  
/* 可选的：添加一些样式来突出显示按钮的点击状态 */  
/*.close-button:hover {  
  background-color: rgba(0, 0, 0, 0.7); /* 点击时改变背景色  
}*/






/* 底部消息区域样式 */  
footer {  
  background-color: #031f44;
  color: #fff; /* 白色文字 */  
  padding: 20px 0; /* 内边距 */  
  text-align: center; /* 文本居中 */  
  font-size: 14px; /* 字体大小 */  
  width:100vw;
  margin-bottom: -20px;
  height:42vh;
  margin-left: -20px;
}  
  
.footer-container {  
  display: flex;  
  align-items: flex-start; /* 垂直对齐方式 */  
}  
  
.footer-left {  
  flex: 1; /* 占据可用空间 */  
  display: flex;  
  flex-direction: column; /* 垂直排列 */  
  align-items: flex-start; /* 子元素在垂直方向对齐 */ 
}  
  
.vertical-separator {  
  margin-top: 50px;
  width: 1px; /* 竖线宽度 */  
  height: 17vh; /* 与容器等高 */  
  background-color: #ebebeb; /* 竖线颜色 */  
  margin-right: 0px;
}  
  
.footer-right {  
  flex: 1; /* 占据可用空间 */  
  display: flex;  
  flex-direction: row; /* 垂直排列 */  
  align-items: flex-start; /* 子元素在垂直方向对齐 */  
  height:25vh;
  margin-top: 70Px;
  margin-right: 100px;
}  
  
nav ul {  
  list-style: none; /* 移除列表样式 */  
  padding: 0; /* 移除默认的内边距 */  
  margin: 0; /* 移除默认的外边距 */  
}  
  
nav ul li {  
  margin-bottom: 10px; /* 导航链接之间的间距 */  
}  
  
/* 其他样式可以根据需要添加 */ 
  
.footer-logo img {  
  max-width: 18vw; /* logo最大宽度 */  
  height: auto;  
  /*margin-bottom: 5px; /* 下边距 */  
  margin-left: 40px;
}  
  
.footer-info {  
  flex: 1; /* 占据剩余空间 */  
  text-align: left; /* 文本左对齐 */  
  margin-top: 20px;
  margin-left: 40px;

}  

.footer-info p{  
  margin-top: 1px;

}  
  
.footer-info nav ul {  
  list-style: none; /* 移除列表样式 */  
  padding: 0; /* 移除内边距 */  
}  
  
.footer-info nav ul li {  
  display: inline-block; /* 列表项内联显示 */  
  margin-right: 10px; /* 列表项间距 */  
}  
  
.footer-info nav ul li a {  
  color: #fff; /* 链接颜色 */  
  text-decoration: none; /* 移除下划线 */  
}  


  
.footer-contact { 
  width: 50vw; 
  align-items:flex-start;

 
}

.footer-contact p {  
  text-align: left; /* 确保 <p> 标签内的文本靠左对齐 */ 
  margin-bottom: 30px; 
}





.footer-copyright {  
  flex: 1; /* 占据可用空间 */  
  display: flex;  
  align-items: center;
  margin-left:320px;
  margin-top: 15px;

  
}

/*   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-----------------------------------媒体查询--------------------------
-------------------------------------------------------------------------------
--------------------------------------------------------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*/

@media (max-width: 600px) { 


  .nav-floating {  
    position: fixed;  
    left: 2px;  
    width: 92%;  
    height: 8vw;  
    z-index: 999;  
    display: flex;  
    align-items: center;  
    justify-content: margin-right; /* 让按钮从中间开始横向排列 */  
    /*padding: 0 15px;  */
    background-color: rgba(117, 117, 117, 0.5);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);  
    border-radius: 5px; /* 添加圆角倒角 */  
    overflow: hidden; /* 确保内容不会溢出导航栏 */  
    } 
  
    .logo {  
    margin-right: 40px; /* 让 Logo 靠左排布 */  
    width: 15vw;  
    height: 8vw;   
    display: flex; /* 使用Flexbox来垂直和水平居中图片 */  
    justify-content: center; /* 水平居中 */  
    align-items: center; /* 垂直居中 */  
    overflow: hidden;  
    }  
  
    .logo img {  
    max-width: 100%;  
    max-height: 100%;  
    object-fit: cover; /* 保持图片比例，同时填满整个容器 */  
    }
  
    .nav-links {  
    display: flex;  
    justify-content: center; /* 链接居中排列 */  
    align-items: center;  
    list-style: none; /* 移除列表样式 */  
    padding: 0; /* 移除默认的内边距 */  
    margin: 0; /* 移除默认的外边距 */  
    }  
    
    .nav-button {  
    background-color: transparent;  
    border: none;
    padding: 10px 8px; /* 为文字提供间距 */  
    margin-right: 0px; /* 如果需要间隔的话 */  
    color: #e1ddfd; /* 默认文字颜色 */  
    text-decoration: none; /* 移除下划线 */  
    transition: color 0.2s ease-in-out; /* 过渡效果应用于文字颜色 */  
    font-size: 3vw; /* 假设的公式，您可以根据需要调整 */ 
  
    text-align: center;  
      
    /* 防止文字换行，并在必要时显示省略号 */  
    white-space: nowrap;  
    overflow: hidden;  
    text-overflow: ellipsis; 
    }  

    .canvas-cont {
      position: fixed;
      z-index: 3;
      top: 0;

      left: -300px;

      bottom:-900px;

      /*width: 100vw;
      height: 100vh;*/
      width: 240vw;
      height: 250vw;
      pointer-events: none;
    }
    
    #canvas3d {
      width: 10%;
      height:10%;
    }
    
  
   
    .nav-button:hover {  
    color: #f7ffaa; /* 悬停时文字颜色变亮 */  
    /*text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* 添加文字阴影效果 */  
    } 
  
    .banner-bg {  
    /* 假设图片在项目的根目录下 */  
    background-image: url('banner.jpg');  /* 设置背景图填充整个元素 */  
    background-size: cover;  /* 设置背景图始终位于元素的中心 */  
    background-position: center;  /* 不重复背景图 */  
    background-repeat: no-repeat;  /* 根据需要设置高度，比如全屏高度 */  
    height: 50vw; /* 示例值，您可以根据需要调整 */  
    width: 55vw;  /* 圆角（如果需要） */
    border-radius: 10px;  /* 增加透明度（如果需要） */  
    opacity: 1;  
    box-shadow: 5px 5px 5px rgba(66, 66, 66, 0.5); 
    /* 定位banner为相对定位，这样#hero可以相对于它定位 */  
    position: relative; 
    margin-left:160px;
  
    margin-top: 39px;
    /*margin-left: 600px;*/
  
    /*overflow: hidden;  */
   }  
  
   .banner-content {  
    /*padding: 20px;*/ 
    z-index: 1; /* 确保文本内容在banner图上方 */  
  }  

  
    /*以下是youtube 修饰代码*/
  
    .flex.row a {  
      margin-top: 52px;  
    } 
  
    .flex.row {  
      display: flex;  
      justify-content: flex-end; /* 让子元素靠右排列 */  
      align-items: center; /* 如果需要垂直居中，可以添加这个属性 */  
    }  
    
    /*修饰代码在这里结束*/
  
    .image-container {  
      /* 通过调整margin或position属性来移动图片位置 */  
      margin-top: -700px; /* 负值会将容器上移，你可以根据需要调整这个值 */  
      text-align: center; /* 使图片居中显示 */  
    }  
      
    .image-container img {  
      /* 调整图片的宽度来缩小图片，高度会自动等比例缩放 */  
      width: 90vw; /* 你可以根据需要调整这个百分比，或者使用具体的像素值 */  
      /*max-width: 600px; /* 设置一个最大宽度，防止在大屏幕上图片过大 */ 
      border-radius: 10px; 
      box-shadow: 5px 5px 5px rgba(66, 66, 66, 0.5); 
    }  
  
    .image-container2 {  
      position: relative;  
      width: 50vw; /* 视窗宽度 */  
      height: 35vw; /* 视窗高度 */  
      overflow: hidden; /* 隐藏超出视窗的内容 */  
      border-radius: 10px;  
      box-shadow: 5px 5px 5px rgba(66, 66, 66, 0.5);  
      margin-right: 100px;
      margin-top: -128px;  
    } 
  
    .image-container2 img {  
      position: absolute;  
      width: 100%; /* 图片宽度与视窗相同 */  
      height: auto; /* 图片高度自动 */  
    } 
  
    .image-container3 {  
      margin-right: -3500px;
      margin-left: 30px;
      margin-top: 40px;
    }
  
    .image-container3 img {  
      max-width: 58vw; /* 图片最大宽度为其容器的100% */  
      height: auto;
      border-radius: 10px;  
      box-shadow: 5px 5px 5px rgba(66, 66, 66, 0.5);  
    } 
  
   /* #imageContainer {  
    opacity: 0;  
    transform: translateX(100%); 
    transition: opacity 1s ease-out, transform 1s ease-out;  
  }  */


  /*#imageContainer {  
    opacity: 0;  
    transform: translateX(100%);  
    max-width: 0; /* 初始时最大宽度为0，但注意这不会阻止元素占据布局空间 */  
    /*width: 100%; /* 或者设置为具体的宽度值，但这里我们让它在可见时占据全部宽度 */  
    /*overflow: hidden; /* 防止内容溢出 */  
    /*transition: opacity 1s ease-out, transform 1s ease-out, max-width 0.5s ease-out 1s; /* 延迟max-width的过渡效果，以便在位置和透明度变化之后开始 */  
  /*} */ 



/*#imageContainer.visible {  
  opacity: 1;  
  transform: translateX(0);  
  max-width: 100%; /* 当元素变为可见时，设置最大宽度为100%（或你需要的任何值） */  
  /* 注意：由于max-width的过渡效果有延迟，它可能会在opacity和transform变化之后才开始 */  
/*}*/


  #part1 {
    margin-top: -0px;
    width: 100%;
    height: 50vh;
  }


  #part2 {
    height: 50vh;
    width: 100%;
    justify-content: flex-start;
    margin-top: -450px;
  }
  
  #part3 {
    height: 100vh;
    justify-content: flex-start !important;
    align-items: center !important;
    position: relative;
    margin-bottom: 270Px;
    margin-top: -150px;
  }
  
  
  .part1-info,
  .part2-info {
    width: 30%;
    gap: 40px;
    padding: 1%;
  }
  
  button {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: transparent;
    font-size: 14px;
    font-weight: 200;
    width: 100%;
    border-radius: 10px;
    padding: 20px 0;
    cursor: pointer;
    color: white;
    margin-top: -35px;
  }
  
  button:hover {
    border: 1px solid white;
  }
  
  #part2 {
    height: 150vh;
    width: 100%;
    justify-content: flex-start;
    margin-top: -350px;
  }
  
  #part3 {
    height: 40vh;
    justify-content: flex-start !important;
    align-items: center !important;
    position: relative;
    margin-bottom: 270Px;
    margin-top: -200px;
    margin-left: 10px;
    width: 90%;
  }

  .pic-container {  
    display: flex;  
    margin-top: 20px; /* 与标题之间的间距 */ 
    justify-content: flex-start; 
  }  
    
  .image-wrapper {  
    flex: 1 0 33.33%;
    margin-bottom: 10px; /* 图片与标题/注解之间的间距 */  
    margin-left:0px; 
    align-items: center; /* 垂直居中（如果需要） */  
    text-align: center; 
    animation: slideInFromRight 1s ease-out forwards;
  }  
  
  .image-wrapper:last-child {  
    margin-right: 0px; /* 移除最后一张图片右侧的间距 */  
    margin-left: 0px;   
  } 

  .image-wrapper img {  
    max-width:62%; /* 图片最大宽度为其容器宽度的100% */  
    height: auto; /* 保持图片的原始宽高比 */ 
    border-radius: 10px;  
    box-shadow: 5px 5px 5px rgba(66, 66, 66, 0.5);  
  } 
    
  .image-caption {  

    margin-top:80px;
 
  } 

  .image-caption p:nth-child(2) {  
    margin-top: 0px; /* 这里的margin-top会加到第二个<p>元素的顶部 */  
  }

  .image-container4 {  
    /* 初始时隐藏图片容器，但使用opacity和transform */  
    opacity: 0;  
    transform: scale(0);  
    position: fixed; /* 或者使用其他定位方式，如absolute */  
    top: 5; /* 示例定位，根据需要调整 */  
    left: 45%; /* 示例定位，根据需要调整 */  
    transform-origin: top left; /* 设置缩放原点 */  
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; /* 动画效果 */  
    /* 其他定位属性和样式 */  
    margin-left:-40px;

}  
  
.image-container4.show {  
    opacity: 1;  
    transform: scale(1); /* 放大到原始大小 */   
}  
  
.image-container4 img {  
    width: 60vw; /* 设置图片的最终宽度 */  
    height: auto; /* 保持图片的宽高比 */  
}  
 


.close-button {  
  position: absolute;  
  top: 70px; /* 将按钮放在图片上方的位置 */  
  right: 0px; /* 将按钮放在图片左侧的位置 */  
  width:35px;
  height:35px;
  cursor: pointer; /* 鼠标悬停时变为小手图标 */  
  padding: 0px 0px; /* 根据需要调整内边距，以调整按钮的大小 */  
  border: none; /* 移除边框 */  
  /*background-color: rgba(0, 0, 0, 0.5); /* 设置背景色，这里使用半透明的黑色 */  
  color: #000000; /* 设置字体颜色 */  
  border-radius: 50%; /* 设置边框圆角为50%，使其呈现圆形 */  
  font-size: 16px; /* 根据需要调整字体大小 */  
  line-height: 1; /* 调整行高以匹配按钮大小 */  
  /* 可以添加更多样式，如阴影等 */  
  text-align: center; /* 文本居中对齐 */  
  transition: all 0.2s ease-in-out; /* 添加过渡效果，使按钮的交互更平滑 */  
  z-index:1000;
}  


  footer {  
    background-color: #031f44;
    color: #fff; /* 白色文字 */  
    padding: 0px 0; /* 内边距 */  
    text-align: center; /* 文本居中 */  
    font-size: 14px; /* 字体大小 */  
    width:100vw;
    margin-bottom: -20px;
    height:35vh;
    margin-left: -20px;
    margin-top:-10vh;
  }  

  .footer-contact p {  
    text-align: left; /* 确保 <p> 标签内的文本靠左对齐 */ 
    margin-bottom: 15px; 
  }

  .footer-copyright {  
    flex: 1; /* 占据可用空间 */  
    display: flex;  
    align-items: center;
    margin-left:40px;
    margin-top: 5px;
  
    
  }


}