@charset "UTF-8";
.left-aligned {
  margin-left: auto;
}

.bg-dark {
  background-color: #D9DFDF !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: 0.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;
}

#loader {
  width: 100%;
  height: 100vh;
}

/* nav */
header {
  height: 100vh;
}

.bg-hero {
  background-attachment: fixed;
}

#menu-nav {
  display: flex;
  width: 100%;
  backdrop-filter: blur(5px);
  transition: visibility 0s, 0.6s, opacity 0.6s linear, transform 1s;
}
#menu-nav .nav-link {
  color: white;
}
#menu-nav #logo-name {
  color: white;
}

.navbar-after-scroll {
  height: 10%;
  background-color: rgba(255, 255, 255, 0.5);
}
.navbar-after-scroll a {
  color: black;
  height: 50%;
}

dropdown:hover .dropdown-menu {
  display: block;
}

#sidebar {
  display: block;
  font-size: 10px;
  height: 100vh;
  position: sticky;
  top: 15vh;
  align-items: start;
  justify-content: flex-start;
  padding-bottom: 164px;
  overflow-y: auto;
}
#sidebar::-webkit-scrollbar {
  width: 12px;
  /* 垂直滚动条的宽度 */
  height: 12px;
  /* 水平滚动条的高度 */
}
#sidebar a {
  display: block;
  color: #a4a4a4;
  height: 40px;
  width: 100%;
  text-overflow: ellipsis;
  text-wrap: nowrap;
  overflow: hidden;
  font-size: 18px;
}
#sidebar a:hover {
  color: white;
}
#sidebar a:active {
  color: white;
  background-color: rgba(128, 128, 128, 0.388);
}
#sidebar nav {
  width: calc(100% - 3rem);
}
#sidebar.sidebar-sm a {
  height: 28px;
}
#sidebar.sidebar-sm .nav-link {
  padding: 0.1rem 1rem;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: rgba(99, 99, 99, 0.5);
}

/* header */
header {
  /* background-image: ; */
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: hidden;
  background-repeat: no-repeat;
  /* background-repeat-x: no-repeat; */
  /* background-repeat-y: no-repeat; */
  background-size: cover;
  background-position: center;
  background-position-x: center;
  background-position-y: center;
  position: relative;
  color: #00fffb;
  font-family: getronde;
}
@font-face {
  header {
    font-family: "getronde";
    src: url("https://static.igem.wiki/teams/4844/wiki/fonts/getronde-51qev-webfont.woff2") format("woff2"), url("https://static.igem.wiki/teams/4844/wiki/fonts/getronde-51qev-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
  }
}

/* content */
.content {
  background-color: #012c32;
}

/* body */
body {
  margin: 0;
  font-family: var(--bs-font-sans-serif);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: whitesmoke;
  background-color: #012c32;
}
body ul {
  list-style-type: circle;
  margin-bottom: 16px;
}
body li {
  margin: 16px;
}
body figcaption {
  padding: 0 20px;
  font-family: "Montserrat";
  font-weight: 100;
  color: #cecece;
  text-align: center;
  font-size: 14px;
  margin-top: 12px;
  margin-bottom: 24px;
}
body td {
  padding: 1rem;
}

.cardholder {
  width: 100%;
  margin: 0;
  min-height: 80vh;
  display: grid;
  grid-auto-flow: column;
  place-content: center;
  column-gap: 100px;
}
.cardholder figure {
  display: grid;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}
.cardholder figure > * {
  grid-area: 1/1;
  transition: 0.4s;
}
.cardholder figure figcaption {
  display: grid;
  align-items: end;
  font-family: sans-serif;
  font-size: 2.3rem;
  color: #0000;
  padding: 0.75rem;
  background: var(--c, #0009);
  clip-path: inset(0 var(--_i, 100%) 0 0);
  -webkit-mask-composite: nor;
  -webkit-mask-clip: text, padding-box;
  margin: -1px;
  color: white;
  opacity: 1;
}
.cardholder figure figcaption h3 {
  line-height: 1.5;
  -webkit-mask: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-composite: nor;
  -webkit-mask-clip: text, padding-box;
  font-size: 4rem;
  font-weight: bold;
}
.cardholder figure:hover figcaption {
  --_i: 0%;
}
.cardholder figure:hover img {
  transform: scale(1.2);
}
@supports not (-webkit-mask-clip: text) {
  .cardholder figure figcaption {
    -webkit-mask: none;
    color: #fff;
  }
}

section {
  padding-top: 70px;
}

#references h3 {
  color: white;
}
#references p {
  color: #b6b6b6;
}

.link {
  padding: 0 20px;
  font-family: "Montserrat";
  font-weight: 100;
  color: #cecece;
  text-align: center;
}

.award {
  padding: 0 20px;
  font-family: "Montserrat";
  font-weight: 100;
  text-align: center;
}

/* footer */
footer {
  color: black !important;
  font-weight: 1;
  text-decoration: none;
}
footer a {
  color: blue;
  font-weight: 1;
  text-decoration: none;
}
footer a :hover {
  color: black;
  text-decoration: underline;
}

/* team image */
.team-img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  object-position: 100% 35%;
}

.team-img2 {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  object-position: 100% 0%;
}