body { padding-top: 80px; cursor: url("https://static.igem.wiki/teams/5967/common/cursor.webp"), auto; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #5CBCE6 !important; }
.bg-hero { background-color: #45b06cff; }

/* 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: 1.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: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }
.custom-cursor {
  cursor: url("https://static.igem.wiki/teams/5967/common/cursor.webp"), auto;
}
a:-webkit-any-link {
  cursor: url("https://static.igem.wiki/teams/5967/common/cursor.webp"), auto;
}
.bg-light-blue {
  background: #E6F1F7;
}
/* 全屏加载样式 */
.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;
}
/* 页面内容样式 - 初始隐藏 */
.page-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}
/* 图片淡入淡出效果 */
.fade-image {
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.home-title {
  font-size: 43px;
  background: #00A6DD;
  font-weight: bold;
  width: fit-content;
  padding: 0 30px;
  margin: 130px auto 20px;
}
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #D1D8E0;
  opacity: 0.8;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #FAFCFC;
}
.swiper-pagination {
  padding-right: 20px;
  text-align: right;
}
.home-team {
  padding-bottom: 150px;
}
.team-title {
  font-size: 85px;
  z-index: 1;
  bottom: 0;
}
.team-card-title {
  color: #5CBCE6;
  font-weight: bold;
  font-size: 36px;
  padding: 10px 0 10px 40px;
  margin-bottom: 60px;
  border-bottom: 2px solid;
}
.team-card-item {
  background: rgba(224, 226, 224, 1);
}
.card-wrapper.flipped .card-front {
  transform: rotateY(180deg);
}

.card-wrapper.flipped .card-back {
  transform: rotateY(0deg);
}
.card-wrapper {
  perspective: 1000px;
  transform-style: preserve-3d;
}
.team-card {
  padding-bottom: 131.43%;
  position: relative;
  background-size: 100% 100%;
  border-radius: 15px;
  box-shadow: 0px 1px 10px 2px rgba(50, 84, 102, 0.41);
}

.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: 15px;
}
.card-front {
  background: #5CBCE6;
}
.card-back {
  background-color: #5CBCE6;
  transform: rotateY(180deg);
  padding: 52px 24px;
}
.f26 {
  font-size: 26px;
}
.common-title {
  font-size: 70px;
}

.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 16px 2px rgba(51, 102, 128, 0.35);
  border-radius: 20px;
}
.nav-bar-desc-title {
  width: 100%;
  position: relative;
}
.navbar-desc.sticky-top {
  top: 150px;
}
.navbar-desc .nav {
  flex-direction: column;
  margin: 0 auto;
  font-size: 20px;
  text-align: left;
}
.scrollspy-example {
  width: 73%;
  margin-left: 27%;
  padding: 0% 2% 5.6% 2%;
  font-size: 14px;
  border-left: 1px solid #5CBCE6;
}
.scrollspy-example .title {
  font-size: 24px;
  font-weight: 600;
  padding: 10px 50px 10px 20px;
  color: #fff;
  width: fit-content;
  border-radius: 0px 30px 30px 0px;
  background: #5CBCE6;
}
.scrollspy-example .sub-title {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
}
.desc .nav-item {
  margin-bottom: 20px;
}
.nav-pills {
  padding-top: 20px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding-left: 0px;
  margin: 0 !important;
  width: 100%;
}
.nav-pills .sub-nav-link {
  padding-left: 50px;
  padding-right: 20px;
  font-size: 20px;
  color: #403F3F;
}
.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus,
.nav-pills .sub-nav-link:hover,
.nav-pills .sub-nav-link:focus {
  color: #fff;
  background: #5CBCE6;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background: #5CBCE6;
}
.nav-pills .nav-link {
  padding-left: 50px;
  padding-right: 20px;
  position: relative;
  color: #060606;
  font-size: 22px;
  border-radius: 0;
}
.nav-pills .nav-link:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 26px;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #060606;
}
.nav-pills .nav-link.active::after {
  background: #fff;
}
.nav-pills .nav-link:hover::after {
  background: #fff;
}

.nav-pills .nav-link:hover {
  background: #5CBCE6;
}

.desc-module {
  color: #333;
  font-size: 16px;
  position: relative;
  margin-bottom: 1%;
}
.scrollspy-example-c {
  padding: 30px 30px 20px 0;
  border-radius: 0 0 50px 50px;
}
.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;
}
.navbar.page-nav .nav-link {
  padding-left: 20px;
  padding-right: 20px;
  color: #5CBCE6;
} 
.dropdown-toggle::before{
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .6em solid;
    border-right: .4em solid transparent;
    border-bottom: 0;
    border-left: .4em solid transparent;
    transition: transform .15s ease-in-out;
}
.dropdown-toggle::after {
  display: none;
}
.dropdown-toggle.show::before {
  transform: rotate(180deg);
}
@media (min-width: 992px) {
  .navbar.page-nav>.container {
    justify-content: center;
  }
  .navbar-collapse {
    width: fit-content;
    flex-grow: 0;
  }
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    background: #5CBCE6;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 10px;
    border-radius: 10px;
    border: none;
    --bs-dropdown-link-hover-bg: transparent;
    --bs-dropdown-link-color: #fff !important;
    --bs-dropdown-link-hover-color: #F5FF7A !important;
    --bs-dropdown-link-active-color:#F5FF7A !important;
    --bs-dropdown-link-active-bg:transparent !important;
  }
  .dropdown-item {
    /* color: #fff !important; */
    text-align: center;
    font-weight: bold;
  }
}
@media (max-width: 768px)  {
  .header-slogan {
    display: none;
  }
  .navbar-desc {
    display: none;
  }
  .scrollspy-example {
    width: 100%;
    margin-left: 0;
  }
  .common-title {
    font-size: 24px;
  }
}