
#pdf-viewer {
  width: 100%;
  /* 父容器宽度铺满上级元素 */
  height: 100vh;
  /* 高度用视口高度（vh），确保占满屏幕（可按需调整，如800px） */
  position: relative;
  /* 稳定子元素定位 */
  border: none;
}

/* iframe：完全填充父容器 */
.pdf {
  width: 100%;
  /* 宽度100%匹配父容器 */
  height: 100%;
  /* 高度100%匹配父容器 */
  border: none;
  /* 清除iframe默认边框 */
  object-fit: contain;
  /* 确保PDF完整显示，不拉伸（兼容部分浏览器） */
}


/* 圆形图片容器 */
.round-image-link {
    display: inline-block;
    width: 10%;
    height: 16%;
    border-radius: 50%;
    /* 圆形裁剪 */
    overflow: hidden;
    /* 隐藏超出部分 */
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid #e0e0e0;
    /* 可选边框 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* 可选阴影 */
}

/* 悬停效果 */
.round-image-link:hover {
    transform: scale(1.05);
    /* 悬停放大 */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: #a0c1d1;
    /* 悬停边框色，匹配蓝灰色主题 */
}

/* 图片样式 */
.round-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 填充裁剪，保持比例 */
    object-position: center;
    /* 居中显示 */
    display: block;
}

.image1 {
    position: absolute;
    top: 12%;
    left: 2%;
}

.image2 {
    position: absolute;
    top: 12%;
    left: 15%;
}

.image3 {
    position: absolute;
    top: 12%;
    left: 28%;
}

.image4 {
    position: absolute;
    top: 12%;
    left: 57%;
}

.image5 {
    position: absolute;
    top: 12%;
    left: 70%;
}

.image6 {
    position: absolute;
    top: 44%;
    left: 83%;
}

.image32 {
    position: absolute;
    top: 44%;
    left: 70%;
}

.image33 {
    position: absolute;
    top: 44%;
    left: 57%;
}

.image34 {
    position: absolute;
    top: 44%;
    left: 44%;
}

.image35 {
    position: absolute;
    top: 44%;
    left: 31%;
}

.image36 {
    position: absolute;
    top: 44%;
    left: 18%;
}

.image37 {
    position: absolute;
    top: 44%;
    left: 5%;
}

.image41 {
    position: absolute;
    top: 79%;
    left: 18%;
}

.image42 {
    position: absolute;
    top: 79%;
    left: 31%;
}

.image43 {
    position: absolute;
    top: 79%;
    left: 44%;
}

.image51 {
    position: absolute;
    top: 79%;
    left: 79%;
}

/* 目标区域样式 */
.target-section {
    padding: 50px 0;
    margin-top: -50px;
    /* 抵消固定导航栏高度 */
    padding-top: 50px;
}



/*======= 自动滚动展示图片 ========*/


.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 40vh;
    display: flex;
    flex-direction: column;
    ;
}

.rolling-image-container {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    transition: opacity 0.5s ease;
    pointer-events: none;
    margin-bottom: -8vh;
    margin-top: -10vh;
}

.rolling-image-container.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.rolling-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    object-fit: contain;
    display: block;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 1vw;
    margin-top: 25vh;
    z-index: 2;
}

.progress-dots div {
    width: 10px;
    height: 10px;
    background-color: rgb(174, 174, 174);
    border-radius: 50%;
}

.progress-dots div.active {
    background-color: #007bff;

}

.peo {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    background-image: url('https://static.igem.wiki/teams/5843/wiki-ihp/human.webp');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
}
.peo img {
    width: 100%;
    height: 100%;
    display: block;
}
.doctertitle {
    top: 4vh;
    left: 13vw;
    position: absolute;
}

.bottem {
    height: 7.5vh;
}

.openn {
    transform: rotate(180deg);
}

.svg-icon {
    transform-origin: center;
    width: 16px;

    height: auto;
    transition: all 0.3s ease;
    /* 高度自适应 */
}

.button-text {
    margin: 0;
    /* 移除 <p> 的默认 margin */
    font-size: 14px;
    /* 调整文本大小 */
}

.parent {
    position: relative;
    display: flex;
    justify-content: space-between;
    left: 7.5vw;
    top: 5vh;
    width: 84%;

}

.child {
    width: 49%;
    padding: 8px;
    height: auto;
}


.textcenter {
    text-align: center;
}

.center {
    margin: 0 auto;
}



.normal-content .content-wrapper .circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    left: 3vw;
    top: 5vh;
    position: absolute;
    overflow: hidden;
    /* 确保图片不会超出圆形边界 */
}

.circle img {
    width: 100%;
    height: 100%;
    /* 改为100%以填满容器 */
    object-fit: cover;
    /* 使用cover而不是contain，确保图片填满整个圆形 */
    display: block;
}

.redxian {
    width: 74%;
    left: 13vw;
    top: 5vw;
    position: absolute;
}



.rectangle {
    padding: 5vw;
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 20px;
    opacity: 0.8;
    background: rgba(223, 244, 252, 0.60);
    display: grid;
    grid-template-rows: auto 0fr;
    /* 第二行高度为0 */
    transition: grid-template-rows 0.3s ease;
}

.rectangle.open {
    grid-template-rows: auto auto auto auto 1fr;
    /* 高度自动扩展 */
}

.collapsible-content {
    position: relative;
    top: 10vh;
    height: auto;

    overflow: hidden;
    /* 关键！ */
}

.collapsible-content p {

    /* 段后间隙一行 */
    margin-bottom: 2em;
    /* 段间间隙一行（可根据实际行高调整） */
    line-height: 1.5;
    /* 可选：设置行高 */
}

/* 按钮样式 */
.svg-button {
    position: absolute;
    display: flex;
    /* 启用 Flexbox */
    gap: 8px;
    /* SVG 和文本之间的间距 */

    padding: 0;
    /* 移除默认 padding */
    right: 5vw;
    bottom: 4vh;
    cursor: pointer;
    background: none;
    border: none;
    transition: all 0.3s ease;
}

.p2 {
    color: #267389;
    font-family: "HarmonyOS Sans SC";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0.8px;
}


.child-class p {
    margin-top: 1em;
    /* 段前间隙一行 */

    /* 段后间隙一行 */
    margin-bottom: 1em;
    /* 段间间隙一行（可根据实际行高调整） */
    line-height: 2;
    /* 可选：设置行高 */
}

.pp {
    width: 5vw;
    height: 5vh;
    background-image: url("https://static.igem.wiki/teams/5843/wiki-ihp/people.webp");
}

.people {
    margin-top: 7vh;
    margin-bottom: 7vh;
}

.peoplediv {
    display: inline-block;
}

/* 树 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    width: 100%;
    height: auto;
}

.div_page_trees p {
    margin: 0;
}

.div_page_trees .content_text {
    color: #267389;
    font-family: "HarmonyOS Sans SC";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
    letter-spacing: 0.8px;
}

.div_page_trees .title_text {
    color: #267389;
    font-family: "HarmonyOS Sans SC";
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
    line-height: 150%;
    /* 30px */
    letter-spacing: 1px;
}

.div_page_trees {
    margin-bottom: 17vh;
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
}

.div_page_trees .div_seed_ground {
    position: absolute;
    width: 50%;
    left: 27%;
    top: 41%;
    pointer-events: none;

    opacity: 0;
}

.div_page_trees .div_seed {
    position: absolute;
    width: 50%;
    left: 27%;
    top: 20%;
    pointer-events: none;

    opacity: 0;
}

.div_page_trees .div_watering_can {
    position: absolute;
    width: 18%;
    left: 36%;
    /* left: 26%; */
    top: 19%;
    pointer-events: none;
    z-index: 2;

    opacity: 0;
}

.div_page_trees .div_water {
    position: absolute;
    width: 6%;
    left: 50%;
    /* left: 39%; */
    top: 43%;
    pointer-events: none;
    z-index: 2;

    opacity: 0;
}

.div_page_trees .div_tree1 {
    position: absolute;
    width: 57%;
    left: 27%;
    top: 32.4%;
    pointer-events: none;

    opacity: 0;
}

.div_page_trees .div_ground {
    position: absolute;
    width: 54%;
    left: 27%;
    top: 31%;
    pointer-events: none;

    opacity: 0;
}

.div_page_trees .div_tree2 {
    position: absolute;
    width: 57%;
    left: 27.6%;
    top: 34.8%;
    pointer-events: none;

    opacity: 0;
}

.div_page_trees .div_tree3 {
    position: absolute;
    width: 57%;
    left: 24.9%;
    top: 22.8%;
    pointer-events: none;

    opacity: 0;
}

.div_page_trees .div_tree4 {
    position: absolute;
    width: 57%;
    left: 25.4%;
    top: 16.3%;
    pointer-events: none;

    opacity: 0;
}

.div_page_trees .div_scissor {
    position: absolute;
    width: 8%;
    height: 10%;
    left: 26%;
    top: 28%;
    transform: rotate(251deg);
    pointer-events: none;

    opacity: 0;
}

.div_page_trees .div_component1 {
    position: absolute;
    width: 100%;
    left: -6%;
    top: -12%;
    pointer-events: none;
    transform: rotate(124deg);
}

.div_page_trees .div_component2 {
    position: absolute;
    width: 100%;
    left: 0%;
    top: 0%;
    pointer-events: none;
}

.div_page_trees .div_tree5 {
    position: absolute;
    width: 57%;
    left: 25.8%;
    top: 18.4%;
    pointer-events: none;

    opacity: 0;
}

.div_page_trees .div_text1,
.div_page_trees .div_text2,
.div_page_trees .div_text3,
.div_page_trees .div_text4,
.div_page_trees .div_text5 {
    position: absolute;
    width: 89%;
    left: 5.5%;
    top: 85%;
    pointer-events: none;

    opacity: 0;
}

.div_page_trees .div_tree6 {
    position: absolute;
    width: 59%;
    left: 24.1%;
    top: 14.4%;
    pointer-events: none;

    opacity: 0;
}
.div_page_trees .div_mouse {
    position: absolute;
    width: 5%;
    left: 3%;
    top: 7%;
    pointer-events: none;
}

/* 动画 */
@keyframes disappear {
    0% {
        opacity: 1;
        pointer-events: all;
    }

    100% {
        opacity: 0;
        pointer-events: none;
    }
}

@keyframes appear {
    0% {
        opacity: 0;
        pointer-events: none;
    }

    100% {
        opacity: 1;
        pointer-events: all;
    }
}

@keyframes seedSlideDown {
    0% {
        top: 20%;
    }

    100% {
        top: 49%;
    }
}

@keyframes warteringCanRotate {
    0% {
        left: 36%;
        transform: rotate(0deg);
    }

    10% {
        left: 36%;
        transform: rotate(0deg);
    }

    50% {
        left: 36%;
        transform: rotate(45deg);
    }

    90% {
        left: 36%;
        transform: rotate(0deg);
    }

    100% {
        left: 36%;
        transform: rotate(0deg);
    }
}

@keyframes warteringCanRotate2 {
    0% {
        left: 26%;
        transform: rotate(0deg);
    }

    50% {
        left: 26%;
        transform: rotate(45deg);
    }

    100% {
        left: 26%;
        transform: rotate(0deg);
    }
}

@keyframes waterSlideDown {
    0% {
        top: 43%;
        opacity: 0;
    }

    50% {
        top: 43%;
        opacity: 1;
    }

    99% {
        top: 74%;
        opacity: 0;
    }

    100% {
        top: 43%;
        opacity: 0;
    }
}

@keyframes waterSlideDown2 {
    0% {
        left: 39%;
        top: 43%;
        opacity: 0;
    }

    20% {
        left: 39%;
        top: 43%;
        opacity: 1;
    }

    99% {
        left: 39%;
        top: 64%;
        opacity: 0;
    }

    100% {
        left: 39%;
        top: 43%;
        opacity: 0;
    }
}

@keyframes scissorComponent1Rotate {
    0% {
        transform: rotate(124deg);
    }

    25% {
        transform: rotate(138deg);
    }

    50% {
        transform: rotate(124deg);
    }

    75% {
        transform: rotate(138deg);
    }

    100% {
        transform: rotate(124deg);
    }
}

@keyframes scissorComponent2Rotate {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-23deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-23deg);
    }

    100% {
        transform: rotate(0deg);
    }
}
@keyframes mouseClick {
  0% { fill: white; }
  50% { fill: #DFF4FC; }
  100% { fill: white; }
}

.div_page_trees .animate-disappear {
    animation: disappear 1s forwards;
}

.div_page_trees .animate-appear {
    animation: appear 1s forwards;
}

.div_page_trees .animate-seedSlideDown {
    animation: seedSlideDown 1s forwards;
}

.div_page_trees .animate-warteringCanRotate {
    animation: warteringCanRotate 2s forwards;
}

.div_page_trees .animate-warteringCanRotate2 {
    animation: warteringCanRotate2 2s forwards;
}

.div_page_trees .animate-waterSlideDown {
    animation: waterSlideDown 2s forwards;
}

.div_page_trees .animate-waterSlideDown2 {
    animation: waterSlideDown2 2s forwards;
}

.div_page_trees .animate-scissorComponent1Rotate {
    animation: scissorComponent1Rotate 2s forwards;
}

.div_page_trees .animate-scissorComponent2Rotate {
    animation: scissorComponent2Rotate 2s forwards;
}
.div_page_trees .animate-mouseClick {
    animation: mouseClick 1s infinite;
}


/* ==== 响应式 ==== */
@media(max-width:1500px){

    .progress-dots {
        display: flex;
        justify-content: center;
        gap: 1vw;
        margin-top: 20vh;
        z-index: 2;
    }
    
    
    }