body { padding-top: 56px; }


@font-face {
    font-family: "chivo";
    src: url("https://static.igem.wiki/teams/5171/chivo-variablefont-wght.ttf") format("woff")
}

.safetynav {
    width: 130px;
    position: fixed;
    z-index: 1;
    top: 20px;
    left: 10px;
    background: #eee;
    overflow-x: hidden;
    padding: 8px 0;
    display: hidden;
}
  
.safetynav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 25px;
    color:#538c3a;
    display: block;
}
  
.safetynav a:hover {
    color: #b8da91;
}
  
.safety {
    margin-left: 140px; 
    padding: 0px 10px;
}





.left-aligned { margin-left: auto; }
.bg-dark { background-color: #2F5233 !important; }
.bg-hero {
    color:#2F5233;
    font-family:"coffeehealing";
    text-align: center;
    width: 100%;
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(https://static.igem.wiki/teams/5171/backround.jpeg);
    animation: gradient-bg 25s ease infinite;
    background-size: 100% 100%, 500% 500%;
    background-repeat: no-repeat, no-repeat;
}

* {box-sizing: border-box}
.ctyim{
    width: 500px;
    height: 300px;
    display: block;
}

.photo-gallery-cty{
    display: grid;
    grid-template-columns: 500px 500px;
    grid-template-rows: 300px;
    grid-gap: 7px;
    background-color: green;
    padding: 10px;
    width: 1030px;
    margin-left: auto;
    margin-right: auto;
}

.photo-gallery-cty > div {
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 30px;
}


.humim{
    width: 300px;
    height: 300px;
    display: block;
}

.photo-gallery-2{
    display: grid;
    grid-template-columns: 300px 300px;
    grid-template-rows: 300px;
    grid-gap: 7px;
    background-color: green;
    padding: 10px;
    width: 630px;
    margin-left: auto;
    margin-right: auto;
}

.photo-gallery-2 > div {
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 30px;
}


.photo-gallery-3{
    display: grid;
    grid-template-columns: 300px 300px 300px;
    grid-template-rows: 300px;
    grid-gap: 7px;
    background-color: green;
    padding: 10px;
    width: 940px;
    margin-left: auto;
    margin-right: auto;
}

.photo-gallery-3 > div {
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 30px;
}

.photo-gallery {
    display: grid;
    grid-template-columns: 300px 300px 300px 300px;
    grid-template-rows: 300px;
    grid-gap: 10px;
    background-color: green;
    padding: 10px;
    width: 1250px;
    margin-left: auto;
    margin-right: auto;
}
  
.photo-gallery > div {
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 30px;
}

.despetphoto{
    width: 500px;
    height: 400px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.desassemblyphoto{
    width: 500px;
    height: 400px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.container{
    max-width: 2000px !important;
}

.iocontainer{
    color: rgb(241, 235, 235);
    padding: 100px 20px;
    height: 100%;
    background-color: #e6f3d6;
    padding-top: 100px;
    overflow-y: auto; 
    box-sizing: border-box;
    border-radius: 40px 40px 10px 10px;
    margin-top: 20px;
}


.hd-io{
    font-size: 120px !important;
}

.nav-link{
    padding-right: 1.0rem;
    padding-left: 1.0rem;
    font-size: 40px !important;
}
.dropdown-item{
    font-size: 1.5rem !important;
}
#mySidenav a {
    position: fixed;
    transition: 0.3s;
    padding: 15px;
    height:80px;
    text-decoration: none;
    font-size: 40px;
    color: white;
    text-align: center;
    border-radius: 0 5px 5px 0;
}
  
#mySidenav a:hover {
    left: 0;
}
  
#First {
    top: 610px;
    background-color: #538c3a;
    width: 440px;
    left: -340px;
}
  
#Second {
    top: 690px;
    background-color: #95c46c;
    width: 640px;
    left: -540px;
}
  
#Third {
    top: 770px;
    background-color: #b8da91;
    width: 440px;
    left: -340px;
}
  

/* Set height of body and the document to 100% */
body, html {
  height: 100%;
  margin: 0;
  font-family: Arial;
}

/* Style tab links */
.tablink {
  background-color: #538c3a;
  color: white;
  float: left;
  border: 2px solid white;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  cursor: pointer;
  padding:  16px;
  font-size: 30px;
  font-weight: bolder;
  width: 33%;
  transition: color 0.3s;
  
}

.tablink:hover {
  background-color:#1b2f12;
}

.tablink.active {
    color: #538c3a; 
}


.tabcontent {
  color: rgb(232, 17, 17);
  display: none;
  padding: 100px 20px;
  height: 100%;
  background-color: #ddf1c4;
  padding-top: 100px;
  overflow-y: auto; 
  box-sizing: border-box;
}

.iointro {
    color: #fff8ff;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 150px;
    font-size: 20px;
    line-height: 30px;
    background-color: #538c3a;
    width: fit-content;
    max-width: 70%;
    padding: 15px 50px 15px 20px;
    border-radius: 20px 0 20px 0;
}



.ioheader-h1 {
    color: #fff8ff;
    font-size: 40px !important;
    line-height: 60px;
    background-image: linear-gradient(to left, #b8da91 0%, #95c46c 50%, #538c3a 100%);
    box-shadow: 0px 0px 5px 5px #d0f4c1;
    width: fit-content;
    max-width: 98%;
    padding: 15px 50px 15px 20px;
    margin: 20px 0 20px 0;
    border-radius: 50px 300px 300px 50px;
}

.ioheader-h2 {
    color: #fff8ff;
    font-size: 25px !important;
    box-shadow: 0px 0px 2px #ffb2ff80;
    background: #95c46c;
    max-width: 50%;
    padding: 10px 30px 10px 10px;
    width: fit-content;
    border-radius: 50px 300px 300px 50px;
    margin-bottom: 20px;
}

.iopar{
    color: #538c3a;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    margin-top: 30px;
    font-size: 20px;
    line-height: 30px;
    background-color:  #f0f5ed;
    width: fit-content;
    max-width: 70%;
    padding: 15px 50px 15px 20px;
    border-radius: 20px 20px 20px 20px;
}

#IntegratedPractices {
    padding-left: 200px;
}

#Education {
    padding-left: 150px;
}

#Inclusivity {
    padding-left: 150px;
}

#Sustainability {
    padding-left: 150px;
}

.iofigure{
    font-size: 12px !important;
    color: #080808;
    text-align: center;
}

.full-screen-width { 
    position:relative;
    left:50%;
    right:50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    width: 100vw;
}

.nav-link {
    font-size: 1.5rem !important; 
    
}

.iorefheader{
    font-size: 30px;
    color: #fdfdfd;
    background-color: #1b2f12;
    border-radius: 50px 50px 50px 50px;
    width:fit-content;
    padding: 10px 80px 10px 20px;
    margin-bottom: 15px;
}

.ioref{
    background-color: #a2a3a0;
    color: black;
    border-radius: 20px 20px 20px 20px;
    width: auto;
    padding: 10px 20px 10px 20px;
}

.teamcontainer{
    color: #538c3a;
    font-size: 20px;
    line-height: 30px;
    background-color: #f0f5ed;
    padding: 15px 50px 15px 20px;
    margin-top: 5rem;
    margin-bottom: 5rem;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 10px #9e9e9e;
    border-radius: 1.25rem;
    width: 90%;

}

.teamheader{
    font-size: 2.5rem;
    font-weight: 800;
    text-align: left;
    margin-bottom: 20px;
    margin-top: 100px;
}

.teamgrid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.teamcard {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0 10px #000;
    background-color: #fff;
}


.headshotim{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}


.teamcard:hover .overlay {
    opacity: 1;
    visibility: visible;
} 

.nametag{
    padding: 1rem;
    text-align: center;
    font-weight: bold;
}


.overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(19, 120, 73, 0.9);
    color: #fff;
    padding: 1.3rem .8rem .8rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s cubic-bezier(.32,.04,.15,1), visibility .3s cubic-bezier(.32,.04,.15,1);
}

.teamdescr{
    padding-bottom: .5rem;
    text-align: left;
    font-weight: 700;
}

.teamposition{
    font-size: 1.5rem;
}

.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 a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }
