@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'vvs_noblemanbook';
    src: url('vvsnobleman-book-webfont.woff2') format('woff2'),
         url('vvsnobleman-book-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


body{
    background-color:#FFFFF4 !important;
    scroll-behavior: smooth;
}
.container-fluid{
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    height: auto;
    overflow: hidden;
}
/*XS*/
@media (max-width:576px) {
    .all-txt-project{
        padding: 30px 0px 0px 30px !important;
    }
    nav{
        font-family: Montserrat;
        font-weight:500;
        font-size:14px;
        background-color:#FFFFF4;
    }
    ul{
        display: none;
    }
    main{
        padding-top: 80px;
    }
    .fleche{
        display: none;
    }
    h1{
        font-family: 'vvs_noblemanbook';
        font-size: 17vw  !important;
    }
    h2{
        font-family: Montserrat;
        font-weight:100;
    }
   .middle{
    position: absolute;
    display: none !important;
    visibility: hidden !important;
   }
   .title-portfolio{
    padding-left: 35px;
    margin: 130px 0px 50px 15px !important;
   }
   .title-portfolio img{
    width: 90%;
    padding-bottom: 50px;
   }
   .title-portfolio a:link, .title-portfolio a:visited, .mail-about a:link, .mail-about a:visited{
    color:black;
    text-decoration: none;
    font-family: 'vvs_noblemanbook';
    font-size:15px;
    border:2px solid black;
    border-radius:100px;
    padding:10px 20px;
    font-weight: 500;
}
.title-portfolio a:hover, .title-portfolio a:active, .mail-about a:hover, .mail-about a:active{
    background-color: black;
    color:#FEFFE4;
    transition: 0.4s;
}
}
/*SM*/
@media (min-width:576px) {
    h1{
        font-family: 'vvs_noblemanbook';
        font-size: 15vw  !important;
    }
    ul{
        display: none;
    }
    .all-txt-project{
        padding: 90px 0px 0px 30px !important;
    }
    .list-project-tablet-phone{
        padding-top: 90px !important;
    }
    .middle{
     display: none !important;
     visibility: hidden !important;
    }
    .title-portfolio{
        padding-left: 35px;
        margin: 120px 0px 60px 20px !important;
       }
       .title-portfolio img{
        width: 80%;
       }
       .mail{
        padding-top: 50px;
       }
       .title-portfolio a:link, .title-portfolio a:visited{
        color:black;
        text-decoration: none;
        font-family: 'vvs_noblemanbook';
        font-size:20px;
        border:2px solid black;
        border-radius:100px;
        padding:10px 20px;
        font-weight: 500;
    }
    .title-portfolio a:hover, .title-portfolio a:active{
        background-color: black;
        color:#FEFFE4;
        transition: 0.4s;
    }
    .list-project-tablet-phone{
        width: auto;
        padding-bottom: 2px;
        position: relative;
        height: auto;
    }
    .title-n-star{
        margin-bottom: -400px;
    }
 }
/*MD*/
@media (min-width:768px) {
    #about{
        padding: 50px 0px 80px 30px;
    }
    .all-txt-project{
        padding: 80px 0px 0px 30px !important;
    }
    ul{
        display: block;
    }
    .fleche{
        position: absolute;
        right: 5px;
        bottom: 100px;
        font-size: 4vw;
    }
    .homepage{
        padding-top: 24%;
    }
    h1{
        font-family: 'vvs_noblemanbook';
        font-size: 11vw  !important;
    }
    h2{
        font-family: Montserrat;
        font-weight: 400 !important;
        font-size: 3vw !important;
    }
    h2 strong{
        font-weight:700 !important;
    }
    ul{
        font-size: 3vw;
        font-family: Montserrat;
        font-weight:700;
        list-style-type: none;
    }
    li{
        padding: 80px  0px 0px;
    }
    .list-project-tablet-phone{
        padding-top: 0px !important;
    }
    .mail{
        padding-top: 0px;
        position: relative;
        right: 40px;
       }
    .middle{
        display: none !important;
        visibility: hidden !important;
        position: absolute;
       }
       .title-n-star{
        margin-bottom: 0px;
    }
       .title-portfolio{
        padding-left: 35px;
        margin-top: 100px;
       }
       .title-portfolio img{
        width: 100%;
       }
       .title-portfolio a:link, .title-portfolio a:visited{
        color:black;
        text-decoration: none;
        font-family: 'vvs_noblemanbook';
        font-size:20px;
        border:2px solid black;
        border-radius:100px;
        padding:10px 15px;
        font-weight: 500;
        text-align: center;
    }
    .title-portfolio a:hover, .title-portfolio a:active{
        background-color: black;
        color:#FEFFE4;
        transition: 0.4s;
    }
    .list-project-tablet-phone{
        width: auto;
        padding-bottom: 2px;
        position: relative;
        height: auto;
    }
    .about{
        margin-top:130px!important;
    }
}
/*LG*/
@media (min-width:992px) {
    .title-portfolio{
        padding: 40px 0px 20px 50px;
    }
    .all-txt-project{
        padding: 50px 0px 0px 30px !important;
    }
    .middle{
        display: block !important;
        visibility: visible !important;
        position: static;
        height: 418.8px;
        font-size: 15px;
       }

    h1{
        font-family: 'vvs_noblemanbook';
        font-size: 8vw  !important;
    }
     h2{
        font-family: Montserrat;
        font-weight:100;
    }
    .memento-h1{
        font-family: 'vvs_noblemanbook';
        font-size: 8vw  !important;
    }
    .text-project{
        width: 83%;
    }
    .all-txt-project{
        padding: 10px 20px;
    }
    .expl-project{
        border-left: 2px black solid;
    }
    .navbar-brand{
        margin-left: 35px;
        margin-top:30px;

    }
    .nav-link{
        margin-left:60px;
    }
    .nav-illustration{
        margin-left:75px;
    }
    .navbar-nav{
        margin-right:20px;
        position: absolute;
        padding-top: 100px;
    }
    #img-title{
        width: 90%;
    }
    .title-portfolio a:link, .title-portfolio a:visited, .mail-about a:link, .mail-about a:visited{
        color:black;
        text-decoration: none;
        font-family: 'vvs_noblemanbook';
        font-size:20px;
        border:2px solid black;
        border-radius:100px;
        padding:10px 20px;
        font-weight: 500;
       
    }
    .title-portfolio a:hover, .title-portfolio a:active, .mail-about a:hover, .mail-about a:active{
        background-color: black;
        color:#FEFFE4;
        transition: 0.4s;
    }
    .title-portfolio{
        margin:30px 0px 0px 0px !important;
    }
    .void{
        padding:30%;
        border-bottom:2px solid black;
    }
    #star{
        margin:0px 0px 0px 40px;
    }
    main{
        margin-top:0px;
    }
    .filsdufacteur-espace{
        margin-bottom: 150px;
    }

}
/*XL*/
@media (min-width:1200px) {
    .title-portfolio{
        padding: 30px 0px 20px 50px !important;
    }
    .list-group{
        padding-left: 20px !important;
    }
    .list-group-item{
        padding-left: 35px !important;
    }
    #about{
        padding: 30px 0px 60px 0px;
    }
    h1{
        font-family: 'vvs_noblemanbook';
        font-size: 9vw  !important;
    }
    .nav-link{
        margin-left:60px;
    }
    .nav-illustration{
        margin-left:75px;
    }
    .navbar-nav{
        margin-right:20px;
    }
}
a:link, a:visited{
    text-decoration: none !important;
    color: black;
}

.arrow, .fleche{
    padding: 20px 50px 0px 0px;
}
.arrow a:link, .arrow a:visited{
    font-size: 20px !important;
    color: black !important;
    text-decoration: none;
}

nav, footer p{
    font-family: Montserrat;
    font-weight:500;
    font-size:14px;
}
nav a:link, nav a:visited, footer a:link, footer a:visited{
    color:black;
}
nav a:hover, nav a:active, footer a:hover, footer a:active{
    text-decoration: underline 1px black;
    color: black !important;
}

.middle a:link, .middle a:visited{
text-decoration: none;
}
.title-n-star{
    border-bottom:2px solid black;
}
footer{
    z-index: 7;
    margin-top: -1.5px;
    border-top:2px solid black;
}
.list-group{
    border-bottom: 2px black solid;
    padding: 5px 0px;
}
.list-group-item{
    border: none !important;
}
p{
    font-family: Montserrat;
}

/*animation*/

/*NAV*/
.hover-underline-animation {
    display: inline-block;
    position: relative;
  }

  .hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000000;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  
  .hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom right;
  }

  /*H1*/

  .titre1, .titre2 {
    opacity: 0; /* Commence invisible */
    transform: translateX(100%); /* Commence à droite, hors de l'écran */
    animation: apparition 0.9s ease-out forwards; /* Applique l'animation */
  }
  
  /* Premier titre : aucun délai, commence immédiatement */
  .titre1 {
    animation-delay: 0s;
  }
  
  /* Deuxième titre : délai de 1 seconde avant de commencer */
  .titre2 {
    animation-delay: 0.7s;
  }
  
  /* Définir l'animation */
  @keyframes apparition {
    0% {
      opacity: 0; /* Commence invisible */
      transform: translateX(40%); /* Commence à droite, hors de l'écran */
    }
    100% {
      opacity: 1; /* Devient totalement visible */
      transform: translateX(0); /* Reviens à la position finale */
    }
  }

  /*FLECHE*/

  .fleche{
    opacity: 0;       /* Start as invisible */
    animation: appearBounce 1.2s ease-out 1.2s forwards; /* Apply the animation */
  }
  
  /* Define the keyframes for the "appear and bounce" animation */
  @keyframes appearBounce {
    0% {
      opacity: 0;
      transform: translateY(50px); /* Start below its final position */
    }
    60% {
      opacity: 1;
      transform: translateY(-10px); /* Move slightly above the final position */
    }
    100% {
      opacity: 1;
      transform: translateY(0); /* Final position */
    }
  }

  /*IMAGE DESKTOP*/
  /*
.wrapper a span{
    position: absolute;
    display: none;
    z-index: 99;
    transform: scale(0);
    overflow: hidden;
    border: 2px solid black;
}
.wrapper a:hover span{
    display: block;
    transform: translate(150%, -50%) scale(1);
}
*/

/*PROJET UNDERLINE*/
.hover-underline-animation-2 {
    display: inline-block;
    position: relative;
  }

  .hover-underline-animation-2::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 5px;
    bottom: 0;
    left: 0;
    background-color: #000000;
    transform-origin: bottom left;
    transition: transform 0.25s ease-out;
  }
  
  .hover-underline-animation-2:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  /*custom cursor*/

  
    
  
