/* Fonts */
@font-face {
    font-family: "Aeonik_Light";
    src: url(../font/Aeonik/AeonikTRIAL-Light.otf);
}
@font-face {
    font-family: "Aeonik_Regular";
    src: url(../font/Aeonik/AeonikTRIAL-Regular.otf);
}

@font-face {
    font-family: "Albra_Light";
    src: url(../font/Albra/AlbraDisplayTRIAL-Light-Italic.otf);
}
@font-face {
    font-family: "Albra_Regular";
    src: url(../font/Albra/AlbraDisplayTRIAL-Regular-Italic.otf);
}
@font-face {
    font-family: "Albra_Medium";
    src: url(../font/Albra/AlbraDisplayTRIAL-Medium-Italic.otf);
}

@font-face {
    font-family: "Playfair_Medium";
    src: url(../font/Playfair/PlayfairDisplay-Medium.ttf);
}
@font-face {
    font-family: "Playfair_Regular";
    src: url(../font/Playfair/PlayfairDisplay-Regular.ttf);
}


/* Bases */
:root {

    --dark-color : #0c0c0c;
    --light-color:#fff6f6;

    --main-color: #488368;
    --secondary-color: #d4c1da;

    --main-font: "Aeonik_Light";
    --secondary-font: "Albra_Light"
}

/* Général */
body {
    margin: 0;
    background-color: var(--light-color);
    font-family: var(--main-font);
}

h1, h2,h3, p {
    margin: 0;
}

a {
    text-decoration: none;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background-color: #fff6f6a5;
    z-index: 2;
}

.nav_base {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

.nav_base img {
    height: 60px;
}

.nav_link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.nav_link a {
    width: fit-content;
    padding: 11px 30px;
    border-radius: 25px;
    border: solid 2px var(--main-color);
    color: var(--main-color);
    font-family: "Aeonik_Regular";
    transition: 0.2s ease;
}

.nav_link a:hover {
    background-color: var(--main-color);
    color: var(--light-color);
    transition: 0.2s ease;
}

.nav_link .nav_burger {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    border: solid 2px var(--main-color);
    cursor: pointer;
    z-index: 10;
}

.nav_link .nav_burger img {
    height: 20px;
}

.nav_visible {
    visibility: hidden;
    background-color: var(--light-color);
    height: 100vh;
    top: 0;
    position: absolute;
    width: 100vw;
    display: flex;
    flex-direction: row;
    opacity: 0;
    z-index: 3;
    transition: 0.4s ease;
}

.nav_visible.opaque {
    opacity: 1;
    transition: 0.4s ease;
  }

.nav_visible.visible {
    visibility: visible;
}

.nav_visible_left {
    width: 50%;
    background-color: var(--dark-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3vh 7vw;
}

.nav_visible_left_top img {
    height: 50px;
}

.nav_visible_left_bottom {
    display: flex;
    flex-direction: column;
}

.nav_visible_left_bottom a {
    transition: 0.2s ease;
    font-size: 6em;
    color: var(--light-color);
    width: fit-content;
}

.nav_visible_left_bottom a span {
    font-family: var(--secondary-font);
    font-weight: 200;
}

.nav_visible_left_bottom a:hover {
    color: var(--main-color);
    font-family: var(--secondary-font);
}

.nav_visible_left_bottom {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
  
.nav_visible_left_bottom.visible {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
} 

.nav_visible_right {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.nav_visible_right_top {
    height: 87vh;
    background-image: url(../imgs/nav_wave.svg);
    background-size: cover;
    background-position: center;
}

.nav_visible_right_top div {
    display: flex;
    flex-direction: row;
    gap: 5px;
    rotate: 90deg;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.nav_visible_right_top div p:nth-child(1) {
    font-size: 1.3em;
    border: solid 2px var(--main-color);
    width: fit-content;
    padding: 3px 25px;
    border-radius: 25px;
    height: fit-content;
    color: var(--main-color);
}

.nav_visible_right_top div p:nth-child(2) {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
    border: solid 2px var(--main-color);
    width: fit-content;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    padding: 0;
    color: var(--main-color);
}

.nav_visible_right_bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0 2vw;
    height: 13vh;
}

.nav_visible_right_bottom a img {
    height: 45px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


@media (max-width: 791px) {
    .nav_visible_right {
        display: none;
    }

    .nav_visible_left_top img {
        display: none;
    }

    .nav_visible_left {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .nav_visible_left_bottom {
        align-items: center;
        gap: 15px;
    }

    .nav_visible_left_bottom a {
        font-size: 4.5em;
    }
}

/* Home */
.home_top {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home_top div {
    height: 380px;
    width: 258px;
    position: absolute;
    z-index: -1;
    left: 25vw;
    bottom: 200px;
    background-image: url(../imgs/home_wave.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.home_top .flower1 {
    position: absolute;
    top: -120px;
    left: -110px;
    rotate: -10deg;
    z-index: -1;
    height: 417px;
    opacity: 0.8;
}

.home_top .flower2 {
    position: absolute;
    bottom: -100px;
    right: -106px;
    rotate: 35deg;
    z-index: -1;
    height: 426px;
    opacity: 0.8;
}

.home_top h1 {
    font-size: 5.5em;
    line-height: 84px;
}

.home_top h1 span {
    font-family: var(--secondary-font);
    font-weight: 500;
}

.home_top .scd {
    position: relative;
    right: 100px;
}

.home_top .thrd {
    position: relative;
    left: 105px;
}

.home_top h1 .play {
    font-family: "Playfair_Regular";
}

.home_skills {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 5vw;
    margin: 0 0 325px 0;
    background-image: url(../imgs/wave.svg);
    background-size: cover;
    background-position: bottom;
}

.home_skills h1 {
    font-size: 3.8em;
    margin-bottom: 70px;
}

.home_skills h1 span {
    font-family: var(--secondary-font);
    font-weight: 200;
}

.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}


.home_skills_three {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.home_skills_three div {
    width: 30%;
}

.home_skills_three h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

.home_skills_three p {
    font-size: 1.3em;
}

.home_skills_three img {
    height: 110px;
    margin-bottom: 20px;
    transition: ease 0.5s;
}

.home_skills_three .dev img:hover {
    rotate: 180deg;
    transition: ease 0.5s;
}

.home_skills_three .uxui {
    position: relative;
    top: 100px;
}

.home_skills_three .uxui img:hover {
    rotate: 90deg;
    transition: ease 0.5s;
}

.home_skills_three .graph img:hover {
    rotate: -360deg;
    transition: ease 0.5s;
}

.home_projects {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 150px 0;
}

.home_project_title {
    position: relative;
    bottom: 120px;
    font-size: 2.8em;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.home_project_title h2 span {
    font-family: var(--secondary-font);
    font-weight: 200;
}

.line-1 {
    position: relative;
    left: -800px;
    white-space: nowrap;
}

.line-2 {
    position: relative;
    right: -800px;
    white-space: nowrap;
}

.home_projects_three {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.home_projects_three .home_projetcs_bloc {
    height: 550px;
    width: 420px;
    border-radius: 25px;
    transition: transform  0.2s ease ;
}

.home_projects_three .home_projetcs_bloc:nth-child(1) {
    rotate: -10deg;
    background-color: grey;
    position: relative;
    left: 40px;
    background-position: center;
    background-image: url(../imgs/GrCouv.png);
}

.home_projects_three .home_projetcs_bloc:nth-child(1):hover {
    transform: translateY(-35px) translateX(-25px);
    transition: transform  0.2s ease ;
}

.home_projects_three .home_projetcs_bloc:nth-child(2) {
    rotate: 3deg;
    background-color: rgb(137, 137, 137);
    position: relative;
    bottom: 40px;
    background-image: url(../imgs/Journeecouv.png);
    background-size: cover;
}

.home_projects_three .home_projetcs_bloc:nth-child(2):hover {
    transform: translateY(-50px);
    transition: transform  0.2s ease ;
}

.home_projects_three .home_projetcs_bloc:nth-child(3) {
    rotate: 15deg;
    background-color: rgb(173, 173, 173);
    position: relative;
    right: 30px;
    top: 15px;
    background-image: url(../imgs/long_velcover.svg);
    background-position: center;
    background-size: cover;
}

.home_projects_three .home_projetcs_bloc:nth-child(3):hover {
    transform: translateY(-37px) translateX(8px);
    transition: transform 0.2s ease;
}

.home_projects_three .home_projetcs_bloc .home_projects_a {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    backdrop-filter: blur(1px) brightness(0.5);
    border-radius: 25px;
    transition: ease 0.2s;
}

.home_projects_three .home_projetcs_bloc:hover .home_projects_a {
    visibility: visible;
    transition: ease 0.2s;
    border-radius: 25px;
}

.home_projects_three .home_projetcs_bloc .home_projects_a p {
    height: 65px;
    width: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    background-color: var(--secondary-color);
    rotate: -30deg;
    color: var(--light-color);
    font-size: 1.5em;
    font-weight: bolder;
    margin: 23px;
}

.home_projects_a p {
    visibility: hidden;
}

.home_projects_a:hover p {
    visibility: visible;
}

.home_projects_three .home_projetcs_bloc .home_projects_a div {
    width: 100%;
}

.home_projects_three .home_projetcs_bloc .home_projects_a div h2 {
    margin-left: 40px;
    margin-bottom: 5px;
    font-size: 2em;
    color: var(--light-color);
    font-weight: 200;
}

.home_projects_three .home_projetcs_bloc .home_projects_a div h2 span {
    font-family: var(--secondary-font);
    font-weight: 200;
}

.home_projects_three .home_projetcs_bloc .home_projects_a div h3 {
    margin-left: 40px;
    margin-bottom: 40px;
    font-size: 1.3em;
    color: var(--light-color);
    font-weight: 200;
}

.home_projects_more {
    width: fit-content;
    padding: 11px 35px;
    border-radius: 25px;
    margin-top: 35px;
    font-size: 1.2em;
    background-color: var(--main-color);
    border: solid 2px var(--main-color);
    color: var(--light-color);
    font-family: "Aeonik_Regular";
    transition: 0.2s ease;
}

.home_projects_more:hover {
    background-color: transparent;
    color: var(--main-color);
    transition: 0.2s ease;
}

@media (max-width: 1400px) {
    .home_top h1 {
        font-size: 5em;
        line-height: 76px;
    }

    .home_projects_three .home_projetcs_bloc {
        height: 465px;
        width: 349px;
    }
}

@media (max-width: 1128px) {
    .home_projects_three .home_projetcs_bloc {
        height: 430px;
        width: 310px;
    }
}

@media (max-width: 1005px) {
    .home_top div {
        height: 320px;
        left: 16vw;
        bottom: 235px;
    }

    .home_top .flower1 {
        position: absolute;
        top: -147px;
        left: -163px;
        height: 365px;
    }

    .home_projects_three .home_projetcs_bloc {
        height: 383px;
        width: 289px;
    }

    .home_projects_three .home_projetcs_bloc:nth-child(1) {
        rotate: -7deg;
    }

    .home_projects_three .home_projetcs_bloc:nth-child(3) {
        rotate: 12deg;
    }
}

@media (max-width: 945px) {
    .home_projects_three {
        gap: 15px;
    }

    .home_projects_three .home_projetcs_bloc:nth-child(1) {
        rotate: initial;
        position: initial;
    }

    .home_projects_three .home_projetcs_bloc:nth-child(1):hover {
        transform: initial;
    }

    .home_projects_three .home_projetcs_bloc:nth-child(2) {
        position: inherit;
        rotate: initial;
    }

    .home_projects_three .home_projetcs_bloc:nth-child(2):hover {
        transform: initial;
    }

    .home_projects_three .home_projetcs_bloc:nth-child(3){
        position: inherit;
        rotate: initial;
    }

    .home_projects_three .home_projetcs_bloc:nth-child(3):hover {
        transform: initial;
    }

    .home_projects_three .home_projetcs_bloc {
        height: 345px;
        width: 276px;
    }

    .home_skills h1 {
        margin-bottom: 40px;
        font-size: 3em;
    }

    .home_skills_three h2 {
        font-size: 2em;
        margin-bottom: 14px;
    }

    .home_skills_three p {
        font-size: 1.1em;
    }

    .home_skills_three .uxui {
        top: 42px;
    }

    .home_skills_three img {
        height: 98px;
    }
}

@media (max-width: 934px) {
    .home_top h1 {
        font-size: 4.5em;
    }
}

@media (max-width: 905px) {
    .home_projects_three {
        flex-direction: column;
    }

    .home_projects_three .home_projetcs_bloc {
        width: 85vw;
        height: 34vh;
    }
}

@media (max-width: 785px) {
    .home_top .scd {
        right: 53px;
    }

    .home_top .thrd {
        left: 58px;
    }

    .home_top h1 {
        font-size: 4em;
        line-height: 60px;
    }

    .home_project_title {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 690px) {
    .home_project_title {
        bottom: 45px;
    }
}

@media (max-width: 650px) {
    .home_top .thrd, .home_top .scd {
        position: initial;
    }

    .home_top div {
        height: 229px;
        left: 4vw;
        bottom: 277px;
    }

    .home_skills_three {
        gap: 15px;
    }
    
    .home_skills_three img {
        height: 80px;
    }

    .home_skills_three h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 555px) {
    .home_skills_three {
        flex-direction: column;
        gap: 50px;
    }

    .home_skills_three div {
        width: 70%;
    }

    .home_skills_three .uxui {
        position: initial;
    }

    .home_skills_three h2 {
        font-size: 1.8em;
    }

    .home_skills_three p {
        font-size: 1.3em;
    }

    .home_top {
        height: 65vh;
    }

    .home_top h1 {
        font-size: 3.5em;
        line-height: 30px;
        text-align: center;
    }

    .home_top .thrd, .home_top .scd {
        font-size: 1.5em;
    }

    .home_top .scd {
        margin-top: 15px;
    }

    .home_top div {
        display: none;
    }

    .home_top .flower1 {
        top: -63px;
        left: -87px;
    }
}

@media (max-width: 450px) {
    .home_top h1 {
        font-size: 3em;
    }
}


/* About */
.about_main {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 70px;
    padding: 2vh 7vw;
}

.about_wave {
    height: 580px;
}

.about_me {
    background-image: url(../imgs/moi.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 225px;
    height: 273px;
    position: absolute;
    top: 47vh;
    left: 23vw;
}

.about_left {
    width: 40%;
}

.about_right {
    display: flex;
    flex-direction: column;
    width: 60%;
}

.about_right h1 {
    font-size: 4em;
}

.about_right h1 span {
    font-family: var(--secondary-font);
    font-weight: 200;
}

.about_right h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.about_right h2 span {
    font-weight: 200;
}

.about_right p {
    font-size: 1.2em;
    margin-bottom: 25px;
}

.about_right a {
    width: fit-content;
    padding: 11px 30px;
    border-radius: 25px;
    border: solid 2px var(--main-color);
    color: var(--main-color);
    font-family: "Aeonik_Regular";
    transition: 0.2s ease;
}

.about_right a:hover {
    background-color: var(--main-color);
    color: var(--light-color);
}

@media (max-width: 1110px) {
    .about_wave {
        height: 484px;
    }

    .about_me {
        width: 203px;
        height: 238px;
    }

    .about_right h1 {
        font-size: 3em;
    }

    .about_right h2 {
        font-size: 1.1em;
    }

    .about_right p {
        font-size: 1em;
    }
}

@media (max-width: 857px) {
    .about_me {
        width: 325px;
        left: 30%;
        height: 427px;
        top: 226px;
    }

    .about_wave {
        rotate: -90deg;
        width: 350px;
        height: 100vw;
        object-fit: cover;
    }

    .about_main {
        flex-direction: column;
        overflow: hidden;
    }

    .about_left {
        width: 100%;
        display: flex;
        justify-content: center;
        height: 69vh;
    }

    .about_right {
        width: 100%;
    }

    .about_right h1, .about_right h2 {
        text-align: center;
    }

    .about_right h1 {
        font-size: 4em;
    }

    .about_right h2 {
        font-size: 1.7em;
    }

    .about_right p {
        font-size: 1.3em;
        margin-top: 16px;
    }

    .about_right a {
        padding: 13px 60px;
        font-size: 1.2em;
        margin-top: 15px;
    }
}

@media (max-width: 715px) {
    .about_me {
        width: 289px;
        left: 27%;
        height: 373px;
    }
}

@media (max-width: 575px) {
    .about_me {
        width: 253px;
        height: 321px;
    }

    .about_left {
        height: 60vh;
    }

    .about_right h1 {
        font-size: 3.5em;
    }
}

@media (max-width: 505px) {
    .about_right h1 {
        font-size: 3em;
        line-height: 46px;
        margin-top: 20px;
    }

    .about_right h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 435px) {
    .about_me {
        top: 135px;
        left: 21vw;
    }

    .about_left {
        height: 47vh;
    }
}

/* Projects */
.projects_main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 70px;
    margin-top: 150px;
    padding: 0 5vw;
}

.projects_top {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 150px;
}

.projects_top h1 {
    font-size: 4.5em;
}

.projects_top h1 span {
    font-family: var(--secondary-font);
    font-weight: 200;
}

.projects_top p {
    font-size: 1.1em;
    width: 50%;
}

.projects_tris {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.projects_tris .tris_cat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tris_cat button {
    font-size: 1.2em;
    background: transparent;
    border: none;
    font-family: var(--main-font);
    transition: ease 0.2s;
    cursor: pointer;
    color: var(--dark-color);
}

.filter-button.active {
    color: var(--main-color);
    font-family: var(--secondary-font);
    transition: ease 0.2s;
}

.filter-button.active::before {
    content: '●';
    position: relative;
    left: 50%;
    top: 18px;
    font-size: 0.8em;
}

.projects_tris .tris_grids {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.projects_tris .tris_grids img {
    height: 30px;
}

.grids_square, .grids_four, .grids_mix {
    cursor: pointer;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animated {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.animated:nth-child(1) { animation-delay: 0.3s; }
.animated:nth-child(2) { animation-delay: 0.6s; }
.animated:nth-child(3) { animation-delay: 0.9s; }


.projects_lists .line1, .projects_lists .line2, .projects_lists .line3 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.projects_lists_bloc {
    height: 370px;
    border-radius: 25px;
    background-color: grey;
    transition: ease 0.5s;
}

.projects_lists {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
}

.projects_lists .projects_lists_bloc:nth-child(1) {
    width: 60%;
    background-image: url(../imgs/GrCouv.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.projects_lists .projects_lists_bloc:nth-child(2) {
    width: 38%;
    background-image: url(../imgs/MMICouv.png);
    background-size: cover;
    background-position: center;
}

.projects_lists .projects_lists_bloc:nth-child(3) {
    width: 25%;
    background-image: url(../imgs/Journeecouv.png);
}

.projects_lists .projects_lists_bloc:nth-child(4) {
    width: 45%;
    background-image: url(../imgs/IutCouv.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.projects_lists .projects_lists_bloc:nth-child(5) {
    width: 25%;
    background-image: url(../imgs/MiniCouv.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.projects_lists .projects_lists_bloc:nth-child(6) {
    width: 38%;
    background-image: url(../imgs/OAKAffiche.png);
}

.projects_lists .projects_lists_bloc:nth-child(7) {
    width: 60%;
    background-image: url(../imgs/VizCouv.png);
    background-repeat: no-repeat;
    background-size: cover;
} 

.projects_lists_bloc .projects_lists_a {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    /* visibility: hidden; */
    transition: ease 0.2s;
    backdrop-filter: brightness(0.5);
    border-radius: 25px;
}

.projects_lists_bloc:hover .projects_lists_a {
    visibility: visible;
    transition: ease 0.2s;
}

.projects_lists_bloc .projects_lists_a p {
    height: 65px;
    width: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    background-color: var(--secondary-color);
    rotate: -30deg;
    color: var(--light-color);
    font-size: 1.5em;
    font-weight: bolder;
    margin: 23px;
    transition: 0.2s ease;
    opacity: 0;
}

.projects_lists_bloc:hover .projects_lists_a p {
    opacity: 1;
    transition: 0.2s ease;
}

/* .projects_lists_bloc .projects_lists_a p {
    visibility: hidden;
}

.projects_lists_bloc .projects_lists_a:hover .projects_lists_bloc .projects_lists_a p {
    visibility: visible;
} */

.projects_lists_bloc .projects_lists_a div {
    width: 100%;
}

.projects_lists_bloc .projects_lists_a div h2 {
    margin-left: 40px;
    margin-bottom: 5px;
    font-size: 2em;
    color: var(--light-color);
    font-weight: 200;
}

.projects_lists_bloc .projects_lists_a div h2 span {
    font-family: var(--secondary-font);
    font-weight: 200;
}

.projects_lists_bloc .projects_lists_a div h3 {
    margin-left: 40px;
    margin-bottom: 40px;
    font-size: 1.3em;
    color: var(--light-color);
    font-weight: 200;
}

@media (max-width: 1390px) {
    .projects_lists {
        gap: 15px;
    }

    .projects_lists .projects_lists_bloc:nth-child(1) {
        width: 58%;
    }

    .projects_lists .projects_lists_bloc:nth-child(7) {
        width: 58%;
    }

    .projects_lists_bloc .projects_lists_a div h2 {
        word-wrap: break-word;
    }
}

@media (max-width: 847px) {
    .projects_lists .projects_lists_bloc:nth-child(3) {
        width: 38%;
    }

    .projects_lists .projects_lists_bloc:nth-child(4) {
        width: 58%;
    }

    .projects_lists .projects_lists_bloc:nth-child(5) {
        width: 58%;
    }

    .projects_lists .projects_lists_bloc:nth-child(6) {
        width: 38%;
    }

    .projects_lists .projects_lists_bloc:nth-child(7) {
        width: 100%;
    }

    .projects_top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .projects_top p {
        width: 100%;
    }
}

@media (max-width: 755px) {
    .projects_tris {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
}

@media (max-width: 620px) {
    .projects_tris .tris_grids {
        display: none;
    }

    .projects_lists .projects_lists_bloc {
        width: 100% !important;
    }

    .filter-button.active::before {
        display: none;
    }
}

/* Clic Projet */
.projet {
    padding: 0 8vw;
}

.return {
    position: absolute;
    top: -30px;
    left: -30px;
    font-size: 3.2rem;
    border: solid 2px var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 195px;
    width: 195px;
    border-radius: 50%;
    color: var(--text-color);
    transition: all 0.5s;
    color: var(--main-color);
}

.return:hover {
    background-color: var(--main-color);
    height: 220px;
    width: 220px;
    color: var(--light-color);
    transition: all 0.5s;
}

.project-top {
    margin-top: 200px;
}

.project-top h1 {
    width: 50%;
    font-size: 4.6em;
    line-height: 70px;
}

.project-top h1 span {
    font-family: var(--secondary-font);
    font-weight: 200;
}

.project-top h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 20px;
}

.project-top h2 span {
    color: var(--main-color);
    font-weight: 900;
}

.project-presentation {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 65px;
    margin-top: 100px;
}

.project-presentation .txt {
    display: flex;
    flex-direction: column;
    width: 80%;
}

.project-presentation .txt p {
    text-align: right;
    font-size: 1.2em;
}

.project-presentation .txt p span {
    color: var(--main-color);
    font-weight: 600;
}

.project-presentation .txt a {
    background-color: transparent;
    padding: 9px 25px;
    border-radius: 25px;
    border: solid 2px var(--main-color);
    color: var(--main-color);
    width: fit-content;
    font-size: 1.1em;
    margin-top: 40px;
    transition: ease 0.2s;
}

.project-presentation .txt a:hover {
    background-color: var(--main-color);
    color: var(--light-color);
    transition: ease 0.2s;
}

.project-presentation img {
    width: 75vw;
    height: 350px;
    object-fit: cover;
}

.project-details {
    margin-top: 100px;
}

.project-details-left h2 {
    font-size: 3em;
}

.project-details-right {
    position: relative;
    left: 25%;
    bottom: 50px;
    width: 70%;
}

.project-details-right div {
    margin-top: 20px;
}

.project-details-right div p {
    border-left: solid 3px var(--main-color);
    padding-left: 25px;
    font-size: 1.2em;
}

.project-gallerie {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 130px;
    margin-bottom: 150px;
}

.project-gallerie img {
    object-fit: cover;
    height: 600px;
}

.project-gallerie img {
    width: 100%;
}

.project-gallerie div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.project-gallerie div img {
    width: 49%;
}

@media (max-width: 1150px) {
    .project-details-right {
        position: initial;
        margin-top: 40px;
        width: 100%;
    }

    .project-presentation {
        flex-direction: column;
        margin-top: 50px;
    }

    .project-presentation .txt {
        width: 100%;
    }

    .project-presentation .txt p {
        text-align: left;
    }

    .project-presentation img {
        width: 100%;
        height: 48vh;
    }
}

@media (max-width: 738px) {
    .project-gallerie {
        margin-bottom: 50px;
    }

    .project-gallerie div {
        flex-direction: column;
    }

    .project-gallerie div img {
        width: 100%;
    }

    .project-top h1 {
        width: 100%;
        word-break: break-all;
    }

    .project-details-left h2 {
        font-size: 2em;
    }
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
    background-color: var(--dark-color);
    border-top-right-radius: 45px;
    border-top-left-radius: 45px;
    color: var(--light-color);
}

footer a {
    color: var(--light-color);
}

.footer_top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 8vh 5vw 0 5vw;
}

.footer_top_left {
    margin-right: 40vw;
}

.footer_top_left h2 {
    font-size: 2.5em;
    line-height: 37px;
    margin-bottom: 30px;
}

.footer_top_left h2 span {
    font-family: var(--secondary-font);
    font-weight: 200;
}

.footer_top_left a {
    padding: 8px 35px;
    border: solid 2px var(--light-color);
    border-radius: 25px;
    font-size: 1.2em;
    transition: ease 0.2s;
}

.footer_top_left a:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
    transition: ease 0.2s;
}

.footer_top_middle {
    display: flex;
    flex-direction: column;
}

.footer_top_middle h3, .footer_top_right h3 {
    margin-bottom: 15px;
    font-size: 2em;
}

.footer_top_middle a {
    font-size: 1.4em;
    margin-bottom: 6px;
    width: 0%;
    padding-bottom: 3px;
    box-shadow: inset 0 -3px 0 0 var(--main-color);
    transition: 0.2s ease;
}

.footer_top_middle a:hover {
    width: 100%;
    transition: 0.2s ease;
}

.footer_socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.footer_socials a img {
    height: 35px;
}

.footer_bottom {
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--light-color);
}

/* .footer_bottom::before {
    content: '';
    background-image: url(../imgs/stickergreen.svg);
    background-repeat: no-repeat;
    width: 200px;
    height: 200px;
    position: absolute;
    right: 0;
    z-index: 1;
    margin-top: 2%;
    overflow: hidden;
    rotate: 22deg;
} */

.bottom_txt {
    white-space: nowrap;
    font-size: 170px;
    animation: Scroll 10s linear infinite;
    position: relative;
    top: 85px;
}

.bottom_txt span {
    font-family: var(--secondary-font);
}

@keyframes Scroll {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}


@media (max-width: 960px) {
    .footer_top_left {
        margin-right: 20vw;
    }
}

@media (max-width: 770px) {
    .footer_top_left {
        margin-right: 0;
    }
}

@media (max-width: 625px) {
    .footer_top {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .footer_top_left {
        width: 100%;
    }

    .footer_top_middle {
        margin-top: 20px;
        margin-right: 20%;
    }

    .footer_top_right {
        margin-top: 20px;
    }
}
