@import "animation.css";
@import "image.css";
body { padding-top: 56px; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #343a40 !important; }
/**.bg-hero { background-color: #45b06cff; }**/
.bg-hero { /**background-color: rgb(9, 139, 57); **/transition: background 0.5s;}
.bg-bright { background-color: #f2e6f8;}

/* 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:.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 */
footer { color: #343a40; }
footer a { color: #343a40; font-weight: bold; text-decoration: none; }
footer a:hover { color: #343a40; text-decoration: underline; }
footer a img {
  height: 60px;
  width: auto;
  color: gray;
  filter: grayscale(100%);
  transition: filter 0.5s;
}
  
footer a:hover img {
  filter: grayscale(0%);
}

/* second design for flip card */
.flip {
  position: relative;
}
.flip > .front, .flip > .back {
  display: block;
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-duration: 0.8s;
  transition-property: transform, opacity;
}
.flip > .front {
  transform: rotateY(0deg);
}
.flip > .back {
  position: absolute;
  opacity: 0;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transform: rotateY(-180deg);
  text-align: center;
  overflow: auto;
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
}

.back::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

.flip:hover > .front {
  transform: rotateY(180deg);
}
.flip:hover > .back {
  opacity: 1;
  transform: rotateY(0deg);
}
.flip {
  position: relative;
  display: inline-block;
  margin: auto;
  /*margin-bottom: 20px;*/
  width: 100%;
  height: 430px;
  text-align: center;
}

.flip > .front {
  display: block;
  color: white;
  width: 100%;
  background-size: contain !important;
  background-position: center !important;
  height: 100%;
  padding: 1em 2em;
  background: white;
  border-radius: 20px;
  background-repeat: no-repeat;
  background-size: cover;
  backface-visibility: hidden;
}

.flip > .back {
  display: block;
  color: white;
  width: 100%;
  background-size:   contain !important;
  background-position: center !important;
  height: 100%;
  padding: 1em 2em;
  background: #a790bb;
  border-radius: 10px;
  background-repeat: no-repeat;
  backface-visibility: hidden;
}
.flip > .front p, .flip > .back p {
  font-size: 0.9125rem;
  line-height: 160%;
  color: #999;
}
.text-shadow {
  text-shadow: 1px 1px rgba(0, 0, 0, 0.04), 2px 2px rgba(0, 0, 0, 0.04), 3px 3px rgba(0, 0, 0, 0.04), 4px 4px rgba(0, 0, 0, 0.04), 0.125rem 0.125rem rgba(0, 0, 0, 0.04), 6px 6px rgba(0, 0, 0, 0.04), 7px 7px rgba(0, 0, 0, 0.04), 8px 8px rgba(0, 0, 0, 0.04), 9px 9px rgba(0, 0, 0, 0.04), 0.3125rem 0.3125rem rgba(0, 0, 0, 0.04), 11px 11px rgba(0, 0, 0, 0.04), 12px 12px rgba(0, 0, 0, 0.04), 13px 13px rgba(0, 0, 0, 0.04), 14px 14px rgba(0, 0, 0, 0.04), 0.625rem 0.625rem rgba(0, 0, 0, 0.04), 16px 16px rgba(0, 0, 0, 0.04), 17px 17px rgba(0, 0, 0, 0.04), 18px 18px rgba(0, 0, 0, 0.04), 19px 19px rgba(0, 0, 0, 0.04), 1.25rem 1.25rem rgba(0, 0, 0, 0.04);
}

/* side menu */
.sideMenu{
    overflow: auto;
    width: 90%;
    position: sticky;
    display: flex;
  }

  .page {
    display: none; /* 初始状态下隐藏所有页面 */
    /* 添加其他样式以定义页面的外观 */
  }
  
  .arrows {
    /* 添加其他样式以定义箭头的外观 */
    display: flex; /* 确保箭头水平排列 */
    justify-content: space-between; /* 在容器内均匀分布箭头 */
    align-items: center; /* 垂直居中箭头 */
    width: 100px; /* 箭头容器的宽度 */
  }
  
  .arrow-left,
  .arrow-right {
    cursor: pointer;
    /* 添加箭头图标或其他样式 */
  }
  
.list-group-item.active {
    font-family: "Novecento WideDemiBold";
    z-index: 2;
    color: #573674 !important;
    background-color: transparent !important;
    border-bottom-color: #573674 !important;
    font-weight: bold;
    font-size:120%;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
  }

h1 { padding-bottom: 20px; }

.list-group-item {font-family: "Novecento Normal";background-color: transparent !important; font-size: 20px;}
  
.list-group-item-action:focus, .list-group-item-action:hover {
    z-index: 1;
    color: #1c3740 ;
  }
  
.subheading:hover{color: #1c3740 !important;}
  
.subsubheading:hover{color: #1c3740 !important;
}

/* Styles for sub-menu */
.sub-menu {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  background-color: transparent !important;
}

.sub-menu li {
  margin: 5px 0;
}

.sub-menu a {
  color: #333 !important;
  text-decoration: none;
  font-size: 16px;
  margin-left: 20px;
}

.sub-menu a:hover {
  color: #573674 !important;
}

  /* no work for firefox */
.sideMenu::-webkit-scrollbar-track
  {
      -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
      border-radius: 10px;
      background-color: #F5F5F5;
  }
  
.sideMenu::-webkit-scrollbar
  {
      width: 12px;
      background-color: #F5F5F5;
  }
  
.sideMenu::-webkit-scrollbar-thumb
  {
      border-radius: 10px;
      -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
      background-color: #1c3740;
  }
  
.subheading{padding-left: 35px;}
  
.subsubheading{padding-left: 50px;}
  
.header {font-size: 20px; }

/*fade*/

.fade-in {
  opacity: 0;
  transition: opacity 500ms ease-in;
}

.fade-in.appear {
  opacity: 1;
}

/*fonts*/

@font-face {
  font-family: "Novecento WideDemiBold";
  src: url("https://static.igem.wiki/teams/4771/wiki/fonts/novecento-widedemibold.ttf") format("truetype");
}

@font-face {
  font-family: "Novecento Normal";
  src: url("https://static.igem.wiki/teams/4771/wiki/fonts/novecento-normal.ttf") format("truetype");
}

@font-face {
  font-family: "playfairdisplay";
  src: url("https://static.igem.wiki/teams/4771/wiki/fonts/playfairdisplay-variablefont-wght.ttf") format("truetype");
}

@font-face {
  font-family: "lato-italic";
  src: url("https://static.igem.wiki/teams/4771/wiki/fonts/lato-italic.ttf") format("truetype");
}

.home-font{
  font-family: "lato-italic";
}

.title {
  padding-top: 60px;
  margin-top: -40px;
  -webkit-background-clip: content-box;
  background-clip: content-box;
  font-family: "Novecento WideDemiBold";
  color:#8a61ad;
}

.card{
  /**padding-top: 11vh;
  margin-top: -11vh;**/
  /*margin-bottom: 10vh;*/
  z-index: 1;
  padding-bottom: 10vh;
  padding-left: 4vh;
  padding-right: 4vh;
  position: relative;
  background-color: #FBFAF3; 
}

.counter-div-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.counter-div-bottom svg {
  position: relative;
  display: block;
  width: calc(150% + 50px);
  height: 88px;
  transform: rotateY(180deg);
}

.counter-div-bottom .shape-fill {
  fill: #eec4f6;
}

/* Wave bottom divider */
.top-divider{
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.top-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
  transform: rotateY(180deg);
}

.top-divider .shape-fill {
  fill: #FBFAF3;
}

.second-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.second-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(111% + 1.3px);
  height: 179px;
}

.second-divider-bottom .shape-fill {
  fill: #afd3eb;
}

@keyframes ease-in {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.third-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.third-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 52px;
  transform: translateY(2px) rotateY(180deg);
}

.third-divider .shape-fill {
  fill: #d8f2ed;
}

.forth-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg) rotateY(180deg);
}

.forth-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 160px;
}

.forth-divider .shape-fill {
  fill: #FBFAF3;
}

.fifth-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.fifth-divider svg {
  position: relative;
  display: block;
  width: calc(120% + 50px);
  height: 100px;
}

.fifth-divider .shape-fill {
  fill: #fce4ce;
}

.sixth-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.sixth-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 52px;
  transform: translateY(2px) rotateY(180deg);
}

.sixth-divider .shape-fill {
  fill: #eec9f0;
}

.seventh-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.seventh-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
  transform: translateY(2px);
}

.seventh-divider .shape-fill {
  fill: #d8f6f7;
}

.eighth-divider {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.eighth-divider svg {
  position: relative;
  display: block;
  width: calc(150% + 50px);
  height: 88px;
}

.eighth-divider .shape-fill {
  fill: #dbf8d0;
}

.ninth-divider {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.ninth-divider svg {
  position: relative;
  display: block;
  width: calc(150% + 50px);
  height: 110px;
}

.ninth-divider .shape-fill {
  fill: #FBFAF3;
}

.footer-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 52px;
  transform: translateY(2px) rotateY(180deg);
}

.footer-divider .shape-fill {
  fill: #f2e6f8;
}

.ease-in {
  opacity: 0;
  transform: translateY(100%);
  animation: ease-in 1s ease-out forwards;
}

.ease-in-container {
  opacity: 0;
  transform: translateY(50px);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.ease-in-container.show {
  opacity: 1;
  transform: translateY(0);
}

.scholar-divider{
  position: absolute;
  top:0px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.scholar-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
  transform: rotateY(180deg);
}

.scholar-divider .shape-fill {
  fill: #f6f2e8;
}

.team-divider{
  position: absolute;
  top:0px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.team-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.team-divider .shape-fill {
  fill: #FBFAF3;
}

.reference {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-container {
  position: relative;
}

.tooltip {
  z-index: 9999;
  width:200px;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  color: #fff;
  font-style: italic;
  padding: 5px;
  border-radius: 3px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.reference:hover .tooltip {
  z-index: 9999;
  opacity: 1;
  visibility: visible;
}