/*body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
}*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;
    scroll-behavior: smooth;
  }

  a { 
    text-decoration: none;
    color: white;
   }

   body {
    background-color: #111;
   }

/*=============================== HEADER =============================*/


/*header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
    padding: 10px;
    z-index: 1000;
}

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

.header-left h1 {
    margin: 0;
}

.header-right a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
}*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: transparent;
    z-index: 1000;
}

.menu-horizontal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
}

.kelvin {
    z-index: 2000;
    color: white;
    font-size: 20px;
    padding-left: 96px;
    padding-right: 100px;
    border-bottom: 1px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255), #ffffff00);
    border-left: 0;
    border-right: 0;
    border-top: 0;
    padding-bottom: 10px;
}

.kelvin:not(.active) {
    /* Propriétés lorsque la classe active n'est pas présente */
    /* Ajouter une transition différente lorsqu'elle est suprimée */
    transition-duration: 0.7s; /* Transition de 0.1s lorsque la classe est supprimée */
}

.kelvin.active {
    border-image-source: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff00);
    transition-duration: 0.2s;
}

.burger-icon {
    cursor: pointer;
    margin-right: 40px;
    margin-bottom: 10px;
    z-index: 2000;
    padding: 5px 8px;
    transition: 0.3s;
}

.burger-icon:hover{
    background-color: rgb(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.burger-icon:hover .bar {
    transition: 0.3s;
}

.icons {
    position: absolute;
    top: 0;
    padding-top: 104px;
    width: 80px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    border-right: 1px solid white;
    border-image-slice: 1;
    border-image-source: linear-gradient(to bottom, rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255), #ffffff00);
    border-left: 0;
    border-top: 0;
    border-bottom: 0;
}

.icons a {
    margin-bottom: 10px;
    color: white;
    font-size: 24px;
    height: auto;
    text-align: center;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* =============== Menu burger ====================*/

.background-blur {
    position: fixed;
    z-index: 1500;
    top: -100%;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(70px);
    transition: 0.5s ease;
}

.background-blur.active {
    top: 0;
}

.menu-vertical {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    color: #B4B4B4;
    font-size: 65px;
    font-weight: 600;
    gap: 5px;
    transition: 0.3s;
}

.social-icons {
    position: absolute;
    width: 100%;
    bottom: 5%;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.social-icons img {
    width: 30px;
}

.kelvin-text {
    transition: 0.3s;
}

.kelvin-text:hover {
    color: #F1C40F;
    transition: 0.3s;
    cursor: pointer;
}

.menu-vertical a {
    transition: 0.3s;
}

.menu-vertical a:hover {
    scale: 1.05;
    transition: 0.3s;
    cursor: pointer;
}

.social-icons a {
    transition: 0.3s;
}

.social-icons a:hover {
    transition: 0.3s;
    scale: 1.1;
    cursor: pointer;
}




/* ================ MAIN ==========================*/

main {
    position: relative;
}

/* ... SECTIONS ... */

.sections-container {
    position: relative;
}

.background-images {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-images img {
    flex: 1;
    width: 50%; /* Chaque image occupe la moitié de la largeur */
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.1; /* Réglez l'opacité selon vos préférences */
}



.section-index {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
}

#intro {
    background-color: #00B2FF;
}

#spline{
    stroke-width: 1px;
    border: 2px solid black;
    height: 100%;
    width: 100%;
}

#projects {
    background-image: url('./img/fond1.jpg');
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    position: relative;
}

#works {
    background-image: url('./img/fond2.jpg');
}

#about {
    background-image: url('./img/fond3.jpg');
    background-size: cover;
    background-position: 80% 20%;
}

#contact {
    background-image: url('./img/fond4.jpg');
    background-size: cover;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

#contact > h2 {
    color: #FFF;
    text-align: center;
    border-bottom: 3px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, #ffffff00, #ffffff00, rgb(255, 255, 255), #ffffff00, #ffffff00);
    padding-bottom: 35px;
}

#contact > a {
    color: #FFF;
    font-size: 32px;
    font-weight: 300;
    transition: 0.3s;
}

#contact > a:hover {
    color:#F1C40F;
    transition: 0.3s;
}

#contact > div > a img {
    color: #FFF;
}

.slider {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease;
}

.project-slide {
    position: relative;
    flex: 1;
    min-width: 100%;
    box-sizing: border-box;
    display: flex; /* Utilisation de flexbox */
    align-items: center; /* Pour aligner verticalement */
}

.project-content {
    position: absolute;
    padding-left: 10%;
    left: 0%; /* Marge fixe à gauche */
    width: 40%; /* Largeur de la div */
    z-index: 1; /* Pour s'assurer que la div est placée au-dessus de l'image */
    color: white;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.works-content {
    position: absolute;
    padding-left: 10%;
    left: 0%; /* Marge fixe à gauche */
    width: 50%; /* Largeur de la div */
    z-index: 1; /* Pour s'assurer que la div est placée au-dessus de l'image */
    color: white;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.works-content > p {
    width: 70%;
}

.about-content {
    position: absolute;
    padding-left: 10%;
    left: 0%; /* Marge fixe à gauche */
    width: 100vw; /* Largeur de la div */
    z-index: 1; /* Pour s'assurer que la div est placée au-dessus de l'image */
    color: white;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-content > p {
    width: 50%;
}

.project-image1 {
    display: flex; /* Utilisation de flexbox */
    align-items: center; /* Pour aligner verticalement */
    justify-content: center; /* Pour aligner horizontalement */
    position: relative;
    width: 50%;
    height: 70%;
    box-shadow: 0px 4px 15px 6px rgba(0, 0, 0, 0.25);
    margin-left: 40%;
    background-image: url('./img/mockup-cdp.jpg');
    background-size: cover;
    background-position: center;
}

.project-image2 {
    display: flex; /* Utilisation de flexbox */
    align-items: center; /* Pour aligner verticalement */
    justify-content: center; /* Pour aligner horizontalement */
    position: relative;
    width: 50%;
    height: 70%;
    box-shadow: 0px 4px 15px 6px rgba(0, 0, 0, 0.25);
    margin-left: 40%;
    background-image: url('./img/mockup-xrpaperfab.jpg');
    background-size: cover;
    background-position: center;
}

.project-title {
    font-size: 100px;
    font-weight: 600;
    line-height: 100px; /* 100% */
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}


.project-description {
    font-size: 24px;
    font-weight: 300;
}

.project-button {
    padding: 12px 50px;
    margin-right: auto;
    background-color: #F1C40F;
    filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.40));
    transition: 0.3s;
    cursor: pointer;
}

.project-button:hover {
    background-color: #fff200;
    transition: 0.3s;
}

.project-button > i {
    padding-left: 10px;
}

/*.project-slide {
    display: flex;
    align-items: center;
    position: relative;
    flex: 0 0 100%;
    box-sizing: border-box;
}

.project-images {
    position: absolute;
    margin-right: 120px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
}

.a-images {
    background: url('./img/fond1.jpg') no-repeat center;
    background-size: cover;
    display: block;
    background-color: blue;
    height: 70%;
    width: 60%;
    margin: 0 8% 0 auto;
} */

.buttons-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    position: absolute;
    bottom: 50px;
    right: 5vw;
}

.btn {
    position: relative;
    display: block;
    background: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(10px);
    border: 3px solid #FFF;
    width: 116px;
    height: 116px;
    border-radius: 100px;
    font-size: 32px;
    transition: 0.3s;
    cursor: pointer;
}

.btn:hover {
    border: 5px solid #F1C40F;
}

.prev-btn {
    background: rgba(255, 255, 255, 0.3);
}

.btn i {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translateX(-50%);
    color: #FFF;
    transition: 0.3s;
}


.btn:hover i {
    color: #F1C40F;
    transition: 0.3s;
}


















/* =====================================================================================================================

                                                    COUP DE POUSSE

=======================================================================================================================*/


.cdp-kelvin {
    z-index: 2000;
    width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid #FFF;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      margin-top: 5px;
    margin-left: 40px;
    margin-right: 100px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.cdp-kelvin:hover {
    transition: 0.3s;
    background-color: #FFF;
    color: #000000;
    cursor: pointer;
}

.cdp-kelvin > a > i {
    transition: 0.3s;
}

.cdp-kelvin:hover > a > i {
    transition: 0.3s;
    color: #000000;
}

#presentation {
    background-image: url("./img/mockup-cdp-degrade.jpg");
    background-size: cover;
    width: 100%;
    height: 100vh;
}

.presentation {
    max-width: 80vw;
    margin: auto;
    display: flex;
    align-items: center;
    height: 100%;
}

.presentation-content {
    position: relative;
    width: 100%;
    color: #FFF;
    font-size: 24px;
    font-weight: 400;
}

.presentation-title {
    font-size: 100px;
    font-weight: 600;
    margin-bottom: 35px;
}

.presentation-description {
    width: 60%;
}

.presentation-tags {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.presentation-tags p {
    font-size: 24px;
    font-weight: 400;
}

.trait {
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
}

.uxuidesign {
    position: relative;
    background-color: #111;
    color: #FFF;
    padding-top: 40vw;
    padding-bottom: 5%;
}


.uxuidesign > img {
    position: absolute;
    top: -7%;
    left: 50%;
    transform: translateX(-50%);
    width: 65vw;
    height: auto;
    margin: auto;
}

.uxuidesign > div {
    max-width: 50vw;
    margin: auto;
}

.subtitle {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #FFF;
}

.paragraphe {
    font-size: 24px;
    font-weight: 300;
    color: #FFF;
}

.dev {
    background-color: #1A1A1A;
}

.dev-part1 {
    max-width: 50vw;
    padding: 5% 0;
    margin: auto;
}

.background-dev-part2 {
    background-image: url("./img/fond-section-dev-cdp.jpg");
    background-size: cover;
}

.dev-part2 {
    width: 100vw;
    height: 100vh;
    max-width: 80vw;
    margin: auto;
    display: flex;
    align-items: center;
}

.phone-background {
    position: relative;
    margin-left: 100px;
    margin-right: 64px;
}

.phone-background > img {
    width: auto;
    height: 500px;
    z-index: 500;
}

#cdp-video {
    position: absolute;
    z-index: 750;
    top: 11%;
    left: 8%;
    width: 177px;
}

.results-cdp {
    background-color: #111;
}

.results-content {
    max-width: 50vw;
    margin: auto;
    padding: 100px 0;
    text-align: center;
}

.autres-projets {
    padding-top: 100px;
    color: #FFF;
    text-align: center;
}

.autres-projets > span {
    display: inline-block;
    width: 75px;
}

.autres-projets a {
    transition: 0.3s;
    cursor: pointer;
}

.autres-projets a:hover {
    color: #706EE0;
    transition: 0.3s;
}



/* MOBILE */

@media(max-width:640px){

    /* ================= MENU ========================== */

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        background-color: transparent;
        z-index: 1000;
    }
    
    .menu-horizontal {
        padding-top: 10px;
    }
    
    .kelvin {
        font-size: 15px;
        padding-left: 20px;
        padding-right: 100px;
        border-bottom: 1px solid;
        padding-bottom: 8px;
        border: 0;
    }

    .cdp-kelvin {
        margin-left: 24px;
        margin-top: 5px;
        height: 40px;
        width: 40px;
        font-size: 14px;
    }
    
    .burger-icon {
        cursor: pointer;
        margin-right: 32px;
        margin-bottom: 10px;
        padding: 5px 8px;    
    }


    .menu-vertical a {
        font-size: 48px;
    }

    .icons {
        position: absolute;
        top: 93vh;
        padding: 0;
        display: flex;
        flex-direction: row;
        left: 50%;
        transform: translateX(-50%);
        justify-content: left;
        align-items: normal;
        gap: 45px;
        border: 0;
        /*border-top: 1px solid;
        border-right: 0;
        padding: 10px 50px 0 50px;*/
        width: auto;
        height: auto;
    }

    /* ============ Intro ============== */

    #intro {
        background-image: url("./img/fond0-mobile.jpg");
        background-size: cover;
    }

    spline-viewer {
        display: none;
    }


    /* =========== Projects ============== */

    #projects {
        background-image: url("./img/fond1-mobile.jpg");
    }


   .project-title {
        font-size: 40px;
        line-height: normal;
    }

    .project-description {
        font-size: 16px;
    }

    .project-slide {
        height: 100vh;
        align-items: normal;
    }

    .buttons-container {
        right: auto;
        top: 47%;
        gap: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .btn {
        width: 80px;
        height: 80px;
    }

    .btn:hover {
        border: 3px solid #FFF;
    }

    .btn:hover i {
        color: #FFF;
    }

    .btn i {
        font-size: 25px;
    }

    .project-image1 {
        width: 80%;
        height: 45%;
        margin: 60px 10% 0 10vw;
    }

    .project-image2 {
        width: 80%;
        height: 45%;
        margin: 60px 10% 0 10vw;
    }

    .project-content {
        text-align: center;
        width: 100%;
        padding: 0 10px;
        bottom: 80px;
        gap: 15px;
    }

    .project-button {
        margin: auto;
        padding: 8px 30px;
        font-size: 16px;
    }


/* ===================== Works =================*/

    #works {
        position: relative;
        background-image: url("./img/fond2-mobile.jpg");
        background-size: cover;
    }

    .works-content {
        position: absolute;
        text-align: center;
        width: 100%;
        padding: 0 10px;
        bottom: 100px;
        gap: 15px;
    }

    .works-content p {
        width: auto;
    }

    /* ============== about ==================*/

    #about {
        position: relative;
        background-image: url("./img/fond3-mobile.jpg");
    }
    
    .about-content {
        position: absolute;
        text-align: center;
        width: 100%;
        padding: 0 10px;
        bottom: 100px;
        gap: 15px;
    }

    .about-content p {
        width: auto;
    }

    /* ============ contact ================*/

    #contact {
        background-image: url("./img/fond4-mobile.jpg");
        background-size: cover;
    }

    #contact > a {
        font-size: 24px;
        gap: 15px;
    }

    #contact > h2 {
        padding-bottom: 15px;
    }

    #contact .social-icons {
        bottom: 200px;
    }




    /* =========================== COUP DE POUSSE ============================================*/

    #presentation {
        background-position: center;
    }

    .presentation {
        display: block;
        padding-top: 12vh;
    }

    .presentation-title {
        font-size: 40px;
        margin-bottom: 24px;
        text-align: center;
    }

    .presentation-description {
        width: 100%;
        text-align: center;
        margin-bottom: 32px;
        font-size: 16px;
    }    

    .presentation-tags {
        position: initial;
        width: 100%;
        gap: 10px;
    }

    .presentation-tags p {
        font-size: 18px;   
        text-align: center; 
    }

    .uxuidesign {
        padding-top: 15vh;
    }

    .uxuidesign > img {
        top: -18%;
        width: 80vw;
    }

    .uxuidesign > div {
        max-width: 70vw;
        padding-top: 20px;
    }

    .subtitle {
        font-size: 32px;
        text-align: center;
    }

    .paragraphe {
        font-size: 16px;
        text-align: center;
    }




    .dev-part1 {
        padding-top: 48px;
        padding-bottom: 48px;
        max-width: 75vw;
    }

    .background-dev-part2 {
        background-position: right;
    }

    .dev-part2 {
        position: relative;
        height: auto;
    }

    .dev-part2 > p {
        padding-top: 550px;
        padding-bottom: 50px;
    }

    .phone-background {
        width: initial;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0px;
        margin-right: 0px;
    }

    

    .results-content {
        max-width: 75vw;
    }

    .autres-projets {
        font-size: 14px;
    }

    .autres-projets > span {
        width: 30px;
    }
}