/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    box-sizing: border-box;*/
/*}*/

body {
    font-family: system-ui, sans-serif;
    color: black;
    margin-top: 0px;
    margin-bottom: 50px;
    font-weight: 300;
    background: #efeeee;
    line-height: 1.5;
}

strong {
    font-weight: 800;
}

name {
    font-weight: 800;
    color: #12968b;
    font-style: italic;
}

footer {
    text-align: center;
}

header {
    justify-content: space-between;
}

/*.header-container {*/
/*    !*max-width: 1200px;*!*/
/*    margin: 0 auto;*/
/*    padding: 1rem 2rem;*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sticky-header {
    position: sticky;
    top: 0;
    background: rgba(246, 246, 246, 0.94);
    padding: 0.5rem;
    box-shadow: 0 2px 0px rgba(0, 0, 0, 0.1);
    /*text-align: left;*/
    z-index: 1;
    padding-bottom: 5px;
    justify-content: space-between;
    width: 100%;
}


.name{
    text-align: left;
    font-size: 2rem;
    font-family: Optima, sans-serif;
}

.subtitle{
    text-align: left;
    font-size: 1.3rem;
    font-family: Optima, sans-serif;

}

.logo {
    display: inline-block;
    position: absolute;
    right: 15px;
    top: 15px;

    /*text-align: right; !* Aligne le contenu à droite *!*/
    /*margin-left: auto; !* Pousse le bloc .logo vers la droite (alternative à justify-content: space-between) *!*/
}

.logo a {
    display: inline-block;
    text-align: right;/* Permet à text-align de fonctionner */
}

.logo > a {
    text-decoration: none;
}

.logo > a:hover {
    text-decoration: none;
}

#header, #menu-nav {
    width: 100%;
    display: inline-flex;
}

.menu-nav{
    text-align: left;
    justify-content: flex-start;
    list-style: none;
    /*padding: 0;*/
    /*margin: 0;*/
    display: flex;
    background: #f8f9fa;
    border-radius: 4px;
    /*overflow: hidden;*/
    flex-wrap: wrap;
    gap: 4px;
}

.menu-nav > li {
    position: relative;
}

.menu-nav > li > a {
    display: block;
    text-decoration: none;
    padding: 3px 10px;
    box-shadow: 4px 4px rgba(0,0,0,0.1);
    background-color: #f6f6f6;
    color: #12968b;
    margin-right: 10px;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.menu-nav > li > a:hover {
    background: #e9ecef;
    color: rgba(18, 150, 139, 0.51);
}




.menu-nav a {
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 3px 10px;
    box-shadow: 4px 4px rgba(0,0,0,0.1);
    background-color: #f6f6f6;
    color: #12968b;
    margin-right: 10px;
}



/*.menu-nav a:hover {*/
/*    color: rgba(18, 150, 139, 0.66);*/
/*    text-decoration: none;*/
/*}*/

/* submenu */
.has-submenu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #f6f6f6;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0; /* Cache le sous-menu par défaut */
    visibility: hidden; /* Rend le sous-menu invisible mais garde l'espace */
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 100;
}

.has-submenu:hover .submenu {
    opacity: 1; /* Affiche le sous-menu au survol */
    visibility: visible;
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: rgb(100, 98, 98);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

.submenu li a:hover {
    background: rgba(235, 236, 239, 0.8);
    color: rgba(72, 71, 71, 0.42);
}

a {
    color: #12968b;
    text-decoration: none;
}

a:hover {
    color: rgba(18, 150, 139, 0.66);
}

.copyleft {
    display:inline-block;
    transform: rotate(180deg);
}

.love {
    color: #e91e63;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-top: 5rem;
    margin-bottom: 0rem;
    color: #12968b;
    font-family: Optima, sans-serif;
}

h4 {
    margin-top: 2rem;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: rgba(18, 150, 139, 0.74);
    font-family: Optima, sans-serif;
    /*margin-left: 2rem;*/
}
/*.wavy {*/
/*    text-decoration-line: underline;*/
/*    text-decoration-style: wavy;*/
/*    text-decoration-color: #e91e63;*/
/*}*/

section {
    /*padding: 80px 0rem 2rem;*/
    /* max-width: 1200px; */
    /*margin: 0 auto;*/
}

#presentation {
    min-height: 60vh;
    display: flex;
    align-items: center;
    /*max-width: 1200px;*/

    /*padding: 60px 0 2rem;*/

    /*padding: 1.5rem;*/
    /*margin-top: 1.5rem;*/
    /*margin-bottom: 1.5rem;*/
    /*min-height: 60vh;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*max-width: 1200px;*/
    /*gap: 1.5rem;*/
}

.presentation-container {
    padding-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
    align-items: top;

    /*padding-top: 1rem;*/
    /*display: grid;*/
    /*grid-template-columns: 1fr 3fr;*/
    /*gap: 4rem;*/
    /*align-items: top;*/
}

.presentation-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
/*.presentation-text {*/
/*    flex: 1;*/
/*    min-width: 10;*/
/*}*/

.presentation-image {
    text-align: top;
    align-items: start;
}

.presentation-image img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

/* Publications */
#publications {
    /*background: #f6f6f6;*/
    /*padding: 0.25rem 0 2rem;*/
}

#publications .publications-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    /*padding: 0 2rem;*/
    /*max-width: 1200px;*/

}

/*#publications h2 {*/
/*    font-size: 2rem;*/
/*    margin-bottom: 1rem;*/
/*    color: #12968b;*/
/*    font-family: Optima, sans-serif*/
/*}*/

.publication {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
    position: relative;
    display: flex;
    gap: 1.5rem;
}

.publication-image {
    flex-shrink: 1;
    width: 210px;
    overflow: hidden;
    /*border-radius: 6px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-direction: row;
    min-width: 1;
}

.publication-image img {
    width: 100%;
    height: 100%;
    max-height: 210px;
    min-height:200px;
    object-fit: cover;
}

.publication-image-placeholder {
    color: #ccc;
    font-size: 3rem;
}

.publication-content {
    flex: 1;
    min-width: 10;
}

.publication-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* gap: 1rem; */
    margin-bottom: 0.5rem;
    flex-direction: column;
}

.publication-infos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.publication-infos * {
    margin-right: 10px;
}

.publication-title {
    flex: 1;
}

.publication h3 {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
    color: #404040;
}

.badge {
    padding: 2px 10px;
    border-radius: 3px;
}

.publication-conf-internationale {
    background: #AF89C5;
    color: white;
}

.publication-scientific-article {
    background: #AF89C5;
    color: white;
}

.publication-poster {
    background: #D0A0B0;
    color: white;
}

.publication-conf-locale {
    background: #84A4BD;
    color: white;
}

.publication-doctoral {
    background: #84A4BD;
    color: white;
}

.publication-journal {
    background: #8C84C5;
    color: white;
}

.publication-demo {
    background: #2c3441;
    color: white;
}

.publication-workshop {
    background: #7eafa4;
    color: white;
}

.publication-year {
    background: #dfe7e7;
}

.award {
    background: #e7ac5f;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    right: 10px;
    top: 10px;
}

.publication .authors {
    color: #666;
    margin-bottom: 0.1rem;
}

.publication .venue {
    color: #666;
    /* font-weight: 500; */
    display: block;
    margin-bottom: 0.7rem;
}

.publication-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.publication-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    /*color: #666;*/
    text-decoration: solid;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.publication-links a:hover {
    color: #84a4bd;
}

.publication-links i {
    font-size: 1rem;
}


/*CV*/
#cv {
    /*background: #f6f6f6;*/
    /*padding: 0.25rem 0 2rem;*/
}

#cv .cv-container {
    margin: 0 auto;
    padding: 0 2rem;
    /*padding: 0 2rem;*/
    /*max-width: 1200px;*/

}


/*Experiences*/
.cv-element {
    background: white;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    /*border-bottom: 1px dashed #12968b;*/
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
    position: relative;
    display: flex;
    gap: 1rem;
    line-height: 1.1;
    font-size: 0.85rem;
}

.cv-content {
    /*flex: 1;*/
}

.cv-title {
    display: inline-flex;
    /*justify-content: space-between;*/
    align-items: center;
    width: 100%;
    gap: 1rem;
    font-size: 1rem;
}

.cv-title h3 {
    margin: 0;
    /*flex: 1;*/
}



.cv-image {
    flex-shrink: 1;
    /*width: 210px;*/
    overflow: hidden;
    /*border-radius: 6px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-direction: row;
    /*min-width: 1;*/
}

.cv-image img {
    /*width: 100%;*/
    /*height: 100%;*/
    /*max-height: 210px;*/
    /*min-height:200px;*/
    /*object-fit: cover;*/
}

.desc {
    font-style: italic;
    line-height: 1.4;
}


.years {
    /*display: inline-flex;*/
    /*align-items: center;*/
    background: #dfe7e7;
    padding: 0.3rem;

}

.nb-h {
    display: inline-flex;
    align-items: center;
    background: #12968b;
    color: white;
    /*padding: 8px;*/
}

.at {
    color: #12968b;
}

.anchor {
    margin-top: -90px;
    padding-top: 90px;
}

.nb{
    margin-left: -6px;
    margin-right: 20px;
}

.rr-container {
    margin: 0 0;
    padding: 0 2rem;
    /*max-width: 1200px;*/

}

.rr-title{
    display: inline-flex;
    /*justify-content: space-between;*/
    align-items: center;
    width: 100%;
    font-size: 1rem;
    gap: 1rem;
}

.rr-element{
    background: white;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    /*border-bottom: 1px dashed #12968b;*/
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
    position: relative;
    display: flex;
    gap: 1.5rem;
    line-height: 1;
    font-size: 0.9rem;}

.rr-image {
    flex-shrink: 1;
    /*width: 210px;*/
    overflow: hidden;
    /*border-radius: 6px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-direction: row;
    /*min-width: 1;*/
}

@media (max-width: 768px) {

    .title {
        display: flex;
        flex-direction: column;
    }

    .anchor {
        padding-top: 150px;
    }

    .presentation-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /*#presentation .presentation-container {*/
    /*    !*padding: 0 1rem;*!*/
    /*    background: white;*/
    /*    padding: 1.5rem;*/
    /*    margin-bottom: 1.5rem;*/
    /*    border-radius: 8px;*/
    /*    !*box-shadow: 0 2px 4px rgba(0,0,0,0.05);*!*/
    /*    position: relative;*/
    /*    display: flex;*/
    /*    gap: 1.5rem;*/
    /*}*/

    /*.presentation {*/
    /*    flex-direction: column;*/
    /*}*/

    /*.nav-container {*/
    /*    flex-direction: column;*/
    /*    gap: 1rem;*/
    /*}*/

    /*.nav-right {*/
    /*    flex-direction: column;*/
    /*    width: 100%;*/
    /*}*/

    /*.bio-social-links {*/
    /*    flex-direction: column;*/
    /*    align-items: flex-end;*/
    /*    gap: 1rem;*/
    /*}*/

    .presentation-text {
        font-size: 1rem;
    }

    /*.presentation-image {*/
    /*    width: 100%;*/
    /*    height: 200px;*/
    /*}*/

    /*.presentation-image img {*/
    /*    min-height: 100px;*/
    /*}*/

    section {
        /*padding: 80px 0rem 2rem;*/
    }

    #publications {
        /*padding: 4rem 0 2rem;*/
    }

    #publications .publications-container {
        /*padding: 0 0rem;*/
    }

    .publication {
        flex-direction: column;
    }

    .publication-image {
        width: 100%;
        height: 200px;
    }

    .publication-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        display: flex;
        flex-direction: row;

    }


    .award {
        margin-bottom: 0.5rem;
    }

    #cv {
        /*padding: 4rem 0 0rem;*/
    }

    #cv .cv-container {
        /*padding: 0 0rem;*/
    }

    .cv-element {
        flex-direction: column;
    }

    .cv-image {
        width: auto;
        height: 200px;
    }

    .cv-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rr-element {
        flex-direction: row;
    }

    .menu-nav > li > a{
        flex-direction: row;
        align-items: flex-start;
        /*margin-bottom: 5px;*/
    }

    .has-submenu .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .has-submenu .submenu {
        position: static;
        padding-left: 20px;
    }

    .has-submenu:hover .submenu {
        display: none;
    }

.supmat {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* espace vertical entre chaque lien */
}

.supmat a {
  color: black !important;
  text-decoration: none !important;
}

.supmat a:hover {
  color: rgba(81, 86, 86, 0.66) !important;
}



}
