body {
  width: 100%;
  height: 100%;
  padding-top: 128px;
  cursor: url("https://static.igem.wiki/teams/5764/common/cursor.webp"), auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}
.dropdown-item {
  cursor: url("https://static.igem.wiki/teams/5764/common/cursor.webp"), auto;
}
.left-aligned {
  margin-left: auto;
}
.bg-dark {
  background-color: #6752ca !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: 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 {
  --bs-navbar-nav-link-padding-x: 0px !important;
  --bs-navbar-padding-y: 0;
  --bs-navbar-color: #6752ca;
  --bs-navbar-active-color: black;
  background-color: #fff !important;
  box-shadow: 0px 3px 17px 1px rgba(58, 11, 105, 0.49);
  padding-bottom: 6px;
}

.navbar-dark,
.navbar[data-bs-theme="dark"] {
  --bs-navbar-active-color: #9e9c9c;
  --bs-navbar-color: #fff;
  background-color: #6752ca !important;
  background: url("https://static.igem.wiki/teams/5764/common/nav-bg.webp");
  background-size: 100% 120%;
}
.navbar-brand {
  margin-top: -10px;
}
.nav-item .nav-link {
  /* font-weight: 600; */
  font-size: 16px;
  padding-top: 0;
  padding-bottom: 0;
  cursor: url("https://static.igem.wiki/teams/5764/common/cursor.webp"), auto;
}
.nav-item .nav-link-title {
  margin-top: -1em;
  width: 100px;
  text-align: center;
  line-height: 14px;
  margin-bottom: 10px;
}
.nav-item .nav-link-img {
  width: 102px;
  left: 50%;
  transform: translateX(-50%);
}
.dropdown-toggle::after {
  position: absolute;
  bottom: 0.5em;
  right: 2px;
  display: none;
}
.dropdown-menu li {
  padding-left: 4px;
  padding-right: 4px;
}
.dropdown-item {
  color: #555456;
  --bs-dropdown-link-hover-color: #6752ca;
  --bs-dropdown-link-hover-bg: #E1DCF6;
  border-radius: 11px;
}
.pt50 {
  padding-top: 50px;
}
.rounded-50 {
  border-radius: 50px;
}
.home-nav-title {
  font-family: Arial;
  font-weight: bold;
  font-size: 30px;
  color: #ffffff;
}
.container .row {
  --bs-gutter-x: 0;
}
.custom-cursor {
  cursor: url("https://static.igem.wiki/teams/5764/common/cursor.webp"), auto;
}
.go-top {
  position: fixed;
  bottom: 20px;
  right: 10px;
  z-index: 100000;
}
/* 全屏加载样式 */
.fullpage-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(249, 244, 232);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loading-text {
  color: #333;
  font-size: 18px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 页面内容样式 - 初始隐藏 */
.page-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}
/* 图片淡入淡出效果 */
.fade-image {
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.bg-light-yellow {
  background-color: rgb(254, 251, 244);
}
.bg-content {
  background: url("https://static.igem.wiki/teams/5764/common/content-bg.webp");
  background-size: cover;
  border-bottom: 1px solid transparent;
}
.member-title {
  overflow: hidden;
  font-family: Arial;
  font-weight: bold;
  font-size: 35px;
  background: url("https://static.igem.wiki/teams/5764/team/title-bg.webp");
  background-size: 100% 100%;
  width: fit-content;
  color: #fff;
  padding: 30px 50px 35px;
  margin-left: -20px;
  margin-bottom: 50px;
}
.bg-header {
  background: url("https://static.igem.wiki/teams/5764/common/header-bg.webp");
}
.bg-team-card {
  background: #6752ca;
  border-radius: 20px;
  padding: 10px;
}
.card-wrapper {
  perspective: 1000px;
  transform-style: preserve-3d;
}
.team-card {
  padding-bottom: 131.43%;
  position: relative;
  background-size: 100% 100%;
}

.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;
}
.card-front {
  border-radius: 15px;
  background: rgb(247, 226, 197);
}
.card-back {
  transform: rotateY(180deg);
}

.card-back::-webkit-scrollbar {
  background: #f6f9fd;
  width: 2px;
  height: 2px;
  border-radius: 2px;
}
.card-back::-webkit-scrollbar-thumb {
  background-color: #e7b558;
  border-radius: 2px;
}
.team-card-item {
  top: 50%;
  transform: translateY(-50%);
}
.mb150 {
  margin-bottom: 150px;
}
.card-wrapper.flipped .card-front {
  transform: rotateY(180deg);
}

.card-wrapper.flipped .card-back {
  transform: rotateY(0deg);
}
.card-wrapper.placeholder {
  visibility: hidden;
  height: 0;
  margin-bottom: 0;
}
.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;
}
.desc-title {
  font-size: 72px;
  color: #f3f5f5;
  width: max-content;
}
.desc .content {
  padding-top: 3.5%;
  padding-bottom: 3.4%;
}
.desc .navbar {
  box-shadow: none;
  background: transparent !important;
}
.navbar-desc {
  width: 25%;
  float: left;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.navbar-desc.sticky-top {
  top: 150px;
}
.navbar-desc .nav {
  flex-direction: column;
  margin: 0 auto;
  font-size: 20px;
  text-align: left;
  border-left: 2px solid #000202;
}
.scrollspy-example {
  width: 75%;
  margin-left: 25%;
  background: #ffffff;
  border-radius: 30px;
  padding: 3% 7% 5.6% 4%;
  font-size: 14px;
  text-align: justify !important;
  border: 1px solid #D8C4F9;
}
.scrollspy-example .title {
  font-weight: bold;
  font-size: 30px;
  padding: 10px 90px 10px 20px;
  color: #fff;
  margin-bottom: 3%;
  width: fit-content;
  background-color:rgb(99, 86, 195);
  border-top-right-radius: 999px;
  box-shadow: 0px 3px 17px 1px rgba(58,11,105,0.49);
}
.nav-pills {
  padding-top: 20px;
}
.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus {
  color: #6752CA;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #6752CA;
  background-color: transparent;
}
.nav-pills .nav-link {
  padding-left: 20px;
  padding-right: 0;
  position: relative;
  color: #000202;
  font-size: 20px;
  margin-bottom: 20px;
}
.nav-pills .nav-link::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #000202;
  left: -8px;
  top: 50%;
  margin-top: -7px;
}
.nav-pills .nav-link.active::after {
  background: #6752CA;
}
.nav-pills .nav-link:hover::after {
  background: #6752CA;
}
.desc-module {
  margin-bottom: 7%;
  text-align: justify;
}
.desc-module:last-of-type {
  margin-bottom: 0;
}
.desc-module p {
  text-indent: 32px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.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;
}
@media screen and (max-width: 992px) {
  body {
    padding-top: 90px !important;
  }
  .go-top {
    width: 40px;
  }
}
@media screen and (max-width: 768px) {
  .mobile-none {
    display: none;
  }
  .nav-item .nav-link-title {
    margin-top: 10px;
    margin-bottom: 20px;
    display: inline-block;
  }
  .dropdown-toggle::after {
    position: inherit;
    bottom: auto;
    right: auto;
  }
  .members-mobile-view {
    flex-direction: column;
    margin-bottom: 20px;
  }
  .members-mobile-view .card-wrapper {
    width: 100%;
    margin-bottom: 10px;
  }
  .navbar-desc {
    display: none;
  }
  .scrollspy-example {
    margin-left: 0;
    width: 100%;
  }
}