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

@font-face{font-family:PermanentMarker;src:url(image/PermanentMarker.ttf)}
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #4CACBC !important; }
.bg-font{
  font-family:PermanentMarker;
}
.-hero { background-color: #f5f0bb; } 
.pagebg{ background-color: #f6e3c5; }
/* 覆盖全屏的容器 */
.full-width-container {
  position:relative; /* 或者使用 absolute */
  top: 10vh;
  left: 0;
  width: 100vw; /* 视口宽度 */
  height: auto; /* 视口高度 */
  background-color: rgba(255, 0, 0, 0.5); /* 半透明红色，便于可视化 */
  z-index: 999; /* 确保它在其他内容之上 */
  overflow-y: auto; /* 垂直方向的滚动条 */
}
/* Ensure body takes up the full width and height */
html, body {
  position:relative;
  /* width: 100%;
  height: 100%;
  overflow-x: hidden;   */
}

/* Make sure the container is full width */
/* .container, .container-fluid {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
} */

/* Image styling */

.full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;  /* Remove any image margin */
  padding: 0; /* Remove any image padding */
}


/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }
/*start*/
.start-text {
  position: absolute;
  top: 65%; /* 调整为偏下的位置 */
  left: 45%;
  transform: translate(-50%, -50%);
  color: #5dbe8a;
  font-weight: bold;
  animation: bounce 1s infinite;
}
.bounce-text {
  font-family:PermanentMarker;
  transform: translate(-50%, -50%);
  animation: bounce 1s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-30px); }
  60% { transform: translateY(-15px); }
}
/* .start-text {
  position: relative;
  z-index: 1; 
  font-size: 36px;
  color: green; 
  font-weight: bold; 
} */

/*第一个背景图*/
.container1 {
  display: flex; /* 使用Flexbox布局 */
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  height: auto; /* 容器高度，根据需要调整 */
  position: relative; /* 添加这一行 */
  background-color: #f5f0bb;
}
.container1 .col{
 text-align: center;
}
.container1 .bg2{
  background-image: url('https://static.igem.wiki/teams/5332/homeimage/hm2bg.jpg'); /* 背景图片2 */
  background-size: cover;
  background-position: center;
}
.container .bg3{
  background-image: url('https://static.igem.wiki/teams/5332/homeimage/hm3bg.jpg'); /* 背景图片3 */
  background-size: cover;
  background-position: center;
}
/* 设置返回顶部按钮的样式 */
#topBtn {
  /* display: block;  默认隐藏按钮 */
   position: fixed; /* 固定位置，使其悬浮在页面右下角 */
   bottom: 20px; /* 距离页面底部20px */
   right: 30px; /* 距离页面右侧30px */
   z-index: 99; /* 确保按钮在其他元素之上 */
   border: none; /* 无边框 */
   outline: none; /* 无轮廓 */
   background-color: transparent; /* 按钮背景透明，只显示图标 */
   cursor: pointer; /* 鼠标悬浮时显示为指针 */
   padding: 0; /* 无内边距，确保图标大小不变 */
}
/* 鼠标悬停时改变透明度，产生交互效果 */
#topBtn:hover {
   opacity: 0.8;
}
/* 设置图标的样式 */
#topBtn img {
   width: 40px; /* 设置图标宽度 */
   height: 40px; /* 设置图标高度 */
}
#loader1 {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #21242d url('https://static.igem.wiki/teams/5332/image/load-hi.gif') no-repeat center center;
  background-size: cover;
  z-index: 9999;
  animation: fadeOut 2.5s forwards;
}
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}


/* footer */
footer a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }

a {
    text-decoration: none; /* 移除链接的下划线 */
  }
/*container */
.containdiaer .bg1{
    background-image: url('https://static.igem.wiki/teams/5332/image/b3ec4f2aa9dc5207747eff9f766f0c8.jpg'); /* 背景图片1 */
    background-size: cover;
    background-position: center;
  }
  .container .bg2{
    background-image: url('https://static.igem.wiki/teams/5332/homeimage/hm2bg.jpg'); /* 背景图片1 */
    background-size: cover;
    background-position: center;
  }
  .container .bg3{
    background-image: url('https://static.igem.wiki/teams/5332/homeimage/hm3bg.jpg'); /* 背景图片1 */
    background-size: cover;
    background-position: center;
  }
/*image点击跳转的定位*/
.image-container {
  position: relative; /* 保证容器的相对定位 */
  width: 100%; /* 确保容器宽度为 100% */
}

.img {
  width: 100%; /* 图片的宽度自适应容器 */
  height: auto; /* 自动调整高度，确保宽高比不变 */
}
.overlay {
  position: absolute;
  background-color: rgba(255, 0, 0, 0.3); /* 红色半透明 */
  pointer-events: none; /* 让点击事件穿透到下方的元素 */
}
/*以下是文字放框里的尝试 */
.image-container1 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* 确保内容不溢出 */
}

.img {
  max-width: 100%; /* 确保图片宽度为 100% */
  height: auto; /* 保持图片比例 */
}

.log-box {
  position: absolute;
  background-color: rgba(0, 0, 0, 0); /* 半透明背景 */
  color: rgb(0, 0, 0);
  padding: 20px;
  border-radius: 10px;
  width: 90%; /* 设置为相对于父容器的百分比宽度 */
  max-width: 600px; /* 设置最大宽度 */
  text-align: center;
  box-sizing: border-box; /* 包括内边距在宽度内 */
  left: 50%; /* 水平居中 */
  top: 50%; /* 垂直居中 */
  transform: translate(-50%, -50%); /* 调整居中位置 */
}

.overlay-text p {
  font-size: 2vw; /* 使用相对单位，根据视口宽度调整 */
  line-height: 1.5; /* 行高，增加可读性 */
  margin: 0; /* 去掉段落的外边距 */
}

/*跳转新方法*/
/* 设置大背景图片容器 */
/* 设置大背景图片容器，确保宽度自适应 */
.jumpcontainer {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* 大图片样式 */
.big-image {
  width: 100%;
}
.lastcontainer {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 0 auto;
}
/* 小图片的通用样式 */
.small-image {
  position: absolute;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* 鼠标悬停时放大效果 */
.small-image:hover {
  transform: scale(1.1);
}

/* 使用百分比设置小图片1的大小和位置 */
.small-image-1 {
  top: 28%;       /* 相对大图片顶部的百分比 */
  left: 16.9%;      /* 相对大图片左侧的百分比 */
  width: 13.5%;     /* 相对于大图片宽度的百分比 */
}

/* 小图片2 */
.small-image-2 {
  top: 13.7%;
  left: 27.9%;
  width: 16%;
}

/* 小图片3 */
.small-image-3 {
  top: 13%;
  left: 45%;
  width: 18%;
}
/* 小图片4 */
.small-image-4 {
  top: 20%;
  left: 23%;
  width: 15%;
}
/* 小图片5 */
.small-image-5 {
  top: 20%;
  left: 43%;
  width: 15%;
}
/* 小图片6 */
.small-image-6 {
  top: 20%;
  left: 63%;
  width: 15%;
}
/* 小图片7 */
.small-image-7 {
  top: 50%;
  left: 33%;
  width: 15%;
}
/* 小图片8 */
.small-image-8 {
  top: 50%;
  left: 53%;
  width: 15%;
}
/* .small-image-9 {
  top: 50%;
  left: 75%;
  width: 25%;
} */
/* 箭头指示 */
/* 箭头指示 */
.arrow {
  position: absolute;
  top: 70%; /* 垂直居中 */
  left: 65%; /* 将箭头稍微向左移动，以便不与图片重叠 */
  transform: translateY(-50%); /* 垂直方向上居中 */
  display: flex;
  flex-direction: row-reverse; /* 让箭头在左侧，文本在右侧 */
  align-items: center; /* 垂直对齐 */
}

.arrow span {
  background-color: #5bc0de;
  padding: 5px;
  font-size: 14px;
  font-weight: bold;
  color: rgb(0, 0, 0);
  white-space: nowrap;
  border-radius: 5px;
  margin-left: 0px; /* 增加左边距，确保箭头和文本之间有间距 */
}

/* 左向箭头形状 */
.arrow-shape {
  width: 0;
  height: 0;
  border-top: 18px solid transparent; /* 顶边透明 */
  border-bottom: 18px solid transparent; /* 底边透明 */
  border-right: 18px solid #5bc0de; /* 右边箭头颜色 */
  margin-right: 0px; /* 适当的右边距，确保与文本间距合理 */
}
/*胃部擦除效果*/
.image-container2 {
  position: relative;
  width: 100%;
  height: 250px;
  margin: 0 auto;
}

.in_image {
  position: absolute;
  top: 0%;
  left: 40%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease; /* 设置透明度过渡时间 */
}
/* 使图片上下浮动的动画 */
@keyframes float {
0% {
  transform: translateY(0); /* 初始状态 */
   }
50% {
  transform: translateY(-10px); /* 向上移动10px */
  }
100% {
  transform: translateY(0); /* 返回初始位置 */
  }
}
.in_image1 {
  opacity: 1; /* 初始状态下显示第一张图片 */
  animation: float 4s ease-in-out infinite; /* 4秒的上下浮动动画，循环进行 */
}
.in_image2 {
  opacity: 0; /* 初始状态下隐藏第二张图片 */
  transition: opacity 2s ease; /* 第二张图片的渐变时间为2秒 */
  animation: float 4s ease-in-out infinite; /* 与image1相同的浮动动画 */
  /*animation-delay: 1s; /* 延迟1秒开始浮动，使效果更加自然 */
}  
.in_image3 {
  opacity: 0; /* 初始状态下隐藏第三张图片 */
  transition: opacity 2s ease; /* 第三张图片的渐变时间为2秒 */
  animation: float 4s ease-in-out infinite; /* 与image1相同的浮动动画 */
  /*animation-delay: 2s; /* 延迟2秒开始浮动 */
}
/* 隐藏第4张和第5张图片，默认情况下不显示 */
.hover-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* 使其不阻止鼠标事件 */
  display: none; /* 默认隐藏 */
}
.hover-image {
  position: absolute;
  width: 40px; /* 设置第4和第5张图片的宽度 */
  height: 40px; /* 设置第4和第5张图片的高度 */
  pointer-events: none; /* 使图片不阻止鼠标事件 */
  opacity: 0; /* 初始时不显示 */
  transition: opacity 0.0005s ease; /* 过渡效果，透明度的渐变时间为0.5秒 */
}
.hover-images img:nth-child(1) {
  z-index: 1; /* 确保第4张图片在第5张图片下方 */
}
.hover-images img:nth-child(2) {
  z-index: 2; /* 确保第5张图片在第4张图片上方 */
}
.containerMove {
  position: relative;
  width: 100%; /* 容器宽度 */
  height: 300px; /* 容器高度 */
  margin: 0 auto; /* 居中显示 */
}
.imageA {
  position: absolute;
  top: 15%;
  left: 30%;
  width: 25%; 
  transition: transform 3s ease, opacity 4s ease;
  opacity: 1;
  z-index: 2; /* 确保在上面 */
}

#imageB {
  position: absolute;
  top: 25%;
  left: 50%;
  width: 20%;
  height:auto;
  z-index: 1; /* 确保在上面 */
}

.move {
  transform: translate(60%, 0%) scale(0); /* 移动并缩小 */
  opacity: 0; /* 渐渐消失 */
}
.buttonMove {
  margin-top: 5vw; /* 距离窗口宽度的5% */
  padding: 5px 5px;
  font-size: 20px;
  cursor: pointer;
}

.divwave{
  --c: #2c5678;
  --w1: radial-gradient(100% 57.8% at top ,#0000 100%,var(--c) 100.5%) no-repeat;
  --w2: radial-gradient(100% 57% at bottom,var(--c) 100%,#89161600 100.5%) no-repeat;
  background: var(--w1),var(--w2); /*两份*/
  background-position: 0% 100%, 99.5% 100%;
  background-size: 50% 100%;
}

.divwave1{
  --c:#a1c988;
  --w1: radial-gradient(100% 57% at top, var(--c) 100%,#0000 100.5%) no-repeat;
  --w2: radial-gradient(100% 57% at bottom ,#0000 100%,var(--c) 100.5%) no-repeat;
  background: var(--w1),var(--w2),var(--w1),var(--w2);
  background-position-x: -200%, -100%, 0%, 100%;
  background-position-y: 100%;
  background-size: 50.5% 100%;
  animation: m 3s infinite linear;
  z-index: 5;
  top: 0;
  width: 100%;
}
.divwave_test{
    --c: #331a67;  /* 可以改变颜色以示区分 */
    --w1: radial-gradient(100% 57% at top, var(--c) 100%, #0000 100.5%) no-repeat;
    --w2: radial-gradient(100% 57% at bottom, #0000 100%, var(--c) 100.5%) no-repeat;
    background: var(--w1), var(--w2), var(--w1), var(--w2);
    background-position-x: -200%, -100%, 0%, 100%;
    background-position-y: 100%;
    background-size: 50.5% 100%;
    animation: m2 3s infinite linear;
    position: absolute; /* 绝对定位 */
    top: 0;
    width: 100%;
    z-index: 4;
   
}
.wave1 {
  width: 100%;
  height: 50px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.5) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.5) 75%, transparent 75%, transparent);
  background-size: 50px 100%;
  animation: wave 10s linear infinite;
}
@keyframes wave {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 0;
  }
}
.divwave2{
  --c:#f5f0bb;
  --c: #f5f0bb;
  --w1: radial-gradient(100% 57% at top, var(--c) 100%,#0000 100.5%) no-repeat;
  --w2: radial-gradient(100% 57% at bottom ,#0000 100%,var(--c) 100.5%) no-repeat;
  background: var(--w1),var(--w2),var(--w1),var(--w2);
  background-position-x: -200%, -100%, 0%, 100%;
  background-position-y: 100%;
  background-size: 50.5% 100%;
  background-color: #56b58d;
  animation: m 3s infinite linear
}
@keyframes m {
  0%  {background-position-x:-200%, -100%, 0%, 100%}
  100%{background-position-x:  0%, 100%, 200%, 300%}
}
@keyframes m2 {
  0%  {background-position-x:-150%, -150%, 50%, 150%}
  100%{background-position-x:  50%, 150%, 250%, 350%}
}
.wavedown {
  --c: #f1e48e; /* 定义波浪的颜色 */
  /* 定义波峰渐变 */
  --w1: radial-gradient(50% 50% at 0% 0%, transparent 0%, var(--c) 100%) no-repeat;
  /* 定义波谷渐变 */
  --w2: radial-gradient(50% 50% at 100% 100%, var(--c) 0%, transparent 100%) no-repeat;
  /* 应用两个渐变 */
  background: var(--w1), var(--w2);
  /* 设置渐变的初始位置 */
  background-position: 0% 0%, 100% 100%;
  /* 设置渐变的大小 */
  background-size: 50% 50%;
  /* 定义动画 */
  animation: wave-down 2s infinite linear;
}

/* 定义关键帧动画 */
@keyframes wave-down {
  0% {
    background-position: 0% 100%, 100% 0%;
  }
  100% {
    background-position: 0% 0%, 100% 100%;
  }
}
.divwavetest {
  --c: #7d7847; /* 定义波浪的颜色 */
  /* 定义波峰渐变 */
  --w1: radial-gradient(ellipse at top, var(--c), transparent 60%) no-repeat;
  /* 定义波谷渐变 */
  --w2: radial-gradient(ellipse at bottom, transparent 40%, var(--c)) no-repeat;
  /* 应用两个渐变 */
  background: var(--w1), var(--w2);
  /* 设置渐变的初始位置 */
  background-position: 0% 0%, 100% 100%;
  /* 设置渐变的大小 */
  background-size: 50% 100%;
  /* 定义动画 */
  animation: wave 3s infinite linear;
}

/* 定义关键帧动画 */
@keyframes wave {
  0% {
    background-position: 0% 0%, 100% 100%;
  }
  100% {
    background-position: 100% 0%, 200% 100%;
  }
}
/*新开始*/
.h1Type {
  width: 12em; /* 宽度应与最终动画保持一致 */
  animation: typingWords 5s steps(12) 1 normal both, cursor 0.5s steps(1) infinite;
  white-space: nowrap;
  overflow: hidden;
  border-right: 1px solid #000;
  /* font-family: monospace; */
}

@keyframes typingWords {
  0% {
      width: 0;
  }
  100% {
      width: 12em; /* 动画结束时宽度为12em */
  }
}

@keyframes cursor {
  0%, 100% {
      border-color: #000; /* 光标可见 */
  }
  50% {
      border-color: transparent; /* 光标不可见 */
  }
}

/* 光标在打字结束后消失 */
.h1Type.done {
  animation: cursor 0.5s steps(1) forwards; /* 光标消失动画 */
  border-right: none; /* 光标消失后隐藏边框 */
}
/*step2.!!!!!文字效果！！！*/
.colored-background {
  background-color: #a0d995; /* 背景色 */
  color: #333; /* 文字颜色 */
  padding: 20px; /* 内边距 */
  border-radius: 5px; /* 圆角边框 */
  display: inline-block; /* 使背景色仅包裹文字 */
}
.word-container {
  padding: 10px 10px 20px 0px; /*上右下左*/
  background-color: #f5f0bb;
}

/*插入图片作为背景的效果*/
.word-image-container {
  padding: 0px 0px 0px 0px;
  width: 63vw;
  height: auto;
  position: relative;
  text-align: center;
  background-color: #5dbe8a;
}
h1{
  font-size: 45px;
  color: #333;
  text-align: center;
}
.container1 p{
  font-size: 25px;
  margin: 0 0; /* 顶部和底部外边距为20px，左右为0 */
}
.newContainer p{
  font-size: 25px;
  margin: 0 0; /* 顶部和底部外边距为20px，左右为0 */
}
.newContainer3 p{
  font-size: 25px;
  margin: 0 0; /* 顶部和底部外边距为20px，左右为0 */
}
.text p{
  font-size: 25px;
  margin: 0 0; /* 顶部和底部外边距为20px，左右为0 */
}
.word-image-container img {
  width: 98%;  /* 调整图片宽度 */
  height: auto;  /* 高度自动，保持图片比例 */
  border-radius: 10%;  /* 添加圆角 */
}
.word-image-container .text-above {
  position: absolute;  /* 绝对定位 */
  top: 33%;  
  left: 50%;  /* 水平居中 */
  transform: translateX(-50%);  /* 修正居中 */
  font-size: 27px;  /* 文字大小 */
  color: #333;  /* 文字颜色 */
}
.word-image-container .text-above2 {
  position: absolute;  /* 绝对定位 */
  top: 35%;  
  left: 47.5%;  /* 水平居中 */
  transform: translateX(-50%);  /* 修正居中 */
  font-size: 27px;  /* 文字大小 */
  color: #333;  /* 文字颜色 */
}

 .rounded-image {
      width: 600px;  /* 调整图片宽度 */
      height: auto;  /* 高度自动，保持图片比例 */
      border-radius: 10%;  /* 添加圆角 */
}

.section {
  opacity: 0;
  transform: translateY(20px); /* 初始时稍微下移 */
  transition: opacity 1s ease-out, transform 1s ease-out;
}
/* #section1 {

}

#section2 {

}

#section3 {

}
#section4 {
  
} */

/* 滑动效果 */
.fade-in {
  transition: opacity 1s ease-out;
}

.slide-in {
  transform: translateX(-100%);
  transition: transform 1s ease-out;
}

.scale-up {
  transform: scale(0.5);
  transition: transform 1s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.visible.slide-in {
  transform: translateX(0);
}

.visible.scale-up {
  transform: scale(1);
}
/* 飞入效果 */
@keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* 应用动画的类 */
.expandable-div {
  opacity: 0; /* 初始透明度为0，以便于飞入效果 */
}
.bounceInLeft {
  animation: bounceInLeft 1s forwards; /* 内部元素飞入效果 */
}

.newContainer {
  width: 40vw; /* 40% 的宽度 (70% - 30%) */
  margin-left: 30vw; /* 距离左侧 30% 的位置 */
  /* padding: 20px; */
}
.newContainer img {
  width: 100%; /* 让图片填充父容器 */
  height: auto; /* 保持比例 */
  
}

/* 确保文字内容也不超出newContainer的宽度 */
.newContainer .colored-background {
  margin-top: 1vw;
  width: 100%; /* 确保段落占满容器 */
  height: auto;
  font-family:PermanentMarker;
}
/* 图片轮播 */
.newContainer2 {
  width: 60vw; /* 70% 的宽度 */
  margin-left: 20vw; /* 距离左侧 15% 的位置 */
  overflow: hidden; /* 确保溢出的内容不显示 */
}

/* 图片轮播 */
.newContainer2 .divphoto {
  width: 100%; 
  height: 270px; 
  border: 10px solid #48a07b;
  margin: 0 auto;
  border-radius: 32px; 
  box-shadow: none;
  position: relative;
  overflow: hidden; /* 确保溢出内容隐藏 */
}

.ulphoto {
  width: 250%; /* 5 张图片的宽度 */
  position: absolute;
  top: 0;
  left: 0; 
  display: flex; /* 使用 flex 布局 */
  animation: mylist 14s linear infinite; /* 动画效果 */
}

.liphoto {
  list-style: none;
  width: 20%; /* 每张图片占容器宽度的 20% */
  height: 270px; /* 确保高度保持一致 */
  margin: 0 5px; /* 图片之间的间距 */
  background: #56b58d;
}

.ulphoto:hover {
  animation-play-state: paused; /* 鼠标悬停时暂停动画 */
  cursor: pointer;
}

.ulphoto .liphoto:hover img {
  transform: scale(0.9); /* 悬停时缩放图片 */
}

@keyframes mylist {
  from { left: 0; }
  to { left: -150%; } /* 向左移动 200%，显示新的图片 */
}

.liphoto img {
  width: 100%; /* 图片宽度为列表项宽度的 100% */
  height: 100%; /* 图片高度为列表项高度的 100% */
  object-fit: cover; /* 保持图片比例，避免拉伸 */
}
/* 定义伸展动画 */
.newContainer3 {
  width: 40vw; /* 初始宽度为 50% 的窗口宽度 */
  margin-left: 30vw; /* 距离左侧 30% 的位置 */
}

/* 让这个div在动画开始前隐藏 */
.expandable-div {
  height: 0; /* 初始高度为0 */
  opacity: 0; /* 初始透明度为0 */
  overflow: hidden; /* 防止内容溢出 */
  transition: height 1.5s ease-out, opacity 1.5s ease-out; /* 平滑过渡 */
}

/* 触发动画的类 */
.expandable-div.show {
  height: auto; /* 动画结束后设置高度为自动，展示内容 */
  opacity: 1;
}

.newContainer3 .colored-background {
  width: 100%; }

/* 新波浪动画*/
.wave{
position: relative;
width: 188px;
height: 10vh;
margin-bottom: -7px;
min-height: 80px;
/*最大值*/
max-height: 100px;
}
.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

/*选择的一个use*/
.parallax > use:nth-child(1) {
  /*延迟 2s执行*/
  animation-delay: -2s;
  /*7s内执行完毕*/
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s; 
}

/*动画*/
@keyframes move-forever {
  0% {
      transform: translate3d(-90px, 0, 0);
  }
  100% {
      transform: translate3d(85px, 0, 0);
  }
}
