body {
  padding-top: 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  cursor: url("https://static.igem.wiki/teams/5746/common/cursor.webp"), auto;
}
.left-aligned {
  margin-left: auto;
}
.bg-dark {
  background-color: #90c0dd !important;
}
.bg-hero {
  background-color: #45b06cff;
}
.bg-lightyellow {
  background-color: #fffce6;
}
.text-primary {
  color: #5aa5cd !important;
}

/* 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;
}
.f15 {
  font-size: 15px;
}
.f16 {
  font-size: 16px;
}
.f17 {
  font-size: 17px;
}
.f18 {
  font-size: 18px;
}
.f19 {
  font-size: 19px;
}
.f20 {
  font-size: 20px;
}
.f21 {
  font-size: 21px;
}
.f22 {
  font-size: 22px;
}
.f23 {
  font-size: 23px;
}
.f24 {
  font-size: 24px;
}
.f36 {
  font-size: 36px;
}
.f45 {
  font-size: 45px;
}
.f75 {
  font-size: 75px;
  font-style: italic;
}
.f40 {
  font-size: 40px;
}
.f115 {
  font-size: 115px;
}
.f110 {
  font-size: 110px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mb-50 {
  margin-bottom: 50px;
}
a:-webkit-any-link {
  cursor: url("https://static.igem.wiki/teams/5746/common/cursor-2.webp"), auto;
}
a:-webkit-any-link:active {
  cursor: url("https://static.igem.wiki/teams/5746/common/cursor-3.webp"), auto;
}
/* footer */
footer a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}
footer a:hover {
  color: white;
  text-decoration: underline;
}
.home-banner-title {
  bottom: 15%;
}
.navbar {
  --bs-navbar-color: #5aa5cd;
}
.page-nav .nav-link.active {
  color: #256080;
}
.page-nav .nav-link {
  font-size: 24px;
  font-weight: 600;
  color: #5aa5cd;
  padding: 14px 20px !important;
}
.page-nav .nav-link::after {
  display: none;
}
.page-nav .dropdown-wrapper {
  background: #fefefb;
  border-radius: 10px;
  border: 0.5px solid rgb(230, 230, 222);
  padding: 10px 0;
}
.page-nav .dropdown-menu {
  background: transparent;
  border-radius: 0;
  border: none;
}
.page-nav .dropdown-item {
  color: #5aa5cd;
  font-size: 18px;
  text-align: center;
}
.page-nav .dropdown-item:hover,
.page-nav .dropdown-item.active {
  color: #555456;
  background: #fefefb;
}
.navbar-brand {
  padding: 0 !important;
}
.home-1 {
  margin-top: 7.3%;
  color: #5e5e5e;
  margin-bottom: 12.8%;
  font-size: 1.8vw;
}
.home-1 img {
  width: 56px;
  top: -20px;
}
.home-2 {
  font-size: 1.8vw;
  background: rgb(244, 240, 239);
  padding: 6.3% 3.6% 6% 0;
  margin-bottom: 10.4%;
  text-align: justify;
}
.home-2 .title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(to right, #27e6ec, #fffce6);
  width: fit-content;
  padding: 20px 30px;
  font-weight: bold;
  width: 60%;

}
.home-3 {
  color: #5e5e5e;
  margin-bottom: 10.4%;
}
.home-3-c {
  font-size: 1.6vw;
  padding-top: 2%;
  background: linear-gradient(to bottom, #27e6ec, #fffce6);
}
.home-3-c img {
  max-width: 100%;
  transform: translate(5%, 20%);
}
.home-nav {
  background: #f4f0f0;
  padding: 6% 0;
  /* margin-bottom: 10.4%; */
}
.home-nav-card {
  background: linear-gradient(to top, #27e6ec, #fffce6);
  border: 5px solid #5aa5cd;
  border-radius: 30px;
  box-shadow: 0px 4px 15px 0px rgba(90, 165, 205, 0.41);
  margin-right: 20px;
  width: calc((100% - 60px) / 4);
  padding-top: 50px;
  padding-bottom: 40px;
}
.home-nav-card:last-of-type {
  margin-right: 0;
}
.team-c {
  margin-top: -8px;
  padding-top: 100px;
  padding-bottom: 90px;
  background: linear-gradient(to bottom, #5aa5cd, #fffce6, #fdfdfb);
}
.ofc {
  object-fit: cover;
}
.preview-container {
  position: relative;
  width: 35%;
  margin: 0 auto 50px;
  border-radius: 30px;
  background-color: #fffffe;
}
.team-card {
  width: 28%;
  aspect-ratio: 100 / 131;
  position: relative;
  background-size: 100% 100%;
  border-radius: 30px;
  box-shadow: 0px 1px 12px 2px rgba(92, 112, 129, 0.4);
  margin-bottom: 50px;
}
.team-card:nth-of-type(1) {
  margin-right: 30px;
}
.home-link {
  text-decoration: none;
}
.home-link:hover {
  text-decoration: underline;
  color: #000;
}

.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 {
  background: #2de7f4;
  padding: 0;
  padding-top: 5%;
}
.card-front::after {
  content: "";
  background: url("https://static.igem.wiki/teams/5746/team/team-info-1.webp")
    no-repeat;
  background-size: 100%;
  width: 25%;
  height: 17%;
  display: block;
  position: absolute;
  right: -10px;
  bottom: -20px;
}
.card-front .name {
  padding-top: 30px;
  padding-bottom: 30px;
}

.card-back {
  background-color: #fff;
  padding: 20px 0px;
  border: 4px solid #27e6ec;
}
.card-back::after {
  content: "";
  background: url("https://static.igem.wiki/teams/5746/team/team-info-2.webp")
    no-repeat;
  background-size: 100%;
  width: 16%;
  height: 16%;
  display: block;
  position: absolute;
  right: -7%;
  top: -1%;
}
.team-card-item {
  background: #f0eff1;
  width: 90%;
}

.thumbnails-container {
  position: relative;
  padding: 0 40px;
}

.swiper-container {
  width: 100%;
  height: 240px;
  padding: 10px 0;
}

.swiper-slide {
  height: 100%;
  position: relative;
}
.swiper-slide-info {
  position: absolute;
  height: 0;
  width: 100%;
  opacity: 0.6;
  transition: all 0.4s ease;
  z-index: 1;
  border-radius: 9999px;
  overflow: hidden;
  transform: scale(0.95);
}
.swiper-slide-active .swiper-slide-info {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.swiper-slide:hover .slide-info {
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  background: url("https://static.igem.wiki/teams/5746/team/prev.webp")
    no-repeat;
  background-size: 100%;
  width: 4.7%;
  height: 48px;
  cursor: url("https://static.igem.wiki/teams/5746/common/cursor-2.webp"), auto;
}
.swiper-button-next:active,
.swiper-button-prev:active {
  cursor: url("https://static.igem.wiki/teams/5746/common/cursor-3.webp"), auto;
} 
.swiper-button-prev {
  left: -50px;
}
.swiper-button-next {
  background: url("https://static.igem.wiki/teams/5746/team/next.webp")
    no-repeat;
  background-size: 100%;
  right: -50px;
}
.nav-bar-desc-title {
  color: #18a3b7;
  font-size: 30px;
  font-style: italic;
}
.bg-light-blue {
  background: linear-gradient(to bottom, #5aa5cd, #fffce6, #fdfdfb);
  padding-top: 8px;
  margin-top: -8px;
}

.desc-title {
  font-size: 72px;
  color: #f3f5f5;
  width: max-content;
}
.desc .content {
  padding-top: 3.5%;
  padding-bottom: 3.4%;
}

.navbar-desc {
  width: 25%;
  float: left;
  border-radius: 20px 20px 5px 5px;
  background-color: #fff;
  box-shadow: 0px 1px 12px 2px rgba(255, 255, 255, 0.8);
}
.nav-bar-desc-title {
  width: 90%;
  text-align: center;
  margin-top: -10%;
  margin-left: 5%;
}
.navbar-desc.sticky-top {
  top: 150px;
}
.navbar-desc .nav {
  display: block;
  margin: 0 auto;
  font-size: 20px;
  text-align: left;
}
.scrollspy-example {
  width: 73%;
  margin-left: 27%;
  padding: 2% 2% 5.6% 4%;
  font-size: 14px;
  background-color: #fff;
  border-radius: 20px 20px 5px 5px;
  box-shadow: 0px 1px 12px 2px rgba(255, 255, 255, 0.8);
}
.scrollspy-example-1 {
  width: 100%;
  margin-left: 0;
  padding-top: 10px;
}
.scrollspy-example-1 .scrollspy-example-c {
  padding-top: 3%;
  background-color: transparent;
}
.scrollspy-example-1 .title {
  display: none;
}
.scrollspy-example .title {
  font-size: 30px;
  font-weight: 600;
  padding: 0 60px 0 20px;
  color: #000;
  width: fit-content;
  background: linear-gradient(to right, #27e6ec, #fffce6);
  border-radius: 999px;
  width: 100%;
  transform: translateY(40%);
}
.accordion-button {
  cursor: url("https://static.igem.wiki/teams/5746/common/cursor-2.webp"), auto !important;
  background: transparent;
  font-size: 30px;
}
.accordion-button:active {
  cursor: url("https://static.igem.wiki/teams/5746/common/cursor-3.webp"), auto !important;
}
.accordion-button:not(.collapsed) {
  background: transparent;
  box-shadow: none;
  color: #000;
}
.accordion-button::after {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 20px solid #183048;
  background-image: none !important;
}
.nav-pills {
  padding-top: 20px;
  max-height: calc(100vh - 400px);
  overflow-y: auto;
  padding-left: 20px;
}
.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus {
  color: #fff;
  background: #5ab1fe;
  cursor: url("https://static.igem.wiki/teams/5746/common/cursor-2.webp"), auto;
}
.nav-pills .nav-link:active {
  cursor: url("https://static.igem.wiki/teams/5746/common/cursor-3.webp"), auto;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background: #5ab1fe;
  /* font-size: 24px; */
}
.nav-pills .nav-link {
  padding-left: 10px;
  padding-right: 20px;
  position: relative;
  color: #26394a;
  font-size: 16px;
  margin-top: 20px;
  font-weight: bold;
}
.nav-pills .nav-link:nth-of-type(1) {
  margin-top: 0;
}
.children-nav .sub-nav-link {
  font-size: 14px;
  margin-bottom: 6px;
  padding-left: 10px;
}
.nav-pills .nav-link:after {
  content: "";
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #000;
  background-color: transparent;
}
.nav-pills .nav-link.active::after {
  background: #000;
}
.nav-pills .nav-link:hover::after {
  background: #000;
}

.nav-pills .nav-link:hover {
  background: #18a3b7;
}
.children-nav .sub-nav-link:hover {
  background: #18a3b7;
  color: #fff;
}
.desc-module {
  color: #333;
  font-size: 16px;
  position: relative;
  margin-bottom: 1%;
  text-align: justify;
}
.desc-module .sub-title {
  font-weight: bold;
  padding-left: 30px;
  margin-top: 10px;
  font-size: 18px;
}
.scrollspy-example-c {
  background: #fffce6;
  padding: 8% 30px 20px;
  border-radius: 0 0 50px 50px;
}
.children .scrollspy-example-c {
  padding-top: 4%;
}
.desc-module:last-of-type {
  margin-bottom: 0;
}
.desc-module p {
  text-indent: 32px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.desc-module table p {
  all: unset; /* 或者覆盖上面的样式 */
}
.desc-module li {
  margin-bottom: 10px;
}
.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;
}
.desc-module ul ul {
  list-style-type: disc;
}
ol.bracketed1 > li::marker {
  content: "(" counter(list-item) ") ";
}

/* 顶部进度条样式 */
.progress-container {
  position: sticky;
  top: 80px;
  left: 0;
  width: 100%;
  height: 8px;
  z-index: 1030;
  pointer-events: none;
  background: transparent;
}

.progress-bar-title {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, #27e6ec, #fffce6);
  border-radius: 0 4px 4px 0;
  transition: width 0.1s ease-out;
  position: relative;
}
.progress-bar-title::after {
  content: "";
  background: url("https://static.igem.wiki/teams/5746/common/loading.webp")
    no-repeat;
  width: 80px;
  height: 42px;
  position: absolute;
  right: -40px;
  top: -20px;
  background-size: 100% 100%;
}
.progress-bar-end::after {
  right: -20px;
  top: 60px;
  position: fixed;
}
.f130 {
  font-size: 130px;
}
.home-movie {
  background: url("https://static.igem.wiki/teams/5746/home/home-movie.webp")
    no-repeat;
  background-size: 89.3% 100%;
  background-position: center center;
  margin-bottom: 10.4%;
}
.film-image {
  opacity: 0;
  transform: translateY(100px);
}
.film-image.animate {
  animation: slideIn 1s forwards;
}

.film-image:nth-child(1).animate {
  animation-delay: 0.3s;
}

.film-image:nth-child(2).animate {
  animation-delay: 0.6s;
}

.film-image:nth-child(3).animate {
  animation-delay: 0.9s;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.go-top {
  width: 50px;
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 100000;
  cursor: url("https://static.igem.wiki/teams/5746/common/cursor-2.webp"), auto;
}
.go-top:active {
  cursor: url("https://static.igem.wiki/teams/5746/common/cursor-3.webp"), auto;
}
/* 全屏加载样式 */
.fullpage-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(252, 250, 248);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 20px;
  }
  .dropdown-hover > .dropdown-toggle {
    pointer-events: none;
  }
  /* 启用 hover 触发 */
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: -10px; /* 移除菜单间距 */
    top: 100%;
  }
}
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
  .navbar {
    background: #5aa5cd;
  }
  .home-1 img {
    width: 20px;
  }
  .home-2 {
    padding-left: 0;
    padding-right: 0;
  }
  .home-2 img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .home-2 .title {
    width: 100%;
    position: relative;
  }
  .home-3 .col-8 {
    width: 100%;
  }
  .home-3 .home-3-c {
    width: 100%;
  }
  .home-nav .home-nav-card {
    width: 100%;
    margin-bottom: 16px;
  }
  .page-nav .nav-link {
    color: #fff;
    font-size: 18px;
  }
  .page-nav .dropdown-item {
    text-align: left;
  }
  .navbar-desc {
    display: none;
  }
  .scrollspy-example {
    margin-left: 0;
    width: 100%;
  }
  .accordion-button {
    font-size: 18px;
  }
  .f110 {
    font-size: 30px;
  }
  .f115 {
    font-size: 30px;
  }
  .f130 {
    font-size: 36px;
  }
  .f40 {
    font-size: 2.08vw;
  }
  .f36 {
    font-size: 18px;
  }
  .banner img {
    min-height: auto !important;
  }
  .progress-container {
    top: 70px;
  }
  .team-c {
    padding: 20px;
  }
  .preview-container {
    width: 70%;
  }
  .swiper-container {
    height: 80px;
  }
  .swiper-button-next {
    right: 0;
  }
  .swiper-button-prev {
    left: 0;
  }
}
