@font-face {
  font-family: "Jaro";
  src: url("Jaro_24pt-Regular.ttf") format("woff2");
  font-weight: 700;
  font-display: swap; /* 避免布局偏移 */
}
@font-face {
  font-family: "NotoSerif";
  src: url("NotoSerif_Condensed-Regular.ttf") format("woff2");
}
@font-face {
  font-family: "NotoSerif";
  src: url("NotoSerif_Condensed-Bold.ttf") format("woff2");
  font-weight: 700;
  font-display: swap; 
}
@font-face {
  font-family: "NotoSerif-Bold";
  src: url("NotoSerif_Condensed-ExtraBoldItalic.ttf") format("woff2");
  font-weight: 700;
  overflow-x: hidden;
} 
body {
  padding-top: 80px;
  font-family: "NotoSerif", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, sans-serif;
    --primary-color: #BB595E;
    --primary-bgcolor: #D97075;
    cursor: url("https://static.igem.wiki/teams/5737/common/cursor.webp"), auto;
}
.left-aligned {
  margin-left: auto;
}
.bg-dark {
  background-color: #C25B49 !important;
}
.bg-hero {
  background-color: #45b06cff;
}
.team {
  --primary-bgcolor: #F3DD53;
}
.project {

}
.wetlab {
  --primary-bgcolor: #86BEC0;
  --primary-color: #68ACAE;
}
.partcollection{
  --primary-bgcolor: #4B905C;
  --primary-color: #2A5B34;
}
.hardware {
  --primary-color: #E19635;
  --primary-bgcolor: #F3B566;
}
.ihp{
--primary-bgcolor: #EF815C;
--primary-color: #E85439;
}
.education{
--primary-bgcolor: #6F6EB7;
  --primary-color: #31307E;
}
.sustainability {
--primary-bgcolor: #559DD1;
  --primary-color: #0066B1;
}
.entrepreneurship {
--primary-bgcolor: #BBD051;
  --primary-color: #8A9E37;
}
.drylab {
--primary-bgcolor: #D8D2AD;
  --primary-color: #B6B39D;
}
/* CALLOUT */
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: 0.25rem;
  border-radius: 0.25rem;
}
.bd-callout h4 {
  margin-bottom: 1.25rem;
}
.bd-callout p:last-child {
  margin-bottom: 0;
}
.bd-callout code {
  border-radius: 0.25rem;
}
.bd-callout + .bd-callout {
  margin-top: -0.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: white;
  font-weight: bold;
  text-decoration: none;
}
footer a:hover {
  color: white;
  text-decoration: underline;
}
.navbar-expand-lg .navbar-collapse {
  height: 80px;
}
.navbar-nav {
  height: 100%;
}
.page-nav {
  padding: 0 0.25vw;
  background: #d15342 !important;
  font-weight: bold;
}
.navbar-expand-lg .navbar-nav .nav-link {
  color: #F9FBFF !important;
  font-size: 1.22vw;
  padding-top: 26px;
  padding-bottom: 26px;
  padding-left: 0.9em;
  padding-right: 0.9em;
  height: 100%;
  font-family: "Jaro";
}
.navbar-expand-lg .nav-item {
  margin: 0;
}
.navbar-expand-lg .nav-item:nth-of-type(2) .nav-link {
  padding-left: 1.3em;
  padding-right: 1.3em;
}
.navbar-expand-lg .navbar-nav .dropdown-menu {
  border-radius: 0px 0px 20px 20px;
  margin-top: -20px;
  min-width: -webkit-fill-available;
  background-color: var(--primary-bgcolor);
  border: none;
  text-align: center;
  overflow: hidden;
}
.dropdown-item {
  padding: 4px 0;
  font-size: 1vw;
  color: #fff;
  font-family: "Jaro";
} 
.banner-title {
  font-size: 8.33vw;
  font-weight: 900;
  font-weight: bold;
  font-family: "Jaro";
}
.banner-sub-title {
  font-size: 3.75vw;
  font-weight: 900;
  font-weight: bold;
  font-family: "Jaro";
}
 .navbar-nav .nav-link.show {
  background: var(--primary-bgcolor);
}
.navbar-nav .nav-link:hover {
  background: var(--primary-bgcolor);
  border-radius:0px 0px 20px 20px;
}
.text-red {
  color: #D15342;
  font-size: 2.5vw;
}
.text-dark-red {
  color: #C2514C;
}
.f50 {
  font-size: 3.2vw;
}
.mb50 {
  margin-bottom: 2.6vw;
}
.font-italic {
  font-style: italic;
}
/* 全屏加载样式 */
.fullpage-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
  font-family: 'NotoSerif-Bold';
}
.team .fullpage-loading {
  background: url("https://static.igem.wiki/teams/5737/loading/v1/team.webp");
  background-size: 100% 100%;

}
.home .fullpage-loading {
  background-image: url("https://static.igem.wiki/teams/5737/loading/v1/home-v1.webp");
  background-size: 100% 100%;
}

.project .fullpage-loading {
  background: url("https://static.igem.wiki/teams/5737/loading/v1/project.webp");
  background-size: 100% 100%;
}
.wetlab .fullpage-loading {
  background: url("https://static.igem.wiki/teams/5737/loading/v1/wet-lab.webp");
  background-size: 100% 100%;

}
.partcollection .fullpage-loading {
  background: url("https://static.igem.wiki/teams/5737/loading/v1/part-collection.webp");
  background-size: 100% 100%;

}
.hardware .fullpage-loading {
  background: url("https://static.igem.wiki/teams/5737/loading/v1/hardware.webp");
  background-size: 100% 100%;

}
.ihp .fullpage-loading {
  background: url("https://static.igem.wiki/teams/5737/loading/v1/intergrated-human-practice.webp");
  background-size: 100% 100%;

}
.education .fullpage-loading {
  background: url("https://static.igem.wiki/teams/5737/loading/v1/education.webp");
  background-size: 100% 100%;

}
.sustainability .fullpage-loading {
  background: url("https://static.igem.wiki/teams/5737/loading/v1/sustainable-development-goals.webp");
  background-size: 100% 100%;

}
.entrepreneurship .fullpage-loading {
  background: url("https://static.igem.wiki/teams/5737/loading/v1/entrepreneurship.webp");
  background-size: 100% 100%;

}
.drylab .fullpage-loading {
  background: url("https://static.igem.wiki/teams/5737/loading/v1/dry-lab.webp");
  background-size: 100% 100%;
}
.home-banner {
  padding-bottom: 59.5%;
  background: url("https://static.igem.wiki/teams/5737/home/banner-bg.webp");
  background-size: 100% 100%;
  margin-top: -3.17vw;
}
.custom-cursor {
  cursor: url("https://static.igem.wiki/teams/5737/common/cursor.webp"), auto;
}
.custom-cursor:active {
  cursor: url("https://static.igem.wiki/teams/5737/common/cursor-1.webp"), auto;
}
a:-webkit-any-link {
  cursor: url("https://static.igem.wiki/teams/5737/common/cursor.webp"), auto;
}
a:-webkit-any-link:active {
  cursor: url("https://static.igem.wiki/teams/5737/common/cursor-1.webp"), auto;
}
.home-1 {
  width: 91.4vw;
  position: absolute;
  left: 0;
  top: 3.17vw;
}
.home-2 {
  position: absolute;
  width: 42vw;
  right: 6.46vw;
  bottom: 5.94vw;
}
.home-c-1, .home-c-2 {
  padding-top: 6.875vw;
}
.home-c-1 {
  padding-bottom: 10vw;
}
.home-c-2 {
  background: #F7F7F7;
  padding-bottom: 7.92vw;
}
.home-c-3 {
  background-color: #E98276;
  padding-top: 3.6vw;
  padding-bottom: 3.5vw;
}
.f30 {
  font-size: 1.5625vw;
}
.mb120 {
  margin-bottom: 6.25vw;
}
.home-c-1-1 {
  border: 4px solid #DDE5CE;
  border-radius: 4px;
}
.home-c-1-1>div {
  font-size: 1.5vw;
  width: 18.18vw;
  position: absolute;
  right: 7.54%;
  bottom: 6%;
}
.home-c-4 {
  padding-top: 10vw;
  padding-bottom: 7.29vw;
}
.home-c-4-1 {
  margin-top: 4.79vw;
}
.bottom-link {
  padding-top: 7vw;
}
.bottom-link a {
  text-decoration: none;
  font-size: 1.875vw;
  text-align: center;
  color: #000;
}
.home-bottom {
  background: #C25B49;
  font-family: "NotoSerif";
}
.home-bottom .bottom-title {
  font-family: "Jaro";
  font-size: 3.39vw;
  color: #fff;
}
.bottom-contact {
  background-color: #E88275;
  border-radius: 999999px;
  padding: 4px 15px;
}
.f35 {
  font-size: 1.9vw;
}
.f22 {
  font-size: 1.18vw;
  display: inline-block;
}
.f15 {
  font-size: 0.73vw;
}
@media (max-width: 1300px) {
  .page-nav {
    padding: 0;
  }
}
.slide-in-left {
    opacity: 0;
    animation: slideInLeft 1.2s ease-out forwards;
    animation-delay: 1000ms;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100vw);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.shake {
    animation: shake 0.8s cubic-bezier(.36,.07,.19,.97) both;
    animation-delay: 1500ms;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.progress-container {
    position: fixed;
    right: 2.5%;
    top: 80px;
    height: calc(100vh - 120px);
    width: 8px;
    background: #FBDD81;
    z-index: 1000;
    border-radius: 5.5px;
}
.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #A3CBE7;
    border-radius: 5.5px;
    height: 0%;
    transition: height 0.3s ease;
}
.progress-marker  {
  position: absolute;
  left: -20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 50px;
  transform: scale(0.8);

}
.marker-1 {
  width: 40px;
  left: -16px;
}
.progress-marker img {
  width: 100%;
}
.marker-visible {
    opacity: 1;
    transform: scale(1);
}
.marker-2 {
    top: calc(33.33% - 30px);
}

.marker-3 {
    top: calc(66.66% - 30px);
}

.marker-4 {
    top: calc(100% - 30px);
}
.team-content {
  margin-top: 80px;
  width: 66vw;
}
.team-title {
  background: url("https://static.igem.wiki/teams/5734/team/team-title.webp") no-repeat;
  background-size: 100% 100%;
  padding: 14px 90px 40px 40px;
  display: inline-block;
  margin-bottom: 60px;
}
.mt-100 {
  margin-top: 100px;
}
.card-wrapper.flipped .card-front {
  opacity: 0;
}

.card-wrapper.flipped .card-back {
  height: 100%;
  opacity: 1;
}
.card-wrapper {
  perspective: 1000px;
  transform-style: preserve-3d;
  margin-bottom: 60px;
}
.team-card {
  padding-bottom: 131.43%;
  position: relative;
  background-size: 100% 100%;
  border-radius: 30px;
  background: #DADADD;
  box-shadow: 0px 1px 12px 2px rgba(92,112,129,0.4);
}
.team-card-item {
  flex: 1;
}
.card-front,
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  border-radius: 30px;
}
.card-front {
  padding: 0;
  overflow: hidden;
  background: #DADADD;
}
.card-front .name {
  padding-top: 2vw;
  padding-bottom: 2vw;
  background: #D15342;
  font-size: 1.25vw;
}
.card-front img {
  /* display: none; */
}
.card-back {
  background-color: #D15342;
  height: 0;
  opacity: 0;
  padding: 20px 0px;
  font-size: 20px;
  transition: all 300ms ease;
}

.desc-title {
  font-size: 72px;
  color: #f3f5f5;
  width: max-content;
}
.desc {
  width: 94.53%;
}

.desc .content {
  padding-left: 0;
  padding-right: 0;
  background: #D9D9D9;
}
.desc-1 .scrollspy-example {
  margin-left: 0;
}
.navbar-desc {
  width: 20.37%;
  float: left;
  box-shadow: none;
}
.nav-bar-desc-title {
  width: 90%;
  padding: 20px 0;
  background: url("https://static.igem.wiki/teams/5734/common/desc-title.webp") no-repeat;
  background-size: 100% 100%;
  text-align: center;
  margin-top: -10%;
  margin-left: 5%;
}
.navbar-desc.sticky-top {
  top: 100px;
}
.navbar-desc .nav {
  font-size: 20px;
  text-align: left;
  width: 100%;
  overflow-x: hidden;
  display: block;
}
.scrollspy-example {
  margin-left: 20.37%;
  padding: 3% 2% 5.6% 4%;
  font-size: 14px;
  background: #fff;
  text-align: justify;

}
.scrollspy-example .title {
  font-size: 50px;
  padding: 10px 60px 30px 0px;
  color: var(--primary-color);
  font-weight: bold;
  width: fit-content;
  border-radius: 30px 30px 0px 0px;
  font-family: "Jaro";
}

.nav-pills {
  padding-top: 30px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  margin-left: 0 !important;
  font-weight: bold;
}
.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus {
  color: #fff;
  background: var(--primary-color);
  border-radius: 0;
}
.nav-pills .desc-nav-item.active .nav-link {
  color: #fff;
  background: var(--primary-color);
  border-radius: 0;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background: var(--primary-color);
  border-radius: 0;
  /* font-size: 24px; */
}
.children-nav .sub-nav-link {
  font-size: 1vw;
  color: var(--primary-color);
  margin-top: 10px;
  padding-left: 20px;

}
.children-nav .sub-nav-link:hover {
  color: #fff;
  background: var(--primary-color);
  border-radius: 0;
}
.children-nav .sub-nav-link.active {
   color: #fff;
  background: var(--primary-color);
  border-radius: 0;
}
.nav-pills .nav-link {
  position: relative;
  color: var(--primary-color);
  font-size: 1.25vw;
  margin-top: 10px;
  width: 100%;
  padding-left: 20px;
}
.nav-pills .sub-title {
  padding: 5px 10px;
  border-radius: 4px;
}
.nav-pills .sub-title:hover {
  color: #fff;
  background: #5AB1FE;
}
.scrollspy-example .sub-title {
  margin-bottom: 20px;
}

.desc-module {
  margin-bottom: 4%;
  color: #333;
  font-size: 16px;
  position: relative;
  border-bottom: 3px solid #CE5946;
  padding-bottom: 40px;
}
.desc-module .sub-title {
  padding: 10px 60px 10px 0px;
  font-size: 30px;
  font-weight: bold;
}
.desc-module p {
  /* text-indent: 32px; */
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: 20px !important;
}
.desc-module-1 p {
  text-indent: 0;
}
/* 页面内容样式 - 初始隐藏 */
.page-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.desc-module table p {
  text-align: center;
  all: unset; /* 或者覆盖上面的样式 */
}
.desc-module li {
  margin-bottom: 10px;
  font-size: 20px;
}
.desc-module h5 {
  font-weight: bold;
  margin-bottom: 1em;
  font-size: 20px;
  /* text-indent: 32px; */
}
.desc-module h6 {
  margin-bottom: 10px;
  font-size: 20px;
}
.desc-module ol {
  line-height: 1.75;
  margin-bottom: 10px;
  padding-left: 0;
}
.desc-module .li-decimal {
  list-style-type: decimal;
}
.desc-module table {
  border: 2px solid;
  max-width: 100%;
  margin-top: 6px;
  margin-bottom: 10px;
}
.desc table td,
.desc table th {
  border: 2px solid;
  padding: 4px 6px;
  text-align: center;
}
.desc-module ul ul {
  list-style-type: disc;
}

.text-justify {
  text-align: justify;
}
.bottom-btn {
  border-radius: 30px;
  background-color: #68C9CD;
  box-shadow: 0px 2px 9px 1px rgba(149,175,176,0.63);
  color: #fff;
  font-weight: bold;
  padding: 6px 0;
  width: fit-content;
  margin: 0 auto;
}
 .swiper-slide {
    height: auto !important;
  }
  .swiper-slide img {
    width: 100%;
  }
.swiper-pagination-bullets {
    text-align: right;
    padding-right: 100px;
  }
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #fff;
  }
 /* 保留缩进与间距 */
ol, ul {
  margin: 0 0 1em 1.8em;
  padding-left: 0;
}
li { margin: 0.3em 0; font-size: 16px;}

/* 一级 */
ol[type="1"] > li {
    counter-increment: item;
}

ol[type="1"] > li::marker {
    content: counter(item) ". ";
}

/* 二级 */
ol[type="1"] > li > ol > li {
    counter-increment: subitem;
}

ol[type="1"] > li > ol > li::marker {
    content: counter(item) "." counter(subitem) ". ";
}

/* 三级 */
ol[type="1"] > li > ol > li > ol > li {
    counter-increment: subsubitem;
}

ol[type="1"] > li > ol > li > ol > li::marker {
    content: counter(item) "." counter(subitem) "." counter(subsubitem) ". ";
}

/* 大写字母 A, B, C */
ol[type="A"] li::marker {
  content: counter(list-item, upper-alpha) ". ";
}

/* ol[type="a"] li::marker {
  content: counter(list-item, lower-alpha) ". ";
} */

/* 罗马数字 I, II, III */
ol[type="I"] li::marker {
  content: counter(list-item, upper-roman) ". ";
}

/* 罗马数字 i, ii, iii */
ol[type="i"] li::marker {
  content: counter(list-item, lower-roman) ". ";
}
ol.bracketed li::marker {
  content: "[" counter(list-item) "] ";
}
ol.bracketed1 li::marker {
  content: "(" counter(list-item) ") ";
}
ol.bracketed2 li::marker {
  content: counter(list-item) ") ";
}
ul.checklist li::marker {
  content: "✔️ "
}
/* 无序列表正常圆点 */
ul { list-style-type: disc; }
table {
  word-break: auto-phrase;
}
table p {
  word-break: auto-phrase;
}
  @media (max-width: 768px) {
    body {
      padding-top: 60px;
    }
    .navbar-expand-lg .navbar-collapse {
      height: auto;
    }
    .navbar-expand-lg .navbar-nav .nav-link , .dropdown-item{
      font-size: 14px;
      text-align: center;
    }
    .progress-container {
      display: none;
    }
    header > div {
      width: 100% !important;
    }
    .card-front .name {
      font-size: 16px;
    }
    .desc {
      width: 100%;
    }
    .navbar-desc {
      display: none;
    }
    .scrollspy-example {
      margin-left: 0;
      width: 100%;
    }
  }