
body {
  padding-top: 56px;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}

.left-aligned {
  margin-left: auto;
}

.bg-dark {
  background-color: #343a40 !important;
}

.bg-hero {
  background-color: #45b06cff;
}

/*Background*/
/* for home page */
.bg-section-light {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #e4f2ff;
  color: #000000;
  padding: 10%;
  display: flex;
  background-repeat: no-repeat;
  scroll-snap-align: start;
}

.bg-section {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 8%;
  background-repeat: no-repeat;
  scroll-snap-align: start;
  background: rgb(238, 174, 202);
  background: linear-gradient(0,  #E1F4E5 10%, #A3E2CE 48%, #66C4BC 100%);
}

.bg-section0{
  position: relative;
  color: #ffffff;
  padding: 8%;
  scroll-snap-align: start;
}

.bg-section0::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; 
  background: 
    url('https://static.igem.wiki/teams/5698/wiki/bg/background1.webp');
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.bg-section1{
  position: relative;
  color: #ffffff;
  padding: 8%;
  scroll-snap-align: start;
}

.bg-section1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; 
  background: 
    url('https://static.igem.wiki/teams/5698/wiki/bg/background5.webp');
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.bg-section2{
  position: relative;
  color: #ffffff;
  padding: 8%;
  scroll-snap-align: start;
}

.bg-section2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; 
  background: 
    url('https://static.igem.wiki/teams/5698/wiki/bg/background6.webp');
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.bg-section3{
  position: relative;
  color: #ffffff;
  padding: 8%;
  scroll-snap-align: start;
}

.bg-section3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; 
  background: 
    url('https://static.igem.wiki/teams/5698/wiki/bg/background3.webp');
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.bg-section4{
  position: relative;
  color: #ffffff;
  padding: 8%;
  scroll-snap-align: start;
}

.bg-section4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; 
  background: 
    url('https://static.igem.wiki/teams/5698/wiki/bg/background4.webp');
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {

  .bg-section {
    padding: 0%;
  }
}


.bg-section-blend {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 10%;
  display: flex;
  background-repeat: no-repeat;
  background-blend-mode: screen;
  width: 100%;
  height: 100%;
  color: #ffffff;
  scroll-snap-align: start;
}

/* 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
}

/* footer */
footer a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  color: #004AAD;
  text-decoration: underline;
}

footer a.icon-link:hover {
  text-decoration: none;
}


/* COMMMON */
.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #F7F9FC;
  z-index: 2;
}

.content-with-sidebar {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.sidebar {
  width: 250px;
  padding: 40px;
  position: sticky;
  top: 200px;
  box-sizing: border-box;
  height: fit-content;
  align-self: flex-start;
  border: 2px solid rgba(189, 191, 193, 0.8);
  background-color: rgba(249, 249, 250, 0.8);
  border-radius: 10px;
  color: #0C2030;
  

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
              0 8px 25px rgba(0, 0, 0, 0.28),
              0 4px 15px rgba(0, 0, 0, 0.25),
              0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-out;
  position: sticky;
  z-index: 1;
  transform: translateY(0);
}

.sidebar:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35),
              0 15px 35px rgba(0, 0, 0, 0.32),
              0 8px 20px rgba(0, 0, 0, 0.28),
              0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-6px);
}



.sidebar a {
  display: block;
  margin: 10px 0;
  text-decoration: none;
  color: #0C2030;
}

.sidebar a:hover {
  color: rgb(238, 174, 202);
}

.content-for-sidebar {
  margin-left: 20px;
  flex: 1;
}

.content-with-sidebar .col {
  border: 2px solid rgba(255, 255, 255, 0.85);
  background-color: rgba(249, 249, 250, 0.85);
  border-radius: 10px;
  padding: 40px;
  box-sizing: border-box;
  color: #0C2030;
  
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
              0 8px 25px rgba(0, 0, 0, 0.28),
              0 4px 15px rgba(0, 0, 0, 0.25),
              0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-out;
  position: relative;
  z-index: 1;
  transform: translateY(0);
}

.content-with-sidebar .col:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35),
              0 15px 35px rgba(0, 0, 0, 0.32),
              0 8px 20px rgba(0, 0, 0, 0.28),
              0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-6px);
}

.content-for-sidebar h2::before {
  display: block;
  content: " ";
  visibility: hidden;
}

.content-for-sidebar h3::before {
  display: block;
  content: " ";
  visibility: hidden;
}
.content-with-sidebar1 {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.sidebar1 {
  width: 250px;
  padding: 40px;
  position: sticky;
  top: 200px;
  box-sizing: border-box;
  height: fit-content;
  align-self: flex-start;
  border: 2px solid rgba(189, 191, 193);
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  color: #0C2030;
  

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
              0 8px 25px rgba(0, 0, 0, 0.28),
              0 4px 15px rgba(0, 0, 0, 0.25),
              0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-out;
  position: sticky;
  z-index: 1;
  transform: translateY(0);
}

.sidebar1:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35),
              0 15px 35px rgba(0, 0, 0, 0.32),
              0 8px 20px rgba(0, 0, 0, 0.28),
              0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-6px);
}



.sidebar1 a {
  display: block;
  margin: 10px 0;
  text-decoration: none;
  color: #0C2030;
}

.sidebar1 a:hover {
  color: rgb(238, 174, 202);
}

.content-for-sidebar1 {
  margin-left: 20px;
  flex: 1;
}

.content-with-sidebar1 .col {
  border: 2px solid rgb(255, 255, 255);
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  padding: 40px;
  box-sizing: border-box;
  color: #0C2030;
  
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
              0 8px 25px rgba(0, 0, 0, 0.28),
              0 4px 15px rgba(0, 0, 0, 0.25),
              0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-out;
  position: relative;
  z-index: 1;
  transform: translateY(0);
}

.content-with-sidebar1 .col:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35),
              0 15px 35px rgba(0, 0, 0, 0.32),
              0 8px 20px rgba(0, 0, 0, 0.28),
              0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-6px);
}

.content-for-sidebar1 h2::before {
  display: block;
  content: " ";
  visibility: hidden;
}

.content-for-sidebar1 h3::before {
  display: block;
  content: " ";
  visibility: hidden;
}

body {
  font-family: Arial, sans-serif;
 
}


table {
  border-collapse: collapse;
  width: 700px;
  margin: 0px auto;

}
th, td {
  border: 1px solid #333;
  padding: 12px;
  text-align: left;
}
th {
  background-color: #f0f0f0;
}
h1 {
  color: rgb(255, 255, 255, 1);
}


.sidebar ul {
  padding-left: 15px;
  margin-top: 5px;
}

.sidebar ul a {
  font-size: 0.9em;
  margin: 5px 0;
}

.sidebar a.active {
  color: rgba(84, 146, 219, 1);
  font-weight: bold;
  border-left: 3px solid rgba(84, 146, 219, 1);
  padding-left: 10px;
}

.gif {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gif img {
  max-width: 50%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.caption {
  font-size: 16px;
  color: #333;
  text-align: center;
  margin-top: 10px;
}

.hidden {
  display: none;
}

.expand-collapse-btn {
  color: blue;
  cursor: pointer;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .bg-section-dark {
    padding-left: 0%;
  }

  .sidebar {
    padding-left: 5px;
  }

  .content-for-sidebar {
    margin-left: 5px;
  }
}



.col:not(:first-child) {
  margin-top: 10px;
}

.col {
  border: 3px solid rgba(84, 146, 219, 1);
  background-color: #f9f9fa;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
  color: #0C2030;
  text-align: justify;
}

.gallery .image-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery .image-track {
  display: flex;
  transition: transform 0.5s ease;
}

.gallery .image-item {
  min-width: 50%;
  box-sizing: border-box;
  padding: 20px;
}

.gallery .image-item img {
  width: 100%;
  height: auto;
}


/* HOME */
body.home-page {
  padding-top: 0px;
  margin: 0;
  overflow-x: hidden;
}


.bg-dark-blue {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #0C2030;
  padding: 10%;
  display: flex;
  background-repeat: no-repeat;
  scroll-snap-align: start;
}

.social-icon {
  width: 30px;
  height: 30px;
  margin: 0 10px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.sponsor-logo img {
  max-width: 100%;
  height: auto;
}

.sponsor-header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10vh;
}

.footer-link-list a {
  color: #ffffff;
}

@media (max-width: 768px) {
  .sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .sponsor-grid {
    grid-template-columns: 1fr;
  }
}

/* Scrolling Effect */
.container-home {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  position: relative;
  overflow-x: hidden;
}

.section {
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-dots {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.dot:hover,
.dot.active {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(2);
}

.home-page .hidden-home {
  opacity: 0;
  transform: var(--initial-transform, translateX(-100%));
  transition: opacity 0s, transform 0s;
}

.slide-in-left {
  opacity: 1;
  --initial-transform: translateX(-50%);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-right {
  opacity: 1;
  --initial-transform: translateX(50%);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: var(--initial-transform);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.content-for-sidebar {
  margin-left: 20px;
  flex: 1;
}



/* text colour */
.bg-body {
  background-color: #02152e;
}

* {
  box-sizing: border-box;
}

.timeline-images img {
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
}

.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  text-decoration: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 18px;
  padding: 8px 12px;
  position: absolute;
  bottom: 0%;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0px 0px 20px 20px;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.timeline {
  position: relative;
  padding: 0;
  margin-bottom: 22px;
  list-style: none;
  background: transparent;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  content: "";
  background-color: #060738;
}

.timeline::after {
  display: block;
  clear: both;
  content: "";
}

.timeline:not(.timeline-single) .timeline-item:first-child+.timeline-item,
.timeline:not(.timeline-single) .timeline-period+.timeline-item+.timeline-item {
  margin-top: 90px;
}

.timeline-item {
  position: relative;
  display: block;
  float: left;
  width: 50%;
  padding-right: 40px;
  margin-bottom: 60px;
}

.timeline-item:not(.timeline-period)::after {
  display: block;
  clear: both;
  content: "";
}

.timeline-item.timeline-reverse {
  float: right;
  padding-right: 0;
  padding-left: 40px;
  clear: right;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-period {
  position: relative;
  z-index: 6;
  display: block;
  padding: 25px 10px;
  margin: 0px auto 30px;
  clear: both;
  font-size: 26px;
  text-align: center;
  text-transform: uppercase;
  border: 3px solid rgba(84, 146, 219, 1);
  background-color: #f9f9fa;
  color: #0C2030;
}

.timeline-images {
  width: 100%;
  overflow: hidden;
}

.timeline-dot {
  position: absolute;
  right: 0;
  z-index: 11;
  text-align: center;
  cursor: pointer;
  background-color: hsl(166, 94%, 66%);
  border-radius: 50%;
  top: 7.5px;
}

.timeline-reverse .timeline-dot {
  right: auto;
  left: 0;
  margin-right: 0;
}

.timeline .timeline-dot {
  width: 14px;
  height: 14px;
  margin-right: -7px;
  line-height: 14px;
}

.timeline .timeline-reverse .timeline-dot {
  margin-left: -7px;
}

.timeline.timeline-single {
  margin-left: 7px;
}

.timeline.timeline-single .timeline-dot {
  margin-left: -7px;
}

@media (max-width: 767.98px) {
  .timeline {
    margin-left: 7px;
  }

  .timeline .timeline-dot {
    margin-left: -7px;
  }
}

.timeline-text {
  float: right;
  padding: 0 20px;
  margin-bottom: 22px;
  line-height: 28px;
  text-align: justify;
  border: 3px solid rgba(84, 146, 219, 1);
  background-color: #f9f9fa;
  border-radius: 15px;
  color: #0C2030;
}

.timeline-reverse .timeline-text {
  float: left;
}

.timeline-footer {
  position: absolute;
  right: 0;
  bottom: -30px;
  margin-right: 55px;
}

.timeline-footer .icon {
  margin-right: 0.3em;
}

.timeline-reverse .timeline-footer {
  right: auto;
  left: 0;
  margin-right: 0;
  margin-left: 55px;
}

.timeline-reverse+.timeline-reverse {
  margin-top: 0;
}

@media (max-width: 767.98px) {
  .timeline:before {
    left: 0;
  }

  .timeline-item,
  .timeline-item.timeline-reverse {
    float: none;
    width: 100%;
    padding-right: 0;
    padding-left: 40px;
    margin-top: 0;
    margin-bottom: 60px;
  }

  .timeline-dot {
    right: auto;
    left: 0;
    margin-right: 0;
    margin-left: -7px;
  }

  .timeline-text {
    display: inline-block;
    float: none;
  }

  .timeline-footer {
    right: auto;
    bottom: -26px;
    left: 0;
    margin-right: 0;
    margin-left: 40px;
  }
}

.timeline-single:before {
  left: 0;
}

.timeline-single .timeline-item {
  float: none;
  width: 100%;
  padding-right: 0;
  padding-left: 40px;
  margin-bottom: 60px;
}

.timeline-single .timeline-dot {
  right: auto;
  left: 0;
  margin-right: 0;
  margin-left: -7px;
}

.timeline-single .timeline-text {
  float: left;
}

.timeline-single .timeline-footer {
  right: auto;
  bottom: -26px;
  left: 0;
  margin-right: 0;
  margin-left: 40px;
}

.timeline-icon .timeline-dot {
  width: 40px;
  height: 40px;
  margin-right: -20px;
  line-height: 40px;
}

.timeline-icon .timeline-reverse .timeline-dot {
  margin-left: -20px;
}

.timeline-icon.timeline-single {
  margin-left: 20px;
}

.timeline-icon.timeline-single .timeline-dot {
  margin-left: -20px;
}

@media (max-width: 767.98px) {
  .timeline-icon {
    margin-left: 20px;
  }

  .timeline-icon .timeline-dot {
    margin-left: -20px;
  }
}

.timeline-icon .timeline-dot {
  top: -5.5px;
}

.timeline-avatar .timeline-dot {
  width: 40px;
  height: 40px;
  margin-right: -20px;
  line-height: 40px;
}

.timeline-avatar .timeline-reverse .timeline-dot {
  margin-left: -20px;
}

.timeline-avatar.timeline-single {
  margin-left: 20px;
}

.timeline-avatar.timeline-single .timeline-dot {
  margin-left: -20px;
}

@media (max-width: 767.98px) {
  .timeline-avatar {
    margin-left: 20px;
  }

  .timeline-avatar .timeline-dot {
    margin-left: -20px;
  }
}

.timeline-avatar-sm .timeline-dot {
  width: 30px;
  height: 30px;
  margin-right: -15px;
  line-height: 30px;
}

.timeline-avatar-sm .timeline-reverse .timeline-dot {
  margin-left: -15px;
}

.timeline-avatar-sm.timeline-single {
  margin-left: 15px;
}

.timeline-avatar-sm.timeline-single .timeline-dot {
  margin-left: -15px;
}

@media (max-width: 767.98px) {
  .timeline-avatar-sm {
    margin-left: 15px;
  }

  .timeline-avatar-sm .timeline-dot {
    margin-left: -15px;
  }
}

.timeline-avatar-lg .timeline-dot {
  width: 50px;
  height: 50px;
  margin-right: -25px;
  line-height: 50px;
}

.timeline-avatar-lg .timeline-reverse .timeline-dot {
  margin-left: -25px;
}

.timeline-avatar-lg.timeline-single {
  margin-left: 25px;
}

.timeline-avatar-lg.timeline-single .timeline-dot {
  margin-left: -25px;
}

@media (max-width: 767.98px) {
  .timeline-avatar-lg {
    margin-left: 25px;
  }

  .timeline-avatar-lg .timeline-dot {
    margin-left: -25px;
  }
}

.timeline-simple .timeline-dot {
  top: 0;
  margin-top: 10px;
}

.timeline-feed .timeline-dot {
  width: 30px;
  height: 30px;
  margin-right: -15px;
  line-height: 30px;
}

.timeline-feed .timeline-reverse .timeline-dot {
  margin-left: -15px;
}

.timeline-feed.timeline-single {
  margin-left: 15px;
}

.timeline-feed.timeline-single .timeline-dot {
  margin-left: -15px;
}

.pic {
  width: 100%;
}

.polaroid {
  background: black;
  padding: 1rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.2);

}

.polaroid>img {
  max-width: 100%;
  height: auto;
}

.caption {
  font-size: 1.8rem;
  text-align: center;
  line-height: 2em;
}

.pic {
  display: inline-block;
  margin-top: 2rem;
  filter: grayscale(100%);
}

.pic .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transition: all 0.35s;
}

.pic:nth-of-type(4n+1) {
  transform: scale(0.8, 0.8) rotate(5deg);
  transition: all 0.35s;
}

.pic:nth-of-type(4n+1) .polaroid:before {
  transform: rotate(6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.4);
}

.pic:nth-of-type(4n+2) {
  transform: scale(0.8, 0.8) rotate(-5deg);
  transition: all 0.35s;
}

.pic:nth-of-type(4n+2) .polaroid:before {
  transform: rotate(-6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.4);
}

.pic:nth-of-type(4n+4) {
  transform: scale(0.8, 0.8) rotate(3deg);
  transition: all 0.35s;
}

.pic:nth-of-type(4n+4) .polaroid:before {
  transform: rotate(4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.3);
}

.pic:nth-of-type(4n+3) {
  transform: scale(0.8, 0.8) rotate(-3deg);
  transition: all 0.35s;
}

.pic:nth-of-type(4n+3) .polaroid:before {
  transform: rotate(-4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.3);
}

.pic:hover {
  filter: none;
  transform: scale(1, 1) rotate(0deg) !important;
  transition: all 0.35s;
}

.pic:hover .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transform: rotate(0deg);
  height: 90%;
  width: 90%;
  bottom: 0%;
  right: 5%;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  transition: all 0.35s;
}


.iframe-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

iframe {
  border: none;
}


/* TEAM */
.text-box-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  background-color: transparent;
}

.round-dark-text-box {
  background-color: #000000;
  color: #E8EFF1;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 4px rgba(255, 255, 255, 0.5);
  max-width: 90%;
  width: 400px;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.round-dark-text-box:hover {
  transform: scale(1.05);
  background-color: #1A3A55;
  box-shadow: 0 8px 16px rgba(0, 161, 173, 0.8);
  color: #FFFFFF;
  cursor: pointer;
}


.team-container {
  display: flex;
  flex-wrap: wrap;
  background-color: transparent;
  gap: 30px;
  justify-content: center;
  padding: 10px;
  max-width: 1200px;
  margin: 0 auto;
}


.team-member {
  background-color: #0C2030;
  text-align: center;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 0 10px 4px rgba(255, 255, 255, 0.476);
  overflow: hidden;
}

.team-member-image-info {
  position: relative;
  width: 370px;
  height: 370px;
  text-align: center;
  overflow: hidden;
}

.team-member-image-info img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-image-info .member-info {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid #ddd;
  transition: bottom 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  color: #300c28;
  text-align: justify;
}

.team-member-image-info .member-info-always-show {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid #ddd;
  transition: bottom 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  color: #300c28;
  text-align: justify;
}

.team-member-image-info:hover img {
  transform: scale(1.05);
}

.team-member-image-info:hover .member-info {
  bottom: 0;
}

.team-member h4 {
  margin-top: 15px;
  color: #E8EFF1;
}

.team-member h4 a i {
  color: #ebe8f1;
  /* LinkedIn icon color */
}


/* FOOTER */
.bg-footer {
  background: rgb(238, 174, 202);
  background: linear-gradient(#7b6055 29%, #7b6055 69%, #7b6055 100%);
  color: #ffffff;
}

.footer .image-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.footer .image-track {
  display: flex;
  transition: transform 0.5s ease;
  align-items: center;
}

.footer .image-item {
 min-width: 35%; 
  box-sizing: border-box; 
  padding: 10px; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  flex-shrink: 0; 
}

.footer .image-item img {
  width: 380px;
  height: auto;
  object-fit: cover;
  display: block;
}

.bg-section-blend-contribution>* {
  position: relative;
  z-index: 2;
}

/* Expand & Hide Tab */
details>summary {
  list-style-type: none;
  cursor: pointer;
  align-items: center;
}

details>summary::-webkit-details-marker {
  display: none;
}

details>summary::after {
  content: '+ EXPAND';
  font-size: 1.2rem;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  margin-left: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
  color: rgba(84, 146, 219, 1);
}

details[open]>summary::after {
  content: 'ƎꓷIH -';
  transform: rotate(180deg);
}

details>summary:hover::after {
  color: rgb(238, 174, 202);
}

details>summary {
  margin-bottom: 0.5rem;
}


.custom-btn {
  width: 100%;
  padding: 50px 0;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e4f2ff;
  transition: transform 0.3s ease;
}

.custom-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  transition: background 0.3s ease;
}

.custom-btn:hover::before {
  background: rgba(0, 0, 0, 0.5);
}

.custom-btn:hover {
  transform: scale(1.05);
  color: rgb(238, 174, 202);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.custom-btn span {
  position: relative;
  z-index: 2;
}

.row {
  margin-bottom: 20px;
}


.brand-box {
  background: url('https://static.igem.wiki/teams/5698/wiki/background-2.webp') center top;
  background-attachment: fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.brand-box .box1 {
  padding: 4rem 2rem;
  width: 400px;
  height: 400px;
  text-align: center;
  background: #fff9c4;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; 
  padding-top: 8rem; 
}

.brand-box .box1 h1 {
  margin-top: 0; 
  padding-top: 7rem; 
} 


.brand-box.team-bg {
  background-image: url('https://static.igem.wiki/teams/5698/wiki/bg/bgteam.avif');
}

.brand-box.hp-bg {
  background-image: url('https://static.igem.wiki/teams/5698/wiki/bg/bghp.avif');
}


.brand-box.dl-bg {
  background-image: url('https://static.igem.wiki/teams/5698/wiki/bg/bgdl.avif');
}

.brand-box.wl-bg {
  background-image: url('https://static.igem.wiki/teams/5698/wiki/bg/bgwl.avif');
}


.brand-box.project-bg {
  background-image: url('https://static.igem.wiki/teams/5698/wiki/bg/bgproject.avif');
}

.brand-box.bus-bg {
  background-image: url('https://static.igem.wiki/teams/5698/wiki/bg/bgbus.avif');
}
.overall-center {
  margin: 0px 200px; 
  max-width: 1000px; 
}

.fraction {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  margin: 0 5px; 
}
.numerator {
  border-bottom: 1px solid #000;
  display: block;
  padding: 0 3px;
}
.denominator {
  display: block;
  padding: 0 3px;
}

.formula-group {
  text-align: left; 
  margin: 0 0; 
  padding: 10px 0;
  border-radius: 10x;
  display: inline-block;

}

.formula-group p {
  line-height: 2; 
  margin: 8px 0; 
}
