body { padding-top: 56px; }
header {
    padding-top: 50px;
    padding-bottom: 20px; 
    padding-left: 0;
    padding-right: 0;
 }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #EBEBEB !important; }
.bg-darker{ background-color: #000000 !important; }


.bg-hero {
  margin-top: 130px;
  margin-bottom: 20px;
  background-image: url("https://static.igem.wiki/teams/5469/green-and-white-linkedin-header.png"); /* https://static.igem.wiki/teams/5469/header-background2.png */
  background-color: #EBEBEB; /* 2E2E2F  F0EAD6 */
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.bg-hero2 {
    margin-top: 130px;
    margin-bottom: 50px;
    background-image: url("https://static.igem.wiki/teams/5469/add-a-heading-1.png"); /* https://static.igem.wiki/teams/5469/header-background2.png */
    background-color: #EBEBEB; /* 2E2E2F  F0EAD6 */
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.display-4{
    text-align: center; 
    color: black;
    font-size: 56px;
}

/* Making circular headshots */
.headshot {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    align-items: center;
}

.sponser {
    float: left;
    width:  200px;
    height: 150px;
    border-radius: 15%;
}

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid black; 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 a { color: #45609E; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }




#main-progress-container {
    width: 100%;
    height: 10px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #8BBB99; /* original color  Alt. 619DB8 */
}
  
#main-progress-bar {
    height: 100%;
    width: 0%;
    background-color: #45609E;  /* color to change to*/
    transition: width 0.2s ease;
}

.progress-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-right: 1px solid white;
}

.collapsible {
    margin-top: 10px;
    background-color: #8BBB99;
    color: #000000;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: 4px;
    text-align: left;
    outline: none;
    font-size: 15px;
  }

.active, .collapsible:hover {
    background-color: #45609E;
  }

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
  }

  .read-more-state {
    display: none;
  }
  
  .read-more-target {
    opacity: 0;
    max-height: 0;
    font-size: 0;
    transition: .25s ease;
  }
  
  .read-more-state:checked ~ .read-more-wrap .read-more-target {
    opacity: 1;
    font-size: inherit;
    max-height: 999em;
  }
  
  .read-more-state ~ .read-more-trigger:before {
    content: 'Show more';
  }
  
  .read-more-state:checked ~ .read-more-trigger:before {
    content: 'Show less';
  }
  
  .read-more-trigger {
    cursor: pointer;
    /* display: inline-block; */
    padding: 0 .5em;
    color: #666;
    font-size: .9em;
    line-height: 2;
    border: 1px solid #ddd;
    border-radius: .25em;
  }
  
  /* Other style */ 
  body {
    padding: 0%;
  }
  
  c {
    padding: 2%;
    background: #fff9c6;
    color: #c7b27e;
    border: 1px solid #fce29f;
    border-radius: .25em;
  }



  .scene {
    display: inline-block;
    width: 420px;
    height: 500px;
  /*   border: 1px solid #CCC; */
    margin: 40px 0;
    perspective: 600px;
  }
  
  .card {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transform-style: preserve-3d;
    transform-origin: center right;
    transition: transform 1s;
  }
  
  .card.is-flipped {
    transform: translateX(-100%) rotateY(-180deg);
  }
  
  .card__face {
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 20px;
    color: black;
    text-align: center;
    font-weight: bold;
    font-size: 10px;
    backface-visibility: hidden;
  }
  
  .card__face--frontHem {
    background-image: url("https://static.igem.wiki/teams/5469/final-homepage-cards/a-hematopoiesis.jpg");
    background-size: contain;
  }
  .card__face--frontBio {
    background-image: url("https://static.igem.wiki/teams/5469/final-homepage-cards/a-bioethics.jpg");
    background-size: contain;
  }
  .card__face--frontMod {
    background-image: url("https://static.igem.wiki/teams/5469/final-homepage-cards/a-models.jpg");
    background-size: contain;
  }
  .card__face--frontSep {
    background-image: url("https://static.igem.wiki/teams/5469/final-homepage-cards/a-sepsis.jpg");
    background-size: contain;
  }
.card__face--frontOur {
    background-image: url("https://static.igem.wiki/teams/5469/final-homepage-cards/a-solutoin.jpg");
    background-size: contain;
  }
  .card__face--frontOrg {
    background-image: url("https://static.igem.wiki/teams/5469/final-homepage-cards/a-oranoids.jpg");
    background-size: contain;
  }


  .card__face--back {
    background: #8BBB99;
    transform: rotateY(180deg);
  }
  





.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
 }




 .frac {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  letter-spacing: 0.001em;
  text-align: center;
}
.frac > span {
  display: block;
  padding: 0.1em;
}
.frac span.bottom {
  border-top: thin solid black;
}
.frac span.symbol {
  display: none;
} 

/*jonathan's code for the styling the link container in the contributions page starts here*/
.link-container {
  position: fixed;
  top: 100px;
  right: 20px;
  background-color: #ff0000;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* CSS to prevent the top navigation bar from covering section headers on scroll */
#wet-lab-contributions,
#dry-lab-contributions,
#human-practices-contributions {
  scroll-margin-top: 80px; /* Adjust this value to match the height of your top bar */
}
/*jonathan's code for the link container ends here*/
