body {
    cursor: url('https://static.igem.wiki/teams/5481/ico-64.png'),auto; /* auto 是备用的默认光标 */
}

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

.content-box1 {
    width: 80%;

}

.progress-bar span::after {
    display: none !important;
}

#mask {
    position: relative; /* 设置相对定位，以便伪元素可以相对于它定位 */
    display: inline-block; /* 或者其他合适的显示类型 */
  }
  
  .click-tip-my {

    position: absolute;
    bottom: 20%;
    left: 62%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 2px 10px;
    font-size: 14px;
    border-radius: 3px;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap; /* 防止内容换行 */
  }
  
  .click-tip-my:hover {
    opacity: 1;
  }

.text-box1 {
    width: 50%;
    padding: 100px;
    font-size: 2.5vw; 
    line-height: 1.5; 
    text-align: center;
}

.text-box1 p {
    color: rgba(150, 200, 225, 1);
}

.img1 {
    width: 40%;
    display: flex;
    justify-content: center; /* 使图片居中 */
}

.img1 img {
    width: 40vw;
    height:auto;
}



.content-box2 {
    background-color: rgba(255, 166, 0, 1);
    width: 80%;
    border-radius: 3vw;
    position: relative;
}

.text-box2 {
    width: 90%;
    padding: 3vw;
    font-size: 2.5vw; 
    line-height: 1.5; 
    text-align: center;
    vertical-align: top;
}

.text-box2 p{
    color:rgba(255, 255, 255, 1);
}

.img2{
    position: absolute; /* 绝对定位 */
    bottom: -13vh; /* 距离底部 10px */
    right: -3vw; /* 距离右侧 10px */
    width: 13vw; 
    height: auto; 
}

.img2 img{
    max-width: 110%; 
    max-height: 110%; 
    object-fit: cover; 
}

.content-box4 {
    width: 70%;
    margin: 0 auto;
    padding: 2vw;
}
.text-box4 {
    text-align: right;
    word-spacing: 0.2em;
    font-size: 2.5vw; 
    line-height: 1.5; 
    color: rgba(150, 200, 225, 1);
}
.text-box4 img{
    width: 33%;
    height: auto;
}
.float-image {
    float: left; 
    width: 70%; 
    margin: 10px 0px 0px 0px; 
}
.content-box5 {
    margin-top: 10vh;
    background-color: rgba(255, 176, 176, 1);
    width: 50%;
    border-radius: 3vw;
    position: relative; /* 为相对定位的父容器 */
    padding-bottom: 10vh;
}
.text-box5 {
    width: 90%;
    padding: 3vw;
    font-size: 3vw; 
    line-height: 1.5; 
    text-align: center;
    vertical-align: top;
}
.text-box5 p {
    color: rgba(255, 255, 255, 1);
}
.base-image {
    margin-top: 2.5vh;
    width: 50%; /* 设置基础图片的宽度 */
    height: auto; /* 保持高度比例 */
}
.overlay-image {
    position: absolute; /* 绝对定位 */
    top: 40%; /* 设置叠加图片的位置 */
    left: 27%; /* 设置叠加图片的位置 */
    width: 50%; /* 叠加图片的宽度 */
    height: auto; /* 保持高度比例 */
}

.content-box6 {
    margin-top: 10vh;
    width: 70%;
    position: relative; /* 为相对定位的父容器 */
    padding-bottom: 10vh;
}
.text-box6 {
    width: 90%;
    padding: 3vw;
    font-size: 2.5vw; 
    line-height: 1.5; 
    text-align: center;
    vertical-align: top;
    position: relative;
}
.text-box6 p {
    color: rgba(150, 200, 225, 1);
}
.text-box6 .flexbox img {
    width: 30vw;
    height:auto;
}

.swiper-container {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.swiper-slide {
    min-width: 20%; /* 100% / 5 slides */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
    width: 100%;
    display: block;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
    user-select: none;
    z-index: 10; /* Ensure arrows are above the images */
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.progress-bar-container {
    width: 100%;
    height: 5px;
    background-color: #ddd;
    margin-top: 10px;
}

.progress-bar {
    height: 100%;
    background-color: #4caf50; /* Green color for the progress */
    width: 0%; /* Initial width */
    transition: width 0.5s ease;
}

img {
    transition: all 0.3s ease;
}
.flash {
    animation: flash 1s infinite;
}
@keyframes flash {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}