body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    background-color:  black !important;
    padding: 0;
    margin: 0;
    color: #fff !important;
    font-size: 17px;
    overflow-x: hidden;
}

.card-footer {
    padding: 1px;
    background-color: #f8f9fa;
    margin-top: auto; /* Force le footer à rester en bas */
}

.rest{


}
img {
    width: 100%;

}

.video-container {
    position: relative;
    display: flex;
    flex-direction: column;
}

.video-container img,
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.video-thumbnail {
    width: 100%;
    height: auto;
}

.card-footer {
    padding: 10px;
    background-color: #f8f9fa;
    text-align: left;
}

video {
    width: 100%;
    height: auto;
}

.masonry{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    gap: 6px;
    }
    @media screen and (max-width: 1600px) {
        .masonry {    grid-template-columns: repeat(6, 1fr);

        
        }
      }
    @media screen and (max-width: 1300px) {
    .masonry {    grid-template-columns: repeat(3, 1fr);

    }
}






.column{
    display: inline-flex;
    flex-direction: column;
    width: inherit;


}
    .cards {
        columns: 6;
    }

    
    .card{
        grid-row-end: span var(--span);
        break-inside: avoid;
        display: block;
        width: 100%;
        height: fit-content; 
        text-decoration: none;
    }
    .card-item img,
    .card-item video {
        width: 100%;
        height: auto;
        display: block;
    }


    .card-footer {
    position: relative;
    bottom: 0;
    left: 0;
    background: black;
    color: #5e5e5e;
    font-size: 10px;
    padding-bottom: 3px;
    padding-top: 3px;
    font-family: "Fragment Mono", monospace;
    font-variant-numeric: slashed-zero;
    text-decoration: none;
    }
      
    


.spacer{
    height: 300px;
}
#particle-canvas {
    width: 100%;
    height: 5%;
  }


ul a {
    text-decoration: none;
}


.disableselect_header {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: -115px;
}

.disableselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.clearfix {
    clear: both;
}

.blur{
    filter: blur(4px);

}
.errpage {
    padding: 50px;
    font-size: 22px;
    font-weight: 600;
}

.ct_text{
    text-align: center;
}

.line {
    border-bottom: 0.25px solid #888;
    width: 280px;
  }

  .grayscale{
    filter: grayscale(1);
  }

/*FONTS*/
.roboto_condensed-light{	
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}
.roboto-thin {
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: normal;
  }
.roboto_flex-light{	
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-weight:100;
    font-style: normal;
    font-variation-settings:
      "slnt" 0,
      "wdth" 100,
      "GRAD" 0,
      "XOPQ" 96,
      "XTRA" 468,
      "YOPQ" 79,
      "YTAS" 750,
      "YTDE" -203,
      "YTFI" 738,
      "YTLC" 514,
      "YTUC" 712;
}

.tallfilms{
    font-family: "Tall Films Fine";
    font-weight: 100;
    font-style: normal;
}

/*HAMBURGER*/

.hamburger {
    display: none;
    margin-top: 30px;
    z-index: 10000;
    height: 29px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}


.slide {
    float: left;
    margin-right: 5px;
    animation: sliderx 55s linear infinite;
}

.slides {
    width: 100%;
    display: flex;
    overflow: hidden;
}



@keyframes sliderx {
    0% {
        transform: translateX(0px);
    }

    100% {
        transform: translateX(calc(-316px * 20));
    }
}

.scroller_info {
    display: flex;
    font-family: 'Poppins-Light', sans-serif;
    justify-content: center;
    transform: rotate(270deg);
    top: -80px;
    position: relative;
    font-weight: 700;
    color: rgb(240, 240, 240);
    font-weight: 200;
    font-size: 18px;

}

/*ScrollTO*/
html {
    scroll-behavior: smooth;
  }
  
  a,
  button{
    display: inline-block;
  }
  
  .first {
      background: #ccc;
  }
  rgb(255, 114, 114)
  .second {
      width: 100%;
      height: 1000px;
      background: #999;
  }
  .animation-on-scroll{
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.4s ease-in;
}
/*ScrollBar*/  

::-webkit-scrollbar {
    width: 2px;
    background: rgb(0, 0, 0);
    position: absolute;
}

::-webkit-scrollbar-track {
    -webkit-border-radius: 15px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #646464;
}


/*ANIMATION*/
.zoom{

}
.zoom:hover{
    transform: scale(1.05);
    transition: transform .2s ease;
}  

.speed{
    speed
    
    }
    
.fade_in {
    animation: fade_in 3s ease-in 0s forwards;
}

@keyframes fade_in {
    0% {
    opacity: 0;
    }

    100% {
    opacity: 1;
    }
}
/*VIDEO*/
.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: black;

}

.video_gallery {
    width: 100%;
    height: 80%;
}s

/*IMAGE*/
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.main-img {
    width: 311px;
    height: 675px;
}


    /*CONTAINT*/
    .all_content {
        position: absolute;
        top:0;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        }

    /*Main_Title*/
    .main_title {
        display: flex;
        align-items: center;
        justify-items: center;
        width: 100%;
        height: 750px;
    }
    .video_title {
        width: inherit;
        height: inherit;
    }
    .main_title-title{
        position:absolute;
        width:100%;
        text-align: center;
        font-size: clamp(50px,8vw,180px) !important;
        z-index: 99;
    }

    /*LatestProject*/
    .latest_project {
        padding-top: 3rem;
        width: 80%;
        height:  500px;
    }
    .latest_video {
        width: 100%;
        height: inherit;
        object-fit: cover;
    }
    .latest-title{
        text-align: center;
        margin-bottom: 60px;
        font-size: 40px;
    }
    .latest_project-a{
        overflow: hidden;
        position: relative;
        text-align: center;
        height: inherit;
        width: 100%;
    }

 
    .info_project-texte{
        font-size: 12px;
        position: absolute;
        bottom: 20px;
        right: 50px;
        line-height: 5px;
        text-align: right;
        color: #868686;
        font-family: "Inter", sans-serif;

    }
    .black_box{
        position: absolute;
        right: 0px;
        bottom: 0px;
        border-bottom: 130px solid rgba(0, 0, 0, 0.397);
        border-left: 75px solid transparent;
        height: 0;
        width: 600px;
        filter: blur(18px);

    }

    /*WHO-WHAT-HOW*/
    .wwh{
        margin-top: 6rem;
        margin-bottom: 10rem;
        display: flex;
        justify-items: center;
        justify-content: center;
        gap: 10%;
        width: 60%;

    }


    .margin_TB{
        margin-top: 36px;
        margin-bottom: 36px;
    }


    /*PROCESS*/
    .process{
        margin-bottom: 130px;
        max-width: 780px;
        padding: 15px;
    }


    @media screen and (max-width: 1600px) {
        .wwh {gap: 0%;
        flex-direction: column;
        
        }
      }
    @media screen and (max-width: 1300px) {
    .wwh {gap: 0%;
    }
    }
