body { padding-top: 70px; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #353535 !important; }
.bg-hero { background-color: #ffffff; }
.bg-home{background-color:#191d28 !important}

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #03274b; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

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


/* LIGNE DE PROGRESSION ****************************************/
#progressLine {
    position: fixed;
    left: 0;
    top: 0;
    width: 8px; /* Largeur de la barre de progression */
    height: 0%; /* Initialisé à 0, sera ajusté par le script*/
    background-color: #02182b; /* Couleur de la barre de progression */
    z-index: 2000; /* La barre de progression reste au-dessus des autres éléments */
}


/* PAGE DE CHARGEMENT ******************************************/
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


/* APPARITION DU CONTENU */
.smooth_scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 2.5s linear, transform 2.5s ease-out;
}

.smooth_scroll.visible {
    opacity: 1;
    transform: translateY(0); /* quand la classe "visible" est ajoutée, l'élément devient visible se déplace vers le haut */
}


/* HOME *********************************************************/
#hero {
    object-fit: cover;
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    *, ::after, ::before {
        box-sizing: border-box;
}
div {
    display: block;
    unicode-bidi: isolate;
}
#hero .fade-1 {
    opacity: 0;
    animation: fadein 2s;
    animation-fill-mode: forwards;
    animation-delay: 0.1s;
    animation-iteration-count: 1;
}

*, ::after, ::before {
    box-sizing: border-box;
}
user agent stylesheet
div {
    display: block;
    unicode-bidi: isolate;
}
#hero h1 {
    color: #c265f6;
}
#hero h1 {
    position: absolute;
    top: 22vh;
    text-align: center;
    width: 100%;
    font-size: clamp(10px, 13vw, 260px);
    line-height: 0.8;
}
#hero .fade-2 {
    opacity: 0;
    animation: fadein 2s;
    animation-fill-mode: forwards;
    animation-delay: 0.3s;
    animation-iteration-count: 1;
}
*, ::after, ::before {
    box-sizing: border-box;
}
user agent stylesheet
div {
    display: block;
    unicode-bidi: isolate;
}
#hero h1 {
    color: #c265f6;
}
#hero .line {
    position: absolute;
    top: 64vh;
    left: clamp(10px, 10vw, 200px);
    width: calc(100% - clamp(10px, 20vw, 400px));
    opacity: 0.6;
}
#hero .lower {
    position: absolute;
    top: 70vh;
    width: 100%;
}
@media (min-width: 768px) {
    .col-md-5 {
        /* -webkit-box-flex: 0; */
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
}
*, ::after, ::before {
    box-sizing: border-box;
}
user agent stylesheet
div {
    display: block;
    unicode-bidi: isolate;
}
/*body {
    position: relative;
    right: 0;
    font-family: 'Telegraf';
    -webkit-font-smoothing: antialiased;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}*/
.align-items-center {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.arkitect {
    font-family: 'NB Architekt Light';
    font-size: clamp(10px, 0.8vw, 15px);
}
.nowrap {
    white-space: nowrap;
}

#section-1 .fadingimage {
    position: absolute;
    right: 0;
    bottom: 0;
    width: clamp(10px, 80vw, 1600px);
    pointer-events: none;
}
*, ::after, ::before {
    box-sizing: border-box;
}
user agent stylesheet
div {
    display: block;
    unicode-bidi: isolate;
}



}
/* TEAM ********************************************************/

.background-container-bio {
    background-image: url('https://static.igem.wiki/teams/5222/wiki-pages/team/wiki-team-page-bio.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-container-hp {
    background-image: url('https://static.igem.wiki/teams/5222/wiki-pages/team/wiki-team-page-hp.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-container-wiki {
    background-image: url('https://static.igem.wiki/teams/5222/wiki-pages/team/wiki-team-page-wiki.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 24%;
    height: auto;
}

.photo {
    max-width: 100%;
    height: auto;
    z-index: 0;
    border: 5px solid #000000;
}

.prenom {
    color: #ffffff;
    font-size: 25px;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    top: -2.5rem;
    left: 0;
    z-index: 1;
}

.nom {
    color: #ffffff;
    font-size: 25px;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    top: -2.5rem;
    right: 0;
    z-index: 1;
}

.description {
    color: #ffffff;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    text-align: justify;
    position:absolute;
    top: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.section-container {
    /* display: none; */
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: transform 2s ease-in-out, opacity 2s ease-in-out;
}

.section-container.active {
    /* display: block; */
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.section-container.enter-right {
    transform: translateX(100%);
    z-index: 1;
}

.section-container.enter-left {
    transform: translateX(-100%);
    z-index: 1;
}

.nav-arrows {
    z-index: 15;
    position: absolute;
}

.arrow {
    position: absolute;
    height: 100px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease-in-out;
}

@keyframes anim_fleches {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(15px);
    }
}

.arrow:hover {
    animation: anim_fleches 0.9s linear infinite;
}

.arrow.left-arrow {
    margin-left: -100px; /* Ajustez la marge pour que la flèche ne dépasse pas */
    left: 20vw;
    top: 50vh;
}

.arrow.right-arrow {
    margin-left: -100px; /* Ajustez la marge pour que la flèche ne dépasse pas */
    left: 55vw;
    top: 50vh;
}


/* LANDING PAGE **************************************************/

.background-container-landing {
    background-image: url('https://static.igem.wiki/teams/5222/wiki-pages/landing/bg-no-logo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.navbar-nav {
    width: 100%;
    justify-content: space-around;
}

.navbar-nav .nav-item {
    flex: 1; /* Permet aux éléments de prendre une largeur égale */
    text-align: center; /* Centre le texte dans chaque élément */
}

.navbar-nav .nav-item .nav-link {
    display: block;
    width: 100%;
    object-position: center top;
}

.bg {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    overflow-y: hidden;
    overflow-x: hidden;
    width: 100%;
    height: auto;
}
/*HOME PAGE SECTIONS***********************************************/
/*section_home { change the display of the home text

}*/
/*custom home_header class to stack tge top images on top of each other*/
.home_header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transform-style: preserve-3d;
    z-index: 1;
    overflow: visible !important;
}

/*wrapper class to make the parallel scroll easy*/
.wrapper {
    height: 100vh;
}

/* Make the background cover the full container without cropping */
.home_background {
    transform: translateZ(-10px) scale(2);
}

/* Same as background, but without cropping or unnecessary scaling */
.home_foreground {
    transform: translateZ(-5px) scale(1.5);;
}

.home_foreground,
.home_background {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Morpheus logo setup */
.home_morpheus {
    z-index: 2;  /* Bring the Morpheus logo in front */
    width: 80vw;
    height: auto;  /* Maintain aspect ratio */
    object-fit: contain;  /* Prevent cropping */
    margin-bottom: 15%;  /* Keep the margin */
    position: relative;
}

/*style titre */
.section-title {
    color: transparent;
    font-size: 62px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    background-image: linear-gradient(to right,#437aab, #77a8c7);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: bold;
    text-align: center;

}

/* Required for parallel scrolling behind the sections in the Home page */
div.container-sm {
    position: relative;
    z-index: 3 !important;
}
/*Centre les images*/
.center{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
}

.center_video{
    display: block;
    margin-left:23%;
    margin-right: 33%;
    width: 100%
}

.white_outline{
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: whitesmoke;
  }

figcaption, .figcaption {
    font-size: 16px;
    font-style: italic;
    color: #555;
}

/*Tableau des Parts*/
.table-wrapper{
    margin: 10px 70px 70px;
    box-shadow: 0px 35px 50px rgba( 0, 0, 0, 0.2 );
}

.fl-table {
    border-radius: 5px;
    font-size: 12px;
    font-weight: normal;
    border: 2px solid #000;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    background-color: white;
}

.fl-table td, .fl-table th {
    text-align: center;
    padding: 8px;
}

.fl-table td {
    border-right: 2px solid #000;
    font-size: 12px;
}

.fl-table thead th {
    color: #ffffff;
    background: #4FC3A1;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
}


.fl-table thead th:nth-child(odd) {
    color: #ffffff;
    background: #324960;
}

.fl-table tr:nth-child(even) {
    background: #F8F8F8;
}

/* Responsive */

@media (max-width: 767px) {
    .fl-table {
        display: block;
        width: 100%;
    }
    .table-wrapper:before{
        content: "Scroll horizontally >";
        display: block;
        text-align: right;
        font-size: 11px;
        color: white;
        padding: 0 0 10px;
    }
    .fl-table thead, .fl-table tbody, .fl-table thead th {
        display: block;
    }
    .fl-table thead th:last-child{
        border-bottom: none;
    }
    .fl-table thead {
        float: left;
    }
    .fl-table tbody {
        width: auto;
        position: relative;
        overflow-x: auto;
    }
    .fl-table td, .fl-table th {
        padding: 20px .625em .625em .625em;
        height: 60px;
        vertical-align: middle;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        width: 120px;
        font-size: 13px;
        text-overflow: ellipsis;
    }
    .fl-table thead th {
        text-align: left;
        border-bottom: 1px solid #f7f7f9;
    }
    .fl-table tbody tr {
        display: table-cell;
    }
    .fl-table tbody tr:nth-child(odd) {
        background: none;
    }
    .fl-table tr:nth-child(even) {
        background: transparent;
    }
    .fl-table tr td:nth-child(odd) {
        background: #F8F8F8;
        border-right: 1px solid #E6E4E4;
    }
    .fl-table tr td:nth-child(even) {
        border-right: 1px solid #E6E4E4;
    }
    .fl-table tbody td {
        display: block;
        text-align: center;
    }
}


/* LAYOUT style */
/* wave effect for the title header zone */
.ocean { 
    height: 5%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #015871;
    z-index: 0;
}

.wave {
    background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wave.svg) repeat-x; 
    position: absolute;
    top: -198px;
    width: 6400px; /* Large enough to create the wave effect */
    height: 198px;
    animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) infinite;
    transform: translate3d(0, 0, 0);
}

.wave:nth-of-type(2) {
    top: -175px;
    animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
    opacity: 1;
}

@keyframes wave {
    0% {
        margin-left: 0;
    }
    100% {
        margin-left: -1600px;
    }
}

@keyframes swell {
    0%, 100% {
        transform: translate3d(0,-25px,0);
    }
    50% {
        transform: translate3d(0,5px,0);
    }
}

.text-shadow {
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7);
}