@import url('https://fonts.googleapis.com/css2?family=Archivo&family=Archivo+Black&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo&family=Instrument+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

@import url('https://fonts.cdnfonts.com/css/spectral-bridge');

@font-face {
    font-family: ethereal ;
    src: url(fonts/EtherealDemoFont-Light.woff);
}




@font-face {
    font-family: 'Slagless';
    src: url('../fonts/Slagless-2OX63.ttf') format('truetype');
}

@font-face {
    font-family: 'Aesthetic';
    src: url('../fonts/Aesthetic-Regular.woff2') format('woff2'),
        url('../fonts/Aesthetic-Regular.woff') format('woff');
    font-style: normal;
    font-display: swap;
}

::-moz-selection {
    color: white;
    background: black;
}
  
::selection {
color: white;
background: black;
}



.preloader,
.preloader2{
    position: fixed;
    background-color: #ffffff;
    color:black;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 1s ease-in-out;
}

.preloader2{
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1s ease-in-out;
}

.active{
    opacity: 1;
    transform: translateX(0);
}

#lottie {
    height: auto;
    transition: width 0.3s ease;
    animation: appearLottie 0.5s ease-in-out;
    width: 200px;
}

@keyframes appearLottie {
    0% {
      width: 0px;
      
    }
    100% {
      width: 200px;
    }
}

 
html{
    /* scroll-behavior: smooth; */
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: white;   
    overflow: hidden;
    position: relative;
    overflow-y: visible;
    position: relative;
    height: unset;

    overscroll-behavior: none;
}

.background-container{
    width: 100%;
    position: absolute;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: -1;
}
.background-img{
    width: 100%;
    position: absolute;
    height: 120%;
    background-image: url('../images/fond.jpg');
    background-size: 100% 120%;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    left: 0;
    z-index: -1;
}

/* .background-first-img{
    width: 100%;
    position: absolute;
    height: 100%;
    background-image: url('../images/bigfond.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    left: 0;
    z-index: -1;
} */



header{
    width: 100%;
    height: 100vh;
    position: relative;
}


main{
    margin-top: 100px;
}

section{
    padding-bottom: 100px;
}

.line{
    width: 80%;
    height: 0.4px;
    background-color: #838282;
    display: flex;
    justify-content: center;
    

    /* FAIRE LA TRANSLATION AU REFRESH */
    transform: translate3d(12%, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg);
    transform-style: preserve-3d;
    
}

.line2{
    width: 100%;
    height: 0.4px;
    background-color: #838282;
}


/* TITLE */
.title,
.titleSecond {
    width: 80%;
    margin: 0 auto;
    text-align: left;
    position: absolute;
    top: 30%;
    left: 10%;
    font-family: 'Aesthetic';
}

.subtitle{
    text-align: left;
    font-family: 'Aesthetic';
}

h1{
    font-weight: 100;
}
h2{
    font-size: 90px;
    font-weight: 100;
}



.titleSecond {
    top: 45%;
}

.animLetters{
    opacity: 0;
    display: flex;
    flex-direction: column;
}


.char {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s;
}


.back {
    width: 80%;
    margin: 0 auto;
    text-align: left;
    position: absolute;
    top: 45px;
    left: 10%;
    font-family: 'Aesthetic';
}

.link a{
    text-decoration: none;
    display: flex;
    width: fit-content;
    padding: 10px;
    font-family: 'Archivo Black', sans-serif;
}

.link a:hover .arrow-back{
    transform: translateX(-10px);
    transition: all 0.3s ease-in-out;
}

.arrow-back{
    transform: translateX(0);
    transition: all 0.3s ease-in-out;
}

.button{
    margin-top: 20px;
}
.button .link a:hover .arrow-back{
    transform: translateX(10px);
    transition: all 0.3s ease-in-out;
}


.title2 {
    width: 80%;
    margin: 0 auto; 
    text-align: left;
    position: absolute;
    top: 40%;
    left: 10%;
    font-family: 'Aesthetic';
}

.circle-container{
    width: 80%;
    margin: 0 auto;
    text-align: left;
    position: absolute;
    top: 10%;
    left: 10%;
}
.name {
    color: #ffffff;
    font-size: 125px; 
}


.titleSecond .name {
    color: #ffffff;
    font-size: 90px; 
    font-weight: 100;
    display: block;
    margin: 0;
}

/* ABOUT */
.big-about{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.about{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.align-end{
    align-items: end;
}


.text{
    width: 500px;
    word-wrap: break-word;
    overflow-x: hidden;
    line-height: 25px;
    overflow: wrap;    
}

.text1{
    width: 500px;
    word-wrap: break-word;
    overflow-x: hidden;
    line-height: 25px;
    font-weight: 100;
}

.text span{
    font-size: 2rem;
    line-height: 60px;
}

.full{
    width: 1040px;
    overflow: hidden;
}

.full a{
    padding: 10px;
}

.text2{
    width: 500px;
    height: 450px;
    word-wrap: break-word;
    overflow-x: hidden;
    line-height: 25px;
}

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

.underline{
    text-decoration: underline;
    color: white;
}
.text3{
    width: 500px;
    height: auto;
    word-wrap: break-word;
    overflow-x: hidden;
    line-height: 25px;
}



.img-container{
    text-align: center;
}

.text2 li{
    padding-top: 10px;
    padding-bottom: 10px;
    width: fit-content;
    
}

.text2 li a{
    display: flex;
    gap: 10px;
    align-items: center;
}
.pl h3{
    padding-left: 15px;
}
h3{
    margin-top: 20px;
    margin-bottom: 20px;
}

.mt{
    margin-top: 20px;
}


.section-inner{
    display: flex;
    flex-direction: column;
    gap: 6rem;
}
  
.project img {
    /* transition: all 0.3s ease-in-out; */
    transform-origin: center;
}

.project-container{
    position: relative;
    display: flex;
}
/* 
.p1{
    gap: 3rem;
}
.p2{
    left: 4rem;
    gap: 10rem;
}
.p2 .project:first-child{
    bottom: 12rem;
}
.p2 .project:last-child{
    top: 7rem;
    right: 5rem;
}
.p3{
    left: 14rem;
    gap: 8rem;
}
.p3 .project:first-child{
    bottom: 12rem;
}
.p3 .project:last-child{
    top: 7rem;
    right: 5rem;
} */

.project {
    width: 500px;
    height: 250px;
    font-size: 65px;
    color: #ffffff;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    font-family: 'Instrument Serif', serif;
}

.project p{
    padding-left: 20px;
    padding-right: 20px;
    margin: 0;
}


.project-marg{
    margin-right: 15vw;
}



.project a {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Instrument Serif', serif;
    position: relative;
    z-index: 2; 
    opacity: 0.3; 
    mix-blend-mode: difference;
    /* transition: opacity 0.5s ease-in-out;  */
    cursor: none;
    text-align: center;
    width: 100%;
}





.see-more:hover {
    text-decoration: none;
}



.image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; 
    opacity: 1;
    display: flex;
}

.project img {
    width: 500px;
    aspect-ratio: 16/9;
    object-fit: cover;
}


.project:hover a{
    opacity: 1;
}

.project:hover .image-container img{
    opacity: 1;
    scale: 1;
}



/* .project:hover img {
    width: 500px;
} */


/* .project:hover .image-container {
    opacity: 0.7;
} */










#overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: white;
    transition: width 0.5s, height 0.5s;
    display: none;
}

.bandeau, .bandeau2 {
    position: flex;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-family: 'Archivo Black', sans-serif;
   
}

.bandeau2 {
    position: flex;
    top: 50%;
    transform: translateY(50%);
    white-space: nowrap;
    font-family: 'Archivo Black', sans-serif;
   
}


  
  #mots, #mots{
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  #mots li, #mots2 li {
   
    display: inline-block;
    margin-right: 20px;
  }

  .mot, .mot2 {
    opacity: 0.3; 
    display: inline-block;
    margin-right: 20px;
    font-size: 80px;
    transition: opacity 0.3s ease-in-out; 
  }
  
  .mot:hover, .mot2:hover {
    opacity: 1; 
  }



/* ----------NAV---------- */


.nav1{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background-color: black; 
    padding: 20px;
    box-sizing: border-box;
    z-index: 5;
}
ul{
    list-style-type: none;
}
.nav1 ul {
    height: 100vh;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    width: 50px;
}

.nav1 li {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Archivo Black', sans-serif;
}


.nav1 a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
    writing-mode: vertical-rl;
}


.absolute{
    position: absolute;
}






.image-container img{
    /* scale: 0.3;
    opacity: 0;
    transition: all 0.7s ease-in-out; */
}





.infos ul{
    width: 300px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
}






.magic-mouse-cursor {
    mix-blend-mode: difference;
    background-color: transparent;
}
  
#magicPointer{
    z-index: 1000;
}

.magic-hover{
    transition: none !important;
}


.text, .text1, .text2, .text3 {
    margin-right: 20px;
    font-size: 16px;
}


.font-larg{
    font-size: 4rem;
    line-height: 63px;
    font-family: 'Spectral Bridge', sans-serif;
    text-align: center;
    max-width: 1000px;
}

.font-larg .link{
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.font-larg .link a:hover .arrow-back{
    transform: translateX(10px);
}

.font-larg .char{
    opacity: 0.2;   
}

.video-anim{
    aspect-ratio: 1000 / 515;
    overflow: hidden;
    width: 62rem;
}

.video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}




h3{
    font-size: 20px;
}




.wipe-transition {
    width: 100vw;
    height: 100vh;
    background:linear-gradient(90deg, rgb(165, 165, 223),midnightblue) ;
    position: absolute;
    left: -100%;
}

#menu {
    visibility: hidden;
    opacity: 0;
}

.contact{
    width:400px;
    font-size: 20px;
    overflow: hidden;
}
.contact li{
    width: auto;
    
}

.contact li a{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.contact-link{
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1100px) {
    .font-larg{
        padding: 0 106px;
    }
}
@media (max-width: 1040px) {
    .full{
        width: 515px;
    }
}
@media (max-width: 768px) {

   section{
    overflow-x: hidden;
   }

    /* ----------NAV---------- */

    #nav1{
        visibility: hidden;
        opacity: 0;
    }

    #burger-menu {
        cursor: pointer;
        height: 27px;
        width: 27px;
        margin: 50px;
        overflow: visible;
        position: absolute;
        z-index: 12;
        top: 0;
        right: 0;
    }
      
    #burger-menu span,
    #burger-menu span:before,
    #burger-menu span:after {
        background: #fff;
        display: block;
        height: 2px;
        opacity: 1;
        position: absolute;
        transition: 0.3s ease-in-out;
    }
      
    #burger-menu span:before,
    #burger-menu span:after {
        content: '';
    }
      
    #burger-menu span:before {
        left: 0px;
        top: -10px;
        width: 27px;
    }
      
    #burger-menu span {
        right: 0px;
        top: 13px;
        width: 27px;
    }
      
    #burger-menu span:after {
        left: 0px;
        top: 10px;
        width: 27px;
    }
      
    #burger-menu.close span:before {
        top: 0px;
        transform: rotate(90deg);
        width: 27px;
    }
      
    #burger-menu.close span {
        transform: rotate(-45deg);
        top: 13px;
        width: 27px;
    }
      
    #burger-menu.close span:after {
        top: 0px;
        left: 0;
        transform: rotate(90deg);
        opacity: 0;
        width: 0;
    }


    .scroll{
        overflow: hidden;
    }


      
    #menu {
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease-in-out;

        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: black;
        overflow-x: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 11;
    }
      
    #menu.overlay {
        visibility: visible;
        opacity: 1;
    }
      
    #menu ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }
      
    #menu li {
        color: white;
        margin-top: 20px;
        margin-bottom: 20px;
        font-family: 'Archivo Black', sans-serif;
        font-size: 38px;
    }


    .text, .text2, .text3 {
        margin-right: 0px;
    }

    .text1{
        width: auto;
        margin-right: 0px;
    }

    .text3{
        margin-bottom: 50px;
    }

    .text2{
        height:auto;
    }

    
    .writter .text {
        height: 230px;
    }
    
    .title
    .titleSecond{
        left: 5%;
        top: 45%;
    }


    .about{
        max-width: 350px;
        word-wrap: break-word;
        overflow-x: hidden;
        overflow-y: hidden;
        line-height: 25px;
        overflow: wrap;    
    }

    .about .flex1{
        order: 2;
    }
    .about .flex2{
        order: 1;
    }

    .font-larg{
        font-size: 3rem;
        line-height: 45px;
        padding: 0;
    }


    .name{
        font-size: 60px;
    }

    .mot, .mot2 {
        margin-right: 10px;
        font-size: 30px;
    }

    .img-container img{
        max-width: 350px;
    }

    .hide{
        height: 0;
    }

    .contact{
        width:350px;
        font-size: 16px;
    }

    .img-mobile{
        width: 200px;
    }

    .video{
        width: 100%;
    }

    

}



@media (max-width: 660px) {
    #Secondname{
        font-size: 55px;
    }

    h2{
        font-size: 50px;
    }

    .font-larg{
        font-size: 2rem;
        line-height: 34px;
    }
}

@media (max-width: 400px) {
    #Secondname{
        font-size: 40px;
    }
}


.center-title{
    margin: 0 auto;
    margin-top: 150px;
    text-align: center;
}

#magicPointer{
    background-color: #ffffff !important;
}





.hwc-BlockBaselineVideo {
    white-space: pre;   
    margin-top: -2rem;
    margin-bottom: -2rem;
}

.hwc-BlockBaselineVideo-container {
    letter-spacing: 1px;
    color: transparent;
    display: flex;
    justify-content: center;
    align-items: start;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 80px;
    font-family: 'Archivo Black', sans-serif;
}

@media (max-width: 768px) {
    .hwc-BlockBaselineVideo-container {
        font-size: 30px;
    }
}

.words-baseline span{
    opacity: 0.3;
    color: white;
    transition: opacity 0.3s ease-in-out;
}

.words-baseline span:hover{
    opacity: 1;
}

.hwc-BlockBaselineVideo-container > * {
    display: flex;
    justify-content: center;
    align-items: center;
}