/* Tablette */
:root { --mobile-header-h: 64px; }

@media (min-width: 768px) and (max-width: 1024px) {

    body,
    html {
        scroll-behavior: smooth;
        margin: 0;
        padding: 0;
        overflow-x: clip;
    }

    .hide-on-pad {
        display: none !important;
    }

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--base);
        /* animation magic */
        transition: all 0.4s ease-in-out;
        -webkit-transition: all 0.4s ease-in-out;
        -moz-transition: all 0.4s ease-in-out;
        z-index: 9999;
        top: 0;
        position: fixed;
    }

    [data-style] {
        position: relative;
        height: 10px;
        z-index: 10;
    }

    /* Gestion des container */

    .Home-container {
        position: relative;
        z-index: 10;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        background-color: var(--second);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    .small-intro {
        margin-top: 10%;
    }

    .profil-container {
        display: flex;
        height: 100%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        justify-content: center;
        align-items: center;
    }

    .third-container {
        background-color: #F8F9F9;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        margin-right: auto;
        margin-left: auto;
    }

    .services-container {
        position: relative;
        display: flex;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        justify-content: center;
        align-items: center;
        height: 100%;
        overflow: hidden;
    }


    .project-container {
        padding-top: 10%;
        text-align: center;
        padding-bottom: 10%;
        position: relative;
        display: flex;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        justify-content: center;
        align-items: center;
        height: 100%;
        overflow: hidden;
        transform: scale(1.1);
    }

    .contact-container {
        display: flex;
        height: 100%;
        position: relative;
        z-index: 1;
        padding-top: 10%;
        padding-bottom: 10%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        width: 100%;
        padding: 0 40px;
        padding: 50px 40px 20px 40px;
        margin: auto;
        justify-content: center;
        align-items: center;
    }


    .contact-container .row {
        display: flex !important;
        justify-content: flex-start;
        margin: auto;
    }

    .contact-me-container{
        transform: scale(1.3);
        transform-origin: center center;
    }

    .copy-right-container {
        position: relative;
        z-index: 1;
        width: 100%;
        padding-top: 10%;
        padding-bottom: 10%;
        background-color: var(--second);
        box-shadow: 10px 10px 10px 20px rgba(0, 0, 0, 0.2);
    }

    @media screen and (max-height: 500px) and (max-width: 991px) and (min-width: 768px) and (orientation: landscape) {
        .Home-container {
            height: 1000px;
            min-height: unset;
        }

        .profil-container {
            height: 800px;
            min-height: unset;
        }

        .services-container {
            height: 800px;
            min-height: unset;
        }

        .project-container {
            height: 800px;
            min-height: unset;
        }

        .contact-container {
            height: 800px;
            min-height: unset;
        }
    }

    /* Gestion pour titre et carte */

    .Economist {
        z-index: 11;
        font-size: 5vw;
        font-weight: 500;
        color: white;
        opacity: 1;
    }

    .Economist-card {
        z-index: 11;
        font-size: 1.5vw;
        font-weight: 400;
        color: white;
        opacity: 1;
    }

    .Data-Scientist {
        z-index: 11;
        font-size: 8vw;
        font-weight: 800;
        -webkit-text-fill-color: transparent;
        background: var(--color-title);
        -webkit-background-clip: text;
        white-space: nowrap;
        min-width: 70vw; /* Assure une largeur suffisante pour "DATA SCIENTIST" */
    }

    .Data-Scientist-card {
        z-index: 11;
        font-size: 3vw;
        font-weight: 800;
        -webkit-text-fill-color: transparent;
        background: var(--color-title);
        -webkit-background-clip: text;
        white-space: nowrap;
    }

    /* shrink pour changement de theme conditionné*/

    .bar:hover {
        background-color: var(--Home-color) !important;
    }

    .shrink {
        background: var(--second) !important;
    }

    .shrink-color {
        color: var(--base) !important;
    }

    .shrink-color-bar:hover {
        background-color: var(--Home-color) !important;
    }

    .shrink-base-color {
        color: var(--base) !important;
    }

    .shrink-second-color {
        color: var(--second) !important;
    }

    .shrink-base-bg-color {
        background-color: var(--base) !important;
    }

    .shrink-second-bg-color {
        background-color: var(--second) !important;
    }

    /* Gestion humburger */

    #toggle2 {
        display: none;
    }
    
    /* Masquer le menu desktop sur tablette */
    .top-menu3 {
        display: none !important;
    }
    
    /* Afficher le hamburger menu sur tablette */
    .hamburger {
        display: block !important;
    }

    .hamburger {
        width: 3vw;
        z-index: 5;
    }

    .hamburger div {
        position: relative;
        width: 4vw;
        height: 0.9vw;
        border-radius: 10px;
        background-color: var(--second);
        margin-top: 0.8vw;
        transition: all 0.3s ease-in-out;
    }

    /**
      Nav Styles
      **/
    .nav {
        position: fixed;
        top: 10%;
        right: 0;
        background-color: var(--base);
        bottom: 0;
        left: auto;
        height: calc(100% - var(--mobile-header-h));
        width: 50%;
        margin-top: 0;
        border-radius: 12px 0 0 12px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        display: block;
        z-index: 9998;
        border: 4px solid var(--second);
    }

    .nav-link-home {
        color: var(--Home-color) !important
    }

    .nav-wrapper {
        position: relative;
        overflow: hidden;
        overflow-y: auto;
        height: 100%;
    }

    .nav2 {
        text-align: left;
        margin-left: 0%;
        width: 100%;
    }

    .nav2 a {
        position: relative;
        text-decoration: none;
        color: var(--second);
        font-size: 3.5vw;
        margin-top: 1vw;
        transition: color 0.2s ease-in-out;
        letter-spacing: 1px;
    }

    .nav2 a:hover {
        color: black;
    }

    .nav2 a:hover:before {
        height: 100%;
    }

    /**
      Animations
      **/
    #toggle2:checked+.hamburger .top-bun {
        transform: rotate(-45deg);
        margin-top: 25px;
    }

    #toggle2:checked+.hamburger .bottom-bun {
        opacity: 0;
        transform: rotate(45deg);
    }

    #toggle2:checked+.hamburger .meat {
        transform: rotate(45deg);
        margin-top: -7px;
    }

    #toggle2:checked+.hamburger+.nav {
        transform: translateX(0);
    }

    .bottom-bun,
    .meat,
    .top-bun {
        background-color: var(--second);
    }


    /* Gestion des onglets */

    .top-menu {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .top-menu ul {
        list-style: none;
        padding: 0;
    }

    .top-menu ul li {
        display: inline;
        margin: 0 1vw;
    }

    .top-menu ul li a {
        color: var(--second);
        text-decoration: none;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 1vw;
        white-space: nowrap;
    }


    .top-menu1 {
        display: flex;
    }

    .top-menu2 {
        display: flex;
        margin: 0 1vw;
    }


    .top-menu3 {
        color: var(--second);
        text-decoration: none;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.15vw;
        position: relative;
        font-size: 1.1vw;
    }

    .top-menu3Home {
        color: var(--Home-color) !important;
        text-decoration: none;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.15vw;
        position: relative;
        font-size: 1.1vw;
    }

    .top-menu3::after {
        content: "";
        display: block;
        height: 0.1vw;
        background: var(--Home-color);
        width: 0;
        position: absolute;
        bottom: 0;
        left: 50%;
        transition: width 0.3s ease, left 0.3s ease;
    }

    .top-menu3:hover::after,
    .top-menu3.active::after {
        width: 100%;
        left: 0;
    }

    /* Logo */

    .logo-container {
        padding-left: 2vw;
        display: flex;
        flex-direction: column;
    }

    .name-logo {
        font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
        font-size: 4vw;
        font-weight: 800;
        color: var(--second);
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: color 0.3s ease-in-out;
    }

    .surname-logo {
        font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
        font-size: 3vw;
        font-weight: 800;
        color: #64ffda;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: color 0.3s ease-in-out;
    }

    .name-logo,
    .surname-logo {
        display: inline-block;
        margin-right: 2vw;
    }

    /* Effet au survol */
    .name-logo:hover,
    .surname-logo:hover {
        color: white;
        text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.8);
    }

    /* Gestion du logo qui bouge avec les barres */

    .bar-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .bar {
        width: 0.15vw;
        margin: 0.5;
        animation: barAnimation 2s ease-in-out alternate-reverse infinite;
        border-radius: 100px;
        background-color: var(--second);
    }




    .bar:nth-child(2) {
        width: 0.30vw;
        animation-delay: 0.15s;
        /* Démarre l'animation de la deuxième barre 0.5 seconde après le début */
    }

    .bar:nth-child(3) {
        width: 0.45vw;
        animation-delay: 0.20s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */
    }

    .bar:nth-child(4) {
        width: 0.6vw;
        animation-delay: 0.25s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */
    }

    .bar:nth-child(5) {
        width: 0.75vw;
        animation-delay: 0.30s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */
    }

    .bar:nth-child(6) {
        width: 0.9vw;
        animation-delay: 0.35s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */

    }

    .bar:nth-child(7) {
        width: 1.05vw;
        animation-delay: 0.40s;
        /* Démarre l'animation de la deuxième barre 0.5 seconde après le début */
    }

    .bar:nth-child(8) {
        width: 1.2vw;
        animation-delay: 0.45s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */
    }

    .bar:nth-child(9) {
        width: 1.35vw;
        animation-delay: 0.50s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */
    }

    .bar:nth-child(10) {
        width: 1.5vw;
        animation-delay: 0.55s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */
    }

    .bar:nth-child(11) {
        width: 1.35vw;
        animation-delay: 0.50s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */
    }

    .bar:nth-child(12) {
        width: 1.2vw;
        animation-delay: 0.45s;
        /* Démarre l'animation de la deuxième barre 0.5 seconde après le début */
    }

    .bar:nth-child(13) {
        width: 1.05vw;
        animation-delay: 0.40s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */
    }

    .bar:nth-child(14) {
        width: 0.9vw;
        animation-delay: 0.35s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */
    }

    .bar:nth-child(15) {
        width: 0.75vw;
        animation-delay: 0.30s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */
    }

    .bar:nth-child(16) {
        width: 0.6vw;
        animation-delay: 0.25s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */

    }

    .bar:nth-child(17) {
        width: 0.45vw;
        animation-delay: 0.20s;
        /* Démarre l'animation de la deuxième barre 0.5 seconde après le début */
    }

    .bar:nth-child(18) {
        width: 0.3vw;
        animation-delay: 0.15s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */
    }

    .bar:nth-child(19) {
        width: 0.15vw;
        animation-delay: 0.15s;
        /* Démarre l'animation de la troisième barre 1 seconde après le début */
    }


    @keyframes barAnimation {
        0% {
            height: 0vw;
        }

        25% {
            height: 4vw;
        }

        50% {
            height: 8vw;
        }

        75% {
            height: 4vw;
        }

        100% {
            height: 0vw;
        }
    }


    /* Gestion disposition de la carte de visite */

    .info-container {
        padding: 2%;
    }

    .info {
        display: flex;
        margin-bottom: 0.6vw;
    }

    .value {
        color: var(--second);
        font-family: 'Optima', sans-serif;
        font-size: 2.3vw;
    }

    /* Photo carte de visite */

    .circle-container {
        border-radius: 100%;
        overflow: hidden;
        width: 100%;
    }

    .circle-image {
        width: 100%;
    }

    /* Style du réseau de neuronne */
    .neuron {
        fill: var(--Home-color);
        /* Couleur avec 60% d'opacité */
        cursor: pointer;
        r: 1.5vw;
        transition: r 0.3s, fill 0.3s;
    }

    .neuron:hover {
        fill: var(--base);
        r: 2vw;
    }

    .link {
        stroke: var(--Home-color);
        stroke-width: 0.2vw;
        transition: stroke 0.3s;
    }


    /* Gestion style du réseau de neurones (fond) */

    .label {
        font-size: 1.4vw;
    }

    .intro-row {
        display: flex;
        flex-direction: column;
        padding: 0vh 5vh 0vh 5vh;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .slogan {
        color: yellow;
        font-size: 2.5vw;
        font-weight: 200;
    }

    .presentation {
        padding-top: 4vw;
        color: var(--base);
        font-size: 2.4vw;
        font-weight: 300;
        font-style: italic;
    }

    .btt-container {
        display: flex;
        align-items: center;
        margin-top: 3vw;
    }

    .contact-me {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Centre le texte et l'icône */
        background: var(--color-contact);
        border: none;
        color: var(--second);
        font-size: 3vw;
        border-radius: 15pt;
        padding: 6% 20%;
        margin-top: 5%;
        transition: all 0.5s ease;
    }

    .contact-me i {
        margin-left: 0.8vw;
    }

    .contact-me:hover {
        background: var(--Home-color);
        color: var(--second);
    }

    .contact-link {
        text-decoration: none;
    }

    .intro-contact {
        color: white;
        justify-content: right;
        display: flex;
    }

    .ul2 {
        padding-left: 0%;
    }


    .icon-link i {
        margin-right: 2vw;
        font-size: 4vw;
        width: 8vw;
        color: #f5f5f5;
        border: 0.2vw solid var(--base);
        background: transparent;
        height: 8vw;
        border-radius: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .icon-link i:hover {
        color: var(--Home-color);
    }

    .icon-link {
        text-decoration: none;
    }

    .nav-menu>ul {
        display: flex;
    }

    .nav-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    /* Gestion du header pour les bars */

    #header {
        transition: all .5s;
        z-index: 997;
    }

    .fixed-top {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }

    .navbur {
        background: var(--color-background) !important;
        border-bottom: .1px solid var(--color-background);
        box-shadow: 0 0 10px -10px #000a18;
        padding: 0.2vw 0;
        position: relative;
        transition: all .5s ease !important;
    }

    .container-fluid {
        width: 100%;
        padding-right: 0.1vw;
        padding-left: 0.1vw;
        margin-right: auto;
        margin-left: auto;
    }


    .navi {
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* Ajoute cet attribut pour espacer les éléments */
        padding-left: 1vw;
        padding-right: 1vw;
        width: 100%;
    }

    .humburger-container {
        display: flex;
        align-items: center;
        margin-left: auto;
        padding: 4%;
    }

    .nav-menu {
        margin-left: auto;
    }

    /* Gestion de la carte de visite */

    .intro-row-card-front {
        background-color: var(--second);
        border-radius: 20pt 0pt 0pt 0pt;
        padding: 3% 3% 3% 3%;
    }

    .intro-row-card-back {
        background-color: var(--second);
        border-radius: 0pt 20pt 0pt 0pt;
        padding: 3% 3% 3% 3%;
    }

    /* Gestion container bouge */

    .container-move {
        -webkit-perspective: 100vw;
        perspective: 100vw;
    }

    /* Gestion body2 qui contient les info de la carte de visite */

    .card2 .body2 {
        padding: 2%;
        text-align: left;
        color: var(--base);
        font-size: 100%;
    }


    .body2 {
        margin-top: 1%;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .card2 {
        -webkit-transition: -webkit-transform 0.5s;
        transition: -webkit-transform 0.5s;
        transition: transform 0.5s;
        transition: transform 0.5s, -webkit-transform 0.5s;
        -webkit-transition: transform 0.5s;
        -moz-transition: transform 0.5s;
        -o-transition: transform 0.5s;
        background-color: var(--base);
        border-radius: 20pt 0pt 20pt 0pt;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        box-shadow: 0px 0px 50px rgba(0, 0, 0, 1);
        width: 100%;
        margin-top: 20%;
        margin-bottom: 20%;
    }

    .card2.move {
        position: relative;
        width: 100%;
        height: 48vw;
        transform-style: preserve-3d;
        transition: transform 0.5s;
        left: 10% !important;
    }

    .front-face {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        background-color: var(--base);
        border-radius: 20pt 0pt 20pt 0pt;
    }

    .back-face {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        background-color: var(--base);
        border-radius: 0pt 20pt 0pt 20pt;
    }

    .back-face {
        transform: rotateY(180deg);
    }



    .flip-button img {
        position: relative;
        width: 6vw;
        height: 6vw;
        filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(500%) hue-rotate(200deg);
        transition: transform 0.3s ease, filter 0.3s ease;
    }

    /* Applique une transformation lors du hover */
    .flip-button:hover img {
        transform: rotate(180deg);
        filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(600%) hue-rotate(220deg);
    }

    /* Gestion du réseau de neuronnes en arrière plan */

    .neural-network-bg-2 {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        background-color: var(--base);
        transition: background-color 0.8s ease-in-out;
    }


    #neural-svg-2 {
        width: 100vw;
        height: 100vh;
        opacity: 0.6;
    }

    .neuron-2 {
        fill: none;
        stroke: var(--second);
        stroke-width: 5;
    }



    .link-2,
    .neuron-2 {
        transition: stroke 0.8s ease-in-out;
    }

    .my-presentation {
        font-size: 3vw;
        font-weight: 500;
        font-family: 'Optima', sans-serif;
        font-style: italic;
        text-align: center;
        color: var(--second);
        max-width: 80%;
        margin: 0 auto;
        line-height: 1.6;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Gestion du carousel */

    .trans3d {
        -webkit-transform-style: preserve-3d;
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform-style: preserve-3d;
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform-style: preserve-3d;
        -ms-transform: translate3d(0, 0, 0);
        transform-style: preserve-3d;
        transform: translate3d(0, 0, 0);
        perspective: none !important;
    }

    #contentContainer {
        position: absolute;
        left: 50%;
        top: 45%;
        transform: translate(-50%, -50%) scale(1.3);
        width: 1000px;
        height: 1000px;
    }

    #carouselContainer {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -40%);
        width: 800px;
        height: 800px;
    }

    .carouselItem {
        width: 20vw;
        height: 26.7vw;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        visibility: hidden;
    }


    .carouselItemInner {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        overflow: hidden;
        background-color: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px) brightness(1.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        color: white;
        font-size: 1vw;
        font-weight: bold;
        display: flex;
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        border-radius: 15px;
        flex-direction: column;
        align-items: center;
    }

    .titre-card {
        font-size: 1.3vw;
        font-weight: bold;
        color: white;
        text-align: center;
        margin: 5% 0% 5% 5%;
    }

    .points-list {
        list-style-type: disc;
        margin: 0;
        color: white;
        margin: 0;
        padding: 0;
    }

    .description {
        background-color: transparent !important;
        border: none !important;
        list-style: none;
        font-size: 0.9vw;
        color: white !important;
        padding: 6%;
    }

    .points-list li {
        font-size: 16px;
        margin: 5px 0;
    }

    .center-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* START FLIP BUTTON */

    .flip-button {
        background: none;
        /* Enlève l'arrière-plan du bouton */
        border: none;
        /* Enlève la bordure du bouton */
        margin: 5%;
        /* Enlève le padding du bouton */
        cursor: pointer;
        /* Met une souris en forme de pointeur */
    }

    .flip-button-2 {
        background: none;
        border: none;
        cursor: pointer;
    }

    .flip-button img {
        position: relative;
        width: 6vw;
        height: 6vw;
        filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(500%) hue-rotate(200deg);
        transition: transform 0.3s ease, filter 0.3s ease;
    }

    .flip-button-2 img {
        position: relative;
        width: 5vw;
        height: 5vw;
        filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(500%) hue-rotate(200deg);
        transition: transform 0.3s ease, filter 0.3s ease;
    }

    /* Applique une transformation lors du hover */
    .flip-button:hover img {
        transform: rotate(180deg);
        filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(600%) hue-rotate(220deg);
    }

    /* Applique une transformation lors du hover */
    .flip-button-2:hover img {
        transform: rotate(180deg);
        filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(600%) hue-rotate(220deg);
    }

    /* END FLIP BUTTON */

    /* START EXPERIENCE */

    .page-one {
        position: relative;
        /* ou absolute/fixed/sticky */
        z-index: 1;
    }

    .logo-text-container {
        position: relative;
        padding-left: 10vw;
        margin-bottom: 2vw;
    }

    .logo-cont {
        position: absolute;
        top: 0;
        left: 0;
    }

    .Head {
        font-weight: 800;
        font-size: 200%;
        margin-top: 15%;
        margin-bottom: 5%;
        color: var(--base);
        scroll-margin-top: 10vw;
    }


    .date {
        font-weight: 700;
        font-size: 16px;
        color: var(--base);
    }

    .location {
        font-size: 18px;
        font-weight: 700;
        color: var(--base);
        display: inline-block;
    }

    .title-tips {
        color: var(--base);
    }

    .col-md-3 {
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    #navi {
        top: 180px;
        position: -webkit-sticky;
        position: sticky !important;
        margin: 0;
    }

    #navi ul {
        margin: 0;
        padding: 0;
    }

    .side-menu {
        font-weight: 700;
        list-style: none;
    }

    .side-menu a {
        color: var(--base);
        text-decoration: none;
        white-space: nowrap;
    }

    .side-menu a:after {
        content: "";
        display: block;
        height: 2px;
        background: #303030;
        width: 0;
        position: absolute;
        transition: width 0.3s ease 0s, left 0.3s ease 0s;
    }

    .side-menu a:hover:after {
        width: 100%;
        left: 0;
    }


    .Icon-Work {
        width: 30%;
        filter: brightness(0) invert(1);
    }

    .Icon-Key {
        width: 80%;
        filter: brightness(0) invert(1);
    }

    .Icon-GE {
        width: 8%;
    }

    .container-mission {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .Icon-Univ {
        display: block;
        width: 60%;
        margin: 0 auto;
        filter: brightness(0) invert(1);
    }

    .Icon-JL {
        width: 80%;
        display: block;
        margin: 0 auto;
        filter: brightness(0) invert(1);
    }

    .Icon-Koala {
        width: 70%;
        display: block;
        margin: 0 auto;
        filter: brightness(0) invert(1);
    }

    .logo-cont {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        height: 100%;
    }

    .logo-Univ-container {
        align-self: flex-start;
        width: 8vw;
        height: 8vw;
        border-radius: 50%;
        overflow: hidden;
        background-color: var(--second);
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid var(--base);
        margin-right: 4%;
        margin-top: 5%;
    }

    .Education {
        display: flex;
    }

    .barre-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 2px;
        /* Hauteur initiale de la barre */
        overflow: hidden;
        /* Masquer le contenu qui dépasse */
        position: relative;
        margin-top: 3%;
        margin-bottom: 3%;
        padding-right: 30%;
    }

    .barre-horizontale {
        width: 0;
        height: 100%;
        background-color: var(--base);
        animation: expand 3s infinite alternate;
    }

    @keyframes expand {
        0% {
            width: 0;
        }

        100% {
            width: 20%;
        }
    }

    /* END EXPERIENCE */

    /* Librairies */

    .pdf-button {
        position: absolute;
        bottom: 1vw;
        right: 1vw;
        padding: 0.6vw 1.2vw;
        background: linear-gradient(135deg, #17c0e9, #3fd1bb);
        color: white;
        border: none;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1.5vw;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 2;
    }

    .pdf-button:hover {
        background: linear-gradient(135deg, #64ffda, #b4ffb0);
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    }

    .copyright {
        color: white;
    }

    .logo-Univ-container2 {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 2%;
    }

    .Icon-Univ2 {
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    .align-location {
        display: flex;
        align-items: center;
        margin-top: 2%;
    }

    .tools {
        padding: 1vw;
        background: rgba(30, 30, 46, 0.5);
        border-radius: 20px;
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .tools:hover {
        background: rgba(30, 30, 46, 0.6);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    }

    .tools ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .tools li {
        margin-bottom: 1vw;
    }

    .tools a {
        color: white;
        text-decoration: none;
        font-weight: 600;
        font-size: 1vw;
        display: block;
        padding: 0.5vw 1vw;
        border-radius: 10px;
        transition: background 0.2s ease;
        text-decoration: none;
    }

    .tools a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .tools a:focus,
    .tools a:hover {
        outline: none;
        text-decoration: none;
    }

    .tools a::after {
        content: none !important;
        display: none !important;
    }


    .col-md-2 {
        padding-top: 10%;
        padding-bottom: 10%;
    }


    .card-text4 {
        font-size: 0.6vw;
        color: var(--second);
    }

    ul.list1 {
        text-align: left;
        list-style-type: disc;
        font-size: 0.5vw;
        color: var(--second);
        margin: 0;
        padding-left: 10%;
    }

    ul.list1 li {
        margin: 2% 0;
    }


    .flip-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        perspective: 1000px;
        width: 100%;
        overflow: visible;
        position: relative;
    }

    .flipper {
        position: relative;
        transition: transform 0.6s;
        transform-style: preserve-3d;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: rgba(30, 30, 46, 0.7);
        border: 2px solid rgba(30, 30, 46, 0.8);
        color: white;
        font-size: 1vw;
        font-weight: bold;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: justify;
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        border-radius: 15px;
        box-shadow: inset 0 0 10px rgba(30, 30, 46, 0.2), 0 4px 10px rgba(0, 0, 0, 0.5);
    }

    .flipper {
        position: relative;
        width: 100%;
        height: 100%;
        /* ← assure une hauteur constante */
        transform-style: preserve-3d;
        transition: transform 0.6s;
    }

    .flip-container.flipped .flipper {
        transform: rotateY(180deg);
    }

    .front {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        padding-left: 2%;
        font-size: 0.8vw;
        padding: 0% 5% 0% 5%;
        flex-direction: column;
    }

    .section-title {
        font-weight: 2vw;
        margin-top: 3vw;
        margin-bottom: 2vw;
        font-size: 1.6vw;
        color: var(--Home-color);
    }

    .styled-list {
        font-size: 1.2vw;
        padding-left: 1vw;
        margin-bottom: 1vw;
        list-style-type: disc;
    }

    .back {
        position: absolute;
        width: 100%;
        height: 100%;
        padding: 2vw 5%;
        font-size: 0.8vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        backface-visibility: hidden;
    }

    .title-back {
        font-size: 2vw;
        margin-bottom: 1vw;
    }

    /* LISTE DES TAGS */
    .tag-list-back {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1vw;
        justify-content: center;
        list-style: none !important;
    }

    .tag-list-back a {
        font-family: system-ui;
        font-size: 0.8vw;
        line-height: 1;
        /*padding: 0.625vw 1.375vw;*/
        padding: 0.625vw 1.325vw;
        border: 2px solid var(--border, #ccc);
        border-radius: 10ch;
        white-space: nowrap;
        text-decoration: none;
        color: inherit;
        background-color: var(--tag-bg, #f0f0f0);
        transition: background-color 0.3s;
    }

    .tag-list-back a:hover {
        background-color: var(--hover-bg, #e0e0e0);
    }

    /* Scroll en cas de motion réduite */
    @media (prefers-reduced-motion) {
        .tag-list-back {
            flex-flow: row nowrap;
            overflow: auto;
            scrollbar-width: none;
            scrollbar-color: transparent transparent;
        }

        .tag-list-back::-webkit-scrollbar {
            display: none;
            width: 0;
            height: 0;
        }
    }

    /* --------- CATEGORY STYLES – Modern Pastel --------- */

    /* Tools – pastel blue */
    .tool-tag {
        background-color: #dceefd !important;
        border-color: #90caf9 !important;
        color: #1a4f79 !important;
    }

    .tool-tag:hover {
        background-color: #c5e4fb !important;
        color: #103a5c !important;
        transform: scale(1.05);
    }

    /* Libraries – pastel mint */
    .lib-tag {
        background-color: #ddf8f2 !important;
        border-color: #80cbc4 !important;
        color: #1e5f56 !important;
    }

    .lib-tag:hover {
        background-color: #c0f1e5 !important;
        color: #13463f !important;
        transform: scale(1.05);
    }

    /* Hard Skills – pastel yellow */
    .hard-tag {
        background-color: #fffbe5 !important;
        border-color: #ffe082 !important;
        color: #6d5e00 !important;
    }

    .hard-tag:hover {
        background-color: #fff4b3 !important;
        color: #4f4700 !important;
        transform: scale(1.05);
    }

    /* Soft Skills – pastel pink */
    .soft-tag {
        background-color: #fdeef3 !important;
        border-color: #f48fb1 !important;
        color: #7c2946 !important;
    }

    .soft-tag:hover {
        background-color: #f9d4e2 !important;
        color: #611e36 !important;
        transform: scale(1.05);
    }



    .front {
        z-index: 2;
    }

    .back {
        transform: rotateY(180deg);
        z-index: 1;
    }

    .flipper ul {
        list-style-type: disc;
        padding-left: 1vw;
    }

    .flipper li {
        margin-top: 3%;
    }


    .bold-text-mission {
        margin-top: 3%;
        font-weight: bold;
        font-size: 1.7vw;
        margin-bottom: 0;
    }

    .data-a-logo {
        width: 40%;
    }

    .xp-container {
        width: 100%;
        height: 100%;
        background-color: rgba(30, 30, 46, 0.7);
        backdrop-filter: blur(10px) brightness(1.1);
        border: 2px solid rgba(30, 30, 46, 0.8);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        border-radius: 15px;
        overflow: hidden;
        color: white;
        font-size: 18px;
        font-weight: bold;
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 1vw;
        box-sizing: border-box;
    }

    .xp-title {
        font-size: 1.2vw;
        font-weight: bold;
        text-align: center;
        margin-bottom: 1vw;
        color: white;
    }

    /* Progress circle */

    .xp-container p {
        border: 1px solid var(--second);
        border-radius: 15px;
        padding: 0 1vw;
        margin-top: 0.8vw;

    }

    .Beginner {
        font-size: 1vw;
        color: #17c0e9 !important;
    }

    .Intermediate {
        font-size: 1vw;
        color: #3fd1bb !important;
    }

    .Advanced {
        font-size: 1vw;
        color: #b4ffb0 !important;
    }

    .Experienced {
        font-size: 1vw;
        color: #f8ff98 !important;
    }


    .progress {
        width: 10vw !important;
        height: 10vw !important;
        background: none !important;
        align-items: center !important;
        flex-direction: column !important;
    }


    .circleProg {
        width: 10vw;
        height: 10vw;
        border-radius: 50%;
        background-color: rgba(30, 30, 46, 0.7);
        backdrop-filter: blur(6px);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Logo image */
    .data-a-logo {
        width: 50%;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
        transition: transform 0.3s ease;
    }

    .data-a-logo:hover {
        transform: scale(1.2);
    }

    .location-2 {
        color: var(--base);
    }

    :root {
        --dark: #252A2E;
        --light: #F5F5F5;
        --background: var(--light);
        --text: var(--dark);
        --border: var(--dark);
    }

    @media (prefers-color-scheme: dark) {
        :root {
            --background: var(--dark);
            --text: var(--light);
            --border: var(--light);
        }
    }


    .tag-scrollers {
        margin-bottom: 20vw;
    }



    .tag-scroller {
        display: grid;
        gap: 4vw;
        mask: linear-gradient(90deg, #0000, var(--background) 15%, var(--background) 85%, #0000);
        padding: 1vw 0;
    }

    .tag-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2vw;
    }

    @media (prefers-reduced-motion) {
        .tag-list {
            flex-flow: row nowrap;
            overflow: auto;
            scrollbar-width: none;
            scrollbar-color: transparent transparent;
        }

        .tag-list::-webkit-scrollbar-track {
            background: transparent;
        }

        .tag-list::-webkit-scrollbar-thumb {
            background: transparent;
        }

        .tag-list::-webkit-scrollbar {
            display: none;
            width: 0;
            height: 0;
        }
    }

    .tag-list a {
        font-family: system-ui;
        font-size: 1.125vw;
        line-height: 1;
        padding: 0.625vw 1.375vw;
        border: 2px solid var(--border);
        border-radius: 10ch;
        white-space: nowrap;
    }

    .tag-scroller.scrolling .tag-list {
        width: max-content;
        flex-wrap: nowrap;
        animation: horizontal-scroll var(--duration) var(--direction, normal) linear infinite;
    }

    .tag-scroller.scrolling .tag-list:nth-child(even) {
        --direction: reverse;
    }

    .tag-scroller:hover .tag-list {
        animation-play-state: paused;
    }

    @keyframes horizontal-scroll {
        to {
            /*	0.75vw FOR HALF THE GAP
                    OF THE .tag-scroller
            */
            transform: translateX(calc(-50% - .75vw));
        }
    }

    .button-group {
        display: flex;
        gap: 1vw;
        margin-bottom: 5vw;
    }

    .btn-lang {
        display: flex;
        align-items: center;
        gap: 0.5vw;
        padding: 0.5vw 1vw;
        background-color: var(--base);
        border: 2px solid var(--second);
        border-radius: 0.5vw;
        cursor: pointer;
        font-weight: bold;
        font-size: 1.5vw;
        transition: background-color 0.3s, transform 0.2s;
    }

    .btn-lang img {
        width: 2.5vw;
        height: 2.5vw;
        object-fit: contain;
    }

    .btn-lang:hover {
        background-color: var(--second);
        transform: translateY(-2px);
        color: white;
    }

    .btn-lang.active {
        background-color: #d0d0ff;
        border-color: #5555ff;
    }

    .theme-data {
        background-color: #6ed7e4;
        border-color: #6ed7e4 !important;
        color: #063a45;
    }

    .theme-ml {
        background-color: #68e6d6;
        border-color: #68e6d6 !important;
        color: #0e3f37;
    }

    .theme-visual,
    .theme-viz {
        background-color: #8effe6;
        border-color: #8effe6 !important;
        color: #14403a;
    }

    .theme-scraping {
        background-color: #95f595;
        border-color: #95f595 !important;
        color: #1e4b1c;
    }

    .theme-stats {
        background-color: #fff76b;
        border-color: #fff76b !important;
        color: #5e5300;
    }

    .theme-reporting {
        background-color: #68e6d6;
        border-color: #68e6d6 !important;
        color: #0e3f37;
    }

    .theme-math {
        background-color: #95f595;
        border-color: #95f595 !important;
        color: #1e4b1c;
    }

    .theme-default {
        background-color: #e5e5e5;
        border-color: #c0c0c0 !important;
        color: #2e2e2e;
    }

    /* Hover Styles */
    .theme-data:hover {
        background-color: #56c7d3;
        color: #063a45;
    }

    .theme-ml:hover {
        background-color: #50d6c6;
        color: #0e3f37;
    }

    .theme-visual:hover,
    .theme-viz:hover {
        background-color: #75f5da;
        color: #14403a;
    }

    .theme-scraping:hover {
        background-color: #7ee87e;
        color: #1a3e17;
    }

    .theme-stats:hover {
        background-color: #f5ec4c;
        color: #4d4500;
    }

    .theme-reporting:hover {
        background-color: #50d6c6;
        color: #0e3f37;
    }

    .theme-math:hover {
        background-color: #7ee87e;
        color: #1a3e17;
    }

    /* Projects */

    .project-slider {
        position: relative;
        overflow: hidden;
        padding: 2vw 0;
    }

    .project-track {
        display: flex;
        transition: transform 0.5s ease-in-out;
        scroll-behavior: smooth;
        gap: 1.5vw;
        padding: 0 2vw;
        overflow-x: auto;
    }

    .project-card {
        max-width: 30%;
        border-radius: 15px;
        padding: 1vw;
        text-align: center;
        flex-shrink: 0;
        background-color: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px) brightness(1.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        color: white;
        font-size: 1vw;
        font-weight: bold;
        display: flex;
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }

    .project-card img {
        width: 30vw;
        height: 20vw;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 1vw;
    }

    .project-card h3 {
        font-size: 1.2vw;
        margin: 0.5vw 0;
    }

    .project-card p {
        font-size: 0.9vw;
        color: #555;
    }

    .dots-container {
        display: flex;
        justify-content: center;
        margin-top: 1vw;
        gap: 0.5vw;
    }

    .dots-container {
        display: flex;
        justify-content: center;
        margin-top: 1vw;
        gap: 0.5vw;
    }

    .dot {
        width: 30px;
        /* Longueur de la barre */
        height: 6px;
        /* Hauteur fine */
        background-color: var(--base);
        border-radius: 3px;
        /* Coins arrondis */
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
        opacity: 0.6;
    }

    .dot.active {
        background-color: var(--Home-color);
        /* Couleur active */
        opacity: 1;
        transform: scaleX(1.2);
        /* Légère mise en avant */
    }

    .text-project {
        font-size: 0.6vw !important;
        color: white !important;
        text-align: left !important;
        padding: 2%;
    }

    /* Contact me */

    .email-me textarea,
    .email-me input {
        background-color: rgba(30, 30, 46, 0.9);
        backdrop-filter: blur(10px) brightness(1.1);
        border: 2px solid rgba(30, 30, 46, 0.8);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        color: white;
        font-size: 0.8vw;
        font-weight: bold;
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        width: 100%;
        margin-bottom: 10px;
        border-radius: 6px;
        font-size: 16px;
        padding: 0.8vw 1vw;
    }

    .email-me input::placeholder,
    .email-me textarea::placeholder {
        color: #cccccc;
        /* Choisis la couleur que tu veux */
        opacity: 1;
        /* Pour s'assurer que c'est bien visible */
    }

    .email-me input:focus,
    .email-me textarea:focus {
        outline: none;
        background-color: rgba(30, 30, 46, 0.6);
        font-size: 0.9vw;
    }

    .email-me textarea {
        resize: vertical;
        padding-top: 1vw;
    }

    .email-me label {
        display: block;
        margin-bottom: 5px;
        color: var(--second);
        font-weight: 500;
    }

    .contact-me-title {
        text-align: center;
        margin: auto;
        max-width: 450px;
    }

    .contact-me-title h2 {
        font-size: 4vw;
        color: var(--second);
        margin-bottom: 10%;
    }

    .contact-me-title h3 {
        margin-top: 10%;
        font-size: 1vw;
        color: var(--red);
    }

    .contact-me-2 {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-contact);
        border: none;
        color: var(--second);
        font-size: 1vw;
        border-radius: 15pt;
        padding: 2% 8%;
        margin-top: 5%;
        transition: all 0.5s ease;
    }

    .contact-me-2 i {
        margin-left: 0.4vw;
    }

    .contact-me-2:hover {
        background: var(--Home-color);
        color: var(--second);
    }
}