/* Basic design----------------------------------------------------------------------------------- */
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #173037 !important;}
.bg-hero { background-color: #139B69;}
.bg-footer { background-color: #253B41;}
.text {color:black; font-size: 12px; line-height: 24px; float:left;}
.text-p {margin-top: 1px; margin-bottom: 1px; text-align: center;}
.text-a {margin-top: 1px; margin-bottom: 1px;}

/* 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; }
body{
  margin: 0px;
  padding: 0px;
}

p {
    align:justify;
    font-style: lato;
}

h1 {
    font-style: lato;
}

.nav-link {
    color: #ffffff !important;
    background-color: #173037;
}

.nav-link:hover {
    color: #173037;
    transform: scale(1.1);
    border-radius: 3px
}

.nav-fill{
    flex:1 1 auto;
    text-align:center;
}

@media screen and (max-width: 768px) {
    .right-content.h1 {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .right-content.h1 {
        font-size: 10px;
    }
}

/* Scrollbar*/
::-webkit-scrollbar-track
  {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 15px;
    background-color: #F5F5F5;
  }

::-webkit-scrollbar
  {
    width: 6px;
    background-color: #F5F5F5;
    border-radius: 15px;
  }

::-webkit-scrollbar-thumb
  {
    border-radius: 15px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
  }

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

.footer-logos{
    width:100%;
}

/* Backgrounds ------------------------------------------------------------------------------------*/
.bg-top { 
    background-color: #173037;}
.bg-page{
    width: 100%;
    background-color: #173037;}
.bg-menu{
    background-color: #139B69;
}

/* Top header---------------------------------------------------------------------------------------*/

.circle-logo{
    width:200px;
    height:200px;
}

header{
  margin: 0px;
  padding: 0px;
  height: 20em;
  background-color: #173037;
}

#header {
  justify-content: center;
  align-items: center;
  }

.center {
    width:100px;
    height:90px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 90px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

.background-image-header {
    width: 100%;
    z-index: -1;
    position: absolute;
    top: 0%;
    left: 0;
    filter: brightness(0.5);
}

/* Title page */
.relative {
    position: relative;
}

.lead_div {
    position: relative;
}

/* Image header------------------------------------------------------------------------------------- */

.container123{
    position: relative;
    width:100%;
    height:250px;
}

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

.full-screen-width {
  border-radius: 4px;
  height: auto;
}

/* Text on image header */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 100px;
  font-weight: bold;
  text-shadow: 2px 2px 2px #139B69;
}

/* line under picture header */
hr {
  margin: 0;
  padding: 0;
  opacity: 1;
  border: none;
  margin: auto;
}

/* Menubalk on page----------------------------------------------------------------------------*/
.index_div {
    margin: 0 -1px 0 0px;
    width: 20%;
    position: absolute;
    color: white;
    height: 88%;
}

.index {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5% 0%;
    height: 100%;
}

.index-items {
    position: sticky;
    z-index: 100;
    background-color: #253B41;
    top: 6rem;
    padding: 1em;
    margin: 1em;
    display: flex;
    border-radius: 10px;
    flex-direction: column;
}

.index-content {
    border-bottom: 2px solid white;
    margin-top: 10px;
    padding-bottom: 3px;
    text-align: center;
    cursor: pointer;
}
.index-content-last {
    margin-top: 10px;
    padding-bottom: 3px;
    text-align: center;
    cursor: pointer;
}

.layout {
    display: grid;
    grid-template-columns: 1fr;
}

.outline {
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
}

.contents{
    width: 100%;
    background-color: #173037;
    color: white;
    display: flex;
    flex-direction: column;
    border: none;
    margin: -1px 0;
}

.container-custom {
    padding: 0 0;
    z-index: 1;
}

.justify-content-center{
    text-align: justify;
    text-justify:inter-word;
}

.line-description {
    width: 10px;
    height: auto;
    color: #139B69;
    padding: 30px 0 30px 0;
}

/* Dropdown menus------------------------------------------------------------------------------ */
.greendropdown {
    background-color: #139B69;
    color: white;
    cursor: pointer;
    padding: 15px 20px;
    text-align: justify;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 10px/10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.greydropdown {
    background-color: #253B41;
    color: white;
    cursor: pointer;
    padding: 15px 20px;
    text-align: justify;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 10px/10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.lightgreendropdown {
    background-color: #98CC9B;
    color: white;
    cursor: pointer;
    padding: 15px 20px;
    text-align: justify;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 10px/10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.arrow-circle-green {
    width: 30px;
    height: 30px;
    background-color: #139B69;
    border-radius: 50%;
    text-align: center;
}

.arrow-circle-lightgreen {
    width: 30px;
    height: 30px;
    background-color: #98CC9B;
    border-radius: 50%;
    text-align: center;
}

.panelblue,
.body {
    padding: 0 18px;
    background-color: #253B41;
    color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.1s ease-out;
    border-left: 4px solid var(--yellow);
    margin-bottom: 10px;
}

.active,
.greendropdown:hover {
    background-color: #139B69;
}

.active,
.greydropdown:hover {
    background-color: #253B41;
}

.active,
.lightgreendropdown:hover {
    background-color: #98CC9B;
}

.greendropdown.active {
    background-color: #139B69;
}

.greydropdown.active {
    background-color: #253B41;
}

.lightgreendropdown.active {
    background-color: #98CC9B;
}

.active .arrow-circle-green:after {
  content: ""; /* Unicode character for "minus" sign (-) */
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.arrow-circle-green:after {
  content: "";
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.active .arrow-circle-lightgreen:after {
  content: ""; /* Unicode character for "minus" sign (-) */
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.arrow-circle-lightgreen:after {
  content: "";
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/* Click buttons------------------------------------------------------------------------------ */
.hover-clickbutton{
    transition: 0.2s;
    cursor: pointer;
}

.hover-clickbutton:hover{
    scale: 1.2;
}

.subtitle-unselected {
    opacity: 0.5;
    cursor: pointer;
    scale: 0.8;
    transition: 0.3s;
}

.clickbutton-image{
    width: 200px;
    height: 200px;
}

.subtitle-unselected:hover {
    opacity: 1;
    scale: 1;
}

.clickbutton-container {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

.clickbutton-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 35px;
    font-weight: bold;
}

.container-bacimage{
    position: relative;
    text-align: center;
    color: white;
    background:#253B41;
}

.container-bacimage2{
    position: relative;
    text-align: center;
    color: white;
    background:#173037;
}

/*Image bacteria in screen */
.image-bacteria::before {
    content: "";
    position: absolute;
    width: 30%px;
    top: 80%;
    left: 40%;
    background-image: url('https://static.igem.wiki/teams/4905/wiki/bacteriainscreen.svg');
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}

/* Text appear when you scroll down*/
.scroll-appear {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.scroll-appear.appear {
    opacity: 1;
    transform: translateY(0);
}

.text-center {
    text-align: center;
}

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

.center-image{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    border-radius: 10px;
}

.center-button{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons ----------------------------------------------------------------------------*/
#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* 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: red; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}
