/* Text */

/* body = Montserrat */
@font-face {
    font-family: 'Montserrat';
    font-weight: lighter;
    font-style: normal;
    src: url(https://static.igem.wiki/teams/5450/fonts/montserrat-regular.woff);
}

@font-face {
    font-family: 'Montserrat';
    font-weight: bold;
    font-style: normal;
    src: url(https://static.igem.wiki/teams/5450/fonts/montserrat-bold.woff);
}

/* titles = Poppins */
@font-face { 
    font-family: 'Poppins';
    font-weight: 800;
    font-style: normal;
    src: url(https://static.igem.wiki/teams/5450/fonts/poppins-extrabold.woff)
   }

   /*layout, technically*/
body { 
    padding-top: 56px; 
    background-color: #e9f2f1;
    overflow-x: hidden;
}

/*sections format*/
.page-section {
    background: #cde4e0;
    padding: 30px 10%;
    border-radius: 60px;
    max-width: 1500px;
    margin-right: 0;
    overflow: hidden;
    margin: 1rem 0;
    transform: translateY(5vh);
}

.page-section.overview{
    background: #267647;
}

.page-section.overview h1, .page-section.overview p{
    color: white
}

.page-section h1{
    text-align: left;
    font-size: 4vw;
    font-family: 'Poppins'
}


.page-section h1:after{
    background-color:#267647;
    bottom: -1rem;
    height: 0.3rem;
    width: 16rem;
    position: relative;
    content: "";
    display: block;
    margin-bottom:15px;
}

.page-section h2{
    text-align: left;
    font-size: 2.5vw;
    font-family: 'Poppins';
    margin-top: 25px;
}

.page-section h3{
    text-align: left;
    font-size: 2vw;
    font-family: 'Montserrat';
    font-weight:bold;
    font-style: italic;
    margin-top: 15px;
    color: grey
}

.page-section h3.collabs {
    text-align: right;
}

.page-section h3.emprend {
  text-align: left;
  font-size: 1.5vw;
  font-family: 'Poppins';
  margin-top: 25px;
  color: black
}

.page-section h3.edu {
    text-align: center;
    font-size: 1.5vw;
}


.page-section h2.eng {
  text-align: right;
  font-size: 3vw;
  font-style: italic
}
.page-section h3.eng {
  color: black;
  font-style:normal;

}


.page-section p{
    margin-top: 25px;
    text-align: justify;
    word-break: break-word;
    font-family: 'Montserrat';
    font-weight: lighter;
    font-size: min(2vw, 18px);
    hyphens: auto;
    margin-bottom: 1rem;
    text-indent: 1.3rem;
}
.page-section p>b{
  margin-top: 25px;
  text-align: justify;
  word-break: break-word;
  font-family: 'Montserrat';
  font-weight: bold;
  font-size: min(2vw, 18px);
  hyphens: auto;
  margin-bottom: 1rem;
  text-indent: 1.3rem;
}

.img-page{
    margin: 20px auto 20px;
    width: 80%;
    height: 80%;
    overflow: hidden;
}
.img-page>img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.figure-caption {
    font-family: 'Montserrat';
    font-weight: lighter;
    align-items: center;
    text-align: center;
    font-size: min(1.5vw, 15px);
}

/* CALLOUT */
.bd-callout { 
    padding:1.25rem;
    margin-top:1.25rem;
    margin-bottom:1.25rem;
    border-left-width:.25rem;
    border-radius:.25rem;
    background-color: white
}
.bd-callout h4 {
    font-family: 'Montserrat';
    font-weight: lighter;
    font-size: min(2vw, 18px);
    color: black
}

.bd-callout-info { 
    border-left-color:#267647;
    border-left-width: 20px;  
    border-left-style: solid;  
}
.bd-callout-info.over {
  border-left-color:#ffc600
}

/* index at the left of template */
.index-bar {
    margin-right: 40px;
    position: sticky;
    transform: translateX(-10%);
    display: flex;
    top: 15vh;
}

.index-container{
    top: 16vh;
    position:sticky;
    padding: 20px;
    margin-top: 16px;
    border-radius: 5px;
    padding: 30px;
    flex-direction: column;
    max-width: 300px;
    min-width: 300px;
    gap: 3px
}

.index-container>div>span{
    font-size: min(1.3vw);
    letter-spacing: 2px;
    vertical-align: left;
    font-family: 'Montserrat';
    font-weight: lighter;
}

/*transition when you hover around it*/
.index-container>div>span:hover{
    font-size: min(1.5vw);
    transition: all 0.2s linear
}

/*button href*/
a .button.hp {
    border: none;
    color: #f8dd97;
    cursor: pointer;
    padding: 30px 10%;
    border-radius: 60px;
    max-width: 1500px;
    margin-right: 0;
    overflow: hidden;
    width: 80%;
    outline: none;
    transition: 0.4s;
  }
 
 a .button.hp h2{
    text-align: center;
    font-size: 2vw;
    font-family: 'Poppins'
  }


  /* hover color */
    a .button.hp:hover {
    background-color: #ffc600;
  }
  

/*header images, height and stuff*/
header {
    position: relative; 
    top: 0;
    left: 0; 
    height: 60vh;
    z-index: 1;
    align-items: center;
    justify-content: center;
    display: flex
}

header h1 {
    text-align: center;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins';
    font-size: 6vw;
    color: white;
}

.back-img {
    background-image: url(https://static.igem.wiki/teams/5450/images/background.webp);
    background-position-y: -7rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-attachment: fixed;
    overflow: hidden;  
    position: relative;
}

/* the wavy element in the header*/
.wavy-border {
    bottom: -4px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    position: absolute;
    fill: #e9f2f1;
}


.wavy-border svg {
    position: relative;
    display: block;
    width: 125%;
    fill: #e9f2f1;
  }
  


/*elements for regular toggle */

.accordion {
    background-color: #f8dd97;
    cursor: pointer;
    padding: 30px 10%;
    border-radius: 60px;
    max-width: 1500px;
    margin-right: 0;
    overflow: hidden;
    width: 100%;
    margin: 1rem 0;
    outline: none;
    transition: 0.4s;
    border-color:transparent
  }
 
  .accordion h2{
    text-align: center;
    font-size: 2vw;
    font-family: 'Poppins'
  }


  /* hover color */
  .accordion:hover {
    background-color: #ffc600;
  }
  
  /* the part that is hidden */
  .panel {
    background-color: #cde4e0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    max-width: 1500px;
    margin-right: 0;
    width: 100%;
    outline: none;
  }

  .panel code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #cde4e0;
  }

  .panel p, .panel pre{
    font-family: 'Montserrat';
    background-color: #cde4e0;
    font-weight: lighter;
    font-size: min(2vw, 18px);
    transform: translateY(5vh);
    margin-bottom: 3vh;
    overflow-x: auto; 
  }
  
  /*button for redirecting*/

  .button_ref {
    border: none;
    background-color: #0168a5;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius:60px;
    text-decoration: none;  
    color: white;  
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: min(1.5vw, 15px);
  }
  
  /* hover color */
    .button_ref:hover {
    animation: color-change-2x 0.8s linear infinite alternate both;
    text-decoration: none;  
    color: white; 
  }

  .button-container {
    justify-content: flex-end;
    display:flex
  }

  
  .button-container.entr {
    justify-content:center;
    display:flex
  }
 
  @keyframes color-change-2x {
    0% {
      background: #0168a5;
    }
    100% {
      background:#4e9699 ;
    }
  }



/*menu items*/

.navbar{
  width: 100%;
  background-color:#4e9699;
  top: -200px;
  transition: all 500ms linear;
  box-shadow:#000
}

.navbar.active{
  width: 100%;
  background-color:#4e9699;
  top: 0vh;
  transition: all 500ms linear;  
  box-shadow:#000  
}

.font-menu{
  color: #000;
}

.font-menu:hover{
  color:#ffc600;
}

/*checking hover behaviour of menu*/
.dropdown-menu {
  display: block; 
  max-height: 0; 
  opacity: 0; 
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease; 
  background-color: #eee8a9;
  border:none;
  padding: 10px
}

.dropdown:hover .dropdown-menu {
  max-height: 500px; 
  opacity: 1; 
}

.dropdown-item:hover {
  background-color: #b5b074; 
  color: #ffffff;           
  transition: background-color 0.3s ease, color 0.3s ease;
}


.img-menu {
  width: 15vh;
}

.navbar-nav.nav-item {
  color: #cde4e0;
  text-decoration: none;  
}


.nav-link {
  color:  #cde4e0 !important;
}

.nav-link:hover {
  color:  #f8dd97 !important
}

.nav-item{
 padding: 0px 20px;
 font-family: 'Montserrat';
 font-style: lighter;
 font-weight: 400;
 font-size: 16px;
} 


/*
.nav-item{
   padding: 0px 20px;
   font-family: 'Montserrat';
   font-style: lighter;
   font-weight: 400;
   font-size: 16px;
} 
*/

#sidebar .sidebar-icon{
    position: absolute; 
    top: 5px; 
    width: 10%;  
    cursor: pointer;
}

#sidebar .sidebar-icon img{
    position: absolute;
    display: block;
    width: 10%;
}

/* INCREDIBLE HOMEPAGE*/


/* wave animation*/
.wave {
    background-image: url(https://static.igem.wiki/teams/5450/images/homepage/wave-home.svg);
    background-repeat: repeat-x;
    position:relative;
    padding:0;
    margin-top: 10vh;
    margin-bottom:0;
    width: 100%;
    height: 195px;
    animation: wave 5s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    transform: translateY(300);
    }

    
    @keyframes wave {
    0% {
    background-position-x: 0%;
    }
    100% {
    background-position-x: -1600px;
    }
    }
/* sections background and font type*/

.homepage-section1 {
    background-color:#0168a5; 
    padding:0px;
    margin:0;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.homepage-section2 {
    background-color:#99bfe3; 
    padding:0px;
    margin:0;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.homepage-section3 {
    background-color:#1a4c2e; 
    padding:0px;
    margin:0;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.homepage-section4 {
    background-color:#4e9699; 
    padding:0px;
    margin:0;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.homepage-section5 {
    background-color:#e9f2f1; 
    padding:0px;
    margin:0;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.homepage-content1{
    font-family: 'Montserrat';
    color:white;
    font-size: 5vh;
    text-align: center;
    margin: 0;
    overflow: hidden;
}

.homepage-content1_2{
    font-family: 'Montserrat';
    color:white;
    font-size: 10vh;
    text-align: center
}


.homepage-content1_3{
    font-family: 'Montserrat';
    color:white;
    font-size: 15vh;
    text-align: center
}


.homepage-content2{
    font-family: 'Montserrat';
    color:black;
    font-size: 5vh;
    text-align: center
}



.homepage-contenthero{
    font-family: 'Montserrat';
    color:white;
    font-size: 9vh;
    font-weight:bold;
    text-align: center;
    margin: 0;
    overflow: hidden;
}


.homepage-content4{
    font-family: 'Montserrat';
    color:white;
    font-size: 15vh;
    font-weight: bold ;
    text-align: center;
    display:flex;
}


.homepage-content4_2{
    font-family: 'Montserrat';
    color:white;
    font-size: 5vh;
    text-align: left;
    display: flex
}


.home-title {
    font-family: 'Poppins';
    font-size: 40vh;
    overflow: hidden
}

.home-subtitle {
    font-family: 'Montserrat';
    font-weight: lighter;
    font-style: italic;
    font-size: 5vh
}

.d-flex{
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x:hidden;
    position:relative
 }

.home-wrapper {
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x:hidden;
}


/*ANIMATIONSSSSS*/
/*to show up only when scrolled*/
.hidden {
    opacity: 0;
    transition: opacity 0.5s ease-out; 
}

/*vertical line for ESTER*/

.vertical-line {
    width: 15px;
    height: 500px;
    background-color: #2e4936; /* Darker color for the line */
    margin-right: 40px; /* Space between the line and the text */
    display: flex;
    margin-top: 300
  }
  

/*for the rectangles*/
.scale-up-hor-left {
	animation: scale-up-hor-left 2s cubic-bezier(0.390, 0.575, 0.565, 1.000);
    display: inline-block
}

@keyframes scale-up-hor-left {
    0% {
      transform: scaleX(0.4);
      transform-origin: 0% 0%;
    }
    100% {
      transform: scaleX(1);
      transform-origin: 0% 0%;
    }
  }
 
.scale-up-hor-right {
	animation: scale-up-hor-right 2s cubic-bezier(0.250, 0.460, 0.450, 0.940);
    display: inline-block
}

@keyframes scale-up-hor-right {
    0% {
      transform: scaleX(0);
      transform-origin: 0% 0%;
    }
    100% {
      transform: scaleX(1);
      transform-origin: 100% 100%;
    }
  }
 

/*the rectanglesssss for section 4*/
.rectangle {   
    background-color: #267647; 
    padding:0px;
    margin:0;
    width: 100%;
    height: 30vh !important; 
    overflow: hidden; 
}

.rectangle2 {   
    background-color: #267647; 
    padding:0px;
    margin:0;
    width: 20%;
    height: 20vh !important; 
    overflow: hidden; 
}

.pulsate-fwd {
	animation: pulsate-fwd 2s ease-in-out infinite both;
	display: inline-block;
}

@keyframes pulsate-fwd {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
  }
  


.fade-up{
    animation: fade-up 1.2s ease-in-out forwards;
}


@keyframes fade-up{
    from {
      opacity: 0;
      transform: translateY(45vh);
    }
    to {
      opacity: 1;
    }
}

.bounce-in-fwd {
	-webkit-animation: bounce-in-fwd 1s both;
	        animation: bounce-in-fwd 1s both;
}

@keyframes bounce-in-fwd {
    0% {
      -webkit-transform: scale(0);
              transform: scale(0);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
      opacity: 0;
    }
    38% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
      opacity: 1;
    }
    55% {
      -webkit-transform: scale(0.7);
              transform: scale(0.7);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    72% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    81% {
      -webkit-transform: scale(0.84);
              transform: scale(0.84);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    89% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    95% {
      -webkit-transform: scale(0.95);
              transform: scale(0.95);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
  }

.text-shadow-pop-tl {
	-webkit-animation: text-shadow-pop-tl 1s both;
	        animation: text-shadow-pop-tl 1s both;
}
@keyframes text-shadow-pop-tl {
    0% {
      text-shadow: 0 0 #555555, 0 0 #555555, 0 0 #555555, 0 0 #555555, 0 0 #555555, 0 0 #555555, 0 0 #555555, 0 0 #555555;
      -webkit-transform: translateX(0) translateY(0);
              transform: translateX(0) translateY(0);
    }
    100% {
      text-shadow: -1px -1px #555555, -2px -2px #555555, -3px -3px #555555, -4px -4px #555555, -5px -5px #555555, -6px -6px #555555, -7px -7px #555555, -8px -8px #555555;
      -webkit-transform: translateX(8px) translateY(8px);
              transform: translateX(8px) translateY(8px);
    }
  }

  .tracking-in-expand {
	-webkit-animation: tracking-in-expand 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	        animation: tracking-in-expand 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@keyframes tracking-in-expand {
    0% {
      letter-spacing: -0.5em;
      opacity: 0;
    }
    40% {
      opacity: 0.6;
    }
    100% {
      opacity: 1;
    }
  }
  
  .text-shadow-drop-left {
	-webkit-animation: text-shadow-drop-left 0.8s both;
	        animation: text-shadow-drop-left 0.8s both;
}
@keyframes text-shadow-drop-left {
    0% {
      text-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    100% {
      text-shadow: -20px 0 18px rgba(0, 0, 0, 0.35);
    }
  }
  
  .rotate-in-2-cw {
	-webkit-animation: rotate-in-2-cw 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: rotate-in-2-cw 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes rotate-in-2-cw {
    0% {
      -webkit-transform: rotate(-45deg);
              transform: rotate(-45deg);
      opacity: 0;
    }
    100% {
      -webkit-transform: rotate(0);
              transform: rotate(0);
      opacity: 1;
    }
  }
  
  .text-focus-in {
	-webkit-animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	        animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@keyframes text-focus-in {
    0% {
      -webkit-filter: blur(12px);
              filter: blur(12px);
      opacity: 0;
    }
    100% {
      -webkit-filter: blur(0px);
              filter: blur(0px);
      opacity: 1;
    }
  }


/* footer*/
footer a { color: rgb(250, 248, 236); font-weight: bold; text-decoration: none; }
footer a:hover { color: rgb(255, 198, 0); text-decoration: underline; }

.brightness-effect {
    filter: brightness(1);
    transition: filter 0.3s ease;
  }
  
  .brightness-effect:hover {
    filter: brightness(1.5);
  }
  
  .black-and-white {
    filter: grayscale(100%);
  }
  
  .black-and-white:hover {
    filter: grayscale(0%);
  }

  .centered-content {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    text-align: center; 
    height: 300px; 
    }

/* Educational */
   .edu_body {
    background: linear-gradient(rgb(153, 191, 227), rgb(33, 37, 41));
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
    background-attachment: fixed;
   }

/* Carousel */ 
/* Default style for larger screens */
.carousel-indicators button.thumbnail {
    width: 6.5%;
}

/* For mobile screens (smaller than 768px) */
@media (max-width: 768px) {
    .carousel-indicators button.thumbnail {
        width: 10%;
    }

    .carousel-item .col-12 img {
        margin-bottom: 20px; /* Adds space below the image on mobile */
    }

    .team-member-image {
        padding: 0px 100px;
    }
}



  .carousel-indicators button.thumbnail:not(.active) {
    opacity: 0.7;
  }


  .carousel-indicators {
    position: static;
    height: max-content;

  }


  @media screen and (min-width: 992px) {
    .carousel {
      max-width: 100%;
      margin: 0 auto;
    }
  }

  .carousel-indicators {
    right:0;
    bottom:0;
    left:0;
    z-index:2;
    display:flex;
    justify-content:center;
    padding:0;
    margin-right: 0px;
    margin-bottom:1rem;
    margin-left: 0px;
    list-style:none;
    flex-wrap: wrap;
  }

.carousel-indicators [data-bs-target] {
    box-sizing:content-box;
    flex:0 1 auto;
    width:0px;
    height:fit-content;
    padding:0;
    margin-right:3px;
    margin-left:3px;
    text-indent:-999px;
    cursor:pointer;
    background-color:transparent;
    opacity: 0;
    background-clip:padding-box;
    border: 0;
    border-top:10px solid transparent;
    border-bottom:10px solid transparent;
    opacity:.5;transition:opacity .6s ease}
    
    @media (prefers-reduced-motion:reduce)
    {.carousel-indicators [data-bs-target]
        {transition:none}
    }
    
    .carousel-indicators .active{
        opacity: 1;
    } 
    
    .carousel-caption {
        position:absolute;
        right:15%;
        bottom:1.25rem;
        left:15%;
        padding-top:1.25rem
        ;padding-bottom:1.25rem
        ;color:#fff;text-align:center
    
    }
    
    
    .carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}

    .team-member-card {
        background-color: #CDE4E0;
        border-radius: 25px;
        margin: 0px 0px 0px 30px; 
        padding: 30px; 
        font-family: 'Montserrat';
    }

    p.team-member-card-name {
        font-size: 36px;
        font-family: "Poppins", sans-serif;
        font-weight: 400;
        font-style: normal;
    }

    .team-member-linkedin {
        background-color: #1D66C7;
        border-radius: 45px;
        border-style: none;
        justify-content: center;
        color: white;
        padding: 5px 30px;
    }

    .team-member-linkedin p{
        margin-bottom: 0px;
    }

    h2.pi-help{
      text-align: left;
      font-size: 3vw;
      font-family: 'Poppins'
    }

    h3.pi-help3{
      text-align: center;
      font-size: 1.5vw;
      font-family: 'Poppins';
      margin-top: 13px;
    }

.footh {
  text-align: center;
      font-size: 2vw;
      font-family: 'Poppins'
}

.footh2 {
  text-align: center;
      font-size: 2.5vw;
      font-family: 'Poppins'
}


.foot {
  text-align: left;
      font-size: min(1.4vw, 14px);
      font-family: 'Montserrat'
}


