/*
 _______ __   __  _____   _____   ______  ______ _______  _____  _     _ __   __     
    |      \_/   |_____] |     | |  ____ |_____/ |_____| |_____] |_____|   \_/       
    |       |    |       |_____| |_____| |    \_ |     | |       |     |    |    

*/

@font-face {
    font-family: 'bagnardregular';
    src: url('https://www.nicolasfleurot.com/assets/bagnard_1-webfont.woff2') format('woff2'),
         url('https://www.nicolasfleurot.com/assets/bagnard_1-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/*
  ______ _______ __   _ _______  ______ _______            
 |  ____ |______ | \  | |______ |_____/ |_____| |          
 |_____| |______ |  \_| |______ |    \_ |     | |_____     

*/

body, html {
    background-color: #ffffff;
    color: black;
    font-family: Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    letter-spacing: 0.01em;
    line-height: 1;
    margin: 0;
    height: 100%;
    overflow: hidden;
}

a {
  text-decoration: none;
  color: #000000;
}

p {
    margin-top: 2px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 14px;
    line-height: 150%;
}

img {
    max-width: 100%;
}

ul {
    list-style-type: none;
    padding-inline-start: 0px;
}

section {
    margin: 12em 40em 10em 20em;
    line-height: 150%;
}

.row {
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.banner {
    width: 100%;
    height: 80%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 425px) {
    .banner-image {
    width: 100%;
    height: 200%;
    display: flex;
    }
}

.banner-button {
    font-size: 1em;
    background-color: #fff;
    display: inline-block;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8em;
    font-weight: 800;
    position: absolute;
    margin: 25px 0 0 -75px;
    left: 50%;
    top: 60%;
}

.banner-button a {
    padding-left: 10px;
    padding-bottom: 15px;
    color: #000;
    line-height: 120%;
}

@media screen and (max-width: 425px) {
    .banner-button {
    font-size: 1em;
    background-color: #fff;
    display: inline-block;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8em;
    font-weight: 800;
    position: absolute;
    margin: 120px 0 0 -110px;
    left: 55%;
    top: 60%;}
}

/*.no-scroll {
    overflow: hidden;
  }*/

/*
 _     _ _______ _______ ______  _______  ______
 |_____| |______ |_____| |     \ |______ |_____/
 |     | |______ |     | |_____/ |______ |    \_
                 
*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding-top: 13px;
    padding-bottom: 15px;
    transition: transform 0.3s ease-in-out;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.logo-text {
    font-family: 'Garamond', serif;
    font-size: 17px;
}

.header.hidden {
transform: translateY(-100%);
}

.header.hidden {
transform: translateY(-100%);
}

.header-menu {
    float: right;
    margin-left: 140px;
    
}

@media screen and (max-width: 425px) {
.header-menu {
    display: inline-block;
    cursor: pointer;
}
}

.bar1, .bar2, .bar3 {
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
    transform: translate(0, 8px) rotate(-45deg);
}

/* Fade out the second bar */
.change .bar2 {opacity: 0;}

/* Rotate last bar */
.change .bar3 {
    transform: translate(0, -4px) rotate(45deg);
}


.site-logo {
    float: left;
    /**filter: invert(100%);**/
    margin: 0; 
    padding: 0;
    display: inline;
    margin: 1em 0em 0em 20em;
}

@media screen and (max-width: 425px) {
    .site-logo {
    position: fixed;
    margin: auto;
    padding-top: 4em;
    padding-left: 2.5em;
    padding-right: 2em;
    height: 20px;
    height: 10px;
    }
}

.site-menu {
    float: right;
    margin: 0;
    padding: 0;
    margin: 1.5em -60em 0em 0em;
    font-weight: 400;
}

.site-menu li {
    display: inline-block;
    margin: 1.5em 1.5em 1em 1em;
    color:#ffffff;
}

@media screen and (max-width: 425px) {
    .site-menu {
    display: none
    }
}

.menu-button {
    font-size: 1em;
    background-color: #0a0a0a;
    display: inline-block;
    color: #ffffff;
    padding: 15px 22px;
    border-radius: 8em;
    font-weight: 800;
}

.header-menu {
    display: inline-block;
    cursor: pointer;
}

/* --------------------------------------- OVERLAY --------------------------------------- */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    z-index: 80;
}

.overlay-content {
    position: absolute;
    top: 10%;
    color: rgb(255, 255, 255);
    width: 100%; /* La largeur de la div overlay-content sera de 100% */
    left: 0; /* La div overlay-content sera positionnée tout à gauche */
    padding-right: 2em;
    padding-left: 2em;
    margin-top: 20px;
}

.overlay-open {
    background-color: black;
}

/* Style the button that is used to open and close the collapsible content */
button.collapsible {
    background-color: #000000;
    color: #ffffff;
    cursor: pointer;
    margin: 0; /* Supprime les marges */
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 0em;
    padding-right: 0em;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    border-radius: 0px;
    font-size: 14px;
    display: flex; /* Utilisation de flexbox */
    justify-content: space-between; /* Aligner les éléments à gauche et à droite */
    align-items: center; /* Centrer verticalement */
    border-top: 1px solid #ffffff; /* Ajoute une bordure de 1 pixel en haut */
}

.collapsible span {
    flex-grow: 1; /* Permet au texte de prendre toute la largeur disponible */
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
    background-color: #000000;
}

/* Style the collapsible content. Note: hidden by default */
.content {
    background-color: rgb(0, 0, 0);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.content p {
    font-size: 13px;
    font-weight: 700;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-bottom: 10px;
}

.collapsible:after {
    content: '+'; /* Unicode character for "plus" sign (+) */
    font-size: 25px;
    color: rgb(155, 155, 155);
    margin-left: 5px;
    flex-shrink: 0; /* Empêche le signe "+" de rétrécir */
}

.active:after {
    content: "-"; /* Unicode character for "minus" sign (-) */
    font-size: 25px;
}


/* --------------------------------------- Side navigation --------------------------------------- */
    .sidenav {
        height: 100%; /* 100% Full-height */
        width: 0; /* 0 width - change this with JavaScript */
        position: fixed; /* Stay in place */
        z-index: 100; /* Stay on top */
        top: 0;
        left: 0;
        background-color: #111; /* Black*/
        overflow-x: hidden; /* Disable horizontal scroll */
        padding-top: 60px; /* Place content 60px from the top */
        transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
        }
    
        /* The navigation menu links */
        .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        transition: 0.3s;
        }
    
        /* When you mouse over the navigation links, change their color */
        .sidenav a:hover {
        color: #f1f1f1;
        }
    
        /* Position and style the close button (top right corner) */
        .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
        }
    
        /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
        #main {
        transition: margin-left .5s;
        }
    
        /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
        @media screen and (max-height: 450px) {
        .sidenav {padding-top: 15px;}
        .sidenav a {font-size: 18px;}
        }


/*
 _______  _____   _____  _______ _______  ______
 |______ |     | |     |    |    |______ |_____/
 |       |_____| |_____|    |    |______ |    \_

*/

@media screen and (max-width: 425px) {
footer {
    background-color: #f1f1f1;
    padding: 20px 2em 120px;
    color: #fff;
    text-align: left;
}

.logo {
    text-align: left;
    margin-bottom: 20px;
}
  
.logo img {
    width: 140px; /* Ajuster la taille du logo*/
}
  
.logo p {
    font-size: 11px;
    margin-top: -11px;
    color: #666666;
}
  
.navigation {
    margin-top: 50px;
    margin-bottom: 30px;
}
  
.navigation h3 {
    font-size: 13px;
    color: rgb(168, 168, 168);
}
  
.navigation ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    line-height: 140%;
    font-size: 13px;
}
  
.navigation a {
    color: #5c5c5c;
    text-decoration: none;
}
  
.newsletter h3 {
    font-size: 13px;
    color: rgb(0, 0, 0);
}
  
.newsletter form {
    display: flex;
    justify-content: left;
    padding-top: 10px;
    /*border-bottom: 1px solid #696969;*/
}
  
.newsletter input[type="email"] {
    width: 245px;
    padding: 10px;
    margin-right: 5px;
    background-color: #ffffff00;
    border: none;
    border-bottom: solid 1px;
}
  
.newsletter button[type="submit"] {
    background-color: #f1f1f1;
    border: none;
    color: #000000;
    padding: 5px 10px;
    cursor: pointer;
}
}

/***
.▄▄ · ▪  ▄▄▄▄▄▄▄▄ .
▐█ ▀. ██ •██  ▀▄.▀·
▄▀▀▀█▄▐█· ▐█.▪▐▀▀▪▄
▐█▄▪▐█▐█▌ ▐█▌·▐█▄▄▌
 ▀▀▀▀ ▀▀▀ ▀▀▀  ▀▀▀ 
***/

.article-image {
    float: left;    
    margin-right: 5em;
    margin-left: 20em;
    justify-content: left;
}

@media screen and (max-width: 425px) {
    .article-image {
    width: 100%;
    height: 50%;
    overflow: hidden;
    display: flex;
    margin-left: 0px;
    margin-bottom: 5px;
    }
}

.image-legend {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
}

@media screen and (max-width: 425px) {
    .image-legend {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
    }
}


.article-summary {
    margin-right: 20em;
    margin-left: 10px;
}

@media screen and (max-width: 425px) {
    .article-summary {
    margin: auto;
    padding-top: 4em;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 1em;
    font-size: 14px;
    line-height: 130%;
    }
}

.article-summary h4 {
    margin-top: 0px;
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: bold;
    font-family: helvetica;
    color: #666666;
}

@media screen and (max-width: 425px) {
    .article-summary h4 {
    font-size: 10px;}
}

.article-summary h1 {
    margin-top: 0px;
    margin-bottom: 30px;
    font-size: 54px;
    font-weight: 500;
    font-family: helvetica;
    color: #000;
}

@media screen and (max-width: 425px) {
    .article-summary h1 {
    font-size: 38px;
    line-height: 105%;}
}

.article-summary h3 {
    margin-top: 5px;
    /*margin-bottom: 45px;*/
    font-size: 15px;
    font-weight: 500;
    font-family: helvetica;
    color: #000;
}

@media screen and (max-width: 425px) {
    .article-summary h3 {
    font-size: 12px;}
}

.article-summary p {
    font-size: 17px;
    line-height: 130%;
    font-family: times new roman;
}

@media screen and (max-width: 425px) {
    .article-summary p {
    font-size: 14px;
    line-height: 140%;
    }
}

.article-main iframe {
    max-width: 100%;
}

.article-summary #elapsed-time {
    color: #adadad;
}

#elapsed-time {
    color:#000
}



.menu-main section {
    margin: 5em 40em 10em 20em;
}

.menu-main figure {
    padding-bottom: 30px;
    margin-left: 2em;
    margin-right: 2em;
}

@media screen and (max-width: 425px) {
    .menu-main section {
    margin: auto;
    padding-top: 8em;
    padding-bottom: 4em;
    font-size: 12px;
    line-height: 130%;
    }
}


.article-main section {
    margin: 15em 40em 10em 20em;
}

@media screen and (max-width: 425px) {
    .article-main section {
        margin: auto;
        padding-top: 1em;
        padding-left: 2em;
        padding-right: 2em;
        padding-bottom: 4em;
        font-size: 14px;
        line-height: 130%;}
}

@media screen and (max-width: 425px) {
    .article-main .projets {
        margin-top: -25px;
        margin-bottom: -125px;
    }

    .article-main .projets-alt {
        margin-top: 70px;
        margin-bottom: 50px;
        padding: 0px 0px 10px 0px;
        background-color: #000000;
    }

    .projets-alt img {
        max-width: 100%;
    }

    .projets-alt p {
        color: #ffffff;
        padding-left: 2em;
        padding-right: 2em;
    }

    .projets-alt h3 {
        color: #ffffff;
        padding-left: 1em;
    }

    .projets-alt h4 {
        color: #afafaf;
        padding-left: 2em;
        padding-right: 2em;
        font-weight: 300;
    }


    @keyframes rainbow {
        0% { color: rgb(255, 188, 188); }
        14% { color: rgb(255, 231, 186); }
        28% { color: rgb(255, 255, 182); }
        42% { color: rgb(190, 255, 190); }
        57% { color: rgb(172, 172, 255); }
        85% { color: rgb(255, 183, 255); }
        100% { color: rgb(255, 188, 188); }
    }

    .rainbow-text {
        animation: rainbow 4s linear infinite;
    }
    

    .article-main .CV {
        padding-bottom: 16em;
    }

    .projets h2 {
        border-top: 0px dashed #ffffff;
        padding-bottom: 30px;
    }

    .article-main .projet {
        font-size: 14px;
        margin-bottom: 3.5em;
        /*border-bottom: 1px solid #969696;*/
    }

    .line-on-top {
        border-top: 1px dashed #000000;
    }

    .projet h3 {
        margin: 0px;
        font-size: 24px;
        padding-top: 20px;
        line-height: 110%;
        font-style: oblique 40deg;
        font-weight: 500;
    }

    .projet h4 {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.8rem;
        margin-top: 12px;
        margin-bottom: 0px;
    }

    .projet h5 {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.6rem;
        color: #666666;
        margin-top: 18px;
        margin-bottom: 0px;
        border-top: 1px solid #666666;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .projet p {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
        font-size: 14px;
    }
}


.article-author {
    display:flex;
    padding-top: 15px;
    padding-bottom: 15px;
}

.article-author a {
    margin-right: 12px;
}

.article-summary h3 b {
    font-size: 16px;
    font-weight: bold;
    font-family: helvetica;
    color: #000;
}

@media screen and (max-width: 425px) {
    .article-summary h3 b {
    font-size: 13px;}
}


/* REFS */

.refs {
    background-color: rgb(243, 243, 243);
    font-size: 13px;
    line-height: 150%;
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 1px;
    padding-bottom: 16em;
}

.refs h3 {
    font-size: 16px;
    margin-top: 60px;
    margin-bottom: 15px;
    color: rgb(0, 0, 0);
    font-family: 'bagnardregular', Arial, sans-serif;
    border-top: 1px solid #000000;
    padding-top: 12px;
    padding-bottom: 30px;
}


* {
    box-sizing: border-box;
  }
  
  /* Create two unequal columns that floats next to each other */
  .column {
    float: left;
    padding: 1px;
  }

  .left {
    width: 15%;
  }
  
  .right {
    width: 85%;
  }
  
  /* Clear floats after the columns */
  .row:after {
    content: "";
    display: table;
    clear: both;
  }

#intro {
    padding-top: 0px;
    padding-bottom: 50px;
}

::selection {
    color: rgb(255, 255, 255);
    background: rgb(0, 0, 0);
  }


#countdown {
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    font-family: 'bagnardregular', Arial, sans-serif;
    text-align: center;
    padding-top: 50vh;    
    font-size: 2em;
    margin: 0;
}




.scroll-left {
    height: 35px;	
    overflow: hidden;
    position: relative;
    background: #ffffff;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
}

.scroll-left p {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 35px;
    text-align: center;
    /* Starting position */
    -moz-transform:translateX(100%);
    -webkit-transform:translateX(100%);	
    transform:translateX(100%);
    /* Apply animation to this element */	
    -moz-animation: scroll-left 7s linear infinite;
    -webkit-animation: scroll-left 7s linear infinite;
    animation: scroll-left 7s linear infinite;
}

/* Move it (define the animation) */
@-moz-keyframes scroll-left {
    0%   { -moz-transform: translateX(100%); }
    100% { -moz-transform: translateX(-100%); }
    }
@-webkit-keyframes scroll-left {
    0%   { -webkit-transform: translateX(100%); }
    100% { -webkit-transform: translateX(-100%); }
    }
@keyframes scroll-left {
0%   { 
    -moz-transform: translateX(100%); /* Browser bug fix */
    -webkit-transform: translateX(100%); /* Browser bug fix */
    transform: translateX(100%);
    }
100% { 
    -moz-transform: translateX(-100%); /* Browser bug fix */
    -webkit-transform: translateX(-100%); /* Browser bug fix */
    transform: translateX(-100%);
    }
}



.image-slider {
    width: 100%;
    overflow: hidden;
}

.image-container {
    display: flex;
    animation: scroll 10s linear infinite;
}

.image-container img {
    width: 300px; /* Ajustez la largeur en fonction de vos besoins */
    height: auto;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Assurez-vous d'ajuster la valeur en fonction du nombre d'images */
    }
}