/* a modern css reset*/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
    border: 0;
    margin: 0;
    padding: 0;
    font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
html,
body {
    height: 100%;
    width: auto
}

body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}

a {
    color: #0d6efd;
    /* text-decoration: none !important; */
}

a:hover {
    color: inherit;
}


/* ############################################################### */

/* --------- */
/* Variables */
/* --------- */
:root{
    --clr-body: #100f12;
    --clr-background: #F7FBFC;

    --clr-header: #3f4f65;
    --clr-header-1: #657284;
    --clr-header-2: #8c95a3;
    --clr-header-3: #b2b9c1;
    --clr-header-4: #d9dce0;
    --clr-header-5: #eceef0;

    --clr-accent-1: #c62e65;

    --clr-accent-2: #2f97c1;
    --clr-accent-2-1: #59ACCD;
    --clr-accent-2-2: #82C1DA;
    --clr-accent-2-3: #ACD5E6;
    --clr-accent-2-4: #D5EAF3;
    --clr-accent-2-5: #ebf5f9;
    --clr-accent-2-6: rgb(17,122,171);
    --clr-accent-2-7: rgb(6, 71, 102);
    --clr-accent-2-8: #336896;

    --clr-accent-3: #1ccad8;
    --clr-accent-3-1: #49d5e0;
    --clr-accent-3-2: #77dfe8;
    --clr-accent-3-3: rgb(164, 234, 239);

    --clr-light-blue: #ACD5E6;
    --clr-middle-blue: #326896;
    --clr-dark-blue: #3F4F65;
    --clr-dark-red: #D22463;
    --clr-dark-orange: #FF8D33;
    --clr-dark-gelb: #F4D574;

    --clr-click: #44b06b;
    --clr-click-1: #69c089;
    --clr-click-2: #8fd0a6;

    --font-family-primary: "Exo 2", sans-serif;

    --ff-body: var(--font-family-primary);
    --ff-heading: var(--font-family-primary);

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semi-bold: 600;
    --fw-bold: 700;

    --fs-body: 0.625vw;
    --fs-header: 1.377vw;

    --fs-400: 0.85rem;
    --fs-500: 1.15rem;
    --fs-700: 1.4rem;

    --fs-h1: 4rem;
    --fs-h1-5: 3.25rem;
    --fs-h2: 2.5rem;
    --fs-h3: 1.875rem;
    --fs-h4: 1.4375rem;
    --fs-h5: 0.875rem;
    --fs-h6: 1rem;

    --fs-hero: 5.4375rem;


    --fs-btn-regular: 1.563vw;
    --fs-btn-active: 1.823vw;
}

/* ------------- */
/* Media Queries */
/* ------------- */
/* Medium screens (tablets, 768px and up) */
@media (max-width: 1024px) {
    :root {
        --fs-body: 0.8vw;
        --fs-header: 1.6vw;

        --fs-400: 0.7rem;
        --fs-500: 0.9rem;
        --fs-700: 1.15rem;

        --fs-h1: 3.5rem;
        --fs-h1-5: 2.75rem;
        --fs-h2: 2.25rem;
        --fs-h3: 1.75rem;
        --fs-h4: 1.375rem;
        --fs-h5: 1rem;

        --fs-hero: 4.75rem;

        --fs-btn-regular: 1.8vw;
        --fs-btn-active: 2.1vw;
    }
}

/* Small screens (phones, 600px and up) */
@media (max-width: 768px) {
    :root {
        --fs-body: 1vw;
        --fs-header: 1.8vw;

        --fs-400: 0.5rem;
        --fs-500: 0.75rem;
        --fs-700: 1rem;

        --fs-h1: 3rem;
        --fs-h1-5: 2.5rem;
        --fs-h2: 2rem;
        --fs-h3: 1.5rem;
        --fs-h4: 1.25rem;
        --fs-h5: 1.125rem;

        --fs-hero: 4rem;

        --fs-btn-regular: 2vw;
        --fs-btn-active: 2.25vw;
    }
}

/* Extra small screens (phones, less than 600px) */
@media (max-width: 600px) {
    :root {
        --fs-body: 1.2vw;
        --fs-header: 2vw;

        --fs-400: 0.45rem;
        --fs-500: 0.7rem;
        --fs-700: 0.8rem;

        --fs-h1: 3.5rem;
        --fs-h1-5: 2rem;
        --fs-h2: 1.75rem;
        --fs-h3: 1.2rem;
        --fs-h4: 1.125rem;
        --fs-h5: 1rem;

        --fs-hero: 3.5rem;

        --fs-btn-regular: 2.2vw;
        --fs-btn-active: 2.5vw;
    }
}
.desktop {
    display: block;
}

.mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile {
      display: block !important;
    }

    .desktop {
      display: none !important;
    }
}

/* ----- */
/* Fonts */
/* ----- */
@font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 200;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-extralight.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: italic;
    font-weight: 200;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-extralightitalic.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 100;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-thin.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: italic;
    font-weight: 100;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-thinitalic.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 300;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-light.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: italic;
    font-weight: 300;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-lightitalic.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 400;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-regular.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: italic;
    font-weight: 400;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-italic.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 500;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-medium.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: italic;
    font-weight: 500;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-mediumitalic.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 600;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-semibold.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: italic;
    font-weight: 600;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-semibolditalic.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 700;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-bold.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: italic;
    font-weight: 700;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-bolditalic.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 800;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-extrabold.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: italic;
    font-weight: 800;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-extrabolditalic.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 900;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-black.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: italic;
    font-weight: 900;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-blackitalic.ttf') format('truetype');
  }

  /* For variable fonts */
  @font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 100 900;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-variablefont-wght.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Exo2';
    font-style: italic;
    font-weight: 100 900;
    src: url('https://static.igem.wiki/teams/5237/fonts/exo2-italic-variablefont-wght.ttf') format('truetype');
  }

/* --------------- */
/* Uitlity classes */
/* --------------- */
.fw-regular {
    font-weight: var(--fw-regular);
}

.fw-medium {
    font-weight: var(--fw-medium);
}

.fw-semi-bold {
    font-weight: var(--fw-semi-bold);
}

.fw-bold {
    font-weight: var(--fw-bold);
}
.fs-400 {
    font-size: var(--fs-400);
}

.fs-500 {
    font-size: var(--fs-500);
}

.fs-700 {
    font-size: var(--fs-700);
}

.fs-h1 {
    font-size: var(--fs-h1);
}

.fs-h1-5 {
    font-size: var(--fs-h1-5);
}

.fs-h2 {
    font-size: var(--fs-h2);
}

.fs-h3 {
    font-size: var(--fs-h3);
}

.fs-h4 {
    font-size: var(--fs-h4);
}

.fs-h5 {
    font-size: var(--fs-h5);
}

.fs-hero {
    font-size: var(--fs-hero);
}

.clr-body {
    color: var(--clr-body);
}

.clr-background {
    color: var(--clr-background);
}

.clr-accent-1 {
    color: var(--clr-accent-1);
}

.clr-accent-2 {
    color: var(--clr-accent-2);
}

.clr-accent-3 {
    color: var(--clr-accent-3);
}

.clr-accent-2-7 {
    color: var(--clr-accent-2-7);
}

.clr-accent-2-8 {
    color: var(--clr-accent-2-8);
}

.clr-click {
    color: var(--clr-click);
}

.flex {
    display: flex;
    gap: var(--gap, 1rem); /* change gap for specific elements */
}

.flex-column {
    flex-direction: column; /* Arrange items vertically */
}

.flex-row {
    flex-direction: row; /* Arrange items horizontally */
}

.flex-wrap {
    flex-wrap: wrap; /* Allow items to wrap onto multiple lines */
}

.justify-content-start {
    justify-content: flex-start; /* Align items to the start of the flex container */
}

.justify-content-end {
    justify-content: flex-end; /* Align items to the end of the flex container */
}

.justify-content-center {
    justify-content: center; /* Align items to the center of the flex container */
}

.justify-content-space-between {
    justify-content: space-between; /* Distribute items evenly with the first item at the start and the last item at the end */
}

.justify-content-space-around {
    justify-content: space-around; /* Distribute items evenly with equal space around them */
}

.justify-content-space-evenly {
    justify-content: space-evenly; /* Distribute items evenly with equal space around them, including the space before the first and after the last item */
}

.align-items-start {
    align-items: flex-start; /* Align items to the start of the cross axis */
}

.align-items-end {
    align-items: flex-end; /* Align items to the end of the cross axis */
}

.align-items-center {
    align-items: center !important; /* Align items to the center of the cross axis */
}

.align-items-stretch {
    align-items: stretch; /* Stretch items to fill the cross axis */
}

.align-items-baseline {
    align-items: baseline; /* Align items to their baselines */
}

.align-content-space-between {
    align-content: space-between !important;
}

.align-content-space-evenly {
    align-content: space-evenly !important;
}

.block-text {
    text-align: justify !important;
    text-align-last: left !important;
}

.text-center {
    text-align-last: center !important;
}
.sticky-top{
    position: sticky;
    top: 0;
}
.underline-text {
    text-decoration: underline;
}

/* ------- */
/* GENERAL */
/* ------- */

.italic {
    font-style: italic;
}

body {
    font-family: "Exo2", sans-serif;
    font-size: var(--fs-500);
    color: var(--clr-body);
    background-color: var(--clr-background);
    height: 100vh;
    width: 100vw;
    max-width: 1960px;
    height: auto;
    margin: 0 auto;
    box-sizing: border-box;
}
body.Hero-visible::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('https://static.igem.wiki/teams/5237/blue-background-1.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

@media (max-width: 768px) {
    body::before {
        background-image: none;
    }
}

.figcaption {
    font-size: var(--fs-400);
    opacity: 0.9;
    border-top: 2px solid var(--clr-dark-blue);
    margin-top: 1rem;
    margin-bottom: 0;
}
/* style.css */

/* Style for the loader div
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#wrapper-of-all {
    display: none;
}
*/

/* ------ */
/* HEADER */
/* ------ */
.primaryheader {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 101;
    width: 100%;
    transition: all 0.3s ease;
}

.primaryheader.mobile-gallery-header {
    background-color: transparent;
}

.nav-links-wrapper {
    position: absolute;
    display: flex;
    justify-content: start;
    top: 2rem;
    width: 100%;
    opacity: 1;
    z-index: 102;
}

.nav-links-wrapper.hidden {
    transform: translateX(200%);
    opacity: 0;
    display: none;
}

.nav-links-wrapper .nav-link.first {
    margin-left: 40%;
}
@media (max-width: 1400px) {
    .nav-links-wrapper .nav-link.first {
        margin-left: 15%;
    }
}

.awards-shimmer {
    background: linear-gradient(45deg, 
    #9B1E8F, #E5AC6E, #ED9681, 
    #9F2793, #E737B8, #B85FAF, 
    #3F37AF, #5C9DEA, 
    #9B1E8F, #E5AC6E);
    background-size: 400% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: smooth-shimmer 8s ease infinite;
}
.star-hover {
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.star-hover .stars {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.star-hover:hover .stars {
    opacity: 1;
}

.star {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg, 
    #9B1E8F, #E5AC6E, #ED9681, #B85FAF, #5C9DEA, 
    #9B1E8F, #E5AC6E);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 2s infinite alternate;
    opacity: 0;
}

@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    100% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

.star:nth-child(1) { top: -23px; left: -30px; animation-delay: 0.1s; }
.star:nth-child(2) { top: -20px; right: -30px; animation-delay: 0.3s; }
.star:nth-child(3) { bottom: -29px; left: -21px; animation-delay: 0.5s; }
.star:nth-child(4) { bottom: -35px; right: -35px; animation-delay: 0.7s; }

@keyframes smooth-shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.nav-links-wrapper .dropdown-menu {
    left: 12.5% !important;
    transform: translate3d(0,0,0) !important;
    margin-top: 5% !important;
    border-radius: 13px !important;
}
.nav-links-wrapper .dropdown-menu .layout-dropdown-menu {
    display: flex;
    flex-wrap: wrap;
}

.nav-links-wrapper .dropdown-menu .dropdown-link-wrapper {
    flex: 0 0 50%;
}
.nav-links-wrapper .hyperlink-subgroup img {
    width: 45px;
    height: 45px;
}
.nav-links-wrapper .hyperlink-subgroup {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    margin-left: 15%;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.nav-links-wrapper .hyperlink-subgroup:hover {
    transform: translateX(-2.5%);
}
.nav-link {
    color: var(--clr-body);
}


.logo-wrapper:not(.active) {
    position: absolute;
    left: 0;
    margin-left: 0.5%;
    top: 2rem;
    animation: SlideInLeft 0.5s ease-in-out;
    animation-fill-mode: both;
    animation-delay: 0.7s;
    max-width: 8.5%;
}

.logo-wrapper.active {
    position: absolute;
    left: 0;
    margin-left: 0.5%;
    top: 2rem;
    animation: SlideOutLeft 0.5s ease-in-out;
    max-width: 8.5%;
}

.logo {
    position: relative;
    width: 100%;
}

.logo-text {
    position: relative;
    width: 100%;
}

.logo #wheel {
    transform-origin: center;
    transform-box: fill-box;
}

#progress-container {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    height: 100%;
    width: 8px; /* Width of the progress bar */
}

#progress-bar {
    width: 100%;
    background: var(--clr-accent-3-2);
    height: 0%;
    transition: height 0.2s ease; /* Optional: smooth animation for the progress */
}

.menu-phone-button{
  position: absolute !important;
  top: 0px;
  right: 0px;
  margin-top: 1.5%;
  margin-right: var(--bs-gutter-x,.75rem);
  cursor: pointer;
  width: 10%;
  padding: 0rem;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.3s ease;
  display: none !important;

}


@media (max-width: 800px) {
  .exploreNav {
    display: none !important;
    opacity: 0 !important;
  }

  .menu-phone-button{
    display: flex !important;
  }

}

.exploreNav:not(.show) {
    position: absolute;
    right: 0;
    margin-right: 1.5%;
    top: 2rem;
    cursor: pointer;
    width: 10%;
    padding: 0rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.exploreNav.show {
    position: absolute;
    right: 0;
    margin-right: 1.5%;
    top: 2rem;
    cursor: pointer;
    width: 10%;
    padding: 0rem;
    pointer-events: auto;
    opacity: 1;
    display: block !important;
    transition: opacity 0.3s ease;
}

.primaryheader.scrolled .exploreNav.active {
    position: absolute;
    right: 0;
    margin-right: 1.5%;
    top: 2rem;
    animation: SlideOutRight 0.5s ease-in-out;
    width: 10%;
    animation-fill-mode: forwards;
    padding: 0rem;
}

#curveText-nav {
    transform-origin: center;
    transform-box: fill-box;
}

/* ---------- */
/* Navigation */
/* ---------- */
.overlay-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    background-color: #262F3D;
    z-index: 1000000000000000000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.navOverlay {
    position: fixed;
}

.overlay-wrapper.active {
    display: flex;
    animation: Appearing 0.5s ease-in-out;
}

.overlay-wrapper.closing {
    display: flex;
    animation: Disappearing 0.9s ease-in;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

.overlay-wrapper .nav-hyperlinks {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-wrapper .hyperlinkGroup {
    display: none;
    z-index: 10000000000000000001;
    flex-direction: column;
}

.overlay-wrapper .hyperlinkGroup.active {
    display: flex;
    cursor: pointer;
}
.overlay-wrapper .hyperlink-subgroup {
    display: flex;
    align-items: center;
    justify-content: start;
    transition: transform 0.3s ease, filter 0.3s ease;
    transition-delay: 0.08s;
}

.overlay-wrapper .hyperlink-subgroup:hover {
    transform: translateX(-16px);
    filter: contrast(200%) brightness(130%);
}
.overlay-wrapper .hyperlink-subgroup img {
    width: 45px;
    height: 45px;
}

.overlayNav .preview-group {
    display: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: scale(0.95);
}

.overlayNav .preview-group.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.overlay-wrapper .primary.active {
    animation: slideUp 0.3s ease-out;
    animation-fill-mode: forwards;
}
.overlay-wrapper .secondary.active {
    opacity: 0;
    animation: Appearing 0.15s ease-out;
    animation-fill-mode: forwards;
    animation-delay: 0.35s;
}

.overlay-wrapper .primary.inactive {
    animation: slideDown 0.3s ease-out;
    animation-fill-mode: forwards;
}
.overlay-wrapper .secondary.inactive {
    animation: slideDown 0.3s ease-out;
    animation-fill-mode: forwards;
}

.close-button:not(.active) {
    position: absolute;
    top: 50%;
    bottom: 50%;
    left: 25px;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    z-index: 101;
    animation: SlideOutLeft 0.8s ease-in-out;
    animation-fill-mode: forwards;
}

.close-button.active {
    display: block;
    position: absolute;
    top: 50%;
    bottom: 50%;
    left: 25px;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    z-index: 101;
    animation: SlideInLeft 0.8s ease-in-out;
    animation-fill-mode: both;
}

.cardteam-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 80%;
}


.nav-Ball {
    fill: #1CCAD8;
}

.nav-Ball.active {
    fill: #C62E65;
}

.nav-Subcircle.active {
    display: block;
    animation: expandCenter 0.7s ease-in-out;
    transform-origin: center;
    transform-box: fill-box;
    animation-fill-mode: forwards;
}

.nav-Subcircle:not(.active) {
    display: block;
    animation: shrinkCenter 0.5s ease-in-out;
    transform-origin: center;
    transform-box: fill-box;
    animation-fill-mode: forwards;
}

.nav-detection-rect {
    opacity: 0;
    cursor: pointer;
}

.nav-polGroup1.active {
    opacity: 0;
    fill: #323E50;
    animation: expandCenter 0.8s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
    transform-origin: center;
}
.nav-polGroup2.active {
    opacity: 0;
    fill: #435166;
    animation: expandCenter 1s ease-in-out;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
    transform-origin: center;
}

.nav-polGroup3.active {
    opacity: 0;
    fill: #262A2F;
    animation: expandCenter 0.5s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
    transform-origin: center;
}
.nav-polGroup4.active {
    opacity: 0;
    fill: #303742;
    animation: expandCenter 0.6s ease-in-out;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
    transform-origin: center;
}

.nav-polGroup1:not(.active) {
    opacity: 0;
    fill: #323E50;
    animation: shrinkCenter 0.8s ease-out;
    animation-fill-mode: forwards;
    transform-origin: center;
}
.nav-polGroup2:not(.active) {
    opacity: 0;
    fill: #435166;
    animation: shrinkCenter 1s ease-in-out;
    animation-fill-mode: forwards;
    transform-origin: center;
}
.nav-polGroup3:not(.active) {
    opacity: 0;
    fill: #262A2F;
    animation: shrinkCenter 0.5s ease-out;
    animation-fill-mode: forwards;
    transform-origin: center;
}
.nav-polGroup4:not(.active) {
    opacity: 0;
    fill: #303742;
    animation: shrinkCenter 0.6s ease-in-out;
    animation-fill-mode: forwards;
    transform-origin: center;
}

.nav-polygon {
    position: relative; /* Ensure the parent has a positioning context */
    overflow: hidden; /* Ensure the shimmer effect doesn't overflow */
}

.shimmer1 {
    animation: shimmer1 8s linear infinite;
}
.shimmer2 {
    animation: shimmer2 7s linear infinite;
}

.shimmer3 {
    animation: shimmer3 6s linear infinite;
}


@keyframes shimmer1 {
    0% {
        fill: #262A2F;
    }
    30% {
        fill: #323E50;
    }
    35% {
        fill: #262A2F;
        opacity: 5%;
    }
    37% {
        fill: #262A2F;
    }
    100% {
        fill: #262A2F;
    }
}

@keyframes shimmer2 {
    0% {
        fill: #435166;
    }
    30% {
        fill: #435166;
    }
    35% {
        fill: #C1C3C7;
        opacity: 7%;
    }
    37% {
        fill: #435166;
    }
    100% {
        fill: #435166;
    }
}

@keyframes shimmer3 {
    0% {
        fill: #323E50;
    }
    30% {
        fill: #323E50;
    }
    35% {
        fill: #C1C3C7;
        opacity: 7%;
    }
    37% {
        fill: #323E50;
    }
    100% {
        fill: #323E50;
    }
}

@keyframes expandCenter {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shrinkCenter {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}
@keyframes expandTopCenter {
    0% {
        transform: scale(0);
        transform-origin: top center;
        opacity: 0;
    }
    100% {
        transform: scale(1);
        transform-origin: top center;
        opacity: 1;
    }
}

@keyframes shrinkTopCenter {
    0% {
        transform: scale(1);
        transform-origin: top center;
        opacity: 1;
    }
    100% {
        transform: scale(0);
        transform-origin: top center;
        opacity: 0;
    }
}
@keyframes expandBottomCenter {
    0% {
        transform: scale(0);
        transform-origin: bottom center;
        opacity: 0;
    }
    100% {
        transform: scale(1);
        transform-origin: bottom center;
        opacity: 1;
    }
}
@keyframes shrinkBottomCenter {
    0% {
        transform: scale(1);
        transform-origin: bottom center;
        opacity: 1;
    }
    100% {
        transform: scale(0);
        transform-origin: bottom center;
        opacity: 0;
    }
}
@keyframes Appearing {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes Disappearing {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes SlideOutLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-800%);
    }
}

@keyframes SlideOutRight {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(800%);
    }
}

@keyframes SlideInLeft {
    0% {
        transform: translateX(-800%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes SlideInRight {
    0% {
        transform: translateX(800%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(0.5rem);
        opacity: 0.3
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(0.5rem);
        opacity: 0;
    }
}

@media (max-width: 921px) {
    .overlayNav svg{
        height: 100%;
        width: auto;
    }
    .overlayNav svg .bot{
        transform: translateY(55%);
    }
    .overlayNav svg .top{
        transform: translateY(-55%);
    }
    .bot .nav-polGroup1.active {
        opacity: 0;
        fill: #323E50;
        animation: expandTopCenter 0.8s ease-out;
        animation-delay: 0.2s;
        animation-fill-mode: forwards;
        transform-origin: center;
    }
    .bot .nav-polGroup2.active {
        opacity: 0;
        fill: #435166;
        animation: expandTopCenter 1s ease-in-out;
        animation-delay: 0.2s;
        animation-fill-mode: forwards;
        transform-origin: center;
    }

    .bot .nav-polGroup3.active {
        opacity: 0;
        fill: #262A2F;
        animation: expandTopCenter 0.5s ease-out;
        animation-delay: 0.2s;
        animation-fill-mode: forwards;
        transform-origin: center;
    }
    .bot .nav-polGroup4.active {
        opacity: 0;
        fill: #303742;
        animation: expandTopCenter 0.6s ease-in-out;
        animation-delay: 0.2s;
        animation-fill-mode: forwards;
        transform-origin: center;
    }

    .bot .nav-polGroup1:not(.active) {
        opacity: 0;
        fill: #323E50;
        animation: shrinkTopCenter 0.8s ease-out;
        animation-fill-mode: forwards;
        transform-origin: center;
    }
    .bot .nav-polGroup2:not(.active) {
        opacity: 0;
        fill: #435166;
        animation: shrinkTopCenter 1s ease-in-out;
        animation-fill-mode: forwards;
        transform-origin: center;
    }
    .bot .nav-polGroup3:not(.active) {
        opacity: 0;
        fill: #262A2F;
        animation: shrinkTopCenter 0.5s ease-out;
        animation-fill-mode: forwards;
        transform-origin: center;
    }
    .bot .nav-polGroup4:not(.active) {
        opacity: 0;
        fill: #303742;
        animation: shrinkTopCenter 0.6s ease-in-out;
        animation-fill-mode: forwards;
        transform-origin: center;
    }
    .top .nav-polGroup1.active {
        opacity: 0;
        fill: #323E50;
        animation: expandBottomCenter 0.8s ease-out;
        animation-delay: 0.2s;
        animation-fill-mode: forwards;
        transform-origin: center;
    }
    .top .nav-polGroup2.active {
        opacity: 0;
        fill: #435166;
        animation: expandBottomCenter 1s ease-in-out;
        animation-delay: 0.2s;
        animation-fill-mode: forwards;
        transform-origin: center;
    }

    .top .nav-polGroup3.active {
        opacity: 0;
        fill: #262A2F;
        animation: expandBottomCenter 0.5s ease-out;
        animation-delay: 0.2s;
        animation-fill-mode: forwards;
        transform-origin: center;
    }
    .top .nav-polGroup4.active {
        opacity: 0;
        fill: #303742;
        animation: expandBottomCenter 0.6s ease-in-out;
        animation-delay: 0.2s;
        animation-fill-mode: forwards;
        transform-origin: center;
    }

    .top .nav-polGroup1:not(.active) {
        opacity: 0;
        fill: #323E50;
        animation: shrinkBottomCenter 0.8s ease-out;
        animation-fill-mode: forwards;
        transform-origin: center;
    }
    .top .nav-polGroup2:not(.active) {
        opacity: 0;
        fill: #435166;
        animation: shrinkBottomCenter 1s ease-in-out;
        animation-fill-mode: forwards;
        transform-origin: center;
    }
    .top .nav-polGroup3:not(.active) {
        opacity: 0;
        fill: #262A2F;
        animation: shrinkBottomCenter 0.5s ease-out;
        animation-fill-mode: forwards;
        transform-origin: center;
    }
    .top .nav-polGroup4:not(.active) {
        opacity: 0;
        fill: #303742;
        animation: shrinkBottomCenter 0.6s ease-in-out;
        animation-fill-mode: forwards;
        transform-origin: center;
    }

}



@media (max-width: 575px) {
    .primaryheader {
        position: fixed;
        background-color: white;
        z-index: 100000000000;
    }
    .primaryheader .logo-wrapper {
        top: 0rem;
    }
    .primaryheader .exploreNav {
        top: 0rem;
    }
    .primaryheader.mobile-gallery-header {
        background-color: #841F44;
    }
    .mobile-gallery-header h3 {
        color: white;
        margin-bottom: 0;
    }
    .primaryheader h3 {
        margin-bottom: 0;
    }
    .Hero {
        margin-top: 4.2rem;
    }
    .first-row-Hero {
        margin-top: 0 !important;
    }

}
.nav-hyperlinks-mobile {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    top: 10%;
}

.nav-hyperlinks-mobile ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 300px; /* Adjust as needed */
    background-color: transparent;
}

.nav-hyperlinks-mobile ul li {
    width: 100%;
}

.nav-hyperlinks-mobile ul li a {
    display: block;
    color: white;
    text-align: left; /* Align text to the left */
    padding: 14px 16px;
    text-decoration: none;
    background-color: transparent;
}

.dropdown {
    position: relative;
    width: 100%;
}

.not-dropdown {
    position: relative;
    width: 100%;
    z-index: 10000000;
}

.dropdown-content {
    display: none;
    position: relative;
    background-color: transparent;
    width: 100%;
    margin-left: 2rem;
}

.dropdown-content.active {
    animation: slideDown 0.3s forwards;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.show {
    display: block;
}

.close-button-mobile:not(.active) {
    display: none;
    position: absolute;
    right: 0;
    margin-right: 1.75rem;
    top: 0.5rem;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 25px;
    cursor: pointer;
    z-index: 101;
    animation: SlideOutRight 0.8s ease-in-out;
    animation-fill-mode: both;
}

.close-button-mobile.active {
    display: block;
    position: absolute;
    right: 0;
    margin-right: 1.75rem;
    top: 0.5rem;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 25px;
    cursor: pointer;
    z-index: 101;
    animation: SlideInRight 0.8s ease-in-out;
    animation-fill-mode: both;
}

.mobile-nav .hyperlink-subgroup img {
    width: 20px;
    height: 20px;
}

@keyframes slideDown {
    0% {
      max-height: 0;
    }
    100% {
      max-height: 100%;
    }
}

@keyframes slideUp {
    0% {
      max-height: 100%;
    }
    100% {
      max-height: 0;
    }
}

.desktop-nav {
    display: block;
}

.mobile-nav {
    display: none !important;
}

@media (max-width: 920px) {
    .mobile-nav {
        display: block !important;
    }

    .desktop-nav {
        display: none !important;
    }
}

@media (min-width: 921px) and (max-width: 1199px) and (min-height: 651px) {
    .desktop-nav {
        display: block !important;
    }

    .mobile-nav {
        display: none !important;
    }
}

@media (min-width: 1200px) and (max-width: 1499px) and (min-height: 860px) {
    .desktop-nav {
        display: block !important;
    }

    .mobile-nav {
        display: none !important;
    }
}

@media (min-width: 1500px) and (min-height: 820px) {
    .desktop-nav {
        display: block !important;
    }

    .mobile-nav {
        display: none !important;
    }
}


/* --------------- */
/* SIDE NAVIGATION */
/* --------------- */

#sidenav-wrapper {
    z-index: 1001;
    background-color: var(--clr-background);
    margin-top: 0;
}

@media (max-width: 991px) {
    #sidenav-wrapper {
        display: none !important;
    }
}

.jumper {
    top: -105px;
}

.sidenav-header {
    padding-left: 1rem;
}

.sidenav-link{
    display: flex;
    justify-content:last baseline;
    align-items: center;
    transition: 0.4s ease;
}
.sidenav-link:hover {
    transform: translateX(1rem);
}
.sidenav-link.active1 {
    color: var(--clr-accent-1);
    transform: translateX(1.8rem);
}

.sidenav-triangle-svg {
    width: 3rem;
}

.sidenav-triangle-svg.sub {
    width: 2rem;
}

#dark1,
#dark2,
#light1 {
  transition: all 0.4s ease;
}

#dark2 {
  transform: translateX(-100%);
}

#darkGroup {
  fill: var(--clr-accent-2)
}

#lightGroup {
  fill: var(--clr-accent-2-2)
}

.sidenav-triangle-svg.last #darkGroup {
    fill: var(--clr-accent-1)
}

.sidenav-triangle-svg.last #lightGroup {
    fill: var(--clr-accent-1);
    opacity: 0.7;
}

.nav-item .active #light1 {
    transform: translateX(20%);
}

.nav-item .active #dark1 {
    transform: translateX(40%);
    opacity: 0;
}

.nav-item .active #dark2 {
    transform: translateX(0%);
}

.nav-item.sub{
    margin-left: 1rem;
}

/*-------------*/
/* TEAM MEMBER */
/*-------------*/

.team-con {
    -webkit-font-smoothing: antialiased;
  }

.team-con .container-team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem auto;
}

.team-con hr.custom-hr {
    border: 0;
    height: 5px;
    width: 80%;
    background-color: var(--clr-accent-2-6);
    margin: 20px auto; /* Centering */
    border-radius: 50px;
    opacity: 0.25;
}

.team-con .card {
    width: 525px;
    height: 375px;
    margin: 2rem;
    margin-bottom: 2rem;
    perspective: 1000px;
    cursor: pointer;
    border-radius: 10px !important;
}

.team-con .card-front > img {
    height: 95% !important;
    object-fit: cover;
}

.team-con .card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.team-con .card:hover .card-inner {
    transform: rotateY(180deg);
}


.team-con .card-front,
.team-con .card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 5px;
    box-sizing: border-box;
    backface-visibility: hidden;
    border-radius: 10px;
}

.team-con .card-front {
    background-color: var(--clr-accent-2-6);
    left: 0;
}

.team-con .card-back {
    background-color: var(--clr-header);
    color: var(--clr-background);
    transform: rotateY(180deg);
    right: 0;
}

.team-con .name {
    font-size: 24px;
    font-weight: bold;
    color: var(--clr-background);
}

.team-con .card-front .left, .card-back .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
}

.team-con .card-front .right, .card-back .right {
    padding-top: 2rem;
    width: 50%;
    height: 100%;
    line-height: 1.8;
    flex: 1.5;
    display: flex;
    flex-direction: column;
}

.team-con .border {
    width: 90%;
    left: 5%;
    height: 2px;
    background-color: var(--clr-background);
    margin-bottom: 1rem;
}

.team-con .card img {
    width: 200px;
    max-height: 80%;
    border-radius: 10px;
}

.team-con .card p {
    font-size: 20px;
    line-height: 1; /* Adjust this value to reduce space between lines */
    color: var(--clr-background);
}

.image-container {
    position: relative;
    width: 100%;
    display: inline-block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.original-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease, clip-path 0.3s ease;
    object-fit: cover;
}


/* ------------ */
/* FOOTER STYLES */
/* ------------ */
.footer {
    background: var(--Linear, linear-gradient(180deg, #F7FBFC 0%, #CDE4EE 87.74%, #ACD5E6 100%));
}

.list-inline-item a:hover {
    transform: translateY(-0.5rem);
    background-color: var(--clr-accent-2-3);
}

.list-inline-item a {
    display: flex;
    background-color: white;
    border-radius: 13px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    padding: 0.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.list-inline-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.logo-footer {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.autoplay {
    margin: 0.5rem;
}

.autoplay-item {
    display: inline-block;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0.5rem;
}

.autoplay-item div {
    text-align: center;
    height: 100%;
    object-fit: contain;

}

.autoplay-item img {
    height: 8rem;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 12px;
}

@media (max-width: 990px) {
    .autoplay-item img {
        height: 5rem;
    }
}

@media (max-width: 575px) {
    .autoplay-item img {
        height: 2.5rem;
    }
}

.footer .hans-messer-logo-footer {
    width: 35%;
    margin-top: auto;
    margin-bottom: auto;
    padding: 1rem;
    border-radius: 13px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
}


/* ---- */
/* Hero */
/* ---- */
.Hero {
    position: relative;
    display: flex;
    align-items: start;
    min-height: 100vh;
    box-sizing: content-box;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .Hero {
        height: 100%;
    }
}

@media (max-width: 575px) {
    .Hero {
        min-height: 50%;
    }
}

.first-row-Hero {
    margin-top: 10%;
}

.hero-title {
    font-size: var(--fs-hero);
    position: relative;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-semi-bold);
    margin-bottom: 1rem;
}

.hero-img {
    max-height: 75%;
}

.teaser-grid {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

@media (max-width: 1199px) {
    .teaser-grid {
        margin-left: 0;
    }
}

.teaser {
    background-color: white;
    border-radius: 13px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    box-sizing: border-box;
    height: 100%;
    max-width: 350px;
    max-height: 250px;
    min-width: 250px;
}

.team .teaser {
    max-width: 700px;
}


.results .teaser {
    max-width: 1000px;
    max-height: 300px;
}

.safety .teaser {
    max-width: 1000px;
    max-height: 300px;
}

.model .teaser {
    max-width: 1000px;
    max-height: 600px;
}
.applications .teaser {
    max-width: 1000px;
    max-height: 500px;
}
.experiments .teaser {
    max-height: 500px;
    height: auto;
}
.parts .teaser {
    max-height: 500px;
    height: auto;
}

.teaser p {
    position: relative;
    display: block;
    z-index: 2;
    margin-left: 2rem;
    text-align: auto;
}

.teaser h3 {
    position: relative;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    z-index: 2;
}
.teaser h3.b::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1rem;
    width: 2rem;
    height: 100%;
    background-image: url('https://static.igem.wiki/teams/5237/triangle.svg');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}
.teaser h3.c::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1rem;
    width: 2rem;
    height: 100%;
    background-image: url('https://static.igem.wiki/teams/5237/rectangle.svg');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}
.teaser h3.d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1rem;
    width: 2rem;
    height: 100%;
    background-image: url('https://static.igem.wiki/teams/5237/hexagon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}



.lottie-wrapper {
    display: flex;
    justify-content: start;
}

@media (max-width: 1200px) {
    .lottie-wrapper {
        justify-content: center;
    }
}

#lottie-lightbulb {
    width: 80%;
    z-index: auto;
}

#lottie-application {
    width: 70%;
    border-radius: 30px;
}

.lottiehero {
    display: block;
    max-height: 450px;
    width: 100%;
    height: auto;
    object-fit: contain;
    overflow: hidden;
    position: relative;
}

.lottie-part-collection-toolbox {
    display: block;
    max-height: 1000px;
    width: 100%;
    height: auto;
    object-fit: contain;
    overflow: hidden;
    position: relative;
}

/* Make the container fill the screen */

.lottieheroanim {
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.scroll-down-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
}

.scroll-down-wrapper:hover {
    cursor: pointer;
    transform: translateY(0.5rem);
    transition: transform 0.3s ease;
}

.scroll-down {
    height: 50px;
    width: 30px;
    border: 4px solid black;
    left: calc(50% - 15px);
    bottom: 20px;
    border-radius: 50px;
    cursor: pointer;
}
.scroll-down::before {
    content: "";
    display: inline-block;
    height: 8px;
    width: 8px;
    background-color: black;
    border-radius: 50%;
    animation: scroll-down 2.5s ease-in-out infinite;
    position: relative;
    top: -10px;
}


.scroll-down-link:hover .scroll-down::before {
    animation: scroll-down 1s ease-in-out infinite !important;
}

@keyframes scroll-down {
    0% {
      /* top:20%; */
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    60% {
      opacity: 1;
    }
    100% {
      transform: translateY(15px);
      opacity: 0;
    }
}
/* ------------ */
/* Page Content */
/* ------------ */

.vl {
    height: 4px;
    width: 100%;
    background-color: var(--clr-accent-2-8);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.sm-vl {
    height: 3px;
    width: 95%;
    background-color: var(--clr-accent-2-8);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.page-content-wrapper {
    z-index: 1002;
}

.underline--magical {
    background-image: linear-gradient(120deg, var(--clr-click-2) 0%, var(--clr-accent-3-1) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.2em;
    background-position: 0 105%;
    transition: background-size 0.25s ease-in;
}

.underline--magical:hover {
    background-size: 100% 88%;
}
.references {
    font-size: var(--fs-h2);
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    background: #ffffff;
    border-radius: 13px;
    position: relative;
    margin-bottom: 5px;
}
.references:hover {
    cursor: pointer;
}
.references summary {
    display: list-item;
    cursor: pointer;
    list-style: none;
    padding: 1em;
}

.references .summary-chevron-up, .references .summary-chevron-down {
    pointer-events: none;
    position: absolute;
    top: 19px;
    right: 1em;
    background: #ffffff;
}

.references .citation {
    font-size: 14px !important;
    font-weight: 400;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.references .summary-content {
    padding-bottom: 1.5em;
}

:root {
    /*  change this for scaling  */
      --m: 2rem;
      justify-self: center;

      --red: #ff4287;
      --blue1: var(--clr-accent-2);
      --blue2: var(--clr-accent-3);
      --green: var(--clr-click-1);
      --yellow: #ffdd6e;
}
contbutton {
    border: calc(0.08 * var(--m)) solid transparent;
    position: relative;
    color: var(--clr-body);
    font-family: 'Exo2', sans-serif;
    font-size: var(--m);
    font-weight: var(--fw-semi-bold);
    border-radius: calc(0.4 * var(--m));
    padding: calc(0.3 * var(--m)) calc(1 * var(--m));
    margin: calc(0.6 * var(--m));
    display: flex;
    justify-content: center;
    cursor: pointer;

    background:linear-gradient(var(--clr-accent-3-3), var(--clr-accent-3-3)), linear-gradient(var(--clr-accent-3-3) 50%, rgba(164, 234, 239, 0.6) 80%, rgba(164, 234, 239, 0)),  linear-gradient(60deg, var(--red),var(--yellow), var(--green), var(--blue2), var(--blue1), var(--red));
    background-origin: border-box;
    background-clip: padding-box, border-box, border-box;
    background-size: 200%;
    animation: animate 3s infinite linear;
}

contbutton::before {
    content: '';
    background: linear-gradient(60deg, var(--red), var(--yellow), var(--green), var(--blue2), var(--blue1), var(--red));
    height: 30%;
    width: 60%;
    position: absolute;
    bottom: -20%;
    z-index: -5;
    background-size: 200%;
    animation: animate 3s infinite linear;
    filter: blur(calc(0.8 * var(--m)));
}

contbutton:hover, contbutton:hover::before {
    animation: animate 0.7s infinite linear;
}

@keyframes animate {
    0% {background-position: 0}
    100% {background-position: 200%}
}

@media screen and (max-width: 1000px) {
    :root {
    --m: 2rem;
    }
}

/* ------- */
/* Gallery */
/* ------- */


.gallery-container {
    width: 100%;
    max-width: 1500px;
    margin-top: 5rem;
}

.asc-picture {
    height: auto;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;

}

.asc-picture-wrapper {
    padding: 0rem;
    overflow: hidden;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    display: flex;
    justify-content: center;
}

.gallery .hero-title-wrapper {
    margin-top: 10%;
}

.gallery .hero-text-wrapper {
    position: relative;
}

.gallery .hero-text-wrapper::before {
    content: '';
    position: absolute;
    background-color: var(--clr-background);
    top: 0;
    left: 0;
    width: 1rem;
    height: 100%;
    margin-left: -1rem;
}

@keyframes moveInCircle {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes moveVertical {
    0% { transform: translateY(-50%); }
    50% { transform: translateY(50%); }
    100% { transform: translateY(-50%); }
}

@keyframes moveHorizontal {
    0% { transform: translateX(-50%) translateY(-10%); }
    50% { transform: translateX(50%) translateY(10%); }
    100% { transform: translateX(-50%) translateY(-10%); }
}

:root {
    --color-bg1: rgb(108, 0, 162);
    --color-bg2: rgb(0, 17, 82);
    --color1: 47, 149, 214;
    --color2: 173, 50, 173;
    --color3: 77, 198, 222;
    --color4: 184, 73, 73;
    --color5: 157, 157, 67;
    --color-interactive: 140, 100, 255;
    --circle-size: 80%;
    --blending: hard-light;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0) 100%);
}

.gradients-container {
    filter: url(#goo) blur(40px);
    width: 100%;
    height: 100%;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0) 100%);
}

.g1, .g2, .g3, .g4, .g5, .interactive {
    position: absolute;
    mix-blend-mode: var(--blending);
    opacity: 1;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, .7) 70%, rgba(0, 0, 0, 0) 100%);
}

#gooo {
    display: none;
}

.g1 {
    background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    animation: moveVertical 30s ease infinite;
}

.g2 {
    background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% - 400px);
    animation: moveInCircle 20s reverse infinite;
}

.g3 {
    background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2 + 200px);
    left: calc(50% - var(--circle-size) / 2 - 500px);
    transform-origin: calc(50% + 400px);
    animation: moveInCircle 40s linear infinite;
}

.g4 {
    background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% - 200px);
    animation: moveHorizontal 40s ease infinite;
    opacity: 0.7;
}

.g5 {
    background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%);
    width: calc(var(--circle-size) * 2);
    height: calc(var(--circle-size) * 2);
    top: calc(50% - var(--circle-size));
    left: calc(50% - var(--circle-size));
    transform-origin: calc(50% - 800px) calc(50% + 200px);
    animation: moveInCircle 20s ease infinite;
}

.interactive {
    background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%);
    width: 100%;
    height: 100%;
    top: -50%;
    left: -50%;
    opacity: 0.7;
}

/* ----------- */
/* ENGINEERING */
/* ----------- */


.engineering-jumper {
    top: 50px;
}
.overlay-engineering {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1); /* Semi-transparent white */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 10001;
}

.slides-container {
    display: flex;
    flex-direction: row;
}

.engineering-cycle-wrapper {
    display: flex;
    flex: 0 0 100%;
    overflow: hidden;
    position: relative;
  }

.engineering-cycle {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 5% 30% 5% 60% auto;
    grid-template-rows: 7.5% 7.5% 70% 15%;
}

.engineering-cycle .lottie-animation svg {
    width: 100%;
    max-width: 100%;
    height: auto;
}
.engineering-cycle .lottie-animation {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    object-fit: contain;
    z-index: 10;
    overflow: hidden;
}

.engineering-header-wrapper {
    grid-column: 1 / 6;
    grid-row: 1 / 2;
    width: 100vw;
    text-align: center;

}
.iteration-header-wrapper {
    grid-column: 1 / 6;
    grid-row: 2 / 3;
    text-align: center;

}
.engineering-side-nav-wrapper {
    position: fixed;
    left: 50%;
    bottom: 7.5%;
    width: 60vw;
    transform: translateX(-50%);
    z-index: 1000;
}

.engineering-side-nav {
    display: flex;
    flex-wrap: wrap;
}
.engineering-side-nav .wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.engineering-side-nav-item {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: fit-content;
    padding: 10px;
}
.engineering-side-nav-item h3 {
    width: fit-content;
}
.engineering .preview-wrapper {
    width: 100%;
    position: relative;
}
.wetlab-preview {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-70%);
    transition: opacity 0.3s ease, transform ease 0.5s;
}

.wetlab-preview.placeholder {
    opacity: 1;
    transform: translateX(-50%);

}
.wetlab-preview.placeholder.expanded {
    opacity: 0;
    transform: translateX(-70%);
}

.wetlab-preview.expanded {
    opacity: 1;
    transform: translateX(-50%);
}

.cycle-icon-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.cycle-icon {
    width: fit-content;
    cursor: pointer;
    height: auto;
    font-size: var(--fs-h2);
    font-weight: 300;
    margin: 0 5px;
    color: var(--clr-accent-2-8);
    transform: scale(1);
}
.cycle-icon.active {
    transform: scale(1.2);
    color: var(--clr-accent-1);
}
.cycle-icon:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease;
    color: var(--clr-accent-1);
}
.cycle-icon.active::before {
    content: '\0F0B';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -2rem;
    z-index: -1;
    color: var(--clr-accent-2-1);
    font-size: 4.5rem;

    animation: bounce 1.5s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.engineering .vl {
    height: 3px;
    margin-top: -1rem;
    margin-bottom: 0.5rem;
}


.engineering .text-blocks {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}
.engineering .text-block {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 90%;
    height: 50vh;
    top: 50%;
    left: 0;
    padding: 1rem;
    transform: translateY(-50%);
    overflow-y: auto;
    touch-action: pan-y;
    -ms-touch-action: pan-y;
}

.engineering .text-block::-webkit-scrollbar {
    width: 8px;
}

.engineering .text-block::-webkit-scrollbar-track {
    background: var(--clr-light-blue);
}

.engineering .text-block::-webkit-scrollbar-thumb {
    background-color: var(--clr-middle-blue);
    border-radius: 4px;
    border: 2px solid var(--clr-light-blue);
}

.engineering .text-block::-webkit-scrollbar-thumb:hover {
    background-color: var(--clr-dark-blue);
}

.engineering .text-block .Design::before,
.engineering .text-block .Build::before,
.engineering .text-block .Test::before,
.engineering .text-block .Learn::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.engineering .text-block .Design::before {
    background-image: url('https://static.igem.wiki/teams/5237/icons/design.svg');
}
.engineering .text-block .Build::before {
    background-image: url('https://static.igem.wiki/teams/5237/icons/build.svg');
}
.engineering .text-block .Test::before {
    background-image: url('https://static.igem.wiki/teams/5237/icons/test.svg');
}
.engineering .text-block .Learn::before {
    background-image: url('https://static.igem.wiki/teams/5237/icons/learn.svg');
}
/* -------- */
/* Sponsors */
/* -------- */

.sponsors .teaser {
    max-width: 600px !important;
}

.sponsors .vl {
    height: 4px;
    border-radius: 25px;
    width: 100%;
    background-color: var(--clr-accent-2-8);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.sponsors .sponsor-header-wrapper {
    background-color: var(--clr-accent-2-8);
    border-radius: 13px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-bottom: 1.5rem;
}

.sponsors .sponsor-header {
    margin-left: 2rem;
    margin-bottom: 0;
}

.sponsors .sponsor-img-wrapper {
    max-height: 250px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 0.5rem;
    border-radius: 13px;
    border: 4px solid var(--clr-accent-2-8);
    overflow: hidden;
    object-fit: contain;
}

@media (max-width: 575px) {
    .sponsors .sponsor-img-wrapper {
        max-height: 150px !important;
    }
}

.sponsors .sponsor-img-wrapper img {
    max-height: 100%;
}


.sponsors .sponsor-text-wrapper {
    margin-left: 1.5rem;
}

.sponsors .sponsor-text-wrapper.flipped {
    margin-left: 0rem;
    margin-right: 1.5rem;
}

.sponsors .card {
    width: 100%;
    height: 300px;
    margin-bottom: 2rem;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    border-radius: 13px;
}

.sponsors .card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
    position: relative;
}

.sponsors .card:hover .card-inner {
    transform: rotateY(180deg);
}

.sponsors .card-front,
.sponsors .card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    backface-visibility: hidden;
    border-radius: 13px;
    box-sizing: border-box;
    border: 4px solid var(--clr-accent-2-8);
}

.sponsors .card-front {
    background-color: white;
}

.sponsors .card-back {
    background-color: var(--clr-accent-2-8);
    transform: rotateY(180deg);
}

.sponsors .card-back p {
    color: var(--clr-background);
}

.sponsors .card-front img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ----------- */
/* EXPERIMENTS */
/* ----------- */
.experiments .subgroup-header-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    border-radius: 25px;
    padding: 0.5rem;
}

.experiments .protocol-button {
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    display: flex;
    justify-content: start;
    align-items: center;
}
.experiments .protocols-rows .row:nth-of-type(odd) .protocol-button {
    background-color: var(--clr-accent-2-4);
}
.experiments .protocols-rows .row:nth-of-type(even) .protocol-button {
    background-color: white;
}

.protocol-icon-wrapper {
    width: 30px;
}
.protocol-icon {
    color: #6c757d;
}
.experiments .card-body {
    position: relative;
    border-radius: 0 0 4px 4px;
    padding: 2rem 2rem 1rem 3rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    margin-top: 1rem;
    border: none;
}
.experiments .protocols-rows .row:nth-of-type(odd) .card-body {
    background-color: white;
}
.experiments .protocols-rows .row:nth-of-type(even) .card-body {
    background-color: white;
}


.protocol-button:focus {
    outline: none;
    box-shadow: none;
}

.experiments .card-body::before {
    content: '';
    position: absolute;
    width: 0.5rem;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 4px;
}
.experiments .protocols-rows .row:nth-of-type(odd) .card-body::before {
    background-color: var(--clr-accent-2-1);
}
.experiments .protocols-rows .row:nth-of-type(even) .card-body::before {
    background-color: grey;
}

.experiments .protocol-table .protocol-general {
    padding: 1rem;
    font-weight:var(--fw-semi-bold)
}
.experiments .protocol-table .cell-general {
    padding: 1rem;
    vertical-align: middle;
}
.experiments .table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--clr-accent-2-4);
}
.experiments .sequence-content-wrapper table {
    word-break: break-all;
}
.experiments .go-to-results-wrapper {
    width: 10%;
    float: right;
    margin-left: 1.5rem;
    border-radius: 13px;
}

.materials-wrapper .materials-header-element {
    padding: 0.5rem;
    border-radius: 25px 25px 0 0;
    text-align: center;
    overflow: hidden;
}
.materials-wrapper .materials-header-element.blue {
    background-color: #9ED6ED;
}
.materials-wrapper .materials-header-element.green {
    background-color: #B5E59F;
}
.materials-wrapper .materials-header-element.yellow {
    background-color: #FFE0AE;
}
.materials-wrapper .materials-header-element.red {
    background-color: #EB97A6;
}

.materials-wrapper .materials-header-element.blue.active {
    border: 4px solid #3386A8;
}
.materials-wrapper .materials-header-element.green.active {
    border: 4px solid #508A34;
}
.materials-wrapper .materials-header-element.yellow.active {
    border: 4px solid #D4932B;
}
.materials-wrapper .materials-header-element.red.active {
    border: 4px solid #A54153;
}

.materials-wrapper .materials-header-preview ul {
    list-style: none;
}

.materials-wrapper .materials-header-preview {
    background-color: inherit;
    overflow: hidden;
    opacity: 0;
    display: none;
}

.materials-wrapper .materials-header-preview.blue {
    background-color: #9ED6ED;
}
.materials-wrapper .materials-header-preview.green {
    background-color: #B5E59F;
}
.materials-wrapper .materials-header-preview.yellow {
    background-color: #FFE0AE;
}
.materials-wrapper .materials-header-preview.red {
    background-color: #EB97A6;
}
.materials-wrapper .materials-header-preview.active{
    opacity: 1;
    transform: translateX(0);
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    display: block;
}

.materials-wrapper .materials-header-preview.blue.active {
    border: 4px solid #3386A8;
    margin-top: -4px;
}
.materials-wrapper .materials-header-preview.green.active {
    border: 4px solid #508A34;
    margin-top: -4px;
}
.materials-wrapper .materials-header-preview.yellow.active {
    border: 4px solid #D4932B;
    margin-top: -4px;
}
.materials-wrapper .materials-header-preview.red.active {
    border: 4px solid #A54153;
    margin-top: -4px;
}

.materials-wrapper .materials-content {
    display: none;
    overflow: hidden;
    background-color: white;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2), -5px 5px 10px rgba(0, 0, 0, 0.2);
    animation-name: appear;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

.materials-wrapper .materials-content.active {
    opacity: 1;
    display: block;
}

@keyframes appear {
    0% {
        opacity: 0;
        transform: translateY(2rem);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.materials-content-heading-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    transform: scale(1);
    transition: transform 0.3s ease;
}
.experiments .go-to-results:hover {
    transform: scale(1.10);
    transition: transform 0.3s ease;
}
.experiments .single-exp {
    height: fit-content;
    display: flex;
    flex-direction: column;
}
.experiments .blue-header-wrapper {
    padding: 1rem;
    background-color: var(--clr-dark-blue);
    color: var(--clr-background);
    border-radius: 13px;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

/* -------- */
/* Notebook */
/* -------- */

.notebook .notebook-container {
    position: relative;
    padding: 5%;
    padding-bottom: 5%;
    padding-top: 2.5%;
    background-color: var(--clr-middle-blue);
    border-radius: 18px;
    overflow: hidden;
    margin-top: 1.5rem;
}
.notebook .notebook-container::before {
    content: '';
    position: absolute;
    left:50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background-image: url('https://static.igem.wiki/teams/5237/background-blue-skir.svg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 0;
}
.integrated-hp .notebook-container {
    position: relative;
    padding: 2.5%;
    background-color: var(--clr-middle-blue);
    border-radius: 18px;
    overflow: hidden;
    margin-top: 1.5rem;
}
.integrated-hp .notebook-container::before {
    content: '';
    position: absolute;
    left:50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background-image: url('https://static.igem.wiki/teams/5237/background-blue-skir.svg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: -1;
}
.notebook .notebook-pdf {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 80vh;
    object-fit: contain;
    z-index: 2;
}
.notebook .notebook-wrapper h2 {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    padding-left: 2.5rem;
    background-color: var(--clr-dark-blue);
    color: var(--clr-background);
    border-radius: 13px;
}
.notebook .notebook-wrapper h3 {
    position: relative;
    margin-bottom: 1rem;
    z-index: 2;
    color: white;
}

.attributions .teaser {
    max-width: 1000px;
}

.notebook .teaser {
    max-width: 1000px;
}
.engineering .teaser {
    max-height: 500px;
    height: auto;
    max-width: 700px;
    flex: auto;
}
/* ------------ */
/* Results Page */
/* ------------ */

.results .results-content-wrapper {
    display: grid;
    grid-template-columns: 15% 5% 80% auto;
    grid-template-rows: 5rem auto auto;
    gap: 1rem;
    width: 75%;
}

.results .results-content-wrapper .grid-header {
    position: relative;
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.results .results-content-wrapper .grid-side-main {
    position: relative;
    grid-column: 1 / 2; /* Column 1 */
    grid-row: 2 / 3;    /* Row 1 */
    z-index: 10000;
}

.results .results-content-wrapper .grid-side-assay {
    position: relative;
    grid-column: 1 / 2; /* Column 1 */
    grid-row: 3 / 4;    /* Row 2 */
    z-index: 10000;
}

.results .results-content-wrapper .grid-vertical.first {
    position: relative;
    grid-column: 2 / 3;     /* Column 2 */
    grid-row: 2 / 3;        /* Spans Row 1 and Row 2 */
}
.results .results-content-wrapper .grid-vertical.second {
    position: relative;
    grid-column: 2 / 3;     /* Column 2 */
    grid-row: 3 / 4;        /* Spans Row 1 and Row 2 */
}

.results .results-content-wrapper .grid-plasmids {
    position: relative;
    grid-column: 3 / 4; /* Column 3 */
    grid-row: 2 / 3;    /* Row 1 */
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.3);
}

.results .results-content-wrapper .grid-assay {
    position: relative;
    grid-column: 3 / 4; /* Column 3 */
    grid-row: 3 / 4;    /* Row 2 */
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.results .results-content-wrapper .plasmids-wrapper {
    display: flex;
}
.results .results-content-wrapper .plasmid-wrapper-col {
    display: flex;
    justify-content: center;
    align-items: center;
}
.results .results-content-wrapper .plasmid-wrapper-col span {
    text-align: center;
}

.results .results-content-wrapper .grid-header .constructs-header {
    border-radius: 3px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.results .results-content-wrapper .grid-header .constructs-header.Cas {
    background-color: #9ED6ED;
}
.results .results-content-wrapper .grid-header .constructs-header.Staple {
    background-color: #B5E59F;
}
.results .results-content-wrapper .grid-header .constructs-header.Basic {
    background-color: #FFE0AE;
}
.results .results-content-wrapper .grid-header .constructs-header.Delivery {
    background-color: #EFA6B3;
}

.results .grid-element .grid-plasmids-holder {
    margin-bottom: 1.5rem;
}

.results .plasmids-wrapper img {
    width: 80%;
    background-color: grey;
    height: auto;
    object-fit: contain;
}

.grid-vertical .vertical-line {
    width: 6px;
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--clr-body);
}

.grid-vertical.first .vertical-line::before,
.grid-vertical.second .vertical-line::before {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    top: 4.5rem;
    background-color: var(--clr-body);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.results .grid-element .side-main-wrapper,
.results .grid-element .side-assay-wrapper {
    background-color: var(--clr-body);
    border-radius: 25px;
    padding: 1rem;
    text-align: center;
    margin-top: 3rem;
}

.results .grid-element .assay-wrapper {
    border: 1px solid var(--clr-body);
}

.results .grid-element .plasmid-name {
    position: relative;
}

.results .dot {
    min-width: 1rem;
    min-height: 1rem;

    border-radius: 100%;
    background-color: var(--clr-body);
    position: relative;
    margin: 0.5rem;
}

.results .text-element .heading-wrapper,
.model .text-element .heading-wrapper,
.safety .text-element .heading-wrapper {
    background-color: var(--clr-dark-blue);
    color: white;
    border-radius: 13px;
    padding: 0.5rem 1.5rem;
    padding-right: 4rem;
    /* margin-top: 3rem; */
}

.model .heading-wrapper-img {
    background-color: var(--clr-dark-blue);
    color: white;
    border-radius: 13px;
    padding: 0.5rem 1.5rem;
    padding-right: 1.5rem;
    margin-top: 3rem;
}

.results .text-element.cas .heading-wrapper h2 {
    color: #9ED6ED;
}
.results .text-element.staple .heading-wrapper h2 {
    color: #F4D574;
}
.results .text-element.readout .heading-wrapper h2 {
    color: #FF8D33;
}
.results .text-element.delivery .heading-wrapper h2 {
    color: #FB397F;
}


.results .wrapper,
.model .wrapper,
.applications .wrapper {
    position: relative;
    display: flex;
    justify-content: end;
}
.results .image-caption-wrapper {
    background-color: white;
    border-radius: 13px;
    padding: 1rem;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;

}
.results .cas-wrapper.wrapper:hover .text h3,
.model .cas-wrapper.wrapper:hover .text h3,
.applications .cas-wrapper.wrapper:hover .text h3{
    color: #ACD5E6;
    transition: color 0.3 ease;
}
.results .staple-wrapper.wrapper:hover .text h3,
.model .staple-wrapper.wrapper:hover .text h3,
.applications .staple-wrapper.wrapper:hover .text h3 {
    color: #F4D574;
    transition: color 0.3 ease;
}
.results .readout-wrapper.wrapper:hover .text h3,
.model .readout-wrapper.wrapper:hover .text h3,
.applications  .readout-wrapper.wrapper:hover .text h3 {
    color: #FF8D33;
    transition: color 0.3 ease;
}
.results .delivery-wrapper.wrapper:hover .text h3,
.model .delivery-wrapper.wrapper:hover .text h3,
.applications .delivery-wrapper.wrapper:hover .text h3 {
    color: #FB397F;
    transition: color 0.3 ease;
}
.results .cas-wrapper.wrapper:hover,
.model .cas-wrapper.wrapper:hover,
.applications .cas-wrapper.wrapper:hover {
    transition: transform 0.3s ease;
    transform: scale(1.01);
}
.results .staple-wrapper.wrapper:hover,
.model .staple-wrapper.wrapper:hover,
.applications .staple-wrapper.wrapper:hover {
    transition: transform 0.3s ease;
    transform: scale(1.01);
}
.results .readout-wrapper.wrapper:hover,
.model .readout-wrapper.wrapper:hover,
.applications .readout-wrapper.wrapper:hover {
    transition: transform 0.3s ease;
    transform: scale(1.01);
}
.results .delivery-wrapper.wrapper:hover,
.model .delivery-wrapper.wrapper:hover,
.applications .delivery-wrapper.wrapper:hover {
    transition: transform 0.3s ease;
    transform: scale(1.01);
}

.results .rect,
.model .rect,
.applications .rect {
    background: var(--clr-dark-blue);
    padding: 1rem;
    padding-left: 10%;
    padding-right: 5%;
    border-radius: 13px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 91.5%;
}

.results .text,
.model .text,
.applications .text {
    position: relative;
    color: white;
    z-index: 1;
}

.results .circle,
.model .circle,
.applications .circle  {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 20%;
    aspect-ratio: 1 / 1;
    background: var(--clr-middle-blue);
    border-radius: 50%;
    z-index: 0;
    overflow: hidden;
    object-fit: contain;
    object-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.model .circle img,
.applications .circle img {
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1 / 1;
}
.applications .circle {
    width: 30%;
    padding: 2.5rem;
    left: -1.5rem;
}


.results .goal-wrapper {
    padding: 1rem;
    border-radius: 25px;
}
.results .goal-wrapper.Cas{
    background-color: #9ED6ED;
}
.results .goal-wrapper.Staple{
    background-color: #B5E59F;
}
.results .goal-wrapper.Basic{
    background-color: #FFE0AE;
}
.results .goal-wrapper.Delivery{
    background-color: #EFA6B3;
}

.results .content-block,
.model .content-block,
.applications .content-block {
    width: 80%;
}

/* ---------- */
/* Model Page */
/* ---------- */

.model .blobmenu {
    display: flex;
    justify-content: space-evenly;
    position: relative;
    width: 100%;
    max-width: 100%;
    background-color: var(--clr-accent-2-8);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 13px;
}

.model .blobmenu-item {
    border-radius: 7px;
    cursor: pointer;
    border: none;
    background-color: var(--clr-accent-2-8);
    transition: background-color 0.3s ease;
    position: relative;
    display: flex;
    text-align: center;
    width: 25%;
    max-width: 25%;
    margin: 0.5rem;
}

.model .blobmenu-item.active {
    background-color: var(--clr-accent-2-3);
}

.model .blobicon {
    text-align: center;
    margin-bottom: 0;
    font-size: var(--fs-h3);
    font-weight: var(--fw-semi-bold);
    border-radius: 13px;
    color: var(--clr-background);
    margin: auto;
    width: fit-content;
}

@media (max-width: 575px) {
    .model .blobicon {
        font-size: var(--fs-h5);
    }
}
.model .active .blobicon {
    color: var(--clr-body);
}

.model .blobmenu-border {
    width: 100%;
    position: relative;
    height: 5rem;
}

.model .blobmenu-border .blob {
    position: absolute;
    width: 25%; /* Adjust based on number of items */
    height: 100%;
    transition: left 0.3s ease;
}

.model .blob-content {
    display: none;
}

.model .blob-content.active {
    display: block;
}

/* -------------- */
/* ACCORDION CODE */
/* -------------- */

.accordion .accordion-item {
    position: relative;
    margin-bottom: 2rem;
    border: none;
    background-color: transparent;
}

.accordion .accordion-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.accordion .accordion-header {
    position: relative;
    background-color: var(--clr-light-blue);
    border-radius: 7px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: start;
    align-items: center;
    overflow: hidden;
}

.accordion .accordion-header::before {
    content: '';
    position: absolute;
    border-radius: 7px;
    width: 150%;
    top: -1rem;
    left: -1rem;
    height: 150%;
    background-image: url('https://static.igem.wiki/teams/5237/background-blue-skir.svg');
    background-size: cover;
    background-position: left;
    opacity: 0.2;
}

.accordion .accordion-header .accordion-button {
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--clr-body);
}


.accordion-body {
    position: relative;
    border-radius: 0 0 7px 7px;
    padding: 2rem 2rem 1rem 3rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    background-color: rgb(172, 213, 230, 0.1);
}

.accordion-body::before {
    content: '';
    position: absolute;
    width: 0.5rem;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--clr-light-blue);
    border-radius: 7px;
}

/* DIFFERENT COLOURS */

/* Dark BLUE*/

.accordion.dark .accordion-header {
    background-color: var(--clr-middle-blue);
    color: var(--clr-background);
}
.accordion.dark .accordion-header button {
    color: var(--clr-background) !important;
}
.accordion.dark .accordion-header::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-blue-skir.svg');
}

.accordion.dark .accordion-body {
    background-color: rgb(50, 104, 150, 0.1);
}

.accordion.dark .accordion-body::before {
    background-color: var(--clr-middle-blue);
}
/* Light BLUE*/

.accordion.light .accordion-header {
    background-color: var(--clr-light-blue);
}

.accordion.light .accordion-header::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-light-skir.svg');
}

.accordion.light .accordion-body {
    background-color: rgb(50, 104, 150, 0.1);
}

.accordion.light .accordion-body::before {
    background-color: var(--clr-light-blue);
}

/* BLUE*/

.accordion.blue .accordion-header {
    background-color: var(--clr-accent-2);
}
.accordion.blue .accordion-header button {
    color: var(--clr-background) !important;
}

.accordion.blue .accordion-header::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-blue-skir.svg');
}

.accordion.blue .accordion-body {
    background-color: rgb(50, 104, 150, 0.01);
}

.accordion.blue .accordion-body::before {
    background-color: var(--clr-accent-2);
}

/* RED*/

.accordion.red .accordion-header {
    background-color: var(--clr-dark-red);
}
.accordion.red .accordion-header button {
    color: var(--clr-background) !important;
}

.accordion.red .accordion-header::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-red-skir.svg');
}

.accordion.red .accordion-body {
    background-color: rgb(198, 46, 101, 0.01);
}

.accordion.red .accordion-body::before {
    background-color: var(--clr-dark-red);
}
/* orange */

.accordion.orange .accordion-header {
    background-color: var(--clr-dark-orange);
}
.accordion.orange .accordion-header button {
    color: var(--clr-body) !important;
}

.accordion.orange .accordion-header::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-orange-skir.svg');
}

.accordion.orange .accordion-body {
    background-color: rgb(255, 141, 51, 0.035);
}

.accordion.orange .accordion-body::before {
    background-color: var(--clr-dark-orange);
}
/* gelb */

.accordion.gelb .accordion-header {
    background-color: var(--clr-gelb);
}
.accordion.gelb .accordion-header button {
    color: var(--clr-body) !important;
}

.accordion.gelb .accordion-header::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-gelb-skir.svg');
    opacity: 1;
}

.accordion.gelb .accordion-body {
    background-color: rgb(244, 213, 116, 0.1);
}

.accordion.gelb .accordion-body::before {
    background-color: var(--clr-dark-gelb);
    opacity: 1;
}

/* -------------- */
/* ACCORDION ENDE */
/* -------------- */

.model .viewer_3Dmoljs {
    display: block;
    width: 45%;
    min-width: 450px;
    min-height: 450px;
    position: relative;
}

.model .viewer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.model .viewer-wrapper {
    border-radius: 13px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
}

/* ------------- */
/* Integrated HP */
/* ------------- */
.integrated-hp .slick-slide {
    margin: 0 10px;
    box-sizing: border-box;
}

.integrated-hp .teaser {
    background-color: white;
    border-radius: 13px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    box-sizing: border-box;
    height: 100%;
    max-width: 80%;
    max-height: 500px;
    min-width: 250px;
}

.integrated-hp  .slick-prev, .integrated-hp .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(128, 128, 128, 0.1);
    color: #FF730E;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.5rem;
    cursor: pointer;
    z-index: 1;
    padding: 1.25rem;
    opacity: 0.4;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.integrated-hp .slick-next {
    right: -2rem;
}
.integrated-hp .slick-prev {
    left: -2rem;
}

.integrated-hp .single-item:hover .slick-prev, .integrated-hp .single-item:hover .slick-next {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.integrated-hp .content-block {
    position: relative;
    margin: auto;
    width: 80%;
}
.integrated-hp svg {
    height: auto;
    width: 100%;
    pointer-events: none;
}

.integrated-hp .text-box-wrapper {
    position: sticky;
    top: 0;
    padding: 1rem;
    height: fit-content;
    transition: transform 0.3s ease-in-out;
}
.integrated-hp .hp-side-test {
    position: relative;
    padding-left: 2rem;
}
.integrated-hp .hp-side-test::before {
    content: '';
    position: absolute;
    width: 4px;
    top: 0;
    left: 1rem;
    height: 100%;
    background-color: var(--clr-dark-blue);
    border-radius: 7px;
}
.integrated-hp .slick-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.integrated-hp .Interview {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 2rem;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 2000px) {
    .applications .wrapper .circle {
        padding: 1rem !important;
    } 
}

.Interview .portrait-wrapper {
    display: flex;
    justify-content: center;
    width: fit-content;
}

.Interview .portrait {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.integrated-hp .interview-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1.5rem;
    flex-direction: column;
}


.Interview .takeaways ul {
    list-style-type: none;
    padding: 0;
}

.Interview .takeaways ul li {
    margin-bottom: 0.5rem;
    margin-left: 7.5%;
}

.integrated-hp .clickable {
    cursor: pointer;
    z-index: 10000;
    pointer-events: auto !important;
}
.integrated-hp .clickable {
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.integrated-hp .clickable:not(.active):hover {
    transform: translateX(0.5rem);
    transition: transform 0.3s ease;
}

.integrated-hp .clickable.active .Kreis path,
.integrated-hp .clickable.active .rectangle {
    fill: var(--clr-dark-blue);
    transition: fill 0.3s ease;

}
.integrated-hp .clickable.active .text-svg {
    fill: var(--clr-background);
    transition: fill 0.3s ease;
}

.modal-button {
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    width: fit-content;
    margin-top: 1rem;
}
.modal-button button:focus{
    box-shadow: none !important;
    outline: none !important;
}
.modal-button button {
    background-color: var(--clr-dark-blue) !important;
}
.modal-header {
    background-color: var(--clr-light-blue);
    color: var(--clr-body);
    border: none;
}
.modal-footer button {
    background-color: var(--clr-dark-blue) !important;
    border: none;
    color: white;
}

.idea .Interview .vl {
    width: 95%;
    height: 4px;
    background-color: #FFAB40;
    margin-bottom: 1.5rem;
}
.modal {
    z-index: 1060;
}
.modal-dialog {
    max-width: 70%;
    border-radius: 13px;
}
.modal-content {
    border-radius: 13px;
    box-shadow: 0 0px 15px var(--clr-dark-blue);
    border: none;
}
.modal-backdrop {
    background-color: white !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease;
}
.modal-backdrop.show {
    background-color: white !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s ease;
}

/* --------------- */
/* Part Collection */
/* --------------- */

.parts .collection-table .part-number {
    width: 25%;
    text-align: center;
    font-size: var(--fs-h4);
    font-weight:var(--fw-semi-bold)
}
.parts .collection-table .part-description {
    text-align: center;
    font-size: var(--fs-h4);
    font-weight:var(--fw-semi-bold)
}
.parts .collection-table .cell-number {
    text-align: center;
    vertical-align: middle;
}
.parts .collection-table .cell-description {
    padding: 1rem;
    vertical-align: middle;
}
.parts .table-striped tbody tr.highlight {
    background-color: rgb(255, 141, 51, 0.7);
}

/* ---- */
/* Home */
/* ---- */
.home .Hero {
    z-index: -2;
}
.home .first-block {
    height: auto;
    width: 100%;
}
.home .first-block .engineering-life {
    position: relative;
    min-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
}
.home .first-block .engineering-life h1 {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -45%);
}

.home .first-block img {
    position: relative;
    width: 100%;
    height: auto;
    z-index: -1;
}

.home .first-block .engineering-life-text {
    margin-top: 5vh;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.home .first-block .engineering-life-text .threed-anim-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.home .first-block .engineering-life-text .threed-anim {
    max-width: 35%;
    padding: 1.5rem;
}
.home .first-block .engineering-life-text .threed-anim-container h3 {
    max-width: 65%;
}
.home .second-block {
    position: relative;
    width: 100%;
    height: fit-content;
}
.home .second-block .svg-background-container {
    width: 100%;
    overflow: hidden;
}

.home .text-block {
    margin-top: 10vh;
    margin-bottom: 10vh;
}

.blue-box-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--clr-background);
    height: 15%;
}

.animated-text {
    position: relative;
    margin-top: 5vh;
}

.animated-text h2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform-origin: center bottom;
    transform: perspective(500px) rotateX(90deg);
}

.placeholder {
    opacity: 0;
}

.home .third-block {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.home .third-block .wrench-animation-wrapper {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
}

.home .fourth-block {
    position: relative;
    width: 100%;
    overflow:hidden;
}

.home .fourth-block .background-overlay-davinci {
    position: absolute;
    background-image: url("https://static.igem.wiki/teams/5237/homepagestuffs/frame-112.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.home .fourth-block .header-wrapper-davinci {
    position: relative;
    margin-top: 10vh;
}
.home .fourth-block .placeholder-container {
    position: relative;
    opacity: 0;
}
.home .fourth-block .picasso-container {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}
.home .fourth-block .davinci-container {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    color: var(--clr-background);
    margin-bottom: 2rem;
}
.home .fourth-block .toolbox-animation-wrapper {
    position: relative;
    width: 50%;
    max-height: 80vh;
    margin-bottom: 15%;
}

.home .fifth-block {
    position: relative;
    width: 100%;
    overflow:hidden;
}
.home .fifth-block .heading {
    margin-left: 10%;
}
.home .fifth-block .text-block-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 15%;
    margin-right: 10%;
}
.home .fifth-block .text-block-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 15%;
    margin-left: 10%;
}

.home .staple-animation-wrapper,
.home .magnify-animation-wrapper,
.home .human-animation-wrapper {
    object-fit: contain;
    overflow: hidden;
}

.home .carousel-slide {
    width: 25%;
    border-radius: 18px;
    margin: 1rem;
    padding: 1.5rem;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    align-items: center;
    min-height: 500px;
}

.home .carousel-slide:hover {
    transform: scale(1.01);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 800px) {
  .engineering-life > h1 > span {
    font-size: 2rem !important;
  }

  .engineering-life > h1 {
    margin-bottom: 2rem;
  }

  .engineering-life-text {
    font-size: 1.8rem !important;
  }

  .first-block + .pin-spacer {
    margin-top: -20px !important;
    max-width: 1600px !important;
    height: 700px !important;
  }

  .second-block {
    max-height: none !important;
    height: 700px !important;
    margin-bottom: 700px !important;
  }

  .second-block-text > h2 {
    font-size: 1.8rem;
  }

  .animated-text > h3 {
    font-size: 1.3rem;
  }

  .animated-text > h2 {
    font-size: 1.3rem;
  }

  .fifth-block > .text-block-right > h3{
    font-size: 0.8rem;
  }


  .fifth-block > .text-block-left > h3{
    font-size: 0.8rem;
  }

  .human-animation-wrapper {
    margin-right: 1rem !important;
  }


  .fifth-block > .text-block-right {
    max-width: 40% !important;
  }

  .fifth-block > .text-block-left {
    max-width: 40% !important;
  }

  .fifth-block > h2 {
    font-size: 2.2rem;

  }

  .svg-background-container > svg {
    max-width: 3000px !important;
    width: 800px !important;
    height: 800px !important;

  }
}

@media (max-width: 1050px) {
    .carousel-image-wrapper {
      height: 90px !important;
      width: 90px !important;
    }


    .carousel-slide .text-wrapper h2 {
      margin-top: 0.2rem;
      font-size: 1.6rem;
    }

    .carousel-slide .text-wrapper p {
      font-size: 0.7rem;
    }

    .carousel-slide .text-wrapper h4 {
      height: 0.6rem !important;
      font-size: 0.8rem;
    }

    .carousel-home-bottom > .slick-list > .slick-track > a {
      height: 320px;
      margin-bottom: 0rem !important;
    }

}

@media (max-width: 800px) {

  .carousel-image-wrapper {
    height: 60px !important;
    width: 60px !important;
  }

  .carousel-slide .text-wrapper h2 {
    margin-top: 0.4rem;
    font-size: 0.8rem;
  }

  .carousel-slide .text-wrapper p {
    font-size: 0.5rem;
  }

  .carousel-slide .text-wrapper h4 {
    height: 0.6rem !important;
    font-size: 0.6rem;
  }

  .carousel-home-bottom > .slick-list > .slick-track > a {
    height: 200px;
    margin-bottom: 0rem !important;
  }

  .carousel-home-bottom {
    height: 40%;
  }
}

@media (max-width: 700px) {
  .carousel-home-bottom > .slick-list > .slick-track > a {
    height: 185px;
  }
}

@media (max-width: 540px) {
  .carousel-home-bottom > .slick-list > .slick-track > a {
    height: 185px;
  }

  .carousel-slide .text-wrapper h4 {
    height: 0.3rem !important;
    font-size: 0.5rem;
    display: none !important;
  }

}



@media (max-width: 400px) {

  .carousel-image-wrapper {
    height: 60px !important;
    width: 60px !important;
  }

  .carousel-slide .text-wrapper h2 {
    margin-top: 0.4rem;
    font-size: 0.6rem;
  }

  .carousel-slide .text-wrapper p {
    font-size: 0.3rem;
  }

  .carousel-slide .text-wrapper h4 {
    height: 0.3rem !important;
    font-size: 0.5rem;
    display: none !important;
  }

  .carousel-home-bottom > .slick-list > .slick-track > a {
    height: 150px;
    margin-bottom: 0rem !important;
  }

  .carousel-home-bottom {
    height: 40%;
  }
}


.home .carousel-image-wrapper {
    max-height: 66%;
    height: 350px;
    object-fit: contain;
    display: flex;
    justify-content: center;
}


.home .carousel .carousel-slide:nth-of-type(odd) {
    background-color: var(--clr-dark-blue);
    color: var(--clr-background);
}
.home .carousel .carousel-slide:nth-of-type(even) {
    background-color: var(--clr-light-blue);
    color: var(--clr-body);
}

.home .sixt-block {
    width: 90%;
    margin-left: 10%;
}
.home .placeholder {
    opacity: 0;
}
.home .carousel-slide .text-wrapper {
    margin-top: auto;
    margin-bottom: auto;
    text-align: start;
    width: 100%;
}
.home .carousel-slide .text-wrapper p {
    color: #FF730E;
    margin-left: 5%;
}
.home .text-wrapper h2 {
    margin-left: 5%;
}

.home .slick-prev, .home .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--clr-background);
    color: #FF730E;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    cursor: pointer;
    z-index: 1;
}

.home .slick-prev {
    left: 2rem; /* Adjust based on the layout */
}

.home .slick-next {
    right: 2rem;
}

.home .slick-prev, .home .slick-next {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s , transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.home .carousel:hover .slick-prev,
.home .carousel:hover .slick-next {
    transform: scale(1.1);
    opacity: 0.9;
}

.home .text-wrapper h4 {
    text-align: center;
}


/* -------------- */
/* EDUCATION PAGE */
/* -------------- */
.education .wrapper {
    background-color: var(--clr-background);
}

.education .click-detector-edu-nav {
    opacity: 0;
}
.education .funny-nav {
    position: relative;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
}
.education .clickable-group-edu-nav {
    cursor: pointer;
}

.education .clickable-group-edu-nav:hover path {
    transform: scale(1.01);
    transition: transform 0.5s ease, fill 0.5s ease;
    transform-origin: center;

}
.education .clickable-group-edu-nav.active path {
    fill: var(--clr-body);
}
.education .clickable-group-edu-nav.active .click-detector-edu-nav {
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.education  .icon-edu-nav {
    transform: translateY(5rem);
    opacity: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease;
}
.education  .icon-edu-nav.active {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease;
}

.education .intro-wrapper {
    max-width: 70%;
}
.education #container2 .text-element {
    margin-top: 4rem !important;
}

.education .menu-box {
    width: fit-content;
    min-width: 25%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 13px;
    padding: 2rem;
    background-color: var(--clr-dark-blue);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education .menu-box:hover {
    transform: scale(1.01);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education .menu-box h3 {
    margin-bottom: 0;
    color: var(--clr-background);
}

.education .menu-box img {
    width: 2rem;
    height: auto;
    margin-right: 2rem;
}

.container-content {
    display: none;
    padding-right: 0 !important;
}

.container-content.show {
    display: flex;
}

.text-img {
    width: 100%;
}
.education .figure-wrapper {
    width: 100%;
    padding: 1rem;
    background-color: white;
    border-radius: 13px;
    box-shadow: 0 0 10px rgb(0,0,0,0.1);
    text-align: center;
}
.education .figure-wrapper h4 {
    text-align: center !important;
}
.education .text-img .figure-wrapper.left {
    float: left;
    width: 55%;
    margin-right: 1.5rem;
}
.education .text-img .figure-wrapper.right {
    float: right;
    width: 55%;
    margin-left: 1.5rem;
}
.education .text-img .figure-wrapper h4{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.education .germany-wrapper svg {
    width: 100%;
    height: auto;
    pointer-events: none;
}

.education .germany-wrapper svg .knowledge-state,
.education .germany-wrapper svg .attitude-state {
    pointer-events: auto !important;
}


.education .germany-wrapper svg .knowledge-stats,
.education .germany-wrapper svg .attitude-stats {
    opacity: 0;
    transform: translateY(-1rem);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.education .germany-wrapper svg .knowledge-stats.show,
.education .germany-wrapper svg .attitude-stats.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.education .germany-wrapper svg .knowledge-stats text,
.education .germany-wrapper svg .attitude-stats text{
    font-size: 2.5rem !important;
    font-weight: 500;
}

.education .germany-wrapper .Legend text {
    font-size: 2.2rem !important;
    font-weight: 500;
}

.education .germany-wrapper svg .not-highlight {
    fill: lightgrey;
    transition: fill 0.3s ease;
}
.education .germany-wrapper svg .not-highlight path {
    fill: lightgrey;
    transition: fill 0.3s ease;
}

.education .survey-img {
    width: 100%;
}

.education .text-img-small {
    width: 100%;
    overflow: hidden
}
.education .text-img-small img {
    float: right;
    width: 100%;
}
.education .text-img-small .figure-wrapper {
    width: 25%;
    float: right;
    margin-left: 1.5rem;
}

.float-img-wraps {
    overflow: hidden; /* Clearfix to contain the floated elements */
}

.left-image {
    float: right;
    width: 25%; /* Image width set to 25% of the container */
    margin-left: 1em; /* Optional spacing between image and text */
}

.education .border-header {
    padding: 1rem;
    border-top: 4px solid #D9D9D9;
    border-bottom: 4px solid #D9D9D9;
    color: var(--clr-dark-red);
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.education .question-wrapper {
    padding: 1rem;
    background-color: white;
    border-radius: 13px;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.1);
    margin-top: 2.5rem;
}

/* Base Styles for Puzzle Pieces */
.puzzle {
    display: flex;
    flex-wrap: wrap;
    perspective: 1000px; /* For 3D effects */
    margin-left: auto;
    margin-right: auto;
    height: fit-content;
}

.puzzle-piece {
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.puzzle-piece:hover {
    z-index: 10;
    opacity: 1;
    filter: none;
}

.puzzle #top-left:hover {
    transform: translate3d(-5px, -5px,2.55px);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.puzzle #top-middle:hover {
    transform: translate3d(0, -5px, 2.5px);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.puzzle #top-right:hover {
    transform: translate3d(5px, -5px, 2.5px);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.puzzle #bottom-left:hover {
    transform: translate3d(-5px, 5px, 2.5px);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.puzzle #bottom-middle:hover {
    transform: translate3d(0, 5px, 2.5px);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.puzzle #bottom-right:hover {
    transform: translate3d(5px, 5px, 2.5px);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.puzzle-piece:hover ~ .puzzle-piece {
    opacity: 0.3;
    filter: blur(0.5px);
}

.puzzle-piece:hover {
    opacity: 1;
    filter: none;
}

.puzzle-piece {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    transform-style: preserve-3d;
}


.education .main-takeaways {
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.education .main-takeaways .top {
    position: relative;
    padding: 2rem 2rem 0rem 2rem;

}
.education .main-takeaways .top img {
    width: 100%;
    border-radius: 13px;
}
.education .main-takeaways .top::before {
    position: absolute;
    content: '';
    border-radius: 7px;
    background-size: cover;
    background-position: left;
    opacity: 0.4;
    width: 150%;
    top: -1rem;
    left: -1rem;
    height: 150%;
    z-index: -1;
}
.education .main-takeaways .bottom {
    position: relative;
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    color: var(--clr-background);
}
.education .main-takeaways .bottom img {
    height: 2.5rem;
    width: 2.5rem;
    opacity: 1;
    margin-bottom: 1rem;
}
.education .main-takeaways .bottom::before {
    position: absolute;
    content: '';
    border-radius: 7px;
    background-size: cover;
    background-position: left;
    opacity: 0.15;
    width: 150%;
    top: -1rem;
    left: -1rem;
    height: 150%;
}
/* dark */
.education .main-takeaways.dark .top {
    background-color: #326896;
}
.education .main-takeaways.dark .top::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-dark-skir.svg');
}
.education .main-takeaways.dark .bottom {
    background-color: #326896;
}
.education .main-takeaways.dark .bottom::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-dark-skir.svg');
}
/* red */
.education .main-takeaways.red .top {
    background-color: var(--clr-dark-red);
}
.education .main-takeaways.red .top::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-red-skir.svg');
}
.education .main-takeaways.red .bottom {
    background-color: var(--clr-dark-red);
}
.education .main-takeaways.red .bottom::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-red-skir.svg');
}
/* light */
.education .main-takeaways.light .top {
    background-color: var(--clr-light-blue);
}
.education .main-takeaways.light .top::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-light-skir.svg');
}
.education .main-takeaways.light .bottom {
    background-color: var(--clr-light-blue);
    color: var(--clr-body);
}
.education .main-takeaways.light .bottom::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-light-skir.svg');
}
/* blue */
.education .main-takeaways.blue .top {
    background-color:  var(--clr-accent-2);
}
.education .main-takeaways.blue .top::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-blue-skir.svg');
    z-index: -1;
}
.education .main-takeaways.blue .bottom {
    background-color: var(--clr-accent-2);
}
.education .main-takeaways.blue .bottom::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-blue-skir.svg');
    z-index: 0;
}
/* orange */
.education .main-takeaways.orange .top {
    background-color: var(--clr-dark-orange);
}
.education .main-takeaways.orange .top::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-orange-skir.svg');
}
.education .main-takeaways.orange .bottom {
    background-color: var(--clr-dark-orange);
    color: var(--clr-body);

}
.education .main-takeaways.orange .bottom::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-orange-skir.svg');
}
/* gelb */
.education .main-takeaways.gelb .top {
    background-color: var(--clr-gelb);
}
.education .main-takeaways.gelb .top::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-gelb-skir.svg');
    opacity: 0.6;
    z-index: -1;
}
.education .main-takeaways.gelb .bottom {
    background-color: var(--clr-gelb);
    color: var(--clr-body);
}
.education .main-takeaways.gelb .bottom::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-gelb-skir.svg');
    opacity: 0.6;
    z-index: -1;
}

.education .takeaway-row {
    display: flex;
    gap: 2rem;
    align-items: start;
    justify-content: space-evenly;
}
.education  .main-takeaways .takeaway-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: left;
}


.education .text-tween {
    position: relative;
    margin-left: 2rem;
}

.education .text-tween::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1rem;
    width: 2rem;
    height: 2rem;
    background-image: url('https://static.igem.wiki/teams/5237/kolben-3.svg')
}
.education .polaroid-wrapper-school {
    max-width: 100%;
    margin: auto;
}
.education .polaroid-wrapper-school .polaroids {
    margin-left: 2rem;
    margin-right: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    box-shadow: 0, 0, 10px, rgb(0, 0, 0, 0.1);
    padding: 1rem 1rem 1rem 1rem;
    background-color: rgb(50, 104, 150, 0.5);
}
.education .polaroid-wrapper-friday .polaroids {
    margin-left: 2rem;
    margin-right: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    box-shadow: 0, 0, 10px, rgb(0, 0, 0, 0.1);
    padding: 1rem 1rem 1rem 1rem;
    background-color: rgb(198, 46, 101, 0.5);
}
.education .polaroid-wrapper-school.light .polaroids {
    margin-left: 2rem;
    margin-right: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    box-shadow: 0, 0, 10px, rgb(0, 0, 0, 0.1);
    padding: 1rem 1rem 1rem 1rem;
    background-color: rgb(50, 104, 150, 0.2);
}
.education .polaroid-wrapper-school.blue .polaroids {
    margin-left: 2rem;
    margin-right: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    box-shadow: 0, 0, 10px, rgb(0, 0, 0, 0.1);
    padding: 1rem 1rem 1rem 1rem;
    background-color: rgb(50, 104, 150, 0.2);
}
@media (max-width: 754px) {
    .education .polaroid-wrapper-school .polaroids {
        margin-left: 0.25rem;
        margin-right: 0.25rem;
        padding: 0.25rem;
    }
    .education .polaroid-wrapper-friday .polaroids {
        margin-left:0.25rem;
        margin-right: 0.25rem;
        padding: 0.25rem;
    }
}

.education .polaroids::before {
    position: absolute;
    content: '';
    border-radius: 7px;
    background-size: cover;
    background-position: left;
    opacity: 0.9;
    width: 150%;
    height: 150%;
    top: -1rem;
    left: -1rem;
    transform-origin: center;
    z-index: -1;
}
.polaroids img {
    width: 100%;
    display: block;
    max-width: 100%;
    border-radius: 7px;
}

.education .polaroid-wrapper {
    display: flex;
    justify-content: space-evenly;
    gap: 2.5%;
    align-items: center;
    margin-top: 2.5rem;
}
.education .polaroid {
    width: 30%;
    padding: 2.5% 2.5% 2% 10%;
    object-fit: contain;
    overflow: hidden;
    position: relative;
    border-radius: 13px;
    box-shadow: 0, 0, 10px, rgb(0, 0, 0, 0.1);
}
.education .polaroid::before {
    position: absolute;
    content: '';
    border-radius: 7px;
    background-size: cover;
    background-position: left;
    opacity: 0.3;
    width: 150%;
    height: 150%;
    top: -1rem;
    left: -1rem;
    transform: rotate(90deg);
    transform-origin: center;
}
.education .dark .polaroids::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-dark-skir.svg');
}
.education .red .polaroids::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-red-skir.svg');
}
.education .light .polaroids::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-light-skir.svg');
    opacity: 0.9;
}
.education .blue .polaroids::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-blue.svg');
    opacity: 0.9;
}
.education .dark .polaroid::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-dark-skir.svg');
}
.education .red .polaroid::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-red-skir.svg');
}
.education .light .polaroid::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-light-skir.svg');
}
.education .blue .polaroid::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-blue-skir.svg');
}
.education .orange .polaroid::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-orange-skir.svg');
}
.education .gelb .polaroid::before {
    background-image: url('https://static.igem.wiki/teams/5237/background-gelb-skir.svg');
    opacity: 0.7;
    z-index: -1;
}
.education .dark .polaroid {
    background-color: #326896;
}
.education .red .polaroid {
    background-color: var(--clr-dark-red);
}
.education .light .polaroid {
    background-color: var(--clr-light-blue);
}
.education .blue .polaroid {
    background-color: var(--clr-accent-2);
}
.education .orange .polaroid {
    background-color: var(--clr-dark-orange);
}
.education .gelb .polaroid {
    background-color: var(--clr-gelb);
}

.education .polaroid img {
    width: 100%;
    max-height: 100%;
    max-width: 100%;
    height: 250px;
}

.education .education-header {
    position: relative;
    margin-left: 5rem;
}

.education .education-header::before {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    left: -5rem;
    width: 4rem;
    height: 4rem;
    background-position: center;
    background-size: contain;
}

.education .summer-school-wrapper .education-header::before {
    background-image: url('https://static.igem.wiki/teams/5237/education/icon-hp-edu-summer-school.svg');
}
.education .friday-lecture-wrapper .education-header::before {
    background-image: url('https://static.igem.wiki/teams/5237/education/icon-hp-edu-friday-lectures.svg');
}
.education .school-workshops-wrapper .education-header::before {
    background-image: url('https://static.igem.wiki/teams/5237/education/icon-hp-edu-school-workshop.svg');
}
.education .asc-wrapper .education-header::before {
    background-image: url('https://static.igem.wiki/teams/5237/education/icon-hp-edu-art-science-competition.svg');
}
.education .inclusive-science-wrapper .education-header::before {
    background-image: url('https://static.igem.wiki/teams/5237/education/icon-hp-edu-inclusive-scinece-thursdays.svg');
}
.education .career-fair-wrapper .education-header::before {
    background-image: url('https://static.igem.wiki/teams/5237/education/icon-hp-edu-career-fair.svg');
}

.education .inclusive-grid.left {
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: auto auto;
    gap:1.5rem;
    margin-bottom: 2rem;
}
.education .inclusive-grid.left.person {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: auto auto;
    gap:1.5rem;
    margin-bottom: 2rem;
}

.education .inclusive-grid.left .inclusive-header {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    margin-left: 5%;
}
.education .inclusive-grid.left .inclusive-image {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    position: relative;
    border-radius: 13px;
    box-shadow: 0, 0, 10px, rgb(0,0,0, 0.1);
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 5%;
}
.education .inclusive-grid .inclusive-image h4 {
    margin-top: 1rem;
}
.education .inclusive-grid.right {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: auto auto;
    gap:1.5rem;
    margin-bottom: 2rem;

}
.education .inclusive-grid.right.person {
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: auto auto;
    gap:1.5rem;
    margin-bottom: 2rem;
}

.education .inclusive-grid.right .inclusive-header {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    text-align:right;
    margin-right: 15%;
}
.education .inclusive-grid.right .inclusive-image {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    position: relative;
    border-radius: 13px;
    box-shadow: 0, 0, 10px, rgb(0,0,0, 0.1);
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 5%;

}
.education .inclusive-image::before {
    position: absolute;
    content: '';
    border-radius: 7px;
    background-size: cover;
    background-position: left;
    opacity: 0.9;
    width: 150%;
    height: 150%;
    top: -1rem;
    left: -1rem;
    z-index: -1;
    transform-origin: center;
    background-image: url('https://static.igem.wiki/teams/5237/background-blue-skir.svg');
}
.education .inclusive-image img {
    width: 90%;
    height: auto;
    max-height: 80%;
}
.education .inclusive-grid.left .inclusive-summary {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    background-color: #FBD4B4;
    padding: 3rem;
    overflow: visible;
    z-index: 10;
    border-radius: 13px;
    box-shadow: 0 0 10px rgb(0,0,0, 0.1);
    height: fit-content;
}
.education .inclusive-grid.right .inclusive-summary {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    background-color: #FBD4B4;
    padding: 3rem;
    overflow: visible;
    z-index: 10;
    border-radius: 13px;
    box-shadow: 0, 0, 10px, rgb(0,0,0, 0.1);
}

@media (max-width: 1200px) {
    .education .inclusive-grid.left {
        grid-template-columns: 1fr !important;
    }
    .education .inclusive-grid.right {
        grid-template-columns: 1fr;
    }
    .education .inclusive-grid.left .inclusive-header {
        grid-column: 1 / 2;
        grid-row: auto;
        margin-left: 0;
    }
    .education .inclusive-grid.right .inclusive-header {
        grid-column: 1 / 2;
        grid-row: auto;
        margin-left: 0;
    }

    .education .inclusive-grid.left .inclusive-image {
        grid-column: 1 / 2;
        grid-row: auto;
    }
    .education .inclusive-grid.right .inclusive-summary {
        grid-column: 1 / 2;
        grid-row: auto;
    }
    .education .inclusive-grid.left .inclusive-summary {
        grid-column: 1 / 2;
        grid-row: auto;
    }
    .education .inclusive-grid.right .inclusive-image {
    grid-column: 1 / 2;
    grid-row: auto;
    }
}

.education .quote {
    color: #BE3700;
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 5%;
    margin-right: 5%;
}

.education .pdf-wrapper {
    background-image: url('https://static.igem.wiki/teams/5237/education/bigger-blob.svg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 3rem;
    overflow: visible;
    z-index: 10;
    margin-top: 5%;
    margin-bottom: 5%;
    display: flex;
    overflow: visible;
}

.education .image-wrapper-woman {
    display: flex;
    justify-content: center;
    align-items: center;
}

.education .inclusive-date  {
    color: #FFC699;
}

.education .lecture-image-wrapper.right {
    width: 25%;
    float: right;
    margin-left: 1.5rem;
    padding: 1rem;
    background-color: white;
    border-radius: 13px;
}
.education .lecture-image-wrapper.left {
    width: 25%;
    float: left;
    margin-right: 1.5rem;
    padding: 1rem;
    background-color: white;
    border-radius: 13px;
}
.education .lecture-image-wrapper img {
    border-radius: 13px;
}

.education .lecture-date {
    color: #9DB6CD;
}

.education .go-to-contribution {
    background-color: transparent !important;
    padding: 0;
    transition: transform 0.3s ease;
    transform: scale(1.0);
}
.education .go-to-contribution:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

.education .slick-slider {
    width: 80%;
    margin: 0 auto;
}
.education .slide {
    background-color: var(--clr-accent-2-4);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid #ddd;
    margin: 1.5rem;
    border-radius: 13px;
    box-shadow: 0, 0, 10px, rgb(0,0,0,0.1);
}

.education .clickable-evaluation:hover {
    cursor: pointer;
    transition: transform 0.3s ease;
}
.education .clickable-evaluation {
    transition: transform 0.3s ease;
  }

.education .clickable-evaluation.left-down:hover {
  transform: translate(-15px, 15px);
}

.education .clickable-evaluation.right-up:hover {
  transform: translate(15px, -15px);
}

.education .clickable-evaluation.right:hover {
  transform: translate(15px, 0);
}

.education .clickable-evaluation.right-down:hover {
  transform: translate(15px, 15px);
}

.education .clickable-evaluation.left-up:hover {
  transform: translate(-15px, -15px);
}
.education .clickable-evaluation.left:hover {
    transform: translateX(-15px);
  }
/* ----- */
/* MODEL */
/* ----- */

.model .image-caption-wrapper {
    background-color: white;
    border-radius: 13px;
    padding: 1rem;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;

}

.model .video-wrapper {
    background-color: white;
    border-radius: 13px;
    padding: 1rem;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.hide-even canvas:nth-of-type(even) {
    display: none;
}

/* Alternate state: Hide odd canvas elements */
.hide-odd canvas:nth-of-type(odd) {
    display: none;
}


/* equations for marik*/
.equation-container {
    display: flex;
    justify-content: center; /* Center the formula and label as a group */
    align-items: center;
    margin-top: 2rem;
}
.formula {
    font-size: 1.5rem; /* Adjust font size in rem */
    text-align: center;
    margin-right: 4rem; /* Space between formula and Equation label */
}
.equation-label {
    font-size: 1.2rem; /* Slightly smaller size for Equation label */
}
.formula .fraction {
    display: inline-block;
    vertical-align: middle;
}
.formula .fraction > span {
    display: block;
    text-align: center;
}
.formula .fraction .numerator {
    border-bottom: 1px solid black; /* Horizontal division line */
    padding-bottom: 0.2rem;
}
.formula .fraction .denominator {
    padding-top: 0.2rem;
}

/* -------------- */
/* safety page    */
/* -------------- */

/* -------------- */
/* contribution page    */
/* -------------- */

.contribution .teaser {
    max-width: 1000px;
    max-height: 300px;
}

.summer-school-files-wrapper {
  line-height: 3.5;
  color: white;
}

.my-file-previews-summer-school {
  margin: 1em;
  padding: 1em;
  background-color: var(--clr-dark-blue);
}

.high-school-files-wrapper {
  line-height: 3.5;
  color: white;
}

.my-file-previews-high-school {
  margin: 1em;
  padding: 1em;
  background-color: var(--clr-dark-blue);
}


.survey-files-wrapper {
  line-height: 3.5;
  color: white;
}

.my-file-previews-survey {
  margin: 1em;
  padding: 1em;
  background-color: var(--clr-dark-blue);
}

.primary-school-files-wrapper {
  line-height: 3.5;
  color: white;
}

.my-file-previews-primary-school {
  margin: 1em;
  padding: 1em;
  background-color: var(--clr-dark-blue);
}


.education .teaser {
   max-height: 500px;
   height: auto;
}
.description .teaser {
    max-height: 500px;
    height: auto;
 }

/* -------------- */
/* public-engagement page */
/* -------------- */

.public_engagement .teaser {
  max-width: 1000px !important;
  max-height: 300px !important;
}

.slick_1_public_engagement > .slick-list > .slick-track > img {
  margin-left: 1em;
  margin-right: 1em;

}

/* ----------------- */
/* applications page */
/* ----------------- */

.special-applications-box {
    padding: 1rem;
    background-color: white;
    border-radius: 13px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    box-sizing: border-box;
    max-height: 250px;
    min-width: 250px;
}

.superscript {
  vertical-align: super;
  font-size: 60%;
}

/* ----------- */
/* DESCRIPTION */
/* ----------- */
.description .description-special-header {
    position: relative;
    display: flex;
    justify-content: start;
    align-items: center;
}
.description .description-special-header img {
    height: 48px;
    width: 48px;
    margin-right: 1.5rem;
}
.description .description-special-header h3 {
    margin-bottom: 0;
}
.description .figure-wrapper,
.applications .figure-wrapper {
    padding: 2.5%;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    background-color: white;
    border-radius: 13px;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.1);
}

/* ------------ */
/* SLOT MACHINE */
/* ------------ */

.slots .slot-machine {
    background-color: transparent;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.slots .slots-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background-color: var( --clr-middle-blue);
    padding: 1.5rem;
    border-radius: 0.5rem;
    justify-content: space-evenly;
}

.slots .slot {
    width: 30%;
    height: auto;
    aspect-ratio: 1 / 1;
    background-color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.slots .slot img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.slots .slot.spinning {
    animation: bounce 0.3s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.slots #spinButton {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    border: none;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slots #spinButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slots #spinButton:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#spinButton:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.slots #spinButton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s;
}

.slots #spinButton:hover::after {
    opacity: 1;
}

.slots .win-message {
    color: #4CAF50;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.slots .flash {
    animation: flash 0.3s;
}

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

/* ------ */
/* AWARDS */
/* ------ */

.awards .big-brick-energy {
    height: 300px;
}


.awards .hero-award {
    max-width: 45%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}
.awards .hero-award-small {
    max-width: 40%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}

.awards .big-carousel .slick-track {
    display: flex !important;
    gap: 1.5rem;
}
.awards .big-carousel img {
    border-radius: 4px;
}

.awards .image-gallery,
.awards .presentation-gallery {
    background-color: var(--clr-accent-2-7);
    border-radius: 18px;
}

.awards .image-gallery img {
    min-height: 100%;
}

.awards .win-carousel .slick-track {
    display: flex !important;
    gap: 1.5rem;
}
.awards .win-carousel img {
    border-radius: 14px;
}
.awards .booth-carousel .slick-track {
    display: flex !important;
    gap: 1.5rem;
}
.awards .booth-carousel div {
    height: 250px;
    object-fit: fill;

}
.awards .booth-carousel img {
    border-radius: 4px;
    width: auto;
    height: 100%;
}

.awards .slick-prev, .awards .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--clr-background);
    color: #FF730E;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    cursor: pointer;
    z-index: 1;
}

.awards .slick-prev {
    left: 2rem; /* Adjust based on the layout */
}

.awards .slick-next {
    right: 2rem;
}

.awards .slick-prev, .awards .slick-next {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s , transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.awards .carousel:hover .slick-prev,
.awards .carousel:hover .slick-next {
    transform: scale(1.1);
    opacity: 0.9;
}


.typo-alert {
    background-color: #ffffff;
    color: var(--clr-body);
    padding: 15px;
    border-radius: 5px;
    max-width: 50%;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}
.typo-alert-icon {
    margin-right: 15px;
}
.typo-alert-icon img {
    width: 50px;
    margin-right: 1rem;
}

.typo-alert-content {
    flex-grow: 1;
}
.typo-alert h2 {
    margin-top: 0;
    color: var(--clr-body);
}
.typo-alert p {
    margin-bottom: 0;
}