body {
  padding-top: 56px;
  background-color: #eeebfc;
}

.left-aligned {
  margin-left: auto;
}

.bg-081530 {
  background-color: #04142c !important;
}

/*081530*/
.bg-hero {
  background-color: #eeebfc;
}

/* 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
}
/*POSITIONING*/
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.left-aligned-content{
  margin-left: -50px;
}

.float-right{
  float: right;
}

.description_section,
.collaboration-section,
.inclusivity-section,
.sdg-section
 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.education-section
{
  padding-top: 30px;
  padding-bottom: 30px;
  
}

.integrated-section
{
  padding-top: 30px;
  padding-bottom: 30px;
}

.integrated-section p{
  font-family: "bahnschrift-11", Times, serif;
  text-align: justify;
  font-size: 19px;
  color: #081530;
}

/*GRID*/
.grid-container {
  
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  padding: 10px;
}
.grid-item {
  
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center content */
  background-color: #081530;
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 5px;
  text-align: center;
}

@media (max-width: 1000px){
  .education-section .photo-label,
  .integrated-section .photo-label{
    aspect-ratio: 10/1;
    background-size: 100% 100%;
    background-repeat: no-repeat; 
    margin-bottom: 20px;
    width: 100%;

  }
}

@media (min-width: 1000px){
  .education-section .photo-label,
  .integrated-section .photo-label{
    aspect-ratio: 10/1;
    background-size: contain;
    background-repeat: no-repeat; 
    margin-bottom: 20px;
    width: auto;
    height:135px;
    max-width: 100%;
  }
}

@media (max-width: 1000px){
  .education-section .photo-label,
  .integrated-section .photo-label{
    margin: 0 0 0 0 !important;;
  }
}

@media (max-width: 734px) {
  .float-right{
    float: none;
  }
  .left-aligned-content {
    margin-left: 0px;
  }
}

/*FLOATING CANCER CELLS*/
@keyframes particle-animation-1 {

	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}

@keyframes particle-animation-2 {

	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(+20px);
	}
	100% {
		transform: translatey(0px);
	}
}

.particle{
  position: fixed;
  border-radius: 50%;
  aspect-ratio: 16/16;
  background-image: url('https://static.igem.wiki/teams/5017/wiki/backround/can-cell.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: auto;
  z-index: --i;
}

/*SHORTCUT*/
/* Center the shortcut items and allow horizontal scrolling */
.shortcut-container {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content:center; /* Align items to the left */
  align-items: center; /* Center items vertically */
  white-space: nowrap;
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Hide vertical scrollbar */
}

@media (max-width: 1350px) {
  .shortcut-container {
    justify-content:flex-start;
  }
}

.shortcut-details {
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  justify-content: center; /* Center horizontally */
  align-items: flex-start; /* Align elements to the left */
  margin-left: 20px; /* Add margin to move elements to the right */
}

.shortcut-container img {
  width: 250px;
  min-width: 250px;
  height: auto;
  margin: 10px 10px 10px 10px; /* top right bottom left */
  border-radius: 10px; /* Adjust the radius as needed */
  border: 3px solid transparent; /* Add a transparent 1px border */
  transition: border-color 0.3s, transform 0.3s, width 0.3s, height 0.3s;
}

.shortcut-with-title {
  position: relative;
  text-align: center;
  margin-bottom: 20px; /* Adjust the spacing between each image with its title */
}

.shortcut-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  margin: 20px 20px 20px 20px; /* top right bottom left */
  transition: border-color 0.3s, transform 0.3s, width 0.3s, height 0.3s;
}

.sticky-svg {
  position: sticky;
  top: 90px; /* Adjust the top position as needed */
  z-index: 1; /* Ensure it's above other content */
  /* Add any other styling you need for your SVG container */
}

.scrolling-images {
  position: relative;
  overflow-y: scroll;
  max-height: 400px; /* Adjust the max height as needed */
}

/* Set up styles for the fixed-position image */
#follow-scroll {
  position: sticky;
   /* Adjust the top position as needed */
  right: 20px; /* Adjust the right position as needed */
  z-index: 1; /* Ensure it's above the scrolling images */
}

.shortcut-with-title:hover img {
  border-color: #D69453;
  transform: scale(1.05); /* Increase size by 5% */
}

.shortcut-with-title:hover .shortcut-title {
  transform: scale(1.05);
  /* You can add other styles or transformations as needed */
}

/*FONTS*/
.color-081530 {
  color: #081530;
}

.color-D69453 {
  color: #D69453;
}

.Impact-50 {
  font-family: "impactregular", Times, serif;
  font-size: 50px;
  color: #081530;
}

.Impact-40-eeebfc  {
  font-family: "impactregular", Times, serif;
  font-size: 40px;
  color: #eeebfc;
}

.Impact-40 {
  font-family: "impactregular", Times, serif;
  font-size: 40px;
  color: #081530;
}

.Impact-35 {
  font-family: "impactregular", Times, serif;
  font-size: 35px;
  color: #081530;
}

.Impact-30 {
  font-family: "impactregular", Times, serif;
  font-size: 30px;
  color: #081530;
}

.Impact-25-eeebfc  {
  font-family: "impactregular", Times, serif;
  font-size: 25px;
  color: #eeebfc;
}

.Impact-25 {
  font-family: "impactregular", Times, serif;
  font-size: 25px;
  color: #081530;
}

.Impact-20-D69453 {
  font-family: "impactregular", Times, serif;
  font-size: 20px;
  color: #D69453;
}

.Impact-20 {
  font-family: "impactregular", Times, serif;
  font-size: 20px;
  color: #081530;
}

.Impact-19-white {
  font-family: "impactregular", Times, serif;
  font-size: 19px;
  color: #ffffff;
}

.Impact-19 {
  font-family: "impactregular", Times, serif;
  font-size: 19px;
  color: #081530;
}

.Impact-18-eeebfc  {
  font-family: "impactregular", Times, serif;
  font-size: 18px;
  color: #eeebfc;
}

.Bahnschrift-19-081530 {
  font-family: "bahnschrift-11", Times, serif;
  text-align: justify;
  font-size: 19px;
  color: #081530;
}

.Bahnschrift-19-white {
  font-family: "bahnschrift-11", Times, serif;
  text-align: justify;
  font-size: 19px;
  color: #ffffff;
}

.Bahnschrift-19 {
  font-family: "bahnschrift-11", Times, serif;
  text-align: justify;
  font-size: 19px;
  color: #081530;
}

.Bahnschrift-17 {
  font-family: "bahnschrift-11", Times, serif;
  text-align: justify;
  font-size: 17px;
  color: #eeebfc;
}

.Bahnschrift-16 {
  font-family: "bahnschrift-11", Times, serif;
  text-align: justify;
  font-size: 16px;
  color: #eeebfc;
}

.Bahnschrift-14 {
  font-family: "bahnschrift-11", Times, serif;
  text-align: justify;
  font-size: 14px;
  color: #eeebfc;
}

.Bahnschrift-14-white {
  font-family: "bahnschrift-11", Times, serif;
  text-align: justify;
  font-size: 14px;
  color: #ffffff;
}

@font-face {
  font-family: 'impactregular';
  src: url("https://static.igem.wiki/teams/5017/wiki/fonts/impact.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'bahnschrift-11';
  src: url("https://static.igem.wiki/teams/5017/wiki/fonts/bahnschrift-11.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/*MENUS*/

.menu {
  display: flex;
  flex-direction: column;
}

.navbar-container {
  display: flex;
  flex-direction: column;
}

.progress-container {
  margin-top: auto;
}

.main-menu {
  cursor: pointer;
  position: absolute;
  top: 105px;
  right: 0px;
  width: 250px;
  z-index: -1;
  pointer-events: none;
}

.main-menu.active,
.team-menu.active,
.project-menu.active,
.publicEngagement-menu.active {
  z-index: 1;
  pointer-events: auto;
}

.main-menu.active ul li,
.team-menu.active ul li,
.project-menu.active ul li,
.publicEngagement-menu.active ul li {
  visibility: visible;
  opacity: 1;
  transform: translateY(0px);
  z-index: 1;
}


.team-menu,
.project-menu,
.publicEngagement-menu {
  position: fixed;
  top: 105px;
  right: 0px;
  width: 250px;
  z-index: -1;
  pointer-events: none;
}

.menu-ul {
  position: relative;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.menu-ul li {
  position: relative;
  list-style: none;
  transition: 0.5s;
  visibility: hidden;
  opacity: 0;
  transform: translateX(+250px);
  transition-delay: calc(0.1s * var(--i));
}

/*MENU ITEMS*/
.menu-ul li a {
  margin-left: -90px;
  margin-bottom: -1px;
  position: relative;
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  height: 50;
  background: #eeebfc;
  color: #081530;
  transition: 0.5s;
  justify-content: center;
  align-items: center;
  border: 2px solid transparent;
  border-radius: 5px;
  border-color: #081530;
}

.menu-ul li a:hover {
  background: #f6f6f6;
  color: #D69453;
  transition: 0.4s;
}

.hoverable {
  cursor: pointer;
}

.hoverable:hover {
  color: #D69453;
  /* Change the color on hover */
  transition: 0.4s;
}

/*MENU TOGGLE BUTTON*/
.menu_button {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 25px;
  background-color: transparent;
  border: none;
  padding: 0;
}

.line {
  fill: none;
  stroke: #D69453;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}

.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.active .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

.active .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
}

.active .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

/*MENU ICONS*/
.menu_icons {
  width: 11%;
  padding-bottom: 3px;
  margin-right: 3px;
  /*padding-left: 10px;
    vertical-align: middle;*/
  /*padding-right: 10px;*/
}

/*FOOTER*/
footer {
  background-color: #04142c
}

footer a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

.logo-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 40px;

  p {
    color: white;
    padding-left: 40px;
    padding-bottom: 0;
  }
}

/*SIDE MENU*/

.description img{
  padding-top: 50px;
  padding-bottom: 50px;
}

html {
  scroll-behavior: smooth;
}

/* Sidebar Navigation */
nav {
  position: sticky;
  top: 8rem;
  align-self: start;
}
main>nav {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.section-nav li.active>a {
  color: #D69453;
  font-weight: 500;
}

.section-nav {
  padding-left: 0;
  border-right: 1px solid #efefef; 
}

.section-nav a {
  text-decoration: none;
  display: block;
  padding: .125rem 0;
  color: #081530;
  transition: all 50ms ease-in-out;
}

.section-nav a:hover{
  color: #D69453;
}

@media (min-width: 768px) {
  .section-nav {
    display: block;
  }

  main {
    display: grid;
    grid-template-columns: 1fr 15em;
    max-width: 100em;
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 734px) {
  .section-nav {
    display: none;
  }
}

* {
  box-sizing: border-box;
}

.section-nav ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-nav li {
  margin-left: 1rem;
}

/*BUTTON*/
.button {
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 10rem;
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #D69453;
  border-radius: 10rem;
  z-index: -2;
}

.button:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #081530;
  transition: all 0.3s;
  border-radius: 10rem;
  z-index: -1;
}

.button:hover {
  color: #fff;
}

.button:hover:before {
  width: 100%;
}

.button-container {
  padding-top: 50px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.home-section {
  padding-bottom: 100px;
  padding-top: 100px;
}

.shortcut-section{
  position: relative;
  height: 700px;
  width: 100%;
  background: center center no-repeat; 
  background-size: cover;
  margin-top: 48px;
  aspect-ratio: 16/9;
  position: relative;
  padding-bottom: 100px;
  padding-top: 100px;
}

.sponsor-section {
  padding-top: 100px;
  margin-bottom: 30px;
  border-bottom: 1px solid #D69453;
}

.sponsor-section img{
  max-width: 90%;
  height: auto;
}

/*MEMBERS*/

@media(min-width: 1030px) {
  .members2 img{
    max-width: 100%;
    width: auto;
    height: 300px;
    aspect-ratio: 15/12;
  }
  .members2 {
    background-image: url('https://static.igem.wiki/teams/5017/wiki/members/2per.png');
    background-size: 25%;
    background-repeat: no-repeat;
    background-position: center 53%;
  }
  .advisors img,
  .instructors img,
  .PIs img {
      max-width: 100%;
      width: auto;
      height: 300px;
      aspect-ratio: 3/4;
  }
}

@media(max-width: 1030px) {
  .members-container {
    flex-direction: column;
  }

  .members2 img,
  .advisors img,
  .instructors img,
  .PIs img {
    max-width: 100%;
    width: auto;
    height: 250px;
  }

  .members2 img {
    aspect-ratio: 15/12;
  }

  .advisors img,
  .instructors img,
  .PIs img {
    aspect-ratio: 3/4;
  }

  .members2 {
    background-image: none;
  }

}

@media(min-width: 1530px) {

  .members3 img{
    max-width: 100%;
    width: auto;
    height: 300px;
    aspect-ratio: 15/12;
  }
  .members3 {
    /*background-image: url('https://static.igem.wiki/teams/5017/wiki/members/3per.png');
    background-size: 48% 3%;
    background-repeat: no-repeat;
    background-position: center 53%;*/
  }
}

@media(max-width: 1530px) {

  .members3 img{
    max-width: 100%;
    width: auto;
    height: 250px;
    aspect-ratio: 15/12;
  }

  .members3 {
    background-image: none;
  }
}

@media (max-width: 1530px) {
  .members3 .members-container {
    flex-direction: column;
  }
}

.members-section {
  display: flex;
  justify-content: center;
  position:relative;
  margin-bottom: 10px;
  margin-top: 50px;
}

/*FLIP IMAGES*/
.flip-box-15-12 {
  max-width: 100%;
  width: auto;
  height: 300px;
  aspect-ratio: 15/12;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 5px;
  margin-left: 5px;
}

.flip-box-3-4 {
  max-width: 100%;
  width: auto;
  height: 300px;
  aspect-ratio: 3/4;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 5px;
  margin-left: 5px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box-15-12:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-3-4:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-box-back {
  transform: rotateY(180deg);
}

.members-section {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 10px;
}

.members-container {
  display: flex;
  justify-content: space-between;
  max-width: 100%; 
}

.team-container {
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center items horizontally */
  max-width: 100%;
  text-align: center; /* Center the text within the container */
}

.team-container h2 {
  font-family: "impactregular", Times, serif;
  font-size: 25px;
  color: #081530;
}

/*HOME STATISTIC CARDS*/
.statistic-cards {
  text-align: center;
  margin: 0 auto;
  max-width: 1080px;
  .container {
    margin-top: 40px;
  }

  .card-component {
    border: 1px solid #081530;
    border-radius: 20px;
    padding: 15px 20px 10px 20px;
    margin-bottom: 10px;
    min-height: 700px;

    .comp {
      display: flex;
      justify-content: center;
      padding-bottom: 20px;

      img {
        max-height: 60px;
        max-width: auto;
        margin-bottom: 10px;
      }
    }
  }
}

/*HIDDEN SECTIONS*/
.hide {
  display: none; /* Hide the checkbox input */
}

/* Style the content that should be revealed */
.acc-child {
  display: block; /* Initially hide the content */
  /*margin: 0 20px 15px 10px;
  padding: 0 10px;*/
  overflow: hidden;
  opacity: 0;
  height: 0;
  transition: all 0.9s ease; /* Apply the transition */
}

.acc-child p,h3,img {
  transition: all 0.9s ease; /* Apply the transition to the <p> element */
}

.acc-child h3{
  margin-top: 20px;
  font-family: "impactregular", Times, serif;
  font-size:25px;
  color: #081530;
}

.acc-child p{
  font-family: "bahnschrift-11", Times, serif;
  text-align: justify;
  font-size: 19px;
  color: #081530;
}

/* Use the adjacent sibling combinator (+) to select the content when the checkbox is checked */
input[type=checkbox]:checked + .acc-label + .acc-child{
  display: block; /* Show the content when the checkbox is checked */
  /*margin: 0 20px 15px 20px;
  padding: 10px;*/
  height: auto;
  opacity: 1;
  transition: all 0.9s ease;
}

.acc-label {
  display: block;
  font-family: "impactregular", Times, serif;
  font-size: 40px;
  color: #081530;
  border-bottom: 1px solid #081530 !important;
  transition: all 0.9s ease;

  &:hover {
    cursor: pointer;
  }
}

.photo-label {
  display: block;
  font-family: "impactregular", Times, serif;
  font-size: 25px;
  color: #081530;
  transition: all 0.9s ease;
}

/*TOP BUTTON*/
#topBtn {
  height: 50px;
  width: 50px;
  display: none;
  position: fixed;
  bottom: 20px;
  left: 15px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-image: url('https://static.igem.wiki/teams/5017/wiki/top.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  cursor: pointer;
  padding: 10px;
  border-radius: 4px;
  transition: all 1s;
}

#topBtn:hover {
  background-color: #D69453;;
}

/*TRANSITIONS*/
@media(prefers-reduced-motion) {
  .hidden {
    transition: none;
  }
}

.zoom {
  scale: 0.5;
}

.fade-left {
  max-width: 100%;
  transform: translateX(+50%);
  transition: all 1.5s;
}

.fade-right {
  max-width: 100%;
  transform: translateX(-50%);
  transition: all 1.5s;
}

.fade-top {
  transform: translateY(+50%);
  transition: all 1.5s;
}

.fade-bot {
  transform: translateY(-50%);
  transition: all 1.5s;
}

@keyframes fadeUpLeft {
  0% {
    opacity: 0;
    transform: translate(-20px, 20px);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

.fade-up-left {
  animation: fadeUpLeft 1.5s ease-out;
}

.flip-horizontal {
  transform: rotateY(180deg);
  transition: all 1.5s;
}

.blur {
  visibility: hidden;
  filter: blur(5px);
  transition: all 1.5s;
}

.hidden {
  visibility: hidden;
  transition: all 1s;
}

.show {
  visibility: visible;
  filter: blur(0);
  transform: translateX(0);
  transform: translateY(0);
  scale: 1;
}

.statistic:nth-child(2) {
  transition-delay: 200ms;
}

.statistic:nth-child(3) {
  transition-delay: 400ms;
}

.statistic:nth-child(4) {
  transition-delay: 600ms;
}