body {
    padding-top: 56px;
    background-image: url(https://static.igem.wiki/teams/4611/wiki/bg.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.left-aligned {
    margin-left: auto;
}

.bg-dark {
    background-color: #343a40 !important
        /* background-color: white !important; */
}

.bg-cadetblue {
    background-color: cadetblue;
}

.bg-white {
    background-color: cadetblue;
}

.bg-hero {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/headertop.jpg);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 400px;
}

.bg-hero-results {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/results-head.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 560px;
}

.bg-hero-safety {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/safety-head.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 520px;
}

.bg-hero-contribution {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/contribution-head.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 520px;
}

.bg-hero-medal {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/medal-102222222.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 520px;
}

.bg-hero-description {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/description.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 520px;
}

.bg-hero-attribution {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/attribution.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 520px;
}

.bg-hero-engineering {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/engineering-head.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 560px;
}

.bg-hero-edu-overview {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/education-overview.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 560px;
}

.bg-hero-edu-outreach {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/outreach-1012-newwww.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 560px;
}

.bg-hero-edu-school {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/education-school-activities.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 560px;
}

.bg-hero-model {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/mo-ov.jpg);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 560px;
    animation: fadeIn 2s ease-in-out forwards;

}

.bg-hero-model-bioinfo {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/model-bio.gif);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 560px;
}

.bg-hero-model-simulation {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/model-sim.gif);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 560px;
}

.bg-hero-model-kinetics {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/model-rk.gif);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 560px;
}

.bg-hero-hp-overview {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/hp-1-1-1-1.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 560px;
}

.bg-hero-hp-ihp {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/ihp-1012.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 560px;
}

.bg-hero-hp-coll {
    /* background-color: #45b06cff; */
    background-image: url(https://static.igem.wiki/teams/4611/wiki/coll-1012.png);
    /* background-image: url(https://static.igem.wiki/teams/4611/wiki/headerimage.png); */
    background-size: cover;
    height: 560px;
}


/* 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
}

/* footer */
footer a {
    color: rgb(9, 98, 176);
    font-weight: bold;
    text-decoration: none;
}


.footer-margin {
    margin-left: -5%;
    margin-right: -5%;
}

.myfooter-container {
    width: 100%;
}

.myfooter-table {
    width: 40%;
    border-collapse: collapse;
    /* 去掉表格边框 */
}

.myfooter-table td {
    width: 50%;
    /* 固定单元格宽度为50% */
    padding: 0;
}

.myfooter-table img {
    width: 100%;
    height: auto;
    /* 自动调整高度，以保持图片比例 */
    display: block;
    /* 去掉默认行内元素间隙 */
    overflow: hidden;
    /* 控制图片溢出 */
}

footer a:hover {
    color: rgb(9, 98, 176);
    text-decoration: underline;
}

.text-ourblue {
    color: rgb(9, 98, 176);
}


.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    /* margin-bottom: -5px; */
    /*Fix for safari gap*/
    min-height: 100px;
    max-height: 150px;
}

.content {
    position: relative;
    height: 20vh;
    text-align: center;
    background-color: white;
}

/* Animation */

.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    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);
    }
}

/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }

    .content {
        height: 30vh;
    }
}


.mypnmain {
    /* justify-content: center; */
    /* overflow: auto; */
    /* background-color: rgb(255, 255, 255); */
    /* opacity: 0.2; */
    /* height:10000px; */
    font-size: 50px;
    padding: 10% 0vw;
    padding-bottom: 150px;
    z-index: 2;
}

.mypnmain:after {
    content: "";
    display: block;
    clear: both;

}

.mypnleft {
    position: -webkit-sticky;
    position: sticky;
    float: left;
    /* width: 25%; */
    top: 20%;
    font-size: 30px;
    font-weight: 600;
    /* background-color: aqua; */
    opacity: 0.7;
    box-sizing: border-box;
    width: 27%;
    height: 350px;
    margin: 0 -4%;
    padding: 5px 5px 5px 5px;
    background: white;
    color: #056cda;
    border-radius: 8px;
    box-sizing: border-box;
    border-top: 2px solid #a9b4ff;
    border-right: 2px solid #a9b4ff;
    border-bottom: 2px solid #a9b4ff;
    box-shadow: 2px 2px #a9b4ff;
    line-height: 1.2em;
    z-index: 2;
    /* display: block; */
}

.mypnleft-team {
    position: -webkit-sticky;
    position: sticky;
    float: left;
    /* width: 25%; */
    top: 20%;
    font-size: 30px;
    font-weight: 600;
    /* background-color: aqua; */
    opacity: 0.7;
    box-sizing: border-box;
    width: 20%;
    height: 350px;
    margin: 0 -4%;
    padding: 5px 5px 5px 5px;
    background: white;
    color: #056cda;
    border-radius: 8px;
    box-sizing: border-box;
    border-top: 2px solid #a9b4ff;
    border-right: 2px solid #a9b4ff;
    border-bottom: 2px solid #a9b4ff;
    box-shadow: 2px 2px #a9b4ff;
    line-height: 1.2em;
    z-index: 2;
    /* display: block; */
}

.mypnleft-button {
    position: -webkit-sticky;
    position: relative;
    float: left;
    /* width: 25%; */
    top: 108%;
    font-size: 18px;
    font-weight: 600;
    /* background-color: aqua; */
    /* opacity: 0.7; */
    box-sizing: border-box;
    width: 105%;
    height: 50px;
    margin: 0 -3%;
    padding: 5px 5px 5px 5px;
    background: white;
    color: #056cda;
    border-radius: 8px;
    box-sizing: border-box;
    border-top: 2px solid #a9b4ff;
    border-right: 2px solid #a9b4ff;
    border-left: 2px solid #a9b4ff;
    border-bottom: 2px solid #a9b4ff;
    box-shadow: 2px 2px #a9b4ff;
    /* line-height: 1em; */
    z-index: 2;
    /* display: block; */
}

.kipbutton-left {
    /* width: 60%;
    height: 60%; */
    /* padding: 4% 1%; */
    background-color: #1c69c6;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    color: #FFFFFF;
    font-family: "MONTSERRAT-BLACK1";
    -webkit-box-shadow: 0 1px 8px rgb(0 0 0 / 30%), 0 0 40px rgb(0 0 0 / 10%) inset;
    display: block;
    margin: 0%;
    text-align: center;
    text-decoration: none;
    height: 100%;
}

.kipbutton-left:hover {
    /* width: 60%;
    height: 60%; */
    /* padding: 4% 1%; */
    background-color: #1c69c6;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    color: #FFFFFF;
    font-family: "MONTSERRAT-BLACK1";
    -webkit-box-shadow: 0 1px 8px rgb(0 0 0 / 30%), 0 0 40px rgb(0 0 0 / 10%) inset;
    display: block;
    margin: 0%;
    text-align: center;
    text-decoration: none;
    height: 100%;
}

.myimg {
    position: absolute;
    width: 80%;
    height: 90%;
    top: 7px;
    left: -8%;
    z-index: 2;
    /* color: #d9534f; */
}


.mypnright {
    background-color: white;
    /* background-color: rgb(246, 246, 246); */
    float: right;
    position: relative;
    width: 72%;
    height: auto;
    margin-right: -2%;
    margin-bottom: 2%;
    padding: 0 5% 5%;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgb(0 0 0 / 30%), 0 0 4px rgb(0 0 0 / 0%) inset;
    /* line-height: 1.3em; */
    font-size: 1.1em;
    /* font-family: Source-Sans-Pro-Bold; */
    font-weight: lighter;
}

.mypnright-team {
    background-color: white;
    /* background-color: rgb(246, 246, 246); */
    float: right;
    position: relative;
    width: 100%;
    height: auto;
    margin-right: -2%;
    margin-bottom: 2%;
    padding: 0 5% 5%;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgb(0 0 0 / 30%), 0 0 4px rgb(0 0 0 / 0%) inset;
    /* line-height: 1.3em; */
    font-size: 1.1em;
    /* font-family: Source-Sans-Pro-Bold; */
    font-weight: lighter;
}

.myleftnavtitle {
    /* text-transform: uppercase; */
    position: absolute;
    top: 25px;
    left: 4%;
    width: 80%;
    text-align: center;
    color: #202020;
    /* font-family: "MONTSERRAT-BLACK1"; */
    font-size: 1.65vw;
    font-weight: 800;
    z-index: 3;
}

.myleftnav {
    position: absolute;
    /* padding-left: 9px; */
    padding-top: 5%;
    overflow: hidden;
    top: 60px;
    width: 90%;
    z-index: 3;
}

.myleftnav :hover {
    color: #056cda;
}

.myleftcatlog {
    /* font-size: 20px; */
    /* position: absolute; */
    padding: 10% 0;
    overflow: hidden;
    top: 60px;
    width: 100%;
    z-index: 3;
}

.myleftcatlog-model {
    /* font-size: 20px; */
    /* position: absolute; */
    padding: 10% 0;
    overflow: hidden;
    top: 60px;
    width: 100%;
    z-index: 3;
}



/* 左侧目录列表 */
.myleftcatlog li {
    color: #000 !important;
    /* color: #605f5f; */
    margin: 0% 15%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-family: "Times New Roman", Times, serif, Helvetica, Arial, sans-serif;
    /* font-family: "CABIN-REGULAR"; */
    font-size: 16px;
    /* font-weight: 600; */
    width: 85%;
    /* list-style: none; */
}

.myleftcatlog-model li {
    color: #000 !important;
    /* color: #605f5f; */
    margin: 3% 15%;
    text-overflow: ellipsis;
    overflow: hidden;
    /* white-space: nowrap; */
    font-family: "Times New Roman", Times, serif, Helvetica, Arial, sans-serif;
    /* font-family: "CABIN-REGULAR"; */
    font-size: 16px;
    /* font-weight: 600; */
    width: 85%;
    /* list-style: none; */
}

.myleftcatlog-engineer li {
    color: #000 !important;
    /* color: #605f5f; */
    margin: 9% 9%;
    text-overflow: ellipsis;
    overflow: hidden;
    /* white-space: nowrap; */
    font-family: "Times New Roman", Times, serif, Helvetica, Arial, sans-serif;
    /* font-family: "CABIN-REGULAR"; */
    font-size: 16px;
    /* font-weight: 600; */
    width: 85%;
    /* list-style: none; */
}

.myleftcatlog li a {
    color: #3d3d3d;
    list-style: none;
    text-decoration: none;
}

.myleftcatlog-model li a {
    color: #3d3d3d;
    list-style: none;
    text-decoration: none;
}

.myleftcatlog-engineer li a {
    color: #3d3d3d;
    list-style: none;
    text-decoration: none;
}

.current {
    color: #7a7a7b;
}

.myrightcontent {
    /* background-color: aqua; */
    text-align: center;
    width: 100%;
    margin: 50px auto;
}

/* 正文中的图片格式 */
.myrightcontent figure>img {
    display: flex;
    justify-content: center;
    align-items: center;
    /* float: center;
    align-items: center;
    justify-content: center;
    top:50%;
    left:50%;
    margin: 30px auto;
    object-fit:contain; */
    width: 100%;
}


/* 正文中的图片格式 */
.myrightcontent video {
    display: flex;
    justify-content: center;
    align-items: center;
    /* float: center;
    align-items: center;
    justify-content: center;
    top:50%;
    left:50%;
    margin: 30px auto;
    object-fit:contain; */
    width: 100%;
}

.myrightcontent h1 {
    margin: 10% auto;
    text-align: center;
    /* font-family: Rubik-Black; */
    font-weight: 800;
    text-shadow: 2.5px;
    color: rgb(9, 98, 176);
    /* font-size: 3.5rem; */
    font-size: 40px;
    -webkit-transform: skew(-15deg, 0deg);
    opacity: 0.8;
}

.myrightcontent h2 {
    margin: 4% auto;
    text-align: left;
    /* font-family: Rubik-Black; */
    font-weight: 800;
    text-shadow: 2px;
    color: rgb(9, 98, 176);
    font-size: 30px;
    opacity: 0.8;
}

.myrightcontent h3 {
    /* font-family: Source-Sans-Pro; */
    margin: 8% 0;
    text-align: left;
    font-weight: 800;
    color: rgb(9, 98, 176);
    font-size: 25px;
    text-shadow: 1px;
    opacity: 0.8;

}

.myrightcontent h4 {
    /* font-family: Source-Sans-Pro; */
    margin: 6% 0;
    color: rgb(9, 98, 176);
    font-size: 24px;
    opacity: 0.8;
    text-align: left;
    font-weight: 800;
}

.myrightcontent h5 {
    /* font-family: Source-Sans-Pro; */
    margin: 5% 0;
    font-weight: 800;
    color: rgb(9, 98, 176);
    font-size: 22px;
    opacity: 0.8;
    text-align: left;

}

.myrightcontent p {
    /* line-height: 1.6; */
    text-align: justify;
    margin: 20px 0px;
    /* font-family: SOURCESANSPRO-REGULAR; */
    /* font-family: var(--bs-font-sans-serif); */
    /* font-family: system-ui; */
    font-family: "Times New Roman", Times, serif, Helvetica, Arial, sans-serif;
    font-size: 18px;
    /* color: #38393a; */
    color: #000;
    /* color: #d60552; */
    text-shadow: 0.3px 0px;
    /* font-weight: 200; */
    opacity: 0.9;

}

.with-margin {
    margin-top: 20px !important;
    /* 设置顶部边距为20像素，可以根据需要调整值 */
    margin-bottom: 20px !important;
}

.myblue {
    color: rgb(9, 98, 176) !important;
    opacity: 0.8 !important;
}

.myrightcontent li {
    /* line-height: 1.6; */
    text-align: justify;
    margin: 20px 0px;
    /* font-family: SOURCESANSPRO-REGULAR; */
    font-family: "Times New Roman", Times, serif, Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: #000;
    text-shadow: 0.3px 0px;
    opacity: 0.9;

}

/* 表格 */
.myrightcontent figure {
    margin: 5% 0;
    border-radius: 12px;
    overflow-x: auto;
}

.image-container-between {
    display: flex;
    justify-content: space-between;
    /* 将图片均匀分布在容器中 */
}

.table-container table {
    display: inline-block;
    margin-right: 20px;
    /* 可以根据需要添加间距 */
}

/* table */
.myrightcontent table {
    display: table;
    margin-bottom: 2%;
    width: 97%;
    border: none;
    border-radius: 12px;
    /* font-family: "CABIN-REGULAR"; */
    font-family: "Times New Roman", Times, serif, Helvetica, Arial, sans-serif;
    -webkit-box-shadow: 0 1px 8px rgb(0 0 0 / 30%), 0 0 4px rgb(0 0 0 / 0%) inset;
    -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0) inset;
    box-shadow: 0 1px 8px rgb(0 0 0 / 30%), 0 0 4px rgb(0 0 0 / 0%) inset;
    -o-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0) inset;
}

.myrightcontent tr {
    height: 40px;
}

.myrightcontent td {
    font-size: 20px;
    padding: 5px;
    border: 0.5px solid #eaeaea;
    line-height: 1.2em;
}

.myrightcontent th {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 8px;
    border: none;
    background: #0071fe;
    /* font-family: "MONTSERRAT-BLACK1"; */
    /*  font-size: large; */
    line-height: 1.5em;
    color: #ffffff;
    font-size: 20px;
    padding: 5px;
    border: 0.5px solid #eaeaea;
    line-height: 1.2em;
}

/* span */
/* 图片标注 */
.myrightcontent .figurelegend {
    text-align: center;
    font-family: "Times New Roman", Times, serif, Helvetica, Arial, sans-serif;
    /* font-family: SOURCESANSPRO-REGULAR; */
    color: #000;
    font-size: 16px;
    /* margin: 10px 0; */
    font-weight: bolder;
    display: block;
}

/* 参考文献 */
.myref {
    margin: 25px 0px;
    font-family: SOURCESANSPRO-REGULAR;
    font-size: 16px;
    color: #38393a;
    opacity: 0.8;
    font-style: italic;
}

.kipbutton {
    /* width: 60%;
    height: 60%; */
    /* padding: 4% 1%; */
    background-color: #1c69c6;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    color: #FFFFFF;
    font-family: "MONTSERRAT-BLACK1";
    -webkit-box-shadow: 0 1px 8px rgb(0 0 0 / 30%), 0 0 40px rgb(0 0 0 / 10%) inset;
    display: block;
    margin: 5%;
    text-align: center;
    text-decoration: none;
}

.kipbutton:hover {
    /* width: 60%;
    height: 60%; */
    /* padding: 4% 1%; */
    background-color: #1c69c6;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    color: #FFFFFF;
    font-family: "MONTSERRAT-BLACK1";
    -webkit-box-shadow: 0 1px 8px rgb(0 0 0 / 30%), 0 0 40px rgb(0 0 0 / 10%) inset;
    display: block;
    margin: 5%;
    text-align: center;
    text-decoration: none;
}

/* 鼠标 */

.custom-cursor-container {
    position: fixed;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}

.custom-cursor-trail {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    /* 混合模式，增强光标的可见性 */
    transition: opacity 0.2s ease-out;
    /* 添加透明度的过渡效果 */
    background-color: var(--black);
    /* 设置拖尾元素的颜色 */
    opacity: 0.6;
    /* 控制拖尾效果的透明度 */
}

.floating-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* click按钮 */

.click-trigger-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.click-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--white);
    z-index: 2;
}

/* 半圆 */

.half-circle-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.half-circle {
    width: 150px;
    height: 75px;
    border-radius: 100px 100px 0 0;
    position: absolute;
    bottom: -37.5px;
    left: 50%;
    transform-origin: bottom center;
    transition: transform 0.5s ease-in-out, opacity 1s ease-in-out;
    overflow: hidden;
}

.half-circle img {
    width: 100%;
    height: auto;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0% 50%);
}

.half-circle1 {
    transform: translateX(-50%) translateY(-50%) rotate(30deg);
}

.half-circle2 {
    transform: translateX(-50%) translateY(-50%) rotate(210deg);
}

/* 导航栏 */

#custom-navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--black);
    display: none;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    animation: slideIn 1s ease-in-out forwards;
    z-index: 10;
}


.custom-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px 0 0;
}

.logo,
.logo img {
    height: 70px;
    width: auto;
    overflow: hidden;
    background-color: var(--white);
}


.custom-nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
}

.custom-nav-link {
    /* width: 100px; */
    margin: 0 0px;
    padding: 0;
    font-size: 20px;
}

.custom-link {
    padding: 20px 20px;

    position: relative;

    display: flex;
    justify-content: center;
    text-decoration: none;
    background-color: black;
    white-space: nowrap;
}

.up,
.down {
    line-height: 70px;
    position: absolute;
    color: white;
    top: 0;
    transition: 0.3s;
}

.down {

    clip-path: inset(49% 0 0 0);
}

.up {
    clip-path: inset(1% 0 50% 0);
}

.custom-link:hover {
    text-decoration: none;
}

.custom-link:hover .up,
.custom-link:hover .down {
    top: calc(var(--i)*1px);
}

.custom-link:hover .split {
    opacity: 1;
}

.split {
    text-decoration: none;
    color: transparent;
    opacity: 0;
    transition: 0.1s;
}

.custom-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://static.igem.wiki/teams/4980/wiki/image/small-sword.png');
    background-size: 100% 50%;
    background-repeat: no-repeat;
    background-position: right;
    opacity: 0;
    transition: opacity 0.3s;
    /* z-index: 0; */
    overflow: visible;
}

.custom-link:hover::before {
    opacity: 1;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 导航下拉菜单 */

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.custom-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--black);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 10;
    left: 50%;
    top: 100%;
    /* 使下拉菜单的上边缘与其父元素的下边缘对齐 */
    transform: translateX(-50%);
}

.custom-dropdown-content a {
    color: var(--white);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}


.custom-nav-link:hover .custom-dropdown-content {
    display: block;
}

.custom-dropdown-content a:hover {
    color: black;
    text-decoration: none;
    background-color: var(--white);
}


/* 移动端按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 40px;
    overflow: hidden;
}

.menu-toggle span {
    background-color: var(--white);
    height: 3px;
    width: 25px;
    margin-bottom: 4px;
    border-radius: 2px;
}

/* 媒体查询：小于768px的屏幕尺寸 */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .custom-navbar {
        width: 100%;
    }

    .custom-nav-links {
        position: absolute;
        top: 243px;
        right: 0;
        background-color: var(--black);
        flex-direction: column;
        width: 50%;
        /* 主导航的宽度 */
        display: none;
        align-items: center;
    }

    .custom-nav-link {
        width: 100%;
        text-align: center;
        position: relative;
    }

    .custom-link {
        width: 100%;
        display: block;
        text-align: center;
    }

    .up,
    .down {
        display: none;
    }

    .split {
        font-size: 13px;

        color: white;
        opacity: 1;
    }

    .custom-link::before {
        display: none;
    }

    .custom-dropdown-content {
        position: fixed;
        top: 66px;
        left: 25%;
        width: 50%;
        height: 600%;
        background-color: var(--black);
        display: none;
        /* 默认隐藏 */
        flex-direction: column;
    }

    .custom-dropdown-content a {
        font-size: 13px;
        padding: 20px 0;
    }

    /* 当主导航项被悬停时，显示子菜单 */
    .custom-nav-link:hover .custom-dropdown-content {
        display: flex;
    }
}



/* 页面容器 */

.page-container {
    position: relative;
    width: 100%;
    background-color: white;

    /* overflow-x: hidden;  */
    /* overflow-y: scroll; */
    display: none;

}




/* 内容容器 */

.content-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    /* background-image: url('./image/background2.png');  
    background-size: 145%;  
    background-repeat: no-repeat;  
    background-attachment: scroll;  */
}


/* svg背景 */

.svg-container {
    width: 100%;
    height: 600vh;
    position: absolute;
    /* background-color: plum; */
}

.svg-container img {
    width: 100%;
    margin-top: 4%;
    /* background-color: lightblue; */
}

svg {
    height: 100%;
    width: 100%;
    /* background-color: pink; */
}



/* 内容盒子 */

.box {
    width: 100%;
    margin: 0 0;
    /* background: rebeccapurple; */
    text-align: center;
}

.box img {
    width: 100%;
    height: auto;
    /* background-color: pink; */
}

.box p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Agency FB;
    width: 110vh;
    height: auto;
    /* border: 2px solid black;  */
    font-size: 2.5em;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
}

#ink-drop {
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    height: 100vh;
    background-image: url(https://static.igem.wiki/teams/4980/wiki/image/ink-drop.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-top: -140vh;
    transform: translateY(-150vh);
    /* background-color: pink; */
}

#box1 {
    height: 140vh;
    margin-top: 70vh;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    background-image: url(https://static.igem.wiki/teams/4980/wiki/image/picture1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    /* background-color: pink; */
}

#box2 {
    height: 140vh;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    background-image: url(https://static.igem.wiki/teams/4980/wiki/image/picture2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    /* background-color: pink; */
}

#box3 {
    height: 140vh;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    background-image: url(https://static.igem.wiki/teams/4980/wiki/image/picture3.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    /* background-color: pink; */
}

#box4 {
    height: 140vh;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    background-image: url(https://static.igem.wiki/teams/4980/wiki/image/picture4.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    /* background-color: pink; */
}

/* 底栏 */

#bottom-container {

    width: 100%;
    min-height: 45vh;
    position: relative;
    display: none;
    background-image: url(https://static.igem.wiki/teams/4980/wiki/image/bottom-picture.png);
    background-color: var(--background-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    overflow: hidden;
}


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


.bottom-content1 {
    display: flex;
    padding: 10px;
    min-height: 45vh;
    align-items: flex-end;
    justify-content: center;
}

.bottom-content2 {
    min-height: 10vh;
    text-align: center;
    margin: 40px 0;
}

.item1,
.item2,
.item3 {
    text-align: center;
}

.item1 img {
    height: 85px;
    width: auto;
    margin: 12px;
}

.item2 img {
    height: 60px;
    width: auto;
    margin: 5px;
}

.item3 img {
    height: 40px;
    width: auto;
    padding: 0 20px;
}


.bottom-content1 h2 {
    font-size: 27px;
    line-height: 30px;
    text-align: center;
    color: white;
    margin-top: 20px;
}

.bottom-content1 p {
    font-size: small;
    line-height: 22px;
    white-space: nowrap;
    color: white;
    text-align: center;
    margin: 0;
}

.bottom-content2 p {
    line-height: 20px;
    color: white;
    margin: 0;
}

.bottom-link {
    text-decoration: none;
    font-weight: bold;
    color: white;
}

.bottom-link:hover {
    text-decoration: underline;
    font-weight: bold;
    color: white;
}


@media (max-width: 768px) {
    .bottom-content1 {
        min-height: 140vh;
    }

    .item3 img {
        height: 55px;
        width: auto;
        padding: 0 20px;
    }

}

.boxed-paragraph {
    border: 2px solid #000;
    /* 设置边框宽度和颜色 */
    padding: 10px;
    /* 设置内边距，以增加文本与边框的间距 */
    margin: 0 auto;
    /* 将方框居中显示 */
}