@keyframes floatFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.floating-image {
    position: fixed; /* 使用固定定位 */
    left: -100%; /* 初始位置在左边 */
    top: 40%; /* 垂直居中 */
    transform: translateX(-100%); /* 初始状态在左边 */
    opacity: 0; /* 初始状态透明 */
    transition: transform 1s, opacity 1s; /* 平滑过渡效果 */
    width: 100px; /* 图片宽度，根据需要调整 */
    height: auto; /* 保持图片比例 */
    border-radius: 50%; /* 如果需要圆形图片 */
    z-index: 1000; /* 确保元素在其他内容之上 */
}


/* 调整屏幕 */


/* 8.23 */
@font-face {
    font-family: "ShantellSans";
    src: url("./fonts/ShantellSans[BNCE\,INFM\,SPAC\,ital\,wght].ttf") format("ttf");
    font-weight: normal; /* 常规粗细 */
    font-style: normal;
}
.homepage-maintitle-name{
    font-family: "ShantellSans",sans-serif;
    
}


/* 图表 */
 body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
}
.chart-section {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fdfdfd;
}

.chart-section h2 {
    color: #34495e;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
}
.chart-controls {
    margin-bottom: 15px;
}

.chart-controls label {
    margin-right: 10px;
    font-weight: bold;
    color: #555;
}

.chart-controls select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    background-color: #fff;
}

.chart-container {
    width: 100%;
    height: 450px; /* 调整图表高度 */
    min-height: 300px; /* 最小高度 */
    z-index: 10;
}
main {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* 响应式设计 */
@media (max-width: 768px) {
    main {
        padding: 10px;
        margin: 10px auto;
    }

    h1 {
        font-size: 1.8em;
    }

    .chart-container {
        height: 350px;
        z-index: 10;
    }
}

.homepage-holder{
    margin: 0 auto;
    width: 100vw;
    height: 14500px;
    background: linear-gradient(90deg, #ffd7ef, #d1f4ff,#e7e1ff);
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content: space-around;
}



/* for canvas */
#tutorial{
    position: absolute;
    z-index: 5;
    top: 700px;
    left: 100px;
}



/* for global styles of subtitles and contents */
.homepage-subtitle-style{
    margin: 0 auto;
    text-align: left;
    color: #F8F0E8;

    font-size: 40.625px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.homepage-contents-style{
    margin: 0 auto;
    margin-top: 20px;
    text-align: left;
    color: #F8F0E8;

    font-size: 20.313px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.homepage-elements{
    /* not for backgrounds!! */
    position: absolute;
    z-index: 9;
}



/* main title style: */
.homepage-maintitle{
    top: 260px;
    width: 1300px;
    height: 400px;
}
.homepage-maintitle-name{
    margin: 0 auto;
    margin-top: 10px;
    width: 1300px;
    height: 200px;
    color: #F8F0E8;
    text-align: center;
    font-feature-settings: 'liga' off;

    font-size: 80px;
    font-style: normal;
    font-weight: 600;
}



/* shelter for background1 */
.shelter-for-bg1{
    position: absolute;
    margin: 0 auto;
    top: 980px;
    width: 300px;
    height: 300px;
    box-shadow: 0px 0px 30px 20px black;
    background: linear-gradient(90deg, #ffd7ef, #d1f4ff,#e7e1ff);
    z-index: 6;
}



/* shelter for canvas start */
.shelter-for-canvas-start{
    position: absolute;
    width: 200px;
    height: 400px;
    top: 950px;
    z-index: 6;
    transform: translateX(-150%);
    background: linear-gradient(90deg, #ffd7ef, #d1f4ff,#e7e1ff);
}


/* background images style: */
.homepage-bg-img1{
    position: absolute;
    z-index: 0;
    width: 70vw;
    flex-shrink: 0;
    top: 0;
    left: -20vw;
    /* box-shadow: inset 120px 0px 70px -30px black, inset -120px 0px 70px -30px black; */
    /* background: url("https://static.igem.wiki/teams/4594/wiki/background-image1.png"); */
}
.homepage-bg-img2{
    position: absolute;
    z-index: 0;
    width: 90%;
    height: 866.667px;
    flex-shrink: 0;
    top: 1686px;
    box-shadow: inset 0px 0px 50px 30px black;
      background: linear-gradient(90deg, #ffd7ef, #d1f4ff,#e7e1ff), 50% / cover no-repeat;
    /* filter: blur(3.3854165077209473px); */
}
.homepage-bg-img2 img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例并填满容器 */
}
.homepage-bg-img2.clicked {
  /* 示例动画：轻微缩放 */
  transform: scale(0.99);
  transition: transform 0.2s;
}
.homepage-bg-img3{
    position: absolute;
    z-index: 0;
    width: 1300px;
    height: 866.667px;
    flex-shrink: 0;
    top: 8324px;
    box-shadow: inset 0px 0px 40px 20px black;
    background: linear-gradient(90deg, #ffd7ef, #d1f4ff,#e7e1ff),50% / cover no-repeat;
    filter: blur(3.3854165077209473px);
}



/* content images style: */
.homepage-content-img1{
    top: 930px;
    transform: translateX(-73%);
    width: 349.375px;
    height: 526.094px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background: 50% / cover no-repeat;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content-img2{
    top: 1358px;
    transform: translateX(40%);
    width: 459.74px;
    height: 236.979px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background:  40% no-repeat;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content-img3{
    top: 2080px;
    transform: translateX(-65%);
    width: 465.833px;
    height: 304.688px;
    flex-shrink: 0;
    border-radius: 33.854px;
    /* border: 0.677px solid #FFF; */
   
    size: 90%;
    background-repeat: no-repeat;
    background-position: center;
    /* background-color: black; */
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content-img4 {
    top: 3080px;
    transform: translateX(65%);
    width: 300px; /* 调整容器宽度 */
    height: 200px; /* 调整容器高度 */
    flex-shrink: 0;
    border-radius: 33.854px;
    z-index: 100;
}
.homepage-content-img5{
    top: 3377px;
    width: 848.385px;
    height: 304.688px;
    flex-shrink: 0;
   
    transition: all 0.8s linear;
}
.homepage-content-img6{
    top: 4000px;
    transform: translateX(40%);
    width: 60%;
    height: auto;
    flex-shrink: 0;
    border-radius: 33.854px;
    background:  50% / cover no-repeat;
    opacity: 1;
    transition: all 0.5s linear;
    object-fit: cover; /* 保持图片比例并填满容器 */
    box-sizing: border-box; /* 确保 padding 不影响宽度 */
    padding-left: 0; /* 增加左填充 */
    padding-right: 10%; /* 增加右填充 */
}

.homepage-content-img0{
    top: 4500px;
    transform: translateX(40%);
    width: 40%;
    height: auto;
    flex-shrink: 0;
    border-radius: 33.854px;
    background:  50% / cover no-repeat;
    opacity: 1;
    transition: all 0.5s linear;
     object-fit: cover; /* 保持图片比例并填满容器 */
}

.homepage-content-img7{
    top: 5640px;
    width: 600px;
    height: 200px;
    overflow-x: hidden;
    background:url(https://static.igem.wiki/teams/5840/figure/navigationbar.webp);
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 8;
    transform: translateX(0.8px);
    background-size: cover;
}
.homepage-content-img8{
    top: 6150px;
    /* width: 318.229px;
    height: 376.458px; */
    flex-shrink: 0;
    transform: translateX(110%);
    background: linear-gradient(90deg, #ffd7ef, #d1f4ff,#e7e1ff 100%),0px / 124.243% 105.026% no-repeat;
    opacity: 1;
    transition: all 0.5s linear;
    left: 200px;
}
.homepage-content-img9{
    top: 6790px;
    width: 400.833px;
    height: 400.833px;
    transform: translateX(-42.5%);
    left: 400px;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content-img10{
    top: 7345px;
    width: 415.56px;
    height: 236.979px;
    transform: translate(60%);
    background: linear-gradient(90deg, #ffd7ef, #d1f4ff,#e7e1ff),0px -70.565px / 100% 129.911% no-repeat;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content-img11{
    top: 7900px;
    width: 349.206px;
    height: 236.979px;
    flex-shrink: 0;
    border-radius: 33.854px;
    transform: translateX(-70%);
    opacity: 1;
    transition: all 0.5s linear;
    left: 600px;
}
.homepage-content-img12{
    /* It's an href, img is placed in its "a" in .html */
    top: 8515px;
    width: 320px;
    height: 92px;
    transform: translateX(130%);
}
.homepage-content-img12>a>div{
    margin: 0 auto;
    width: 250px;
    height: 60px;

    background-size: 125%;
    background-position: left;
    background-repeat: no-repeat;
    transition: all 0.1s linear;
}
.homepage-content-img12>a>div:hover{
    background-size: 130%;
    transition: all 0.1s linear;
}
.homepage-content-img13{
    top: 8697px;
    transform: translateX(-66%);
    width: 415.729px;
    height: 236.979px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background: linear-gradient(90deg, #ffd7ef, #d1f4ff,#e7e1ff),50% / cover no-repeat;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content-img14{
    top: 8697px;
    transform: translateX(68%);
    width: 475.313px;
    height: 236.979px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background: linear-gradient(90deg, #ffd7ef, #d1f4ff,#e7e1ff), 50% / cover no-repeat;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content-img15{
    top: 9524px;
    transform: translateX(110%);
    width: 336px;
    height: 216px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background: 50% / cover no-repeat;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content-img16{
    top: 9930px;
    transform: translateX(110%);
    width: 336px;
    height: 237px;
    flex-shrink: 0;
    border-radius: 33px;

    background-repeat: no-repeat;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content-img17{
    top: 11040px;
    transform: translateX(-100%);
    width: 285.729px;
    height: 304.688px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background:  50% / cover no-repeat;
}
.homepage-content-img18{
    top: 11090px;
    width: 266.094px;
    height: 203.125px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background:  50% / cover no-repeat;
}
.homepage-content-img19{
    top: 11090px;
    transform: translateX(112%);
    width: 226.823px;
    height: 203.125px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background:50% / cover no-repeat;
}
.homepage-content-img20{
    top: 11090px;
    transform: translateX(250%);
    width: 187.552px;
    height: 203.125px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background:  50% / cover no-repeat;
}
.homepage-content-img21{
    top: 11661px;
    transform: translateX(-220%);
    width: 192.969px;
    height: 236.979px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background: 50% / cover no-repeat;
}
.homepage-content-img22{
    top: 11661px;
    transform: translateX(-135%);
    width: 171.302px;
    height: 236.979px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background: 50% / cover no-repeat;
}
.homepage-content-img23{
    top: 11593px;
    transform: translateX(60%);
    width: 290.469px;
    height: 304.688px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background:50% / cover no-repeat;    
}
.homepage-content-img24{
    top: 11467px;
    transform: translateX(190%);
    width: 237px;
    height: 237px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background:  50% / cover no-repeat;    
}
.homepage-content-img25{
    top: 11717px;
    transform: translateX(190%);
    width: 237px;
    height: 237px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background: 50% / cover no-repeat;    
}
.homepage-content-img26{
    top: 12241px;
    transform: translateX(-170%);
    width: 237px;
    height: 237px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background: 50% / cover no-repeat;    
}
.homepage-content-img27{
    top: 12241px;
    transform: translateX(-100%);
    width: 186px;
    height: 237px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background:  50% / cover no-repeat;    
}
.homepage-content-img28{
    top: 12241px;
    transform: translateX(70%);
    width: 186px;
    height: 237px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background: 50% / cover no-repeat;    
}
.homepage-content-img29{
    top: 12241px;
    transform: translateX(155%);
    width: 216.582px;
    height: 304.688px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background: 50% / cover no-repeat;  
}
.homepage-content-img30{
    top: 12726px;
    left: 400px;
    
}
.homepage-content-img31{
    top: 12826px;
    transform: translateX(-44%);
    width: 190.26px;
    height: 237px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background:  50% / cover no-repeat;  
}
.homepage-content-img32{
    top: 12826px;
    transform: translateX(57.8%);
    width: 193px;
    height: 237px;
    flex-shrink: 0;
    border-radius: 33.854px;
    background:  50% / cover no-repeat;  
}



/* bottom links style */
.homepage-link1{
    top: 13551px;
    transform: translateX(0vw);
    width: 200px;
    height: 500px;
    flex-shrink: 0;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-link2{
    top: 13551px;
     transform: translateX(25vw);
    width: 200px;
    height: 500px;
    flex-shrink: 0;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-link3{
    top: 13551px;
    transform: translateX(50vw);
    width: 200px;
    height: 500px;
    flex-shrink: 0;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-link4{
    top: 13551px;
    transform: translateX(75vw);
    width: 200px;
    height: 500px;
    flex-shrink: 0;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-link5{
    top: 13850px;
    transform: translateX(0vw);
    width: 200px;
    height: 500px;
    flex-shrink: 0;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-link6{
    top: 13850px;
    transform: translateX(25vw);
    width: 200px;
    height: 500px;
    flex-shrink: 0;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-link7{
    top: 13850px;
    transform: translateX(50vw);
    width: 200px;
    height: 500px;
    flex-shrink: 0;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-link8{
    top: 13850px;
    transform: translateX(75vw);
    width: 200px;
    height: 500px;
    flex-shrink: 0;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-link1>a{
    text-decoration: none;
}
.homepage-link2>a{
    text-decoration: none;
}
.homepage-link3>a{
    text-decoration: none;
}
.homepage-link-img1{
    margin: 0 auto;
    width: 400px;
    height: 300px;

    background-repeat: no-repeat;
    background-size: 91%;
    background-position: center;
    transition: all 0.1s linear;
    transform: translateY(2px);
}
.homepage-link-img2{
    margin: 0 auto;
    width: 400px;
    height: 300px;
  
    background-repeat: no-repeat;
    background-size: 91%;
    background-position: center;
    transition: all 0.1s linear;
    transform: translateY(2px);
}
.homepage-link-img3{
    margin: 0 auto;
    width: 400px;
    height: 300px;
   
    background-repeat: no-repeat;
    background-size: 91%;
    background-position: center;
    transition: all 0.1s linear;
    transform: translateY(2px);
}




/* content boxes style: */
.homepage-content1{
    top: 900px;
    transform: translateX(28%);
    width: 440px;
    height: 450px;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content2{
    top: 1788px;
    transform: translateX(-80%);
    width: 415px;
    height: 200px;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content3{
    top: 2400px;
    width: 1000px;
    height: 35px;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content4{
    /* it's a subtitle content */
    top: 2600px;
     width: 848.385px;
    height: 304.688px;
    flex-shrink: 0;
   
    transition: all 0.8s linear;
}
.homepage-content5{
    top: 3805px;
    width: 400px;
    height: 65px;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content6{
    top: 4165px;
    width: 235px;
    height: 160px;
    transform: translateX(-110%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content7{
    top: 4502px;
    width: 220.052px;
    height: 155.052px;
    transform: translateX(-120%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content8{
    /* it's a subtitle content */
    top: 4910px;
    width: 900px;
    height: 400px;
 
    font-size: 135px;
    font-style: normal;
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 1px #F8F0E8;
    text-align: left;
    transform: translateX(7%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content9{
   
    top: 5750px;
    width: 1000px;
    height: 90px;
    background: linear-gradient(90deg, #ffd7ef, #d1f4ff,#e7e1ff);
    position: absolute;
    z-index: 7;
}
.homepage-content10{
    top: 6000px;
    width: 500px;
    height: 28px;
    flex-shrink: 0;
}
.homepage-content11{
    top: 6630px;
    width: 340px;
    height: 200px;
    transform: translateX(35%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content12{
    top: 7100px;
    width: 340px;
    height: 200px;
    transform: translateX(-80%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content13{
    top: 7280px;
    width: 340px;
    height: 200px;
    transform: translateX(60%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content14{
    top: 7624px;
    width: 340px;
    height: 200px;
    transform: translateX(-60%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content15{
    /* it's a subtitle content */
    top: 8244px;
    width: 1000px;
    height: 200px;
    transform: translateX(10%);

    font-size: 135.417px;
    font-style: normal;
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 1px #F8F0E8;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content16{
    top: 8505px;
    width: 400px;
    height: 92px;
    transform: translateX(-70%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content17{
    top: 8897px;
    width: 415px;
    height: 120px;
    transform: translateX(-65%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content18{
    top: 8897px;
    width: 475px;
    height: 120px;
    transform: translateX(68%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content19{
    top: 9257px;
    width: 447px;
    height: 200px;
    transform: translateX(-30%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content20{
    top: 9607px;
    width: 447px;
    height: 200px;
    transform: translateX(-30%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content21{
    top: 10023px;
    width: 447px;
    height: 200px;
    transform: translateX(-30%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content22{
    /* it's a subtitle content */
    top: 10636px;
    width: 900px;
    height: 200px;
    transform: translateX(5%);
 
    font-size: 135px;
    font-style: normal;
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 1px #F8F0E8;
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content23{
    top: 10846px;
    width: 302px;
    height: 100px;
    transform: translateX(50%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content24{
    top: 11272px;
    width: 340px;
    height: 120px;
    transform: translateX(-15%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content25{
    top: 11873px;
    width: 400px;
    height: 120px;
    transform: translateX(-80%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content26{
    top: 11873px;
    width: 350px;
    height: 100px;
    transform: translateX(60%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content27{
    top: 12455px;
    width: 400px;
    height: 120px;
    transform: translateX(-80%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content28{
    top: 12455px;
    width: 350px;
    height: 100px;
    transform: translateX(60%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content29{
    top: 12852px;
    width: 400px;
    height: 200px;
    transform: translateX(80%);
    opacity: 1;
    transition: all 0.5s linear;
}
.homepage-content30{
    /* it's a subtitle content */
    top: 13290px;
    width: 1100px;
    height: 200px;
    text-align: center;

    font-size: 70px;
    font-style: normal;
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 1px #F8F0E8;
    opacity: 1;
    transition: all 0.5s linear;
}


/* bottom icon style */
.bottom-icon1{
    top: 14157px;
    width: 209.115px;
    height: 141.345px;
    flex-shrink: 0;
 
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(18%);
    opacity: 1;
    transition: all 0.8s linear;
}
.bottom-icon2{
    /* top: 14133px; */
    top: 14150px;
    width: 461.186px;
    height: 267.135px;
    flex-shrink: 0;
 
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(-5%);
    opacity: 1;
    transition: all 0.8s linear;
}
.bottom-icon3{
    /* top: 14169px; */
    top: 14163px;
    width: 506.307px;
    height: 256.329px;
    flex-shrink: 0;
  
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(-12%);
    opacity: 1;
    transition: all 0.8s linear;
}
.bottom-icon4{
    /* top: 14151px; */
    top: 14154px;
    width: 713.797px;
    height: 232.5px;
    flex-shrink: 0;
 
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 1;
    transition: all 0.8s linear;
}
.bottom-icon5{
    /* top: 14163px; */
    top: 14160px;
    width: 896.432px;
    height: 209.378px;
    flex-shrink: 0;
 
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 1;
    transition: all 0.8s linear;
}


/* 第一张漫画 */
 #imageContainer{
    z-index: 8;
 }


.image-container {
            width: 65vw; /* 占视口宽度的80% */
            height: 80vh; /* 占视口高度的80% */
            margin: 50px auto;
            border: 2px solid #ddd;
            position: relative; /* 定位基准 */
           
        }
        
 .image-item {
            cursor: inherit;
           
            display: none; /* 初始隐藏所有图片 */
            object-fit: fill; /* 图片适应容器比例 */
            transition: opacity 0.3s ease;
            
        }

        .image-item.active {
            display: block; /* 显示当前图片 */
            opacity: 1;
            position: absolute;
        }
        
        
       

    .img-position{
        position: absolute;
        left:35%;
        top: 50%;
        z-index: 10;
    }
    
       /* 演示动画 */

    /* 初始样式，元素隐藏 */
.target-element {
  opacity: 1;
 
}
/* 激活类，用于触发动画 */
.target-element-active {
  opacity: 1;
  animation: appear-disappear 12s linear infinite; /* 动画名称为appear-disappear，持续3秒，线性运动 */
}
/* 关键帧定义 */
@keyframes appear-disappear {
   0% {
    opacity: 0; /* 开始时元素完全透明，即隐藏 */
  }
    20% {
    opacity: 1; /* 开始时元素完全透明，即隐藏 */
  }
   40% {
    opacity: 0; /* 20%处（0.6秒，3秒 * 20% ）元素完全不透明，即显示 */
  }
  80% {
    opacity: 0; /* 80%处（2.4秒，3秒 * 80% ）元素仍完全不透明，保持显示 */
  }
  100% {
    opacity: 1; /* 结束时元素完全透明，即隐藏 */
  }
}   

    .fixed-element {
  position: fixed; /* 设置为固定定位 */
  
}

     .page-element-18 {
    position: absolute;
    left: 75vw;
    top: 35vw;
    height: auto;
    width: 20vw
}

.page-element-18p {
    position: absolute;
    left: 58vw;
    top: 35vw;
    height: auto;
    width: 34vw;
    z-index: 3
}

.page-element-18pp2 {
    position: absolute;
    left: 70.2vw;
    top: 36.2vw;
    height: auto;
    width: 20vw;
    z-index: 3
}

.page-element-18p3 {
    position: absolute;
    left: 50vw;
    top: 20vw;
    height: auto;
    width: 40vw;
    z-index: -1
}
.img-18p3 {
    opacity: 0;
   
}

.img-18p3-active {
    opacity: 1;
    animation: element-18p3 12s linear infinite
    
}


@keyframes element-18p3 {
  0% {transform: translate(0, 0)  rotate(0deg); }/* 初始隐藏，缩放为0 */ 
  50% {transform: translate(-5vw, 2vw)  rotate(0deg); }
  80% {transform: translate(-17.8vw, 1vw)  rotate(0deg); }
  100% {transform: translate(-17.8vw, 1vw)  rotate(0deg); }
}


.page-element-18p2p4 {
    position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}

.img-18p2p4 {
    opacity: 0;
    
}

.img-18p2p4-active {
    opacity: 1;
    animation: element-18p2p4 12s linear infinite
}

@keyframes element-18p2p4 {
  0%   { transform: translate(0, 0)         rotate(0deg);   }
  20%  { transform: translate(3vw, 0)       rotate(0deg);   }
  40%  { transform: translate(5vw, -5vw)    rotate(-15deg); }
  60%  { transform: translate(5vw, -15vw)   rotate(-90deg); } /* 位移终点 */

  100% { transform: translate(5vw, -15vw)   rotate(-90deg); } /* 保持 */
}
/* thaw 之后添加的结果 */
.page-element-18p2 {
     position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}
.img-18p2 {
    opacity: 0;
    
}
 .img-18p2-active{
     opacity: 1;
    animation: element-18p2 12s linear infinite
}
@keyframes element-18p2 {
  0%   { transform: translate(0, -1vw)     rotate(0deg);   }
  20%  { transform: translate(0, 1vw)   rotate(0deg);   }
  40%  { transform: translate(0, -1vw)  rotate(0deg); }
  60%  { transform: translate(0, 1vw)   rotate(0deg); } /* 位移终点 */
  80%  { transform: translate(0, -1vw)   rotate(0deg); }
  100% { transform: translate(0, 1vw)   rotate(0deg); } /* 保持 */
}

.page-element-18p4 {
     position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}
.img-18p4 {
    opacity: 0;
    
}
 .img-18p4-active{
     opacity: 1;
    animation: element-18p4 10s linear infinite
}
@keyframes element-18p4 {
  0%   { transform: translate(0, 0vw)     rotate(0deg);   }
  20% { transform: translate(0, 5vw)   rotate(0deg); } /* 保持 */

  100% { transform: translate(0, 5vw)   rotate(0deg); } /* 保持 */
}

.page-element-18p5 {
     position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}
.img-18p5 {
    opacity: 0;
    
}
 .img-18p5-active{
     opacity: 1;
    animation: element-18p5 10s linear infinite
}
@keyframes element-18p5 {
  0%   { transform: translate(0, 0vw)     rotate(0deg);   }
  
  20% { transform: translate(-18vw, 0vw)   rotate(0deg); }
   /* 保持 */
100% { transform: translate(-18vw, 0vw)   rotate(0deg); }
}

.page-element-186 {
     position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}
.img-18p6 {
    opacity: 0;
    
}
 .img-18p6-active{
     opacity: 1;
    animation: element-18p6 10s linear infinite
}
@keyframes element-18p6 {
   0% {
    opacity: 0; /* 开始时元素完全透明，即隐藏 */
  }
    40% {
    opacity: 1; /* 开始时元素完全透明，即隐藏 */
  }
  100% {
    opacity: 1; /* 结束时元素完全透明，即隐藏 */
  }
}   
.page-element-187 {
     position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}
.img-18p7 {
    opacity: 0;
    
}
 .img-18p7-active{
     opacity: 1;
    animation: element-18p7 10s linear infinite
}
@keyframes element-18p7 {
   0% {
    opacity: 0; /* 开始时元素完全透明，即隐藏 */
  }
    50% {
    opacity: 1; /* 开始时元素完全透明，即隐藏 */
  }
  80% {
    opacity: 0; /* 开始时元素完全透明，即隐藏 */
  }
  100% {
    opacity: 0; /* 结束时元素完全透明，即隐藏 */
  }
}   
.page-element-18p8 {
     position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}
.img-18p8 {
    opacity: 0;
    
}
 .img-18p8-active{
     opacity: 1;
    animation: element-18p8 10s linear infinite
}
@keyframes element-18p8 {
   0% {
    opacity: 0; /* 开始时元素完全透明，即隐藏 */
  }
    80% {
    opacity: 0; /* 开始时元素完全透明，即隐藏 */
  }
  100% {
    opacity: 1; /* 结束时元素完全透明，即隐藏 */
  }
}   
.page-element-18p9 {
     position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}
.img-18p9 {
    opacity: 0;
    
}
 .img-18p9-active{
     opacity: 1;
    animation: element-18p9 10s linear infinite
}
@keyframes element-18p9 {
   0% {
    opacity: 0; /* 开始时元素完全透明，即隐藏 */
  }
    80% {
    opacity: 0; /* 开始时元素完全透明，即隐藏 */
  }
  100% {
    opacity: 1; /* 结束时元素完全透明，即隐藏 */
  }
}   

.page-element-18p10 {
     position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}
.img-18p10 {
    opacity: 0;
    
}
 .img-18p10-active{
     opacity: 1;
    animation: element-18p10 10s linear infinite
}
@keyframes element-18p10 {
   0% {
   
    transform: translate(0, -5vw) scale(1) rotate(0); /* 初始隐藏，缩放为0 */
  }
  10% {
    transform: translate(0vw, -8vw) scale(1) rotate(30deg); /* 原位放大（120%） */
  }
  20% {
    transform: translate(0vw, -10vw) scale(1) rotate(60deg); /* 缩小回原位（100%） */
  }
  30% {
    transform: translate(-3vw, -15vw) scale(1) rotate(90deg); /* 向右移动5vw */
  }
  50% {
    transform: translate(-5vw, -17vw) scale(1) rotate(105deg); /* 向右上角移动10vw（X+10, Y-10，假设Y轴向上为负） */
  }
 
  60% {
    transform: translate(-7vw, -19.2vw) scale(1) rotate(105deg); /* 保持最终状态，显示并旋转对接 */
  }
  100% {
    transform: translate(-7vw, -19.2vw) scale(1) rotate(105deg); /* 保持最终状态，显示并旋转对接 */
  }
}


.page-element-18p11 {
     position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}
.img-18p11 {
    opacity: 0;
    
}
 .img-18p11-active{
     opacity: 1;
    animation: element-18p11 10s linear infinite
}
@keyframes element-18p11 {
   0% {
   
    transform: translate(0, 0) scale(1) rotate(0); /* 初始隐藏，缩放为0 */
  }
  10% {
    transform: translate(15vw, 0) scale(1) rotate(-30deg); /* 原位放大（120%） */
  }
  20% {
    transform: translate(15vw, -10vw) scale(1) rotate(-60deg); /* 缩小回原位（100%） */
  }
  30% {
    transform: translate(15vw, -12vw) scale(1) rotate(-90deg); /* 向右移动5vw */
  }
  50% {
    transform: translate(15vw, -15vw) scale(1) rotate(-120deg); /* 向右上角移动10vw（X+10, Y-10，假设Y轴向上为负） */
  }
 
  60% {
   transform: translate(17vw, -17vw) scale(1) rotate(-165deg); /* 保持最终状态，显示并旋转对接 */
  }
  100% {
    transform: translate(17vw, -17vw) scale(1) rotate(-165deg); /* 保持最终状态，显示并旋转对接 */
  }
}

.page-element-18p12 {
     position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}
.img-18p12 {
    opacity: 0;
    
}
 .img-18p12-active{
     opacity: 1;
    animation: element-18p12 10s linear infinite
}
@keyframes element-18p12 {
   0% {
    opacity: 1; 
  }
    20% {
    opacity: 0; 
  }
  100% {
    opacity: 0; 
  }
}   

.page-element-18p13 {
     position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}
.img-18p13 {
    opacity: 0;
    
}
 .img-18p13-active{
     opacity: 1;
    animation: element-18p13 10s linear infinite
}
@keyframes element-18p13 {
   0% {
    opacity: 1; 
  }
    20% {
    opacity: 0; 
  }
  100% {
    opacity: 0; 
  }
}   

.page-element-18p14 {
     position: absolute;
    left: 79vw;
    top: 26vw;
    height: auto;
    width: 5vw;
    rotate: 0deg;
    z-index: 3
}
.img-18p14 {
    opacity: 0;
    
}
 .img-18p14-active{
     opacity: 1;
    animation: element-18p14 10s linear infinite
}
@keyframes element-18p14 {
   0% {
    opacity: 1; 
    filter: grayscale(0); 
  }
    70% {
    opacity: 1; filter: grayscale(0); 
  }
  100% {
    opacity: 1; filter: grayscale(1); 
  }
}   

.results-medal {
    animation:results-medal 2s alternate infinite;
    transform-origin: 34.8% 51.2%;
}
@keyframes results-medal{
    to {transform:scale(1.05)rotate(-20deg)}
}

.results-placeholder {
    position:absolute;
    left:3vw;
    top:-4vw;
    height:6vw;
    width:6vw;
    z-index:22;
    background:transparent;
    border-radius: 50% 50% 50% 0;
    cursor:pointer;
}
.results-row {
    position:absolute;
    z-index:22;
    padding:0.5vw 1vw;
    border-radius: 10vw;
    background:#fff8ff;
    /* border:#FFA3D7 2px solid; */
    font-family: "Montserrat";
    font-weight: 700;
    color:#2e2272;
    /* text-shadow: 0 0 2px #5cb8ff40; */
    box-shadow: 0 0 5px #FFA3D780;
    font-size:14px;
    transition: 0.7s;
    left:5vw;
    transform:translateY(-3vw);
    opacity:0;
}
.results-row img {
    margin:0 0.2vw 0 0;
}
.results-placeholder:hover ~ .results-drop-items .results-row{
    transform:translateY(0vw);
    opacity:100;
}
#results-container {
    width:80%;
    left:10%;
    display:flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: stretch;
}
.results-card {
    position:relative;
    top:100px;
    width:14vw;
    border-radius:3vw;
    padding:1vw;
    transition:1s;
    transform: rotate(3deg);
}
.results-card:hover {
    margin-top:-20px;
    margin-bottom:20px;
    transition-delay: 0;
}
.results-text {
    filter: drop-shadow(0px 0px 1x #ffa3d786);
    font-family: 'Montserrat';
    margin:16px 0 0 0;
    font-weight: 700;
    font-size:1.33vw;
    color:#fff8ff;
}

/* better 悬浮显示 verb! */
#better {
    transition:1s;
    pointer-events:all;
    /* z-index:100; */
    cursor:default;
}
#better::before {
	content:"verb";
	display:block;
	position:absolute;
	font-family:'Montserrat';
	color:#5CB8FF;
	text-shadow: none;
	font-weight: 800;
	font-size:2vw;
	padding:0.5vw 1vw;
	border-radius:1px 1vw 1vw 1vw;
	box-shadow:0px 0px 5px #ffa3d7;
	background:#FFF8FF;
	transform:translateX(220%) translateY(153%);
    opacity:0;
    transition:0.5s;
    transition-delay: 0.5s;
}
#better:hover::before {
    opacity:1;
}
#better::after {
	content:"";
	display:block;
	position:absolute;
	width:0%;
    left:0;
	border-bottom:0.5vw solid #ffa3d7;
    bottom:0.3vw;
    z-index:-1;
    opacity:1;
    transition:0.5s;
    
}
#better:hover::after {
    width:100%;
}
/*以下是封面图*/
nav {
    display: none;
}
nav:hover {
    display: block;
}
section.marquee {
    overflow-x:hidden;
    height:10vw;
}
h1.marquee {
    white-space: nowrap;
    position:relative;
    top:2vw;
    font-family:'Montserrat', sans-serif;
    font-weight:800;
    color:#FFA3D7;
    text-shadow:0px 0px 3px #ffa3d780;
    animation: title-marquee 10S linear infinite;
    font-size: 3.14vw;

}
@keyframes title-marquee {
    from {
        transform: translateX(0);
        clip-path:polygon(6.2vw 0, 95vw 0, 95vw 100vw, 6.2vw 100vw);
    }
    to {
        transform: translateX(-46.1vw);
        clip-path:polygon(52.3vw 0, 141.1vw 0, 141.1vw 100vw, 52.3vw 100vw);
    }
}

.homepage-cover {
    pointer-events: none;
}
/*启动子优化*/
.cover-bulb {
    animation: bulb-twinkle 1s linear infinite alternate;
}
@keyframes bulb-twinkle {
    from {opacity:100%;
    filter: drop-shadow(0px 0px 4px #bcf0f3)}
    to { opacity: 0%;
    filter: drop-shadow(0px 0px 4px #bcf0f300)}
}
.cover-pink-cloud-1 {
    animation: cloud-floating-1 2s ease-in-out infinite alternate;
}
@keyframes cloud-floating-1 {
    from {
        transform: translateX(0vw) translateY(0vw);
    }
    to {
        transform: translateX(1.2vw) translateY(0.1vw);
    }
}

.cover-blue-cloud-1 {
    animation: cloud-floating-2 2s ease-in-out infinite alternate;
}
@keyframes cloud-floating-2 {
    from {
        transform: translateX(-0.5vw) translateY(0.5vw);
    }
    to {  
        transform: translateX(0vw) translateY(0vw);
    }
}
.cover-hjr {
    animation: hjr 2s ease-in infinite alternate;
}
@keyframes hjr {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(0.4vw);
    }
}

.cover-lhr {
    animation: lhr 2s ease-in infinite alternate;
}
@keyframes lhr {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(0.2vw);
    }
}

.cover-text-bubble {
    animation: text-bubble 2s ease-in infinite alternate;
}
@keyframes text-bubble {
    from {
        transform: translateY(-0.8vw);
    }
    to {
        transform: translateY(-0.2vw) scale(1.05);
    }
}

.cover-bad {
    animation: bad 2s ease-in infinite alternate;
}
@keyframes bad {
    from {
        transform: translateX(0vw) translateY(0);
    }
    to {
        transform: translateX(0.3vw) translateY(0.2vw);
    }
}



/*title*/
.title-scissor {
    display:block;
}
h1.home-page-title {
    --mid-title-transform: translateX(0) translateY(0);
    transition: 1s transform;
    height:fit-content;
    margin:0;
    z-index:20;
    position:relative;
    margin-left:2vw;
    top:-15vw;
    font-family: "ButterSans-Rounded";
    font-size: 8vw;
    color:transparent;
    text-align:center;
    line-height:150%;
    background: linear-gradient(20deg,
    #FFA3D7 0%,#FFA3D7 33%,
    transparent 33%,transparent 100%
    );
    background-clip:text;
    -webkit-background-clip: text;
    filter: drop-shadow(0px 0px 2px #ffa3d780);
}

h1.home-page-title::before {
    text-align:center;
    transition:1s transform;
    transform:var(--mid-title-transform);
    content:'We are CRISPReporter';
    color:transparent;
    display:block;
    position:absolute;
    width:100%;
    bottom:0;
    background: linear-gradient(20deg,
    transparent 0%,transparent 33%,
    #fb96ff 33%,#fb96ff 66%,
    transparent 66%,transparent 100%
    );
    background-clip:text;
    -webkit-background-clip: text;
    filter: drop-shadow(0px 0px 2px #FB96FF80);
}
h1.home-page-title::after {
    text-align:center;
    content:'We are CRISPReporter';
    color:transparent;
    display:block;
    position:absolute;
    width:100%;
    bottom:0;
    background: linear-gradient(20deg,
    transparent 66%,
    #c696ff 66%,#c696ff 100%
    );
    background-clip:text;
    -webkit-background-clip: text;
    filter: drop-shadow(0px 0px 2px #C696FF80);
}

/*以下是图标*/
section.homepage-navigation {
    position:relative;
    top:0;
    transition:1s;
    width:70%;
    left:15%;
    height:fit-content;
}
.homepage-navigation {
    height:fit-content;
    transition:1s;  
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    /* margin: 0 200px 0px 200PX; */
    /* margin-bottom: 50%; */
}
.homepage-navigation div {
    /* padding: 80px 100px; */
    width: 23%;
    margin-bottom: 20%;
}
.homepage-navigation div a {
    display: block;
    width:100%;
    height:fit-content;
}
div.icon-link-text {
    position: relative;
    filter: drop-shadow(0px 0px 1x #ffa3d786);
    font-family: 'Montserrat';
    font-weight: 700;
    width:100px;
    top:200px;
    padding: 0;
    text-align: center;
    font-size:2vw;
    color:#ffa3d7;
    margin:20px 30px ;
}
/*悬停出现文字*/
div.layered-icon:hover div.icon-link-text {
    animation: float-up 0.5s ease, colorchange 1s linear infinite alternate;
}

@keyframes colorchange {
    from {
        color: #c696ff;
    }
    to {
        color: #ffa3d7;
    }
}
.layered-icon img {
    width: 100%;
}

div.layered-icon:hover img
{
    filter: drop-shadow(0px 0px 5px #fedcff8e);
}

div.layered-icon:hover img.icon-layered-1{
    animation: layered-1-ani 1s ease-in-out infinite alternate;
}

div.layered-icon:hover img.icon-layered-2{
    animation: layered-2-ani 1s ease-in-out infinite alternate;
}

div.layered-icon:hover img.icon-layered-3{
    animation: layered-3-ani 1s ease-in-out infinite alternate;
}

@keyframes layered-1-ani {
    from {
        transform: translateY(5px);
    }
    to {
        transform: translateX(0) translateY(0);
    }
}

@keyframes layered-2-ani {
    from {
        transform: translateY(-5px);
    }
    to {
        transform: rotate(2deg) translateY(0);
    }
}

@keyframes layered-3-ani {
    from {
        transform: rotate(-2deg) translateX(2px) translateY(13px);
    }
    to {
        transform: rotate(0) translateX(0) translateY(7px);
    }
}

/*team 里悬浮显示名字*/
a.cyt:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/cyt-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:14.4vw;
    top:10vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.cyt:hover::before {
    content:"Yuting Chen\Awetlab / HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2rem;
    font-size:1rem;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:13.9vw;
    white-space: pre;
    top:9.5vw;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}

a.hjr:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/hjr-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:10.3vw;
    top:16.1vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.hjr:hover::before {
    content:"Jiarong Hu\Awetlab / head of HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:9.8vw;
    top:15.6vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.lhr:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/lhr-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:27.9vw;
    top:22.2vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.lhr:hover::before {
    content:"Hongrui Liu\Awetlab / HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:27.4vw;
    top:21.7vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.lyg:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/lyg-square.webp); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:41.5vw;top:7.20vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.lyg:hover::before {
    content:"Yuguan Liu\AVideo Production";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:41vw;top:6.70vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.ctn:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/ctn-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:53.6vw;top:11.4vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.ctn:hover::before {
    content:"Tianning Chai\AHead of entrepreneurship / Model";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:53.1vw;top:10.9vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.wxy:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/wxy-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:44.4vw;top:17vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.wxy:hover::before {
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:43.90vw;top:16.5vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.qgx:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/qgx-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:54.3vw;top:26.3vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.qgx:hover::before {
    content:"Guangxin Qiu\AModel";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:53.8vw;top:25.8vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.hzt:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/hzt-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:69.3vw;top:21.7vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.hzt:hover::before {
    content:"Zhentao He\AHead of Model";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:68.8vw;top:21.2vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.lyt:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/lyt-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:40.7vw;top:29.1vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.lyt:hover::before {
    content:"Yutong Li\AWetlab / HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:40.2vw;top:28.6vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.tyq:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/tyq-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:45.7vw;top:37.20vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.tyq:hover::before {
    content:"Yuqiao Tang\AVice Leader / Wetlab / HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:45.2vw;top:36.70vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.qyl:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/qyl-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:55.5vw;top:36.1vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.qyl:hover::before {
    content:"Yeli Qin\AHead of Wetlab / HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:55vw;top:35.6vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.dzx:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/dzx-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:66.9vw;top:43.8vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.dzx:hover::before {
    content:"Zixuan Ding\AStudent Leader / HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:66.4vw;top:43.3vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.gyl:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/gyl-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:79.1vw;top:13.6vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.gyl:hover::before {
    content:"Yule Gao\AWetlab / HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:78.6vw;top:13.1vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.wsw:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/wsw-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:77.2vw;top:24.2vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.wsw:hover::before {
    content:"Shuangwu Wu\AWetlab / HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:76.7vw;top:23.7vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.crd:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/crd-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:62.4vw;top:32.9vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.crd:hover::before {
    content:"Raodan Chen\AWetlab / HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:61.9vw;top:32.4vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.qzj:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/qzj-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:80.8vw;top:29.9vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.qzj:hover::before {
    content:"Zhejun Qin\AVice Leader / HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:80.3vw;top:29.4vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.zyc:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/zyc-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:64.2vw;top:43.7vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.zyc:hover::before {
    content:"Yecheng Zhao\AWetlab / HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:63.7vw;top:43.2vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.ljz:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/ljz-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:22.4vw;top:37.4vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.ljz:hover::before {
    content:"Jiaze Liu\A Advisor";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:21.9vw;top:36.9vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.zay:hover::after{
    content:'';
    z-index:100;
    /* background-image: url(https://static.igem.wiki/teams/4630/wiki/webpage/team/zay-square.jpg); */
    background-size: contain;
    border-radius: 50%;
    position:absolute;
    left:6.2vw;top:34.1vw;
    width:calc(1vw + 2.4rem);
    height:calc(1vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}
a.zay:hover::before {
    content:"Anya Zhu\AWetlab / HP";
    border-radius: calc(1.2rem + 1vw);
    font-family: 'Montserrat';
    font-weight:700;
    color:#c696ff;
    line-height:1.2em;
    box-shadow: 0px 0px 5px #ffb2ff;
    background:#fff8ff;
    z-index:100;
    position:absolute;
    left:5.7vw;top:33.6vw;
    white-space: pre;
    width:fit-content;
    height: fit-content;
    padding: 1vw 1vw 1vw calc(2vw + 2.4rem);
    animation: wxy 2s ease-in infinite alternate;
}

h3.home-text-3 {
    font-family: "ButterSans-Rounded";
    padding:10vw;
    font-size: 6vw;
    color:#ffa3d7;
    text-shadow:0 0 2px #FFA3D7;
    z-index:-1;
}


/*scene 1*/
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

#left-eyebrow {
    animation: left-eyebrow 2s infinite alternate-reverse ease;
    transform-origin:70% 10% 0;
}
@keyframes left-eyebrow {
    from {
        transform:rotate(-0.5deg)
    }
    to {
        transform:rotate(0deg) translateX(-0.3%)
    }
}
#right-eyebrow {
    animation: right-eyebrow 2s infinite alternate-reverse ease;
    transform-origin:70% 10% 0;
}
@keyframes right-eyebrow {
    from {
        transform:rotate(-0.3deg) translateX(-0.3%)
    }
    to {
        transform:rotate(-0.7deg)
    }
}

#mouth {
    animation: mouth 3s infinite alternate ;
    transform-origin:70% 10% 0;
}
@keyframes mouth {
    from {
        transform:rotate(-1deg) translatey(-0.3%)
    }
    to {
        transform:rotate(1deg)
    }
}
.sparkle {
    animation:twinkle-1 0.5s infinite ease alternate;
}
.star {
    animation:twinkle-1 1s infinite ease alternate;
}
@keyframes twinkle-1 {
    from {
        opacity:0.8;
        filter:drop-shadow(0px 0px 1px #BCF0F3)
    }
    to {
        opacity:1;
        filter:drop-shadow(0px 0px 3px #BCF0F3)
    }
}

/*scene 3*/
#films {
    animation: film-move 0.5s infinite linear;
}
@keyframes film-move {
    0% {transform:translateY(0%)}
    9% {transform: translateY(0%)}
    11% {transform: translateY(-56.5%)}
    29% {transform: translateY(-56.5%)}
    31% {transform: translateY(-113%)}
    49% {transform: translateY(-113%)}
    51% {transform: translateY(-169.5%)}
    69% {transform: translateY(-169.5%)}
    71% {transform: translateY(-226%)}
    89% {transform: translateY(-226%)}
    91% {transform: translateY(-282.5%)}
    100% {transform: translateY(-282.5%)}
}
#films-left{
    animation: film-left 1s infinite linear;
}
#films-right{
    animation: film-right 1s infinite linear;
}
@keyframes film-left {
    0% {transform:translateY(0)}
    13.67% {transform:translateY(0)}
    16.67% {transform:translateY(-18.83%)}
    30.33% {transform:translateY(-18.83%)}
    33.33% {transform:translateY(-37.67%)}
    47% {transform:translateY(-37.67%)}
    50% {transform:translateY(-56.5%)}
    63.67% {transform:translateY(-56.5%)}
    66.67% {transform:translateY(-75.33%)}
    80.33% {transform:translateY(-75.33%)}
    83.33% {transform:translateY(-94.16%)}
    97% {transform: translateY(-113%)}
    100% {transform: translateY(-113%)}
}
@keyframes film-right {
    0% {transform:translateY(0)}
    13.67% {transform:translateY(0)}
    16.67% {transform:translateY(18.83%)}
    30.33% {transform:translateY(18.83%)}
    33.33% {transform:translateY(37.67%)}
    47% {transform:translateY(37.67%)}
    50% {transform:translateY(56.5%)}
    63.67% {transform:translateY(56.5%)}
    66.67% {transform:translateY(75.33%)}
    80.33% {transform:translateY(75.33%)}
    83.33% {transform:translateY(94.16%)}
    97% {transform: translateY(113%)}
    100% {transform: translateY(113%)}
}
#scene-2-path-1 {
    position:absolute;
    right:0
}
/*scene 5*/
#computer-text {
    animation: computer-text 2s infinite linear;
}
@keyframes computer-text {
    from {
        transform:translateY(0);
        clip-path:polygon(0 12%, 100% 12%, 100% 52.9%, 0% 52.9%)
    }
    to {
        transform:translateY(-22%);
        clip-path:polygon(0 52.9%, 100% 52.9%, 100% 96.6%, 0% 96.6%)
    }
}
/*scene 6*/
#cards {
    animation: card-move 7s infinite linear;
}
.card {
    border-radius: 20px
}
@keyframes card-move {
    0% {transform:translateY(-26.5%)}
    5% {transform:translateY(-26.5%)}
    15% {transform:translateY(-79.5%)}
    25% {transform:translateY(-79.5%)}
    35% {transform:translateY(-132.5%)}
    45% {transform:translateY(-132.5%)}
    55% {transform:translateY(-185.5%)}
    65% {transform:translateY(-185.5%)}
    75% {transform:translateY(-238.5%)}
    85% {transform:translateY(-238.5%)}
    95% {transform:translateY(-291.5%)}
    100% {transform:translateY(-291.5%)}

}
@media screen and (max-width: 800px) {
    .view-more-horizontal-button {
        margin-top: 50px;
        margin-bottom:-50px;
    }
}

/* 彩蛋图片（游戏封面）样式 */

.easter-egg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 3vw; /* 距离上方元素的间距，可调 */
}

.easter-egg-img {
    width: 18vw;       /* 响应式宽度 */
    max-width: 300px;  /* 最大宽度限制 */
    transform: scale(2); /* 放大 2 倍 */
    transform-origin: center; /* 保持居中缩放 */
    height: auto;
    border-radius: 1vw;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.easter-egg-img:hover {
    transform: scale(1.05);
}


