/* 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 }



/*-----------------------------------------------------*/
body { padding-top: 56px;  }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #31525B !important; }
.bg-hero { background-color: #B3DEE5; }

@font-face {
  font-family: 'Montserrat';
  src: url(https://static.igem.wiki/teams/4868/wiki/font/montserrat-regular.ttf);
}

.tabnav ul li .tabnav-dot:hover span {
  font-family: 'Montserrat';
  color: #FAE6b1;
  text-decoration: none;
}

p a {
  font-family: 'Montserrat';
  font-weight: 600;
  color: #FFA101 !important;
  text-decoration: none !important;
  text-align: left !important;
  padding-right: 0% !important;
}
p a:hover {
  text-decoration: underline !important;
  font-family: 'Montserrat';
  font-weight: 500;
  color: #FFA101 !important;
  text-align: left !important;
  padding-right: 0% !important;
}

footer h4 {
  color: #B3DEE5;
}

h4 a {
  font-family: 'Montserrat';
  font-weight: 500;
  color: #FFA101 !important;
  text-decoration: none !important;
  text-align: left !important;
  padding-right: 0% !important;
}
h4 a:hover {
  text-decoration: underline !important;
  font-family: 'Montserrat';
  font-weight: 500;
  color: #FFA101 !important;
  text-align: left !important;
  padding-right: 0% !important;
}

@media (max-width: 800px) {
    table {
      display: block;
      max-width: -moz-fit-content;
      max-width: fit-content;
      margin: 0 auto;
      overflow-x: auto;
      white-space: nowrap;
    }
}

figcaption a {
  font-family: 'Montserrat';
  font-weight: 500;
  color: #FFA101 !important;
  text-decoration: none !important;
  text-align: left !important;
  padding-right: 0% !important;
}
figcaption a:hover {
  text-decoration: underline !important;
  font-family: 'Montserrat';
  font-weight: 500;
  color: #FFA101 !important;
  text-align: left !important;
  padding-right: 0% !important;
}

p, h1, h2, h3, h4, h5, li, th, td {
  font-family: 'Montserrat';
  font-weight: 500;
  text-align: left;
  color: #31525B;
}

figcaption {
  font-family: 'Montserrat';
  font-weight: 500;
  text-align: left;
  color: #31525B;
  font-size: 12px;
  font-style: italic;
}

caption {
  font-family: 'Montserrat';
  font-weight: 500;
  text-align: left;
  color: #31525B;
  font-size: 12px;
  font-style: italic;
}

th {
  font-weight: 700;
}

h1 {
  text-align: center;
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
}

h2 {
  font-family: 'Montserrat';
  font-weight: 500;
  font-size: 28px;
  font-weight: bold;
}

h3 {
  font-family: 'Montserrat';
  font-weight: 500;
  font-size: 24px;
  font-weight: bold;
}

h4 {
  font-family: 'Montserrat';
  font-weight: 500;
  font-size: 20px;
  font-weight: bold;
}

h5 {
  font-family: 'Montserrat';
  font-weight: 500;
  font-size: 18px;
  font-weight: bold;
}

h5 i {
  font-family: 'Montserrat';
  font-weight: 500;
  font-style: italic;
  font-size: 18px;
  font-weight: bold;
}

b, strong {
  font-family: 'Montserrat';
  font-weight: 900;
}

i {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 500;
}

/* Blue backgrounds */
.blue1-bg {
  width: 100%;
  background-color: #B3DEE5;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 3.5% 15%;
  overflow: hidden;
}

.blue2-bg {
  width: 100%;
  background-color: #D0EAF0;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 3.5% 15%;
  overflow: hidden;
}

.blue3-bg {
  width: 100%;
  background-color: #E0F4F8;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 3.5% 15%;
  overflow: hidden;
}

/* Beige backgrounds */
.beige1-bg {
  width: 100%;
  background-color: #FAE6B1;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 3.5% 15%;
  overflow: hidden;
}

.beige2-bg {
  width: 100%;
  background-color: #f9e2a6;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 3.5% 15%;
  overflow: hidden;
}

.beige3-bg {
  width: 100%;
  background-color: #f9de98;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 3.5% 15%;
  overflow: hidden;
}
   
.centered-paragraph {
  text-align: center;
}

/* footer */
footer a { color: white; font-weight: bold; text-decoration: none;}
footer a:hover { color: white; text-decoration: underline; }

.scaled-image {
    max-width: 100%;
    height: auto;
  }

.dropdown-menu {
    display: none;
  }
  
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }
  
  /* menu disappear */
  
  .fixed-top.navbar-hide {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}


/* Header for picture */
.header{
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  width: 100%;
  height: 50vh;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  position: relative;
  text-align: center;
}

.header::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(182, 174, 155, 0.107); 
}

.header h1 {
  font-size: 8em;
  color:#f9f1dd;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.696);
  position: center;
  z-index: 1;
}

/* Responsive header adjustments */
@media screen and (max-width: 1300px) {
  .header h1 {
    font-size: 5em;
  }
}

@media screen and (max-width: 900px) {
  .header h1 {
    font-size: 3em;
  }
}

.next-page {
  background-color: transparent;
  position: relative;
}

.next-page h2 {
  text-align: center;
}

.next-page img {
  width: 10em;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 4%;
  padding-top: 4%;
}

/* ---------------Accordion (References)------------- */
.references .accordion {
  background-color: #31525B;
}

.references .accordion-item {
  background-color: #31525B !important;
  border: none !important;
  padding: 0 15%;
}

.references .accordion-button {
  background-color: #31525B !important;
  color: #FFA101 !important;
}

.references .accordion-body {
  background-color: #31525B;
  color: #B3DEE5 !important;
}
.references .accordion-body li {
  color: #B3DEE5 !important;
  margin-top: 10px;
}

.references .accordion-button:hover {
  background-color: #B3DEE5 !important;
  color: #31525B !important;
}



/* Back to top button */
#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 3vh; /* Place the button at the bottom of the page */
  right: 2vw; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: rgba(0, 0, 0, 0); /* Set a background color */
  cursor: pointer; /* Add a mouse pointer on hover */
}

img[alt="back to top btn"] {
  width: 4em;
}

/*----images-----*/
.float-left {
  float: left;
  margin-right: 25px;
  margin-left: 10px; 
  max-width: 40vw;
}

.float-right {
  float: right;
  margin-left: 10px; 
  margin-right: 10px;
  max-width: 40vw;
}

/* ---------------navbar------------- */
  .tabnav {
      background-color: #31525bee;
      position: fixed;
      padding: 0;
      width: 13vw;
      top: 20%;
      transform: translateY(-50%);
      box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
      z-index: 1000;
  }
  
  .tabnav ul {
      list-style: none;
      border-radius: 0 10px 10px 0;
      margin: 10em 0;
      padding: 0;
  }
  
  .tabnav ul li .tabnav-dot {
      color: #ffa101;
      display: block;
      padding: 10px;
      width: 100%;
      position: relative;
      text-align: center;
      border-radius: 10px;
      transition: background-color 0.3s;
      text-decoration: none;
  }
  
  .tabnav ul li .tabnav-dot span {
      display: inline-flex;
      letter-spacing: 1px;
      transition: color 0.3s;
  }
  
  .tabnav ul li .tabnav-dot:hover {
      background-color: #31525B;
  }
  
  .tabnav ul li .tabnav-dot:hover span {
      font-family: 'Montserrat';
      color: #FAE6b1; 
  }
  
  @media (max-width: 1000px) {
      .tabnav {
        display: none; 
      }
  }
