@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

*, html, body { box-sizing: border-box; margin: 0; padding: 0; text-decoration: none; list-style: none; }

:root {
    --primary-color: #131313;
    --second-bg: #171717;
    --secondary-color: #f3dbc7;
    --tertiary-color: #fafafa;
    --border-color: #f3dbc756;
    --color-red-800: oklch(44.4% .177 26.899);
    --primary-radius: 50px;
}

html, body { width: 100%; overflow-x: hidden; font-family: 'DM Sans', sans-serif; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background-color: var(--primary-color); }

/* HEADER */

header {
    width: 100vw;
    height: 65px;
    position: fixed;
    background-color: #171717;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(37,37,37,.753);
}

header > a { height: 45%; }
header > a > img { height: 100%; transition: opacity .4s ease; }
header > nav:nth-child(2) { padding: 0 25%; }

.logo, .underline, .res { color: var(--tertiary-color); }

.nom_sections { display: flex; justify-content: center; gap: 37px; }
.nom_sections li { position: relative; }

.underline {
    position: relative;
    font-size: .85rem;
    text-transform: uppercase;
    overflow: hidden;
    transition: color .4s ease;
}

.underline::after, .underlineTitle::after, .nav_footer li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    transition: width .4s ease, right .4s ease;
}

.underline::after { background-color: var(--tertiary-color); }
.underlineTitle::after { background-color: var(--secondary-color); }
.nav_footer li::after { background-color: var(--tertiary-color); width: 100%; }

.underline.active::after, .underlineTitle.active::after { background-color: var(--primary-color); }
.underline:hover::after, .link_content_real_audio:hover .underlineTitle::after { width: 100%; right: 0; }
.underline:not(:hover)::after, .underlineTitle:not(:hover)::after { width: 0; right: 0; }

.res_header { display: flex; gap: 25px; }

.res {
    font-size: 1.1rem;
    transition: transform .4s ease;
    display: flex;
    align-items: center;
}
.res:hover { transform: scale(1.1); }

.progress_bar {
    height: 2px;
    background-color: var(--tertiary-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    transition: width .4s ease;
    z-index: 9999;
}

.burger, .menu_detail { display: none; }

@media screen and (max-width: 1023px) {
    header { padding: 0 40px; justify-content: space-between; }
    header > nav:nth-child(2), .res_header { display: none; }

    .menu_detail {
        display: block;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100vw;
        height: 0;
        background-color: #171717;
        overflow: hidden;
        transition: height .5s ease;
        z-index: 9;
    }
    .menu_detail.active { height: auto; max-height: calc(100vh - 70px); }

    .menu_detail > ul {
        width: 100%;
        padding: 40px;
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity .3s ease .2s, transform .3s ease .2s;
    }
    .menu_detail.active > ul { opacity: 1; transform: translateY(0); }

    .menu_detail > ul > li {
        width: 100%;
        border-bottom: 1px solid rgba(250,250,250,.1);
        padding-bottom: 20px;
    }
    .menu_detail > ul > li:last-of-type { border-bottom: none; padding-bottom: 0; }

    .menu_detail > ul > li > a {
        color: var(--tertiary-color);
        font-size: .9rem;
        text-transform: uppercase;
        font-weight: 400;
        transition: color .3s ease;
    }

    .menu_detail.active a { display: block; animation: fade 1.5s forwards; }

    @keyframes fade { from { opacity: 0; } to { opacity: 1; } }

    .burger {
        width: 25px;
        height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .burger i {
        position: absolute;
        color: var(--tertiary-color);
        font-size: 1.5rem;
        transition: opacity .4s ease, transform .4s ease;
    }
    .burger.active i.open { opacity: 0; transform: rotate(180deg); }
    .burger i.close { opacity: 0; }
    .burger.active i.close { opacity: 1; transform: rotate(180deg); }
}

@media screen and (max-width: 425px) {
    header { padding: 0 20px; }
    header > a { height: 40%; }
}

/* ACCUEIL */

#accueil > div { display: flex; flex-direction: column; align-items: center; }
#accueil > div > figure { width: 578px; margin-bottom: 40px; }
#accueil > div > figure > img { width: 100%; height: auto; }

#accueil > div > a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 275px;
    height: 57px;
    background-color: var(--secondary-color);
    border-radius: var(--primary-radius);
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: .75rem;
    transition: transform .4s ease;
}
#accueil a:hover { transform: scale(.98); }

@media screen and (max-width: 1400px) { #accueil > div > figure { width: 500px; } }

@media screen and (max-width: 768px) {
    #accueil > div > figure { width: 400px; margin-bottom: 45px; }
    #accueil > div > a { width: 230px; height: 51px; font-size: .68rem; }
}

@media screen and (max-width: 546px) {
    #accueil > div > figure { width: 350px; margin-bottom: 35px; }
    #accueil > div > a { width: 220px; height: 50px; font-size: .625rem; }
}

@media screen and (max-width: 425px) {
    #accueil > div > figure { width: 300px; margin-bottom: 30px; }
    #accueil > div > a { width: 200px; height: 42px; font-size: .6rem; }
}

/* ABOUT */

#about {
    display: flex;
    width: 100%;
    background-color: var(--primary-color);
    padding: 150px 7%;
}

.about_container { display: flex; gap: 40px; max-width: 1330px; margin: 0 auto; }

.about_container > figure {
    position: relative;
    width: 100%;
    max-height: 600px;
    flex: 0 0 40%;
    height: 100%;
}

.credit-photo {
    position: absolute;
    left: 9px;
    bottom: 9px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: .2px;
    line-height: 1.5;
    padding: 2px 8px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
}

.about_container > figure > img {
    aspect-ratio: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.about_description_container { width: 100%; }

.about_description_container > h1 {
    color: var(--tertiary-color);
    font-size: 1.875rem;
    margin-bottom: 15px;
}

#prenom, #nom { font-weight: 700; }
#nom { text-transform: uppercase; }

.about_description_container > hr {
    width: 50px;
    height: 1px;
    background-color: var(--secondary-color);
    border: none;
    margin-bottom: 3px;
}

.about_description_container > h2 {
    font-family: var(--font-);
    font-size: 1.375rem;
    color: var(--secondary-color);
    letter-spacing: -1px;
    margin-bottom: 35px;
}

.txt {
    color: var(--tertiary-color);
    text-align: justify;
    font-size: 1rem;
    font-weight: 300;
    line-height: 22px;
    margin-bottom: 35px;
}

.about_description_container > p { margin-bottom: 30px; }

#CV, .res_about {
    height: 57px;
    background-color: var(--secondary-color);
    border: 1px solid transparent;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
    color: var(--primary-color);
    transition: all .3s ease;
}

#CV { width: 72%; font-size: .8rem; }

#CV:hover, .res_about:hover {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--secondary-color);
}

.liens_about { display: flex; align-items: center; justify-content: space-between; }
.res_about { width: 57px; font-size: 1.2rem; }

/* Letterboxd */

.movie-container {
    position: relative;
    width: 450px;
    max-height: 150px;
    border-radius: 8px;
    transition: all .4s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

.movie-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--movie-bg);
    border-radius: inherit;
    z-index: 0;
    filter: brightness(1);
    transition: all .3s ease;
}

#movieContainer:hover::before { filter: brightness(1.5); }
#movieContainer > * { position: relative; z-index: 1; }

.loading { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; }

.spinner, .loader-spinner {
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(243,219,199,.102);
    border-top-color: var(--tertiary-color);
    animation-duration: 1s;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(243,219,199,.15);
    border-top-color: var(--secondary-color);
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-text { color: var(--tertiary-color); font-size: .8rem; font-weight: 500; }

.movie-content {
    display: none;
    align-items: center;
    width: 100%;
    gap: 15px;
    max-height: 100px;
    animation: fadeIn .6s ease-out;
    margin: 13px 12px;
}
.movie-content.active { display: flex; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.movie-poster { width: auto; max-height: 70px; border-radius: 10px; transition: transform .3s ease; }
#last-view { color: var(--tertiary-color); font-size: .9rem; font-weight: 200; }
.movie-title { font-size: 1.3rem; font-weight: 700; color: var(--tertiary-color); }
#icon-letterboxd { font-size: 1.1rem; color: var(--tertiary-color); margin-left: auto; }
#movieContainer:hover #icon-letterboxd { opacity: 1; }

.error { color: var(--secondary-color); text-align: center; padding: 20px; display: none; font-size: .8rem; }
.error.active { display: block; }

@media screen and (max-width: 1470px) { #CV { width: 70%; } }
@media screen and (max-width: 1400px) { .about_container { gap: 30px; } }
@media screen and (max-width: 1110px) { #CV { width: 67%; } }
@media screen and (max-width: 1023px) { .movie-container { width: 350px; } }
@media screen and (max-width: 955px) { #CV { width: 59%; } }

@media screen and (max-width: 770px) {
    #about { padding: 100px 7%; }
    .about_container { flex-direction: column; }
    .about_container > figure { flex: 0; }
    #CV { width: 65%; }
    .movie-container { width: 100%; }
}

@media screen and (max-width: 620px) {
    .about_container > figure > img { height: 450px; }
    .credit-photo { left: 6px; bottom: 12px; font-size: .75rem; }
}

@media screen and (max-width: 500px) {
    .txt { font-size: .95rem; }
    #CV { width: 58%; font-size: .7rem; }
    #CV, .res_about { height: 52px; }
    .res_about { width: 52px; font-size: 1rem; }
    .movie-poster { max-height: 60px; }
    #last-view { font-size: .8rem; }
    .movie-title { font-size: 1.1rem; }
    #icon-letterboxd { font-size: .95rem; }
}

/* COMPÉTENCES */

#skills { padding: 150px 7%; background-color: var(--second-bg); }

.container-skills { max-width: 1330px; margin: 0 auto; }

.container-skills > h2, .last-real-container > h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.container-skills > hr, .last-real-container > hr {
    width: 55px;
    margin-bottom: 4px;
    height: 1px;
    border: none;
    background-color: var(--tertiary-color);
}

.container-skills > h3 { font-size: 1.05rem; font-weight: 400; color: var(--tertiary-color); margin-bottom: 60px; }
.skills-grid { display: flex; flex-direction: column; gap: 50px; width: 100%; }

.skills-category {
    background-color: #13131360;
    border: 1px solid #fafafa21;
    border-radius: 8px;
    padding: 30px;
}

.skills-category h4 { font-size: 1.4rem; font-weight: 800; color: var(--tertiary-color); margin-bottom: 30px; letter-spacing: -.3px; }
.skills-list { display: flex; flex-wrap: wrap; gap: 20px; }

.skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 25px;
    border-radius: 50px;
    transition: all .4s ease;
    width: fit-content;
    white-space: nowrap;
}
.skill-item:hover { transform: scale(.98); }
.skill-item i { font-size: 1.2rem; color: #fafafae3; }
.skill-item img { width: 22px; height: auto; flex-shrink: 0; }
.skill-item span { font-weight: 600; letter-spacing: -.3px; font-size: .92rem; }

@media screen and (max-width: 1023px) {
    .container-skills > h2 { font-size: 1.9rem; }
    .container-skills > h3 { font-size: .95rem; margin-bottom: 40px; }
}

@media screen and (max-width: 770px) {
    #skills { padding: 100px 7%; }
    .container-skills > h2 { font-size: 1.7rem; }
    .skills-list { gap: 15px; }
    .skill-item { padding: 12px 16px; }
}

@media screen and (max-width: 500px) {
    .skills-grid { gap: 30px; }
    .container-skills > hr { margin-bottom: 6px; width: 40px; }
    .container-skills > h3 { font-size: .9rem; }
    .skills-category { padding: 25px; }
    .skills-category > h4 { font-size: 1.2rem; }
    .skill-item i { font-size: 1.05rem; }
    .skill-item span { font-size: .85rem; }
}

/* DERNIERS PROJETS */

#last-real { padding: 150px 7%; background-color: var(--primary-color); }
.last-real-container { max-width: 1330px; margin: 0 auto; }

.txt_audio { font-size: 1.05rem; color: var(--tertiary-color); margin-bottom: 60px; line-height: 1.6; }

.latest-projects-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-bottom: 50px; }

.project-card {
    display: block;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease;
}

.project-image { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; margin: 0; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: all .4s ease; }
.project-card:hover .project-image img { transform: scale(1.03); filter: blur(5px); }

.project-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,.7);
    opacity: 0;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.project-card:hover .project-overlay { opacity: 1; }

.project-title { font-size: 1.8rem; font-weight: 700; color: var(--tertiary-color); margin-bottom: 10px; text-align: center; }

.project-meta { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--secondary-color); }
.project-meta > span, .project-meta-mobile > span { border: 1px solid var(--border-color); border-radius: 50px; }
.project-meta > span { padding: 4px 13px; }

.project-no-hover { display: none; }
.separator { color: var(--tertiary-color); opacity: .5; }

.lien_projets {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 250px;
    padding: 13px 0;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: .85rem;
    border: 1px solid transparent;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
    border-radius: 50px;
    transition: all .4s ease;
}
.lien_projets:hover { background-color: transparent; border: 1px solid var(--border-color); color: var(--secondary-color); }
.lien_projets > i { font-size: 1.3rem; }

@media screen and (max-width: 1023px) {
    .last-real-container > h2 { font-size: 1.9rem; }
    .txt_audio { font-size: .95rem; margin-bottom: 40px; }
    .project-card:hover { transform: none; }
    .project-card:hover .project-image img { transform: none; }
    .project-image { margin-bottom: 7px; }
    .project-overlay { display: none; }
    .project-no-hover { display: block; }

    .project-title-mobile {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--tertiary-color);
        margin-bottom: 8px;
    }
    .project-title-mobile > i { font-size: 1.05rem; }

    .project-meta-mobile { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--secondary-color); }
    .project-meta-mobile > span { padding: 3px 12px; }
}

@media screen and (max-width: 770px) {
    #last-real { padding: 100px 7%; }
    .latest-projects-grid { grid-template-columns: 1fr; gap: 40px; }
    .project-title-mobile { font-size: 1.5rem; }
    .last-real-container > h2 { font-size: 1.7rem; }
}

@media screen and (max-width: 500px) {
    .last-real-container > hr { margin-bottom: 6px; width: 40px; }
    .txt_audio { font-size: .9rem; }
    .latest-projects-grid { gap: 25px; margin-bottom: 40px; }
    .project-title-mobile { font-size: 1.1rem; }
    .project-meta-mobile { font-size: .8rem; }
    .lien_projets { width: 100%; height: 48px; font-size: .85rem; }
    .lien_projets:hover { transform: none; }
    .lien_projets > i { font-size: 1.2rem; }
}

/* PROJETS */

.real_content { padding: 0 5% 150px 5%; }

@media screen and (max-width: 1023px) { .real_content { padding: 0 5% 100px 5%; } }
@media screen and (max-width: 425px) { .top { bottom: 25px; right: 25px; } }

.container_content_real_audio {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 30px;
    row-gap: 50px;
    max-width: 1400px;
}

.link_content_real_audio { width: calc((100% - 60px) / 3); height: 100%; }

.content_real_audio { width: 100%; height: 100%; display: flex; flex-direction: column; }

.illustration_real_audio { width: 100%; margin-bottom: 8px; }

.illustration_real_audio > figure { aspect-ratio: 16/9; width: 100%; overflow: hidden; }

.illustration_real_audio > figure > img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all .6s ease;
    display: block;
}

.link_content_real_audio:hover img { transform: scale(1.04); }

.txt_real_audio { width: 100%; }

.title_type_audio { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 3px; }

.title_type_audio > h2 {
    color: var(--secondary-color);
    font-size: 1.25rem;
    letter-spacing: -.2px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transition: color .4s ease;
    min-width: 0;
}

.title_type_audio > h2 > .title-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex-shrink: 1;
}

.title_type_audio > h2 > i { flex-shrink: 0; font-size: 1.05rem; }

.title_type_audio > p {
    color: var(--secondary-color);
    font-size: .875rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 4px 11px;
    white-space: nowrap;
    flex-shrink: 0;
}

.photo-count { color: var(--tertiary-color); font-size: .85rem; letter-spacing: -.3px; }

@media screen and (max-width: 1300px) { .link_content_real_audio { width: calc((100% - 30px) / 2); } }

@media screen and (max-width: 1023px) {
    .underlineTitle::after { display: none; }
    .link_content_real_audio:hover img { transform: none; }
    .container_content_real_audio { row-gap: 40px; }
}

@media screen and (max-width: 850px) {
    .title_type_audio > h2 { font-size: 1.1rem; gap: 6px; }
    .title_type_audio > h2 > i { font-size: .95rem; }
}

@media screen and (max-width: 770px) {
    .link_content_real_audio { width: 100%; }
    .content_real_audio { margin-bottom: 0; }
    .title_type_audio > h2 { font-size: 1.25rem; gap: 6px; }
    .title_type_audio > h2 > i { font-size: 1.05rem; }
}

@media screen and (max-width: 500px) {
    .title_type_audio > p { font-size: .8rem; }
    .title_type_audio > h2 { font-size: 1.1rem; }
    .title_type_audio > h2 > i { font-size: .95rem; }
}

/* PAGE PROJETS - FILTRES */

#research-project { padding: 150px 5% 0 5%; }

.first-filter-group {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.filters-container { max-width: 1400px; margin: 0 auto; }

.filter-type { display: flex; flex-direction: column; gap: 25px; }
.filter-type > .checkbox-group { display: flex; align-items: center; gap: 40px; }
.filter-type > p { color: var(--secondary-color); font-weight: 700; font-size: 1.4rem; letter-spacing: -.8px; }

.checkbox-filter {
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -.2px;
    gap: 7px;
}

.type-filter {
    -webkit-appearance: none;
    appearance: none;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(243,219,199,.227);
    border-radius: 50px;
    background-color: transparent;
    cursor: pointer;
    transition: all .3s ease;
    display: grid;
    place-content: center;
}

.type-filter::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    transform: scale(0);
    transition: .3s transform ease-in-out;
}

.type-filter:hover, .type-filter:checked { border: 1px solid rgba(243,219,199,.671); }
.type-filter:checked::before { transform: scale(1); }

.search-bar { position: relative; max-width: 340px; width: 340px; font-size: 0; }

.search-bar input {
    width: 100%;
    padding: 10px 18px;
    background-color: #1a1a1a;
    border: 1px solid rgba(243,219,199,.178);
    border-radius: 30px;
    color: var(--secondary-color);
    font-family: 'DM Sans', sans-serif;
    font-size: .9rem;
}

.search-bar input:focus { outline: none; border-color: var(--accent); background: rgba(250,250,250,.08); }

.btn-clear-search {
    position: absolute;
    right: 5px;
    top: 50%;
    height: 75%;
    width: 12%;
    border-radius: 50px;
    transform: translateY(-50%);
    background-color: #f3dbc7;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding-top: 2px;
    font-size: 1rem;
    display: none;
    transition: color .3s ease;
}

.second-filter-group { margin-bottom: 60px; }
#genreContainer { display: flex; flex-wrap: wrap; gap: 15px; }
.checkbox-genre { margin-bottom: 15px; }

.checkbox-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--tertiary-color);
    font-size: .9rem;
    font-weight: 200;
    letter-spacing: .2px;
    gap: 10px;
}

.filter-checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(250,250,250,.226);
    border-radius: 3px;
    background-color: transparent;
    cursor: pointer;
    transition: all .2s ease;
    display: grid;
    place-content: center;
}

.filter-checkbox:hover { border: 1px solid rgba(250,250,250,.671); }
.filter-checkbox:checked { background-color: transparent; border: 1px solid rgba(250,250,250,.226); }

.filter-checkbox::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--tertiary-color);
    transform-origin: center;
    clip-path: polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%);
}

.filter-checkbox:checked::before { transform: scale(1); }

.btn-reset {
    width: fit-content;
    padding: 6px 13px;
    border-radius: 50px;
    font-size: .7rem;
    text-align: center;
    background: rgba(164,27,45,.096);
    font-weight: 400;
    color: rgb(164,27,46);
    transition: all .3s ease;
}
.btn-reset:hover { background: rgba(164,27,45,.2); }

.no-results { margin: auto; flex-direction: column; align-items: center; gap: 10px; }
.no-results > p:first-child { color: var(--secondary-color); font-size: 1.3rem; font-weight: 600; }
.no-results > p:nth-child(2) { color: var(--tertiary-color); font-size: 1rem; font-weight: 400; display: flex; align-items: center; gap: 5px; }

@media screen and (max-width: 770px) {
    #research-project { padding: 120px 5% 0 5%; }
    .filter-type > .checkbox-group { gap: 25px; }
    .filter-type > p { margin-bottom: 12px; }
    .first-filter-group { flex-direction: column; align-items: flex-start; }
    .search-bar { max-width: none; width: 100%; margin-bottom: 8px; }
    .second-filter-group { margin-bottom: 30px; }
}

/* MENTIONS */

.mentions_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 60px;
    width: 800px;
    margin: 130px auto 150px;
}

.mentions_content_top { margin: auto; }
.mentions_content { display: flex; flex-direction: column; gap: 45px; }
.mentions_content_top > h1 { font-size: 2rem; margin-bottom: 20px; }

.mentions_content_top > h1, .mentions_content h2 {
    font-family: var(--font-roman);
    color: var(--secondary-color);
}

.mentions_content h2 { font-size: 1.25rem; margin-bottom: 15px; }

.mentions_content p, .mentions_content_top > p {
    color: var(--tertiary-color);
    font-size: 1.01rem;
    line-height: 23px;
    text-align: justify;
}

@media screen and (max-width: 1023px) {
    .mentions_container { gap: 65px; width: 85%; margin: 130px auto 100px; }
    .mentions_content { gap: 40px; }
    .mentions_content_top > h1 { font-size: 1.7rem; margin-bottom: 15px; }
    .mentions_content h2 { font-size: 1.25rem; margin-bottom: 7px; }
    .mentions_content p, .mentions_content_top > p { font-size: .9375rem; line-height: 1.5; }
}

@media screen and (max-width: 425px) {
    .mentions_container { gap: 60px; }
    .mentions_content { gap: 30px; }
}

/* DÉTAIL PROJET */

#detail-project-section { width: 100%; padding: 150px 7%; }
.project-detail { margin: 0 auto; max-width: 1500px; }
.project-header { margin-bottom: 50px; }

.back_title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }

.back-link {
    color: var(--primary-color);
    background-color: var(--secondary-color);
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: -.6px;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all .3s ease;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 5px;
}

.back-link:hover { color: var(--secondary-color); background-color: transparent; border: 1px solid var(--border-color); }
.back_title > h1 { font-weight: 800; color: var(--secondary-color); }

.project-meta-detail { display: flex; align-items: center; gap: 5px; }

.meta-item {
    color: var(--secondary-color);
    text-transform: lowercase;
    font-size: .875rem;
    font-weight: 200;
    border: 1px solid rgba(243,219,199,.411);
    border-radius: 50px;
    padding: 4px 11px;
    margin-bottom: 20px;
}

.project-description { font-size: 1rem; color: var(--tertiary-color); font-weight: 300; }
.project-description a { color: var(--secondary-color); }

.project-media-gallery.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
    gap: 20px;
    grid-auto-flow: dense;
    min-height: 400px;
}

.photo-item { position: relative; overflow: hidden; }
.photo-item.portrait { grid-row: span 2; }
.photo-item.landscape { grid-row: span 1; }

.photo-item > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.photo-item:hover > img { transform: scale(1.04); }

.project-media-gallery.video-gallery { display: flex; flex-direction: column; align-items: center; gap: 50px; }

.video-item { aspect-ratio: 16/9; overflow: hidden; width: 100%; }
.video-item > iframe { width: 100%; height: 100%; }

.no-media { display: flex; align-items: center; gap: 5px; }
.no-media > p, .no-media > i { font-size: 1.3rem; color: var(--secondary-color); }
.no-media > p { font-weight: 600; }

@media screen and (max-width: 1023px) {
    #detail-project-section { padding: 140px 5%; }
    .project-media-gallery.photo-gallery { grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap: 15px; }
    .back_title > h1 { font-size: 1.85rem; }
    .back-link { font-size: .95rem; }
    .meta-item { font-size: .8rem; }
    .project-description { font-size: .95rem; }
}

@media screen and (max-width: 770px) {
    #detail-project-section { padding: 140px 5% 100px; }
    .back_title { flex-direction: column-reverse; align-items: flex-start; justify-content: baseline; gap: 35px; }
    .project-media-gallery.photo-gallery { grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); }
}

@media screen and (max-width: 540px) {
    .back_title > h1 { font-size: 1.7rem; }
    .back-link { font-size: .9rem; }
    .meta-item { font-size: .75rem; }
    .project-description { font-size: .9rem; line-height: 1.4; }
}

@media screen and (max-width: 480px) {
    .back_title > h1 { font-size: 1.6rem; }
    .project-media-gallery.photo-gallery { grid-template-columns: 1fr; }
    .photo-item.portrait, .photo-item.landscape { grid-row: span 1; }
}

/* FOOTER */

.footer { padding: 75px 7%; background-color: var(--second-bg); }

.footer-content {
    max-width: 1330px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.des-footer { margin-bottom: 40px; }
.footer-logo { height: 70px; margin-bottom: 15px; }
.footer-logo img { height: 100%; }

.des-footer > p {
    color: var(--secondary-color);
    letter-spacing: -.3px;
    font-size: .9rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 5px 15px;
    width: fit-content;
}

.nav_footer > ul { display: flex; flex-direction: column; gap: 30px; }
.nav_footer > ul > li { position: relative; width: fit-content; overflow: hidden; }

.nav_footer li::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--tertiary-color);
    bottom: 0; 
    left: 0;
    transition: all .4s ease; 
}

.nav_footer li:hover::after {
    left: 100%;
}

.nav_footer > ul > li > a {
    font-size: 1.4rem;
    color: var(--tertiary-color);
    text-transform: uppercase;
    position: relative;
    transition: all ease .4s;
}

.footer-info { text-align: right; }

.res_footer { display: flex; align-items: center; justify-content: flex-end; gap: 15px; margin-bottom: 20px; }

.res_icon_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    width: 45px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 1px solid transparent;
    color: var(--second-bg);
    background-color: var(--secondary-color);
    transition: all .3s ease;
}

.res_icon_footer:hover { border: 1px solid var(--border-color); background-color: transparent; color: var(--secondary-color); }

.footer-info > p { font-size: .95rem; font-weight: 400; }
.footer-info > p:nth-child(2) { text-transform: uppercase; color: var(--secondary-color); margin-bottom: 8px; }
.footer-info > p:last-child { color: var(--tertiary-color); }

@media screen and (max-width: 1023px) {
    .footer { padding: 75px 10%; }
    .nav_footer { margin-bottom: 50px; }
    .footer-content { flex-direction: column; align-items: flex-start; }
    .des-footer { margin-bottom: 60px; }
    .res_footer { justify-content: flex-start; }
    .footer-info { text-align: left; }
}

@media screen and (max-width: 768px) { .nav_footer li::after { display: none; } }

@media screen and (max-width: 500px) {
    .nav_footer > ul > li > a { font-size: 1.2rem; }
    .res_icon_footer { height: 40px; width: 40px; font-size: 1rem; }
    .footer-info > p { font-size: .9rem; }
}

/* LOADER */

#page-loader {
    position: fixed;
    inset: 0;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    z-index: 99999;
    transition: opacity .4s ease, visibility .4s ease;
}

#page-loader > img { max-width: 130px; }
#page-loader.hidden { opacity: 0; visibility: hidden; }

@media screen and (max-width: 500px) { #page-loader > img { max-width: 100px; } }