body { padding-top: 56px; }
.left-aligned { margin-left: auto; }
.bg-dark {background-color: #2A4A7C !important;}
.bg-hero { background-color: #45b06cff; }

/* WICHTIG bei Bildern angeben */
.imgRadius {border-radius: 10px;}

/* Global color */
.gc {color: #ffffff;}
.gc-attributions {background-color: #3FB287;}
.gc-contribution {background-color: rgb(54, 158, 195);}
.gc-description {background-color: rgb(54, 158, 195);}
.gc-education {background-color: rgb(89, 171, 194);}
.gc-engineering {background-color: rgb(54, 158, 195);}
.gc-entrepreneurship {background-color: rgb(41, 50, 100);}
.gc-experiments {background-color: #E2832C;}
.gc-hardware {background-color: #45b06cff;}
.gc-home {background-color: rgb(42, 74, 124);}
.gc-human-practices {background-color: rgb(158, 201,173);}
.gc-inclusivity {background-color: #45b06cff;}
.gc-measurement {background-color: rgb(42, 190, 206);}
.gc-model {background-color: #45b06cff;}
.gc-notebook {background-color: #E2832C;}
.gc-outlook {background-color: rgb(41, 50, 100);}
.gc-parts {background-color: #E2832C;}
.gc-plant {background-color: #23681d;}
.gc-results {background-color: #E2832C;}
.gc-safety {background-color: rgb(54, 158, 195);}
.gc-software {background-color: rgb(89, 171, 194);}
.gc-sponsors {background-color: #3FB287;}
.gc-sustainable {background-color: #45b06cff;}
.gc-team {background-color: #3FB287;}

.team-colorful-word-PE {color: #ff6f2c;}
.team-colorful-word-Patent {color: #005386;}
.team-colorful-word-Creativ {color: #ff2d2d;}
.team-colorful-word-wetlab {color: #008304;}
.team-colorful-word-wiki {color: #00d9ff;}
.team-colorful-word-wikitext {color: #fff1b7;}
.team-colorful-word-fund {color: #995200;}
.team-colorful-word-teamlead {color: #ffc400;}
.team-colorful-word-finance {color: #a13cff;}
.team-colorful-word-writing {color: #b3ff00;}
.team-colorful-word-hp {color: #1e00ff;}
.team-colorful-word-SM {color: #ff0095;}
.team-colorful-word-collab {color: #4d007c;}
.team-colorful-word-Mod {color: #a1725c;}
.team-colorful-word-drylab {color: #748e4b;}
.team-colorful-word-social {color: #832a2a;}
.team-colorful-word-Advisor {color: #ffdd80;}
.team-colorful-word-PrPI {color: #ffafaf;}
/* Weitere hier */

#background-image-container {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center; /* Optional: zentriere das Bild im Container */
}

.title-background {
    background-color: #000000b7;
    width: 99.1vw;
    border-radius: 20px;
}
.title-background-padding {padding-top: 10%;padding-bottom: 5%;}

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }
.callout-gc-attributions {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-contribution {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-description {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-education {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-engineering {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-entrepreneurship {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-experiments {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-hardware {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-home {
    background-color: #2A4A7C80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-human-practices {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-inclusivity {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-measurement {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-model {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-notebook {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-parts {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-plant {
    background-color: #23681d80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-results {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-safety {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-software {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-sponsors {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-sustainable {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}
.callout-gc-team {
    background-color: #45b06c80;
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
}

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

/* Bilder sind standardmäßig grau und werden erst bei hover farbig und größer*/
.grayimg {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.grayimg:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    transform: scale(1.1);
}

/*Einfügen von Barlow Condensed*/
@font-face {
    font-family: 'Barlow Condensed';
    src: url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-regular.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-blackitalic.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-bold.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-bolditalic.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-extrabold.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-extrabolditalic.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-extralight.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-extralightitalic.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-italic.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-light.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-lightitalic.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-medium.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-semibold.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-semibolditalic.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-thin.ttf), 
         url(https://static.igem.wiki/teams/4669/wiki/barlow-condensed/barlow-condensed/barlowcondensed-thinitalic.ttf);
    font-weight: normal;
    font-style: normal;
}
/* Welle als Hintergrund fürs Menü*/

.menu-wave {
    background-image: url(https://static.igem.wiki/teams/4669/wiki/design-elements/header-wave-2.svg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
    background-color: #fff;
}

.menu-background-container-L {
    background-image: url(https://static.igem.wiki/teams/4669/wiki/design-elements/container.png);
    background-repeat: no-repeat;
    background-size: 100% 100%; /* Die Höhe wird auf 100% des Containers eingestellt, Breite wird verzerrt */
    height: 100%;
    width: fit-content;
    border-radius: 4px;
}

.menu-background-container-M {
    background-image: url(https://static.igem.wiki/teams/4669/wiki/design-elements/container-mittel.png);
    background-repeat: no-repeat;
    background-size: 100% 100%; /* Die Höhe wird auf 100% des Containers eingestellt, Breite wird verzerrt */
    height: 100%;
    width: fit-content;
    border-radius: 4px;
}

.menu-background-container-S {
    background-image: url(https://static.igem.wiki/teams/4669/wiki/design-elements/container-klein.png);
    background-repeat: no-repeat;
    background-size: 100% 100%; /* Die Höhe wird auf 100% des Containers eingestellt, Breite wird verzerrt */
    height: 100%;
    width: fit-content;
    border-radius: 4px;
    z-index: -1;
}

.nav-bar-font-adj {
    font-size: 150%;
    font-weight: bold;
    color: #fff;
}

/*Hover über Absatz farbiger Hintergrund*/

#divcolor p:hover {
    background-color: palegoldenrod
}

/* Button from bottom to top*/

.button-Up {
    transition: .3s;
    opacity: .5;
    border-radius: 20px;
    padding: 10px;
}
.button-Up:hover {
    opacity: 1;
}
#button-Up{
    position: fixed;
    display: block;
    bottom: 7.5%;
    right: 0;
    height: 50px;
    width: auto;
    opacity: 0;
}
#button-Up:hover{
    opacity: 1;
    cursor: pointer;
}
.button-Up-show {
    animation: showUp 1s;
    animation-fill-mode: forwards;
}
@keyframes showUp {
    from {opacity: 0;}
    to {opacity: 0.5;}
}
.button-Up-off {
    animation: showOff 0.5s;
    animation-fill-mode: forwards;
}
@keyframes showOff {
    from {opacity: 0.5;}
    to {opacity: 0;}
}

/* Sponsoren Durchlaufbanner */
.sponsor-banner {
    width: 100%;
    overflow: hidden; /* Um sicherzustellen, dass die Bilder im sichtbaren Bereich bleiben */
    background-color: #2A4A7C; /* Hintergrundfarbe des Banners */
}
  
.sponsor-images img {
    height: 60px; /* Höhe der Bilder anpassen */
    margin-right: 20px; /* Abstand zwischen den Bildern */
    margin-bottom: 10px;
}
  
:root {
    --total-width: 0; /* Standardwert, kann angepasst werden */
}

.sponsor-images {
    display: flex;
    animation: scroll 15s linear infinite; /* Durchlaufgeschwindigkeit; kürzer = schneller */
    animation-play-state: running; /* Die Animation läuft standardmäßig */
}


@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(calc(-1 * var(--total-width)));
    }
}

.safety-bar {
    padding: 15px;
    border-radius: 20px 20px 20px 20px;
    cursor: pointer;
    transition: all 1s ease;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.arrow2-icon {
    width: 30px;
    height: 30px;
    transform: rotate(0deg);
    transition: transform 1s ease;
}

.expanded .arrow2-icon {
    transform: rotate(45deg);
}

.mirko {
    display: none;
    padding-top: 10px;
}

.expanded .mirko {
    display: block;
}

/* Quellen */
.reference-bar {
    padding: 15px;
    border-radius: 20px 20px 20px 20px;
    cursor: pointer;
    transition: all 1s ease;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.reference-bar.expanded {
    height: auto;
    border-radius: 20px;
}

.reference-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow-icon {
    width: 30px;
    height: 30px;
    transform: rotate(0deg);
    transition: transform 1s ease;
}

.expanded .arrow-icon {
    transform: rotate(45deg);
}

.sources {
    display: none;
    padding-top: 10px;
}

.expanded .sources {
    display: block;
}

/* Sidebar */
.sidebar {
    color: #fff;
    padding-top: 0px;
    border-radius: 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 20vh;
    width: 100%;
    height: fit-content;
    max-height: 70vh;
    overflow-y: scroll;
}

/* Unsichtbare Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 0.5em; /* Breite der Scrollbar */
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: transparent; /* Hintergrundfarbe des Scrollbalken-Griffs */
}

.sidebar-title {
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

.navigation-menu {
    list-style: none;
    list-style-type: none;
    padding: 0;
}

.navigation-item {
    list-style-type: none;
    position: relative;
    padding-left: 10px;
    padding-right: 20x;
    padding-bottom: 5px;
    padding-top: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.navigation-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.navigation-item:hover::before {
    opacity: 0.3;
}

.level-h2 {
    position: relative;
    z-index: 0;
}

.level-h4 {
    position: relative;
    z-index: 9998;
}

.level-h6 {
    position: relative;
    z-index: 9999;
}

.sub-menu {
    margin-left: 0px;
    display: none;
}

.arrow {
    float: right;
    width: 20px;
    height: 20px;
    background-image: url('https://static.igem.wiki/teams/4669/wiki/design-elements/arrow.svg');
    transition: transform 0.3s ease; /* Fügt eine sanfte Übergangsanimation hinzu */
}

.down {
    transform: rotate(90deg); /* Dreht den Pfeil um 90 Grad */
}

/* h2-Balken */
.balken {
    padding: 20px;
    border-radius: 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
}

/* Diashowelement */
.dia-container {
    position: relative;
}

.slideshow-container {
    position: relative;
    max-width: 90%; /* Beispiel: Maximale Breite für die Diashow */
    margin: 0 auto;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.slide {
    text-align: center; /* Zentriere den Text horizontal */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.slide img {
    max-width: 100%; /* Das Bild wird nie breiter als das Container-Element sein */
    max-height: auto; /* Das Bild wird nie höher als das Container-Element sein */
}

.prev {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.next {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.dots-container {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: #333;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s; /* Dauer der Animation in Sekunden */
}

@keyframes fade {
    from {
        opacity: 0.4; /* Startopazität: 40% */
    }
    to {
        opacity: 1; /* Endopazität: 100% */
    }
}

.fade.active {
    opacity: 1;
}

.hp-img {
    height: auto;
    width: 80%;
    border-radius: 10px;
    padding: 10px;
}

.hp-text {
    padding: 10px;
}


/* Homepage */
.scroll-container {
    height: 600vh; /* oder eine andere ausreichend große Höhe, je nach Bedarf */
    position: absolute;
    margin-top: 15vh;
}

.mini-text-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    display: none;
    background-color: #2A4A7C;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.mini-video-column {
    width: 50%;
    float: left;
    box-sizing: border-box;
    padding: 0 20px; /* Abstand zwischen den Spalten */
}

.mini-video {
    width: 100%; /* Video soll die gesamte Breite der Spalte einnehmen */
}

.video {
    margin-top: 5vh;
    width: 100%;
    height: 90%;
    object-fit: fill;
}

.video-wrapper {
    position: fixed;
    width: 99.1vw;
    height: 100vh;
    top: 3vh;
    left: 0;
    z-index: -2;
    overflow: hidden;
}
#background-video-wrapper {
    position: absolute;
    margin-top: 3vh;
    top: 0;
    left: 0;
    width: 100%;
    height: fit-content;
    z-index: -1; /* Setzt das Video hinter den Header-Inhalt */
    display: none; /* Standardmäßig ausgeblendet */
}

.l-screen {
    width: 100%;
    height: auto;
    object-fit: fill;
}

.video.medium-screen {
    margin-top: 10vh;
    width: 100%;
    height: auto;
    object-fit: fill;
}

.video-wrapper.medium-screen {
    position: fixed;
    width: 99.1vw;
    height: 100vh;
    top: 15vh;
    left: 0;
    z-index: -2;
    overflow: hidden;
}
#background-video-wrapper.medium-screen {
    position: absolute;
    width: 99.1vw;
    height: fit-content;
    top: 5vh;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.m-screen {
    width: 100%;
    height: auto;
    object-fit: fill;
}

.video.small-screen {
    margin-top: 10vh;
    width: 100%;
    height: auto;
    object-fit: fill;
}

.video-wrapper.small-screen {
    position: fixed;
    width: 99.1vw;
    height: 100vh;
    top: 15vh;
    left: 0;
    z-index: -2;
    overflow: hidden;
}

#background-video-wrapper.small-screen {
    position: absolute;
    top: 0;
    margin-top: 10vh;
    width: 100%;
    height: fit-content;
    z-index: -1;
    object-fit: cover;
    display: none;
}

.s-screen {
    width: 100%;
    height: auto;
    object-fit: fill;
}

.header-wave-up.second {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transform: translateY(-100%);
    z-index: 5;
}

.header-wave-down.second {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 5;
}

.home-bottom.m-screen {
    height: 160vh;
}

.home-bottom-up {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transform: translateY(-500px);
    z-index: -1;
}

.home-bottom-down {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transform: translateY(500px);
    z-index: -1;
}

.hover-element {
    width: 200px;
    height: 200px;
    background-color: #2A4A7C;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column; /* Ändert die Richtung der Elemente zu vertikal */
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.hover-element img {
    margin-top: 15px;
    width: 60%;
    height: 60%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.hover-element.best-cp:hover {
    width: 250px; /* Ändert die Breite beim Überfahren mit der Maus */
    height: 250px; /* Ändert die Höhe beim Überfahren mit der Maus */
    background-color: #3FB287;
}

.hover-element.best-ed:hover {
    width: 250px; /* Ändert die Breite beim Überfahren mit der Maus */
    height: 250px; /* Ändert die Höhe beim Überfahren mit der Maus */
    background-color: #E2832C;
}

.hover-element.best-hp:hover {
    width: 250px; /* Ändert die Breite beim Überfahren mit der Maus */
    height: 250px; /* Ändert die Höhe beim Überfahren mit der Maus */
    background-color: #369EC3;
}

.hover-element:hover img {
    transform: scale(1.2); /* Vergrößert das Bild beim Überfahren mit der Maus */
}

.hover-element-adj {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-caption {
    text-align: center;
    margin-top: 15px; /* Negative Höhe des Bildes, um den Text nach oben zu verschieben */
    transition: margin-top 0.3s ease, font-size 0.3s ease; /* Fügt den Übergangseffekt für margin-top hinzu */
}

.hover-element:hover .image-caption {
    margin-top: 30px; /* Negative Höhe des vergrößerten Bildes */
    font-size: 130%;
}

.home-video-container {
    position: relative;
    width: 100%; /* Breite des Containers anpassen */
    max-width: 800px; /* Maximale Breite des Containers festlegen */
    margin: 0 auto; /* In der Mitte des Bildschirms ausrichten */
    overflow: hidden; /* Überlauf verstecken, um sicherzustellen, dass das Video innerhalb des Containers bleibt */
    z-index: 10;
}

.home-video {
    width: auto;
    height: 60vh;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}



.overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Hier kannst du die Hintergrundfarbe und Deckkraft einstellen */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    z-index: 1; /* Stelle sicher, dass das Overlay über dem Video liegt */
}

.overlay-text {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 150%;
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    position: absolute;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%); /* Zentriert das Textelement */
}

.home-container-main {
    background-color: rgb(255, 255, 255);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 150%;
    text-decoration: none;
    color: #000000;
    position: relative;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.home-video-main {
    width: 100%;
    height: auto;
    object-fit: fill;
}

.home-img-main {
    width: 100%;
    height: auto;
    object-fit: fill;
}

.home-text-main {
    padding: 10px; /* Gleich dem Padding von .home-col-main */
    box-sizing: border-box; /* Stellt sicher, dass Padding und Border in die Gesamthöhe einberechnet werden */
    overflow: auto; /* Scrollbalken hinzufügen, wenn der Text den Container überschreitet */
}

.home-drugs-main {
    width: 100%;
}

.home-ferritin-main {
    width: 100%;
}

.home-cpp-main {
    width: 100%;
}

.home-cpp-main.m-screen {
    width: 100%;
}

.home-nanobody-main {
    width: 100%;
}

.home-nanobody-main.m-screen {
    left: 0;
    width: 100%;
}

/* TEAM */
.team-container {
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transform-style: preserve-3d;
    cursor: pointer;
    transform: perspective(1000px);
    margin-bottom: 20px;
}

.team-container:hover {
    transform: scale(1.04);
}

.team-round-image {
    border-radius: 10px;
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.team-text-container {
    text-align: center;
    height: 450px;
    padding: 10px;
    color: white;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    backface-visibility: hidden;
}

.team-text-left {
    text-align: left;
}

.team-container:hover .team-round-image {
    filter: grayscale(0%);
}

.team-container:hover .team-text-container {
    filter: grayscale(0%);
}

.team-colorful-word-generic {
    color: #000000;
}

/* Human Practices */
.hp-back {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
}

.hp-container {
    width: auto;
    height: 300px;
    overflow: hidden;
    margin: 5px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.hp-static {
    padding: 10px;
    height: 150px;
    margin-bottom: 5px;
}

.hp-img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    margin-left: 10%;
}

.hp-expand {
    padding-left: 10px;
    padding-right: 10px;
    height: 0px; /* Ausgangshöhe der Box */
}

.hp-container:hover {
    transform: scale(1.05); /* Vergrößert das Element um 10% */
    cursor: pointer;
}

.hp-portrait {
    height: 100%;
    width: auto;
    border-radius: 10px;
}

/* HOME NEW */
.new-home-video-container {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100vw;
    height: 56.25vw;
}

.new-home-video-container-md {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.new-home-video-container-sm {
    width: 100vw;
    overflow: hidden;
}

.new-home-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 9 / 16 * 100 = 56.25 (16:9 aspect ratio) */
}

.new-home-video-wrapper-dr {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
}

.new-home-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.new-home-video-container iframe {
    width: 100%;
    height: 100%;
}

.new-home-text {
    position: relative;
    padding: 10px;
    
}

.new-home-displace-r {
    left: 50%;
    transform: translateX(30%);
}

.home-bottom {
    position: absolute;
    background-color: #ffffff;
    width: 99.1vw;
    height: auto;
    object-fit: fill;
    left: 0;
    padding-bottom: 0;
}

.home-bottom-dark {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2A4A7C;
    color: #ffffff;
    width: 100vw;
    height: auto;
    padding-bottom: 0;
}

.home-div-stretch {
    position: relative;
    left: 49.5%;
    width: 100vw;
    transform: translateX(-50%);
}

.home-wave-stretch {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.header-wave-up {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transform: translateY(-100%);
}

.header-wave-down {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transform: translateY(100%);
}

.new-home-div {
    width: 100%;
    height: 180px;
    background-color: #ffffff;
    transition: all 0.3s ease; /* Fügt einen Übergangseffekt hinzu */
    position: relative;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    display: flex;
    text-align: center; /* Vertikal zentrieren */
    justify-content: center;
    align-items: center;
    
}

.new-home-div:hover {
    transform: scale(1.1); /* Vergrößert das Element um 10% */
    cursor: pointer; /* Zeigt einen Zeigercursor beim Hover-Effekt */
}

.new-home-div a {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: 1;
    color: #000;
    justify-content: center;
}

.home-kachel {
    width: 100%;
    height: 100%;
    position: relative;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 20px;
    margin: 40px;
    margin-left: 0;
}

.inner-shadow-effect {
    box-shadow: inset 5px 5px 10px -5px rgba(0, 0, 0, 0.5);
}

.accordion {
    width: 300px;
    margin: 0 auto;
}

.accordion-header {
    padding: 10px;
    cursor: pointer;
}

.accordion-content {
    display: none;
    padding: 10px;
}

/* Tabellenstil */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.igem-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 10px; /* Runde Ecken mit 10px Radius */
    overflow: hidden; /* Sorgt dafür, dass die abgerundeten Ecken sichtbar sind */
}

/* Legt eine alternative Hintergrundfarbe für gerade Zeilen fest */
tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Legt eine alternative Hintergrundfarbe für ungerade Zeilen fest (optional) */
tr:nth-child(odd) {
    background-color: #ffffff;
}

td, th {
    padding: 5px;
}

/*Verkleinert Bildunterschriften und macht sie grau*/
figcaption{
    color: darkgray;
    font-size: 80%;
}

.igem-thead {
    color: darkgray;
    font-size: 80%;
}

h6 {
    font-weight: bold;
    font-size: 110%;
}

.play-button {
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 20px;    
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.play-button:hover {
    transform: scale(1.3); /* Vergrößert das Element um 10% */
    color: #2A4A7C;
}

summary:hover {
    transform: scale(1.05);
}

/* Stil für das Dropdown-Menü */
.dropdown-menu {
    box-shadow: none; /* Entferne den Schatten */
    border: none; /* Entferne den Rahmen */
    background-color: #00000000;
}

/* Optional: Entferne den Rahmen um den Dropdown-Trigger */
.navbar-toggler {
    border: none; /* Entferne den Rahmen */
}

/* Stil für die Dropdown-Menüelemente bei Hover */
.dropdown-menu a.dropdown-item:hover {
    background-color: #fff;
}


/* Pop-Up Fenster bei Home */

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Hintergrundüberlagerung für das Popup */
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .popup {
    width: 90vw;
    height: 70vh;
    top: 5vh;
    background-color: white; /* Farbe des Popup-Fensters */
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px; /* Abgerundete Ecken */
    overflow: hidden; /* Verhindert, dass Inhalt die abgerundeten Ecken überdeckt */
    position: relative;
    border: 20px solid #2A4A7C;
}

.winner-img {
    max-width: 100%; 
    height: auto; 
    display: block; 
    margin: 0 auto;
    border-radius: 20px;
}

.award-img {
    height: 13vh; 
    width: auto; 
    display: block; 
    margin: 0 auto;
}

.vertical-center {
    display: flex;
    align-items: center;
    justify-content: center; /* Optional: zentriert das Bild horizontal */
}

.vertical-center-award {
    display: flex;
    align-items: center;
    justify-content: center; /* Optional: zentriert das Bild horizontal */
    padding: 5px;
}

.award-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 12vh;
    text-align: center;
    font-size: 150%;
    font-weight: bold;
    padding: 10px;
    padding-top: 20px;
    color: #2A4A7C;
}

.award-text.nomination {
    font-size: 130%;
}

.award-link {
    font-size: 50%;
    font-weight: normal;
    color: #2A4A7C;
}

.bg-win {
    background-color: rgba(255, 219, 60, 0.579);
    border-radius: 20px;
    margin-bottom: 5px;
    margin-top: 5px;
}

  .close-btn-bg {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 30px;
    background-color: #2A4A7C;
    height: 40px;
    width: 40px;
    border-radius: 20px;
    padding-left: 5px;
    transition: transform 0.3s ease; /* Übergangseffekt */
  }

  .close-btn {
    height: 30px;
    width: auto;
    transform: rotate(45deg);
  }

  .close-btn-bg:hover {
    transform: scale(1.4); /*Effekt*/
  }


/* Quellen Quicklinks Style */
.ref-home {
    color: rgb(42, 74, 124);
    cursor: pointer;
}
.ref-team {
    color: #45b06cff;
    cursor: pointer;
}
.ref-project {
    color: rgb(54, 158, 195);
    cursor: pointer;
}
.ref-wetlab {
    color: #E2832C;
    cursor: pointer;
}
.ref-education {
    color: rgb(89, 171, 194);;
    cursor: pointer;
}
.ref-hp {
    color: rgb(158, 201,173);
    cursor: pointer;
}
.ref-vision {
    color: rgb(41, 50, 100);
    cursor: pointer;
}