.header-navbar {
  font-family: 'Times New Roman', Times, serif !important;
}
.header-navbar .dropdown-toggle::after {
  display: none;
}
.header-navbar .navbar-nav .nav-link {
  color: #fff;
  font-size: 22px;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}
.container {
  width: 67%;
  padding: 0;
}
.home-content {
  font-size: 22px;
  line-height: 56px;
  background: url("https://static.igem.wiki/teams/5526/home-c-bg.png");
}
.home-content .title-bg {
  background: #00a5a7;
  color: #fff;
  border-radius: 0px 20px 20px 0px;
  padding-left: 20px;
  padding-right: 40px;
  margin-bottom: 50px;
  font-size: 33px;
  display: inline-block;
  min-width: 400px;
  font-weight: 800;
  text-align: left;
}
.home-content .title-bg img {
  top: -10px;
  right: -80px;
}
.home-content .title {
  color: #0b8fa7;
  font-size: 25px;
  text-align: center;
}
.home-c-1 {
  padding-top: 6.1%;
  padding-bottom: 6.25%;
}
.home-c-1-l {
  width: 45%;
  padding-right: 80px;
  margin-right: 50px;
}
.home-c-1-1-img {
  width: 9.8%;
  bottom: 0;
  right: -10%;
}
.home-c-1-img {
  width: 36%;
}

.home-c-2-r {
  width: 75%;
  padding-right: 80px;
  margin-left: 17px;
}
.home-c-2-r .home-c-r {
  width: 67%;
  margin-left: 33%;
  margin-bottom: 14%;
}
.home-c-2-img {
  width: 25%;
}
.home-c-3 {
  padding-top: 7%;
  padding-bottom: 6%;
  background: url("https://static.igem.wiki/teams/5526/home-c-bg-1.png");
}
.home-c-3 .home-c-1-l {
  padding-right: 0;
  width: 50%;
}
.home-c-3-img {
  width: 70%;
  margin-left: 40%;
}
.home-c-3-1-img {
  top: 16px;
  left: 31px;
  width: 6.6%;
}
.home-c-4 {
  padding-top: 7%;
  padding-bottom: 13%;
}
.home-c-4 .home-c-1-l {
  padding-right: 0;
  width: 50%;
}
.home-c-4-t {
  margin-left: 4%;
  padding-right: 8%;
}
.home-c-4-img {
  width: 17%;
  right: -7%;
  top: 50%;
}
.team .content {
  background: #f2fcfb;
  padding-bottom: 6%;
}
.team .card-wrapper {
  width: 62%;
  margin: 0 auto;
}
.team .card {
  width: 42%;
  border: none;
  background: transparent;
}
.team .card .avatar {
  width: 65%;
  padding-bottom: 65%;
  height: 0;
  background: #f9f7f7;
  border-radius: 50%;
  border: 1px solid #00a5a7;
  transform: translate(28%, 40%);
  position: relative;
  overflow: hidden;
}
.team .avatar img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team .card .intro {
  background: #00a5a7;
  box-shadow: 0px 3px 20px 1px rgba(0, 96, 113, 0.35);
  border-radius: 40px;
  font-size: 16px;
  color: #ffffff;
  line-height: 29px;
  padding-left: 12%;
  padding-right: 12%;
  padding-bottom: 14%;
  padding-top: 40%;
}
.team .card .intro .name {
  font-weight: bold;
  font-size: 21px;
  border-bottom: 2px solid #fff;
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 8px;
}
.team .card .intro div:last-of-type {
  height: 340px;
  overflow-y: auto;
}
.team .card .intro div:last-of-type::-webkit-scrollbar {
  background: transparent;
  width: 6px;
  height: 6px;
  margin-left: 30px;
}
.team .card .intro div:last-of-type::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 3px;
}
.desc {
  margin-top: -95px;
  background: #f2fcfb;
}
.desc-title {
  font-size: 72px;
  color: #f3f5f5;
  width: max-content;
}
.desc .content {
  padding-top: 3.5%;
  padding-bottom: 3.4%;
}
.navbar-desc {
  width: 24.3%;
  background: #f2fcfb;
  float: left;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.navbar-desc.sticky-top {
  top: 95px;
}
.navbar-desc .nav {
  flex-direction: column;
  margin: 0 auto;
  font-size: 22px;
  text-align: left;
}
.scrollspy-example {
  width: 66%;
  margin-left: 25%;
  margin-right: 9%;
  background: #ffffff;
  box-shadow: 0px 7px 14px 2px rgba(11, 143, 167, 0.35);
  border-radius: 30px;
  padding: 3% 7% 5.6% 4%;
  font-size: 16px;
  text-align: justify !important;
}
.scrollspy-example .title {
  font-weight: bold;
  font-size: 30px;
  color: #000202;
  margin-bottom: 3%;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: #ffdf8c;
  color: #000202;
}
.nav-pills .nav-link {
  padding-left: 50px;
  position: relative;
  border-radius: 30px;
  color: #000202;
}
.nav-pills .nav-link::after{
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #000202;
  left: 20px;
  top: 50%;
  margin-top: -7px;
}
.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: 768px) {
  .container {
    width: 100%;
    padding: 0 10px;
  }
  .navbar-desc {
    display: none;
  }
  .scrollspy-example {
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    font-size: 16px;
  }
  .scrollspy-example .title {
    font-size: 22px;
  }
  .desc {
    margin-top: 0;
  }
  .desc-title {
    font-size: 30px;
  }
  .home-c-1 + .d-flex {
    flex-direction: column;
  }
  .home-c-1-l {
    width: 100%;
    padding-right: 0;
    margin: 0;
    padding-top: 20px;
  }
  .home-content {
    font-size: 16px;
    line-height: 30px;
  }
  .home-content .title-bg {
    width: 100%;
    min-width: auto;
    font-size: 20px;
    margin-bottom: 10px;
  }
  .home-content .title-bg img {
    display: none;
  }
  .home-c-1-img, .home-c-2-img, .home-c-4-img {
    display: none;
  }
  .home-c-1-1-img {
    right: 0;
  }
  .home-c-2-r, .home-c-2-r .home-c-r, 
  .home-c-3 .home-c-1-l,.home-c-4 .home-c-1-l  {
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: 10px;
  }
  .team .card-wrapper {
    width: 100%;
    flex-direction: column;

  }
  .team .card {
    width: 100%;
  }
  .team .card .avatar {
    width: 40%;
    padding-bottom: 40%;
    transform: translate(70%, 40%);
  }
  .team .card .intro {
    padding: 16px;
    padding-top: 20%;
    font-size: 16px;
  }

}