@font-face {
  font-family: Titan;
  src: url(https://static.igem.wiki/teams/4628/wiki/fonts/titanone.ttf);
}
@font-face {
  font-family: Nunito-Reg;
  src: url(https://static.igem.wiki/teams/4628/wiki/fonts/nunito-reg.ttf);
}
@font-face {
  font-family: Nunito-Bold;
  src: url(https://static.igem.wiki/teams/4628/wiki/fonts/nunito-bold.ttf);
}
@font-face {
  font-family: Montserrat-Reg;
  src: url(https://static.igem.wiki/teams/4628/wiki/fonts/montserrat-regular.otf);
}
.vp-title {
  font-size: 27px;
  font-family: "Red Hat Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", STHeiti, "Microsoft YaHei", SimSun, sans-serif;

}
@font-face {
  font-family: Montserrat-Semi;
  src: url(https://static.igem.wiki/teams/4628/wiki/fonts/montserrat-semibold.otf);
}
@font-face {
  font-family: Montserrat-Bold;
  src: url(https://static.igem.wiki/teams/4628/wiki/fonts/montserrat-bold.otf);
}
@font-face {
  font-family: Montserrat-Black;
  src: url(https://static.igem.wiki/teams/4628/wiki/fonts/montserrat-black.otf);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* body {
    position: relative;
    padding-top: 100px;
    height: 100vh;
    width: 100vw;
    max-width: 100vw;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: var(--bg);
    font-family: Montserrat-Reg, sans-serif;
  } */
body {
  width: 100%;
  height: 100%;
  margin: 0; /* 移除默认的margin */
  padding: 0; /* 移除默认的padding */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  font-family: "Red Hat Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", STHeiti, "Microsoft YaHei", SimSun, sans-serif;

}
body.fix {
  overflow: hidden;
}
a {
  text-decoration: none;
}
li {
  list-style: none;
}
:root {
  --bg: #fff9e9;
  --lg: #d5e5ca;
  --mg: #6d966b;
  --dg: #006c62;
  --y: #ffc570;
  --shy: #ffe3b9;
  --font: #402c1a;
  --disc: #a9c09e;
}
#scrollbar {
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  width: 0;
  background-color: var(--mg);
  transition: 0.2s;
}
#loadblock {
  width: 100%;
  height: calc(100vh - 90px);
  position: fixed;
  z-index: 800;
  bottom: 0;
  left: 0;
  background-color: var(--bg);
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  flex-direction: column;
  gap: 20px;
  transition: opacity 1s;
}
#loadblock.hide {
  opacity: 0;
}
#loadblock img {
  width: 20vmin;
  min-width: 300px;
  aspect-ratio: 1;
  background-size: contain;
  animation: load infinite linear 16s;
}
@keyframes load {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}
#loadblock .txt {
  color: var(--mg);
  font-family: Nunito-Bold;
  font-size: 2em;
}
html {
  scroll-padding-top: calc(100px + 5px);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
::-webkit-scrollbar {
  display: none;
}
/* body {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
  } */
#gotop {
  position: fixed;
  bottom: min(30px, 5vw);
  right: min(50px, 4vw);
  width: fit-content;
  height: min(140px, 10vw);
  transition: height 0.5s;
}
#gotop img {
  height: 100%;
  object-fit: contain;
  object-position: center;
}
#gotop .text-wrap {
  user-select: none;
  opacity: 0;
  transition: 0.5s;
  position: absolute;
  top: 62%;
  left: 60%;
  transform: translateX(-50%);
  font-family: Titan, sans-serif;
  color: royalblue;
  font-size: min(10px, 1vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}
#gotop .text-wrap * {
  text-wrap: nowrap;
}
#gotop:hover .text-wrap {
  opacity: 1;
}
.poster {
  width: calc(100vw - 250px);
  max-width: 1200px;
  aspect-ratio: 4;
  left: 50%;
  left: 0;
  right: 0;
  margin: 10px auto;
  position: relative;
}
.poster::after,
.poster::before {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: calc(25vw - 50px);
}
.poster::after {
  z-index: -1;
  top: 18%;
  background-color: rgba(255, 197, 112, 0.3);
}
.poster::before {
  z-index: -2;
  top: 35%;
  background-color: rgba(109, 150, 107, 0.1);
}
.poster .bg {
  position: relative;
  top: 10px;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--mg);
  border-radius: calc(25vw - 50px);
}
.poster .img {
  position: absolute;
  vertical-align: bottom;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 4;
  overflow: hidden;
  border-radius: calc(25vw - 50px);
  background-color: var(--bg);
}
.poster .img img {
  width: 100%;
  height: 100%;
  vertical-align: bottom;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  border: none;
  background-color: transparent;
}
.poster .title {
  position: absolute;
  left: -45px;
  top: 50%;
  transform: translateY(-50%);
  font-family: Titan, sans-serif;
  color: var(--mg);
  font-size: 60px;
  transition: left 0.5s, font-size 0.5s;
}
.poster .title::after {
  position: absolute;
  display: block;
  content: attr(data-text);
  left: -20px;
  top: -15px;
  color: var(--mg);
  padding: 8px;
  -webkit-text-stroke: 8px transparent;
  -webkit-background-clip: text;
  background-color: var(--bg);
}

.main {
  display: flex;
  max-width: 100vw;
  margin: 50px 0;
  margin-bottom: 150px;
  padding: 0 70px;
  justify-content: center;
}
.main .menubg {
  position: relative;
  flex: none;
  width: 280px;
  border-radius: 20px;
  margin: 50px 0;
  overflow: hidden;
  transition: width 0.5s;
}
.main .menubg #menu {
  position: sticky;
  padding: 30px 20px;
  width: 100%;
  transition: width 0.5s;
}
.main .menubg #menu .t1 {
  position: relative;
  text-transform: capitalize;
  padding: 5px;
  font-size: 15px;
  transition: 0.5s;
}
.main .menubg #menu .t1::before {
  opacity: 0.3;
  position: absolute;
  content: "";
  display: block;
  width: 18px;
  height: 20px;
  left: -2px;
  top: 8px;
  transform: translateX(-100%);
  transition: 0.5s;
  background-image: url(https://static.igem.wiki/teams/4628/wiki/menuicon.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
.main .menubg #menu .t1:hover::before {
  opacity: 1;
}
.main .menubg #menu .t1.unfold::before {
  top: 10px;
}
.main .menubg #menu .t1.unfold {
  font-size: 20px;
}
.main .menubg #menu .t1.unfold + .h2-sec {
  grid-template-rows: 1fr;
  opacity: 1;
  font-size: 10px;
}
.main .menubg #menu .t1.unfold + .h2-sec .t2 {
  text-transform: capitalize;
  padding: 3px 15px;
  border-radius: 5px;
}
.main .menubg #menu .h2-sec {
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid 0.5s, opacity 0.8s;
  opacity: 0;
  font-size: 0;
}
.main .menubg #menu .h2-sec .t2 {
  transition: 0.8s;
  min-height: 0;
}
.main .menubg #menu .divide {
  opacity: 0;
  height: 0;
  width: fit-content;
  position: relative;
  margin-top: 0;
  left: 15px;
  transition: 0.8s;
}
.main .menubg #menu .t1.unfold + .h2-sec .divide {
  height: 20px;
  margin-top: 5px;
  opacity: 1;
}
.main .menubg #menu .divide img {
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.main .menubg #menu.fixed {
  position: fixed;
  top: 80px;
  width: 280px;
}
.main #content {
  position: relative;
  flex: 1;
  max-width: min(800px, calc(100% - 280px));
  padding: 30px 50px;
  border-radius: 20px;
  transition: width 0.5s;
}
.main #content::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  top: 20px;
  left: 15px;
}
.main #content .s1 {
  margin: 30px 0;
  width: 100%;
}
.main #content .s1.ref p {
  text-indent: 0;
  font-size: 0.8em;
  text-align: left;
}
.main #content .s1 p {
  padding-left: 40px;
}
.main #content .s2 {
  margin: 20px 0;
  width: 100%;
}
.main #content .s2 p {
  padding-left: calc(40px + 2em);
}
.main #content .math {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-left: 40px;
}
.main #content .h1-wrap {
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
  margin: 40px 0;
}
.main #content .h1-wrap h1 {
  padding: 2px;
  letter-spacing: 0.02em;
}
.main #content h2 {
  margin: 30px 20px;
}
.main #content p {
  width: 100%;
  margin: 10px 0;
  text-align: justify;
  text-indent: 2em;
  line-height: 1.5em;
}
.main #content p.no-indent {
  text-indent: 0;
}
.main #content img,
.main #content video {
  vertical-align: bottom;
  max-width: 100%;
  height: 400px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}
.main #content .img-wrap {
  width: 100%;
  display: flex;
  margin: 15px 0;
  padding-left: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.main #content .img-wrap img {
  object-fit: contain;
}
.main #content .img-wrap .border {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  border: 1px solid var(--y);
  box-shadow: 5px 6px var(--y);
  overflow: hidden;
  background-color: #fff;
}
.main #content .img-wrap .disc {
  font-size: 0.8em;
}
.main #content .o-o {
  display: flex;
  gap: 20px;
}
@media all and (max-width: 920px) {
  .main .menubg {
    width: 0;
    margin: 0;
  }
  .main .menubg #menu,
  .main .menubg #menu.fixed {
    width: 0;
    opacity: 0;
    pointer-events: none;
  }
  .main #content {
    min-width: calc(100vw - 100px);
  }
  .poster {
    width: calc(100vw - 100px);
    margin-left: 50px;
    transition: width 0.5s;
  }
  .poster .title {
    font-size: min(60px, 10vw);
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #gotop {
    height: max(30px, 15vw);
  }
}
@media all and (max-width: 700px), all and (max-aspect-ratio: 2/3) {
  .main {
    gap: 0;
    background-color: #fffdf7 !important;
    margin-bottom: 0;
    padding: 0 !important;
  }
  .main #content {
    flex: -1;
    flex-grow: -1;
    flex-shrink: -1;
    width: 100vw !important;
    max-width: 100vw;
    margin: 0;
    padding: 0 20px;
  }
  .main #content.mem {
  }
  .main #content::before {
    display: none;
  }
  #gotop {
    height: 25vw;
    display: none;
  }
  .main #content h2,
  .main #content h3,
  .main #content p {
    max-width: 100%;
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
  .main #content p.quote {
    padding-left: 20px !important;
  }
  .main #content .img-wrap {
    padding-left: 0 !important;
  }
  .main #content .img-wrap img {
    height: 200px;
  }
}
.poster .title {
  top: 80%;
}
.main {
  margin-top: 150px;
}
.main .menu {
  display: none;
}
.main #content {
  background-color: transparent !important;
  max-width: 1000px;
  flex: 1;
  padding: 0;
}
.main #content::before {
  display: none;
}
.main #content .s1 .h1-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.main #content .s1 .h1-wrap h1 {
  position: relative;
  color: royalblue;
  font-family: Titan, sans-serif;
  font-size: 40px;
}
.main #content .s1 .line {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 40px;
  column-gap: 20px;
}
.main #content .s1 .h1-wrap h1::after {
  content: attr(data-text);
  display: block;
  position: absolute;
  z-index: 1;
  left: -8px;
  top: -8px;
  width: fit-content;
  height: 100%;
  text-wrap: nowrap;
  color: royalblue;
  padding: 2px;
  -webkit-text-stroke: 8px transparent;
  -webkit-background-clip: text;
  background-color: var(--bg);
}
#content .card {
  position: relative;
  background-color: #fffdf7;
  width: 300px;
  border-radius: 20px;
  box-shadow: 6px 6px royalblue;
  padding: 20px;
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  transition: 1s;
  transform: scale(1);
}
#content .card .hole {
  top: 20px;
  right: 20px;
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--mg);
  overflow: hidden;
}
#content .card .hole::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: royalblue;
  top: 6px;
  left: 6px;
}
#content .card .mid {
  width: 75%;
  aspect-ratio: 1;
  position: relative;
}
#content .card .mid .avatar {
  position: relative;
  transform-style: preserve-3d;
  z-index: 4;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid royalblue;
  background-color: #fffdf7;
  opacity: 1;
  transition: 1s;
  background-position: center;
  background-size: cover;
}
#content .card .mid .avatar::after,
#content .card .mid .avatar::before {
  width: 100px;
  height: 140px;
  display: block;
  content: "";
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
}

#content .card:hover .mid .avatar {
  opacity: 0.3;
}
#content .card .mid .scroll {
  position: absolute;
  z-index: 10;
  top: 0;
  left: -15px;
  width: calc(100% + 30px);
  height: calc(100% + 20px);
  overflow: scroll;
  opacity: 0;
  transition: 1s;
}
#content .card .mid .scroll p {
  color: #395038;
  width: 100%;
  text-align: justify;
  text-indent: 1.5em;
  padding-left: 0;
}
#content .card:hover .mid .scroll {
  opacity: 1;
}
#content .card .bot {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
#content .card .bot .name {
  color: royalblue;
  font-family: Montserrat-Bold;
  font-size: 25px;
  letter-spacing: 0.05px;
}
#content .card .bot .tag {
  font-family: Nunito-Bold;
  background-color: royalblue;
  font-size: 18px;
  color: #fffdf7;
  padding: 0 15px;
  border-radius: 20px;
}
#content .card .star {
  position: absolute;
  width: 50px;
  height: 80px;
  top: -30px;
  right: -20px;
  background-image: url(https://static.igem.wiki/teams/4628/wiki/star.svg);
  background-size: contain;
  background-repeat: no-repeat;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: 1s;
}
#content .card:hover .star {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
#content .card:hover {
  transform: scale(1.04);
  box-shadow: 15px 15px royalblue;
}
