* {
    box-sizing: border-box;
}

:root {
    --black: #272a36;
    --white: #ffffff;
    --grey: #f2f2f2;
    --darkgrey: #979797;
    --golden: #e7bf79;
    --fullblack: #000000;
}

body {
    font-family: "Figtree", serif;
    font-optical-sizing: auto;
    font-size: 16px;
    padding: 0;
    margin: 0;
    background: var(--white);
    color: var(--black);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none; /
}

a:visited {
    color: inherit;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}


img{
    width: inherit;
}




/*---------------------------------
Button
-----------------------------------*/
.button {
    display: flex;
    padding: 10px 15px;
    gap: 10px;
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    width: fit-content;
    cursor: pointer;
}

.button:hover .arrow {
    transform: rotate(45deg);
}


.arrow {
    height: 20px;
    width: 20px;
    border-radius: 99px;
    display: flex;
    transition: 0.3s all ease;
    align-items: center;
    justify-content: center;
}

.w {
    background: var(--white);
    color: var(--black);
}

.w .arrow {
    background: var(--black);
}

.w .arrow svg path {
    fill: var(--white);
}

.b {
    background: var(--black);
    color: var(--white);
}

.b .arrow {
    background: var(--white);
}

.b .arrow svg path {
    fill: var(--black);
}

/*---------------------------------
Header
-----------------------------------*/

.menumobile{
    display: none;
}

.btn_mobile{
    display: none;
}

.header {
    position: sticky;
    background: var(--white);
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    top: 0;
    left: 0;
    z-index: 100;
    align-items: center;
}

.header .logo{
    height: 25px;
}

.menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.menu .entry {
    height: 24px;
    overflow: hidden;
    color: var(--darkgrey);
}

.menu .entry div {
    transition: 0.3s all ease-in-out;
}

.menu .selected div {
    transition: none;
    font-weight: 700;
    color: var(--black);
}

.menu .entry:hover div:nth-child(1) {
    margin-top: -24px;
}

.menu .entry div:nth-child(2) {
    color: var(--black);
}

.toggle {
    display: flex;
    padding: 5px;
    background: var(--grey);
    border-radius: 999px;
    position: relative;
    z-index: 1;
}

.toggle div {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 14px;
    height: 37px;
    width: 62px;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.toggle::before {
    background: var(--white);
    position: absolute;
    left: 67px;
    top: 5px;
    width: 62px;
    height: 37px;
    content: "";
    border-radius: 999px;
    z-index: -1;
    transition: 0.3s all ease-in-out;
}

.toggle.dark::before {
    left: 5px;
}

/*---------------------------------
Home Page
-----------------------------------*/

.maincontent{
    background: var(--white);
    border-radius: 0 0 100px 100px;
    margin-bottom: 400px;
}

.maintitle {
    position: sticky;
    display: flex;
    flex-direction: column;
    font-family: "Fauna One", serif;
    font-size: 80px;
    color: var(--black);
    width: 100%;
    align-items: center;
    justify-content: center;
    height: 80vh;
    top: 127px;
    left: 0;
    transform: scale(1);
    opacity: 1;
}

.maintitle .line {
    display: flex;
    gap: 10px;
    height: 98px;
    overflow: hidden;
}

.maintitle .line:first-child {
    color: var(--golden);
}

.maintitle .gif {
    height: 80px;
    width: 0;
    transition: 0.5s all ease-out;
    background: url(img/moi.gif);
    background-size: cover;
    background-position: center;
    border-radius: 9999px;
    margin-top: 10px;
}

.maintitle .line .word {
    margin-top: 98px;
    transition: 0.5s all ease-out;
}

.about {
    width: 100%;
    padding: 40px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inter {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px;
}

.about .inter {
    background: var(--black);
    border-radius: 50px;
    transform: scale(0.2);
    color: var(--white);
    align-items: center;
    justify-content: center;
}

.inter .subtitle {
    text-transform: uppercase;
    transition: all 0.5s ease;
}
.about .inter .subtitle {
    opacity: 0;
}

.about .inter .textabout {
    font-size: 40px;
    font-family: "Fauna One", serif;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 70%;
    font-weight: 200;
}

.about .inter .textabout .word {
    margin-left: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.about .inter .textabout .word.show {
    opacity: 1;
    transform: translateY(0); /* Déplacer le mot à sa position d'origine */
}

.sectionprojet {
    width: 100%;
    height: 150vh;
    position: relative;

}

.sectionprojet:before{
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    height: 150px;
    width: 100%;
    background: linear-gradient(180deg, var(--white) 0%, rgba(255, 255, 255, 0.00) 100%);
    z-index: 1;
}
/*
.sectionprojet:after{
    content:'';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 150px;
    width: 100%;
    background: linear-gradient(0deg, var(--white) 0%, rgba(255, 255, 255, 0.00) 100%);
    z-index: 1;
}
*/

.sectionprojet .inter {
    position: sticky;
    top: 90px;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0;
    background: url(img/backgroundhomeproject.png);
    background-repeat: repeat;
    border-radius: 0 0 100px 100px;
}

.sectionprojet .inter .subtitle {
    margin-top: 25vh;
}

.sectionprojet .inter .textabout {
    font-size: 40px;
    font-family: "Fauna One", serif;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 40%;
    font-weight: 200;
}

.ex {
    position: absolute;
    background: #ffffff;
    box-shadow: 0 0 50px 15px rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    top: 150vh;
    z-index: 2
}

.ex:nth-child(10) {
    width: 200px;
    height: 200px;
    left: 50px;
    background: url(img/ex/ex1.png);
    background-position: center;
    background-size: contain;
}

.ex:nth-child(2) {
    width: 300px;
    height: 300px;
    right: 50px;
    background: url(img/ex/ex2.png);
    background-position: center;
    background-size: contain;
}

.ex:nth-child(3) {
    width: 250px;
    height: 170px;
    left: 50px;
    background: url(img/ex/ex3.png);
    background-position: center;
    background-size: contain;
}

.ex:nth-child(4) {
    width: 330px;
    height: 330px;
    right: 50px;
    background: url(img/ex/ex4.png);
    background-position: center;
    background-size: contain;
}

.ex:nth-child(5) {
    width: 500px;
    height: 500px;
    left: 200px;
    background: url(img/ex/ex5.png);
    background-position: center;
    background-size: contain;
}

.ex:nth-child(6) {
    width: 400px;
    height: 400px;
    left: 500px;
    background: url(img/ex/ex6.png);
    background-position: center;
    background-size: contain;
}

.ex:nth-child(7) {
    width: 400px;
    height: 290px;
    right: 250px;
    background: url(img/ex/ex7.png);
    background-position: center;
    background-size: contain;
}
.ex:nth-child(8) {
    width: 204px;
    height: 150px;
    right: 250px;
    background: url(img/ex/ex8.png);
    background-position: center;
    background-size: contain;
}

.ex:nth-child(9) {
    width: 600px;
    height: 430px;
    left: 250px;
    background: url(img/ex/ex9.png);
    background-position: center;
    background-size: contain;
}

/*---------------------------------
Project
-----------------------------------*/
.project .maintitle {
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: "Fauna One", serif;
    font-size: 50px;
    color: var(--black);
    width: 100%;
    align-items: center;
    justify-content: center;
    height: 40vh;
    top: 0;
    left: 0;
    transform: scale(1);
    opacity: 1;
    background: var(--white);
    border-radius: 0 0 50px 50px;
}

.project .maintitle .line {
    display: flex;
    gap: 10px;
    height: 78px;
    overflow: hidden;
}

.project .maintitle .line:first-child {
    color: var(--black);
}

.project .maintitle .line:nth-child(2) .word:nth-child(3) {
    color: var(--golden);
}

.project .maintitle .gif {
    height: 60px;
    width: 0;
    transition: 0.5s all ease-out;
    background: url(img/figma.gif);
    background-size: cover;
    background-position: center;
    border-radius: 9999px;
    margin-top: 10px;
}

.project .maintitle .line .word {
    margin-top: 98px;
    transition: 0.5s all ease-out;
}

.infoproject {
    font-size: 14px;
    width: 40%;
    text-align: center;
    overflow: hidden;
    font-family: 'Figtree';
    height: 42px;
}

.contentinfoproject {
    margin-top: 42px;
    transition: 0.5s all ease-out;
}

.customer_container {
    height: 300px;
    background: var(--black);
    border-radius: 0 0 50px 50px;
    width: 100%;
    margin-top: -300px;
    transition: 0.5s all ease-out;
    padding: 0 40px 40px 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.customer_container .logo{
    width: 100px;
    height: 100px;
}

.customer_container .logo:first-child, .infocontainer .logo {
    background: url(img/logo/nfinite.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.customer_container .logo:nth-child(2) {
    background: url(img/logo/Dekra.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.customer_container .logo:nth-child(3) {
    background: url(img/logo/ICL.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.customer_container .logo:nth-child(4) {
    background: url(img/logo/ardex.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.customer_container .logo:nth-child(5) {
    background: url(img/logo/enm.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.customer_container .logo:nth-child(6) {
    background: url(img/logo/pertinens.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.customer_container .logo:nth-child(7) {
    background: url(img/logo/Digitall.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.featured {
    height: 600px;
    padding: 40px;
    margin-top: 100px;
    overflow: hidden;
    opacity: 0;
    transition: 0.5s all ease-out;
}

.titlesection {
    text-transform: uppercase;
    color: var(--golden);
    margin-bottom: 20px;
}

.svg {
    position: relative;
    border-radius: 50px;
}

.projectbig{
    position: relative;
    width: 100%;
    height: 500px;
    background: url(img/project/nfinite/background.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50px;
}

.infocontainer {
    display: flex;
    position: absolute;
    bottom: -1px;
    right: -600px;
    width: 40%;
    height: 100%;
    transition: 0.5s all ease-out;
    align-items: flex-end;
}

.slogan{
    display: flex;
    font-size: 70px;
    color: rgba(255, 255, 255, 0.50);
    flex-direction: column;
    padding: 100px;
    font-weight: 700;
    height: 100%;
    justify-content: center;
}

.slogan .line:last-child{
    margin-left: 100px;
}

.infocontainer .backgroundsvg {
    width: 130%;
    object-fit: cover; /* Remplit l'espace sans déformation */
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
}

.infocontainer .backgroundsvg path{
    fill: var(--white);
}

.inter_infocontainer{
    width: 90%;
    height: 50%;
    margin-top: 30%;
    z-index: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.infocontainer .logo {
    width: 100px;
    height: 30px;
}

.detailproject{
    margin: 20px 0;
    font-size: 18px;
}

.allprojects {
    padding: 40px;
    margin-top: 100px;
    padding-bottom: 100px;
}

.allprojects .titlesection{
    color: var(--black);
}

.projectlist{
    width: 100%;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.projectunique{
    display: flex;
    height: 0;
    width: 100%;
    align-items: center;
    padding: 0 50px;
    justify-content: space-between;
    background: var(--white);
    transition: 0.5s all ease;
    border-radius: 16px;
    overflow: hidden;
}

.projectunique:hover{
    background: var(--black);
    color: var(--white);
}

.projectunique_arrow{
   transition: 0.5s all ease;
}

.projectunique:hover .projectunique_arrow{
    transform: rotate(45deg);
}

.projectunique_arrow path{
    fill:var(--black);
}

.projectunique:hover .projectunique_arrow path{
    fill:var(--white);
}

.projectunique_detail{
    display: flex;
    align-items: center;
    gap: 30px;
}

.projectunique_img{
    width: 150px;
    height: 75px;
    border-radius: 999px;
}

.projectunique_title{
    font-family: "Fauna One";
    font-size: 24px;
    width: 600px;
}

.projectunique_customer{
    width: 150px;
    text-align: left;
}

.projectunique_years{
    width: 100px;
    text-align: left;
}

.allprojects a:first-child .projectunique_img{
    background: url(img/project/pertinens/background.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.allprojects a:nth-child(2) .projectunique_img{
    background: url(img/project/digitall/background.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.allprojects a:nth-child(3) .projectunique_img{
    background: url(img/project/mindful/background.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.allprojects a:nth-child(4) .projectunique_img{
    background: url(img/project/cru/background.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hover-image {
    position: absolute;
    display: none;
    width: 300px; /* Taille de l'image */
    height: 188px;
    pointer-events: none; /* Empêche d'interférer avec d'autres éléments */
    background: url(img/project/pertinens/pertinens.gif);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 16px;
}

/*---------------------------------
About
-----------------------------------*/
.abouttitle{
    width: 100%;
    padding: 0 40px;
    margin-top: 100px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 200px;
}


.photoabout{
    height: 700px;
    width: 100%;
    background-color: var(--black);
    border-radius: 50px;
    position: relative;
    transition: 0.5s all ease;
}

.photoabout:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 700px;
    background: url(img/aboutme.png);
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    transition: 0.8s all ease;
}

.titleabout{
    width: 60%;
    height: 300px;
    z-index: 2;
    margin-left: 0;
    position: relative;
    transition: 0.5s all ease;
}

.svgabout{
    position: absolute;
    left: 0;
    bottom: -1px;
    object-fit: cover; /* Remplit l'espace sans déformation */
    height: 100%;
}

.svgabout path{
    fill: var(--white);
}

.Aboutpage .maintitle {
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: "Fauna One", serif;
    font-size: 50px;
    color: var(--black);
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    top: 0;
    left: 0;
    opacity: 1;
    border-radius: 0 0 50px 50px;
    height: auto;
    margin-left: 120px;
    margin-top: 100px;
}

.Aboutpage .maintitle .gif {
    height: 80px;
    width: 0;
    transition: 0.5s all ease-out;
    background: url(img/hello.gif);
    background-size: cover;
    background-position: center;
    border-radius: 9999px;
    margin-top: 0;
}

.Aboutpage .maintitle .line:first-child {
    color: var(--black);
}

.Aboutpage .maintitle .line:first-child .word:nth-child(3){
    color: var(--golden);
}

.contentabout{
    width: 100%;
    padding: 0 40px;
    display: flex;
    gap: 40px;
    padding-bottom: 50px;
}

.info{
    color: var(--black);
    font-size: 30px;
    line-height: 46px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    font-weight: 200;
}

.info .word {
    margin-left: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5sease;
}

.info .word.show {
    opacity: 1;
    transform: translateY(0);
}

.outerinfo{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}


.experience{
    margin-bottom: 40px;
}

.experience:last-child{
    margin-bottom: 70px;
}

.extitle{
    font-size: 20px;
}

.exinfo{
    color: var(--darkgrey);
}

.excontent{
    margin-top: 10px;
}


/*---------------------------------
Contact
-----------------------------------*/

.leftpart{
    width: 100%;
}

.contactpage .maintitle {
    font-size: 50px;
    align-items: flex-start;
    top: 0;
    height: auto;
    width: 100%;
    padding: 50px 0;
    position: relative;
}

.contactpage .maintitle .line {
    display: flex;
    gap: 10px;
    height: 78px;
    overflow: hidden;
}

.contactpage .maintitle .line:first-child {
    color: var(--black);
}

.contactpage .maintitle .line:nth-child(2) .word:nth-child(3) {
    color: var(--golden);
}

.contactpage .maintitle .gif {
    height: 60px;
    width: 0;
    transition: 0.5s all ease-out;
    background: url(img/type.gif);
    background-size: cover;
    background-position: center;
    border-radius: 9999px;
    margin-top: 10px;
}

.contactpage .maintitle .line .word {
    margin-top: 98px;
    transition: 0.5s all ease-out;
}

.contactpage .infoproject {
    width: 100%;
    text-align: left;
}

.contentinfoproject {
    margin-top: 42px;
    transition: 0.5s all ease-out;
}

.contentcontainer{
    display: flex;
    gap: 40px;
    padding: 100px 40px;
}

.photocontact{
    width: 100%;
    height: auto;
    background: url(img/contact.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50px;
}

.formulaire{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 25px;
    font-family:'Figtree';
    font-size: 16px;
    align-items: flex-end;
    opacity: 0;
    transition: 0.5s all ease;
}

.nomprenom{
    display: flex;
    gap: 20px;
    width: 100%;
}

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

.formulaire input, .formulaire textarea{
    width: 100%;
    border: none;
    background: var(--grey);
    border-radius: 8px;
    height: 50px;
    padding-left: 15px;
}

.textarea{
    width: 100%;
}

 .formulaire textarea{
    height: 150px;
    padding: 15px;
    width: 100%;
}

.notifcation{
   height: 80px;
    width: 400px;
    background: var(--black);
    position: fixed;
    top: -100px;
    left: 50%;
    margin-left: -200px;
    z-index: 99999;
    border-radius: 16px;
    transition: 0.3s all ease-in;
    color: var(--white);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    gap: 10px;
}

.successicone, .failureicone{
    width: 20px;
    height: 20px;
}

.successicone{
    background: url(img/Success.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.failureicone{
    background: url(img/Failure.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/*---------------------------------
Project detail
-----------------------------------*/


.projectdetail .maintitle{
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: "Figtree";
    font-weight: 700;
    font-size: 70px;
    color: var(--black);
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    height: 30vh;
    top: 0;
    left: 0;
    transform: scale(1);
    opacity: 1;
    margin-top: 100px;
    padding: 40px 200px 40px 200px;
}

.projectdetail .line{
    height: 106px;
}

.projectdetail .maintitle .line .word{
    margin-top: 106px;
}

.projectdetail .infoproject{
    font-size: 20px;
    font-weight: 400;
    height: 30px;
    text-align: left;
    color: var(--darkgrey);
}

.companyinfo{
    display: flex;
    justify-content: flex-end;
    padding-right: 200px;
}

.companyinfo_inter{
    width: 50%;
    font-size: 20px;
    margin-bottom: 100px;
    opacity: 0;
    transition: 0.3s all ease-in-out;
}

.projectdetail_info{
    padding: 150px 200px 150px 200px;
    background: url(img/backgroundhomeproject.png);
    background-repeat: repeat;
    position: relative;
    display: flex;
}

.projectdetail_info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 150px;
    width: 100%;
    background: linear-gradient(180deg, var(--white) 0%, rgba(255, 255, 255, 0.00) 100%);
    z-index: 1;
}

.projectdetail_info:after{
    content:'';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 150px;
    width: 100%;
    background: linear-gradient(0deg, var(--white) 0%, rgba(255, 255, 255, 0.00) 100%);
    z-index: 1;
}

.projectdetail_info_title{
    flex: 1;
    font-size: 50px;
    font-family: "Fauna One", serif;
}

.projectdetail_info_content{
    flex: 1;
}

.horizontal_image{
    display: flex;
    width: 100%;
    padding: 0 150px 0 150px;
    height: 450px;
    gap: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.left_image, .right_image{
    flex: 1;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: #FFFBEB;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 1s all ease-in-out;
}

.firsthorizontal .left_image{
    margin-left: -1000px;
}

.firsthorizontal .right_image{
    margin-right: -1000px;
}

.secondhorizontal .left_image, .secondhorizontal .right_image{
    margin-top: -1000px;
}

.fullimage, .mainimage{
    width: 100%;
    height: 700px;
    padding: 0 40px 0 40px;
}

.mainimage{
    opacity: 0;
    transition: 0.3s all ease-in-out;
}

.fullimage{
    padding: 0 150px 0 150px;
}

.fullimage_inter{
    border-radius: 50px;
    background: #FFFBEB;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.firstfull, .secondfull{
    margin-top: 1000px;
    opacity: 0;
    transition: 1s all ease-in-out;
}

.imagegallery{
    height: 900px;
    width: 100%;
    padding: 0 150px 0 150px;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.leftgallery{
    flex: 2;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: #FFFBEB;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.5s all ease-in-out;
}

.rightgallery{
    flex: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.topgallery, .bottomgallery{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    border-radius: 50px;
    background: #FFFBEB;
    opacity: 0;
    transition: 0.5s all ease-in-out;
}


.nextproject{
    width: 100%;
    height: 400px;
    background-image: url(img/project/pertinens/background.jpg);
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);
    background-position: center;
    background-size: cover;
    margin-top: 100px;
    border-radius: 0 0 100px 100px;
    filter: grayscale(1);
    transition: 0.3s all ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.nextproject:hover{
    filter: grayscale(0);
}

.nextproject:before{
    content: '';
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--white);
    border-radius: 0 0 99px 99px;
}

.nextproject_text{
    margin-top: 50px;
}

.nextproject_name{
    font-size: 24px;
    font-family: "Fauna One", serif;
    text-align: center;
}

/*---------------------------------
Nfinite
-----------------------------------*/
.nfinite .maintitle .line:nth-child(3) .word:last-child{
    color: var(--golden);
}

/*---------------------------------
Pertinens
-----------------------------------*/
.pertinens .maintitle .line:nth-child(3) .word:last-child{
    color: var(--golden);
}

.pertinens .left_image, .pertinens .right_image, .pertinens .fullimage_inter, .pertinens .leftgallery, .pertinens .topgallery, .pertinens .bottomgallery{
    background: #FFECDD;
}

.pertinens .nextproject{
    background-image: url(img/project/digitall/background.jpg);
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);
    background-position: center;
    background-size: cover;
}

/*---------------------------------
Digitall
-----------------------------------*/
.digitall .maintitle .line:nth-child(3) .word:last-child{
    color: var(--golden);
}

.digitall .left_image, .digitall .right_image, .digitall .fullimage_inter, .digitall .leftgallery, .digitall .topgallery, .digitall .bottomgallery{
    background: #DDFCFF;
}

.digitall .nextproject{
    background-image: url(img/project/mindful/background.jpg);
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);
    background-position: center;
    background-size: cover;
}

/*---------------------------------
Mindfull
-----------------------------------*/
.mindfull .maintitle .line:nth-child(3) .word:last-child{
    color: var(--golden);
}

.mindfull .left_image, .mindfull .right_image, .mindfull .fullimage_inter, .mindfull .leftgallery, .mindfull .topgallery, .mindfull .bottomgallery{
    background: #EAFFEC;
}

.mindfull .nextproject{
    background-image: url(img/project/cru/background.jpg);
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);
    background-position: center;
    background-size: cover;
}

/*---------------------------------
Crus Bourgeois
-----------------------------------*/
.cru .maintitle .line:nth-child(3) .word:first-child{
    color: var(--golden);
}

.cru .left_image, .cru .right_image, .cru .fullimage_inter, .cru .leftgallery, .cru .topgallery, .cru .bottomgallery{
    background: #FFEAEA;
}

.cru .nextproject{
    background-image: url(img/project/nfinite/background.png);
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);
    background-position: center;
    background-size: cover;
}

/*---------------------------------
Footer
-----------------------------------*/

.footer {
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin-top: -500px;
}

.footerinter {
    width: 100%;
    height: 100%;
    background: var(--black);
    padding-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--white);
    text-align: center;
    gap: 10px;
}

.foottext{
    font-family: "Fauna One", serif;
    font-size: 50px;
    margin-bottom: 40px;
}

.footsub{
    font-family: 'Figtree';
    font-size: 18px;
}


@media only screen and (max-width: 600px) {
    .maintitle{
        font-size: 30px;
        top: 0px;
    }
    
    .project .maintitle, .Aboutpage .maintitle {
        height: 50vh;
        font-size: 30px;
        top: 0px;
    }
    
    .maintitle .gif, .project .maintitle .gif, .contactpage .maintitle .gif, .Aboutpage .maintitle .gif {
        height: 40px;
        margin-top:0px;
    }
    
    .menu, .toggle{
        display: none;
    }
    .maintitle .line, .project .maintitle .line, .contactpage .maintitle .line {
        height: 55px;
    }
    
    .inter{
        padding: 10px;
    }
    
    .about{
        padding: 20px;
    }
    
    .about .inter .textabout {
        font-size: 20px;
        width: 100%;
    }
    
    .sectionprojet .inter .textabout{
        font-size: 20px;
        width: 100%;
    }
    
    .foottext {
        font-size: 25px;
    }
    
    .customer_container .logo {
        width: 40px;
        height: 40px;
    }
    
    .customer_container {
        height: 220px;
        padding: 0 10px 40px 10px;
    }
    
    .featured{
        margin-top: 50px;
    }
    
    .featured, .allprojects{
        padding: 20px;
    }
    
    .allprojects{
        margin-top: 30px;
    }
    
    .slogan {
        font-size: 50px;
        padding: 10px;
    }
    
    .infocontainer{
        width: 100%;
    }
    
    .detailproject {
        font-size: 14px;
    }

    .projectunique_img {
        width: 58px;
        height: 30px;
    }
    
    .projectunique{
        padding: 0;
    }
    
    .projectunique_title {
        font-family: "Fauna One";
        font-size: 16px;
        width: 200px;
    }
    
    .projectunique_detail {
        gap: 10px;
    }
    
    .projectunique_customer, .projectunique_years{
        display: none;
    }
    
    .ex {
        display: none;
}
    .infoproject{
        width: 100%;
    }
    
    .projectdetail .maintitle{
        padding: 20px;
    }

    .maincontent {
        border-radius: 0 0 50px 50px;
    }
    
    .projectdetail .maintitle {
        font-size: 30px;
    }
    
    .projectdetail .maintitle{
        margin-top: 10px;
        height: 20vh;
    }
    
    .companyinfo {
        justify-content: flex-start;
        padding-right: 20px; 
        padding-left: 20px; 
    }
    
    .companyinfo_inter{
        width: 100%;
        font-size: 16px;
            margin-bottom: 30px;
    }
    
    .fullimage, .mainimage {
    padding: 0 20px 0 20px;
        height: 300px;
}
    
    .projectdetail_info {
    padding:60px 20px;
    }
    
    .projectdetail_info {
    flex-direction: column;
}
    .horizontal_image {
    padding: 0 20px 0 20px;
    height: 200px;
    }
    
    .imagegallery {
    height: 550px;
    padding: 0 20px 0 20px;
    flex-direction: column;
}
    .rightgallery {
    flex-direction: row;
}

    .nextproject{
        border-radius: 0 0 50px 50px;
    }
    
    .nextproject:before {
    border-radius: 0 0 49px 49px;
}
    
    .photocontact{
        display: none;
    }
    
    .contactpage .maintitle {
    font-size: 20px;
    padding: 20px 0;
}

    .contentcontainer {
        padding: 50px 20px;
    }
    
    .photoabout{
        display: none;
    }
    
    .Aboutpage .maintitle{
        margin-left: 0;
        margin-top: 0;
        height: auto;
    }
    .titleabout{
        width: 100%;
        height: 200px;
    }
    
    .Aboutpage .infoproject{
       text-align: left;
    }
    
    .Aboutpage .contentinfoproject{
        margin-top: 0;
    }
    
    .abouttitle {
        padding: 0 20px;
        margin-top: 50px;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .contentabout {
        padding: 0 20px;
        flex-direction: column;
    }
    
    .info {
        font-size: 16px;
        line-height: 30px;
    }
    
    .outerinfo{
        gap: 20px;
    }
    
    .menumobile{
        display: flex;
        position: fixed;
        height: 100vh;
        width: 100vw;
        background: var(--black);
        z-index: 999999;
        flex-direction: column;
        gap: 40px;
        top: -100vh;
        transition: 0.3s all ease-in-out;
        padding: 20px;
    }
    
    .menumobile_inter{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 40px;
        height: -webkit-fill-available;
    }
    
    .menumobile .entry {
        height: 24px;
        overflow: hidden;
        color: var(--white);
        font-size: 20px;
    }

    .menumobile .entry div {
    transition: 0.3s all ease-in-out;
    }

    .menumobile .selected div {
        transition: none;
        font-weight: 700;
        color: var(--golden);
    }

    .menumobile .entry div:nth-child(2) {
    color: var(--black);
    }
    
    .btn_mobile, .closemenu{
        display: block;
        width: 40px;
        height: 40px;
    }
    
    .closemenu{
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    .header {
    padding: 20px 20px;
}
    .btn_mobile svg path{
        fill:var(--black);
    }

.closemenu svg path{
    stroke:var(--white);
}

    
    .infocontainer .backgroundsvg {
        width: 160%;
    }
    
    .slogan {
    height: 50%;
}



}
