@font-face {
    font-family: 'M12';
    src: url(../FONT/m12_match_biker/m12.TTF);
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'League Spartan';
    src: url(../FONT/League_Spartan/LeagueSpartan-VariableFont_wght.ttf);
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
*{
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
}
header{
    position: fixed;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100px;
    backdrop-filter: blur(30px);
    background-color: rgba(0, 0, 0, 35%);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.logo-container{
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-container img{
    transition: 0.5s; transition: 0.5s;
    width: 100px;
}
.logo-container img:hover{
    transition: 0.2s;
    transform: scale(1.1);
}
nav{
    z-index: 1;
    display: flex;
    margin: 0 50px 0 0;
    gap: 20px;
}
.navbar a{
    margin: 0 10px 0 0;
}
nav .accueil-nav{
    display: none;
}
nav a{
    position: relative;
    color: #fff;
    text-decoration: none;
    font-family: 'M12';
    padding: 10px;
    border: 2px solid #FF007F;
    border-radius: 5px;
    transition: ease-in-out 0.3s;
}

nav a:hover{
    background: linear-gradient(60deg, #00FFFF, #FF017B);
    border: 2px solid #00FFFF;
    transition: ease-in-out 0.2s;

}
body{
    background-color: #000;
}

#container-3D {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    top: 0;
    left: 0;
}
.about{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
.scroll-bar{
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 85%;
    width: 100%;
   
}
.scroll-bar img{
    justify-self: center;
    width: 60px;
}

.projet-web::before{
    content: "";
    position: absolute;
    align-self: center;
    top: -40px;
    left: 0;
    width: 90%;
    height: 250px;
    clip-path: polygon(35% 0, 100% 0, 74% 16%, 0 16%);
    background: linear-gradient(60deg, #FF4500, #FF007F);
}

.projet-web{
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(60deg, #FF4500, #FF007F);
    height: 100vh;
    padding: 15px;
    margin: 100px 0 0 0;
}
.projet-web h2{
    font-size: 2rem;
    color: white;
    font-family: 'M12';
}
.projet-web span{
    font-size: 1.5rem;
    font-family: 'M12';
}

.card-web{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 220px;
    border: 50px solid;
    border-radius: 13px;
    border-image: url(../images/border-card2.svg) ;
    clip-path: polygon(100% 0%, 100% 100%, 15.67% 100%, 0.5% 86.36%, 0% 7.73%, 8% 0%);
    background: linear-gradient(60deg, #00FFFF, #FF017B);
    border-image-slice: 30;
}
.card-web a{
    color: #000;
}
.card-web img{
    width: 200px;
}
.card-web .card-web-name-container{
    position: absolute;
    bottom: -45px;
    right: -45px;
    width: 95%;
    padding: 10px;
    background-color: #00FFFF;
}


.projet-illustration{
    position: relative;
    background: linear-gradient(60deg, #FF4402, #FF1161);
    height: 100vh;
    padding: 15px;
}
.projet-illustration h2{
    font-size: 2rem;
    color: white;
    font-family: 'M12';
}
.projet-illustration span{
    font-size: 1.5rem;
    font-family: 'M12';
}
.swiper{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px 0 0 0;
    z-index: 0;
}


.card-illustration::before{
    content: "";
    position: absolute;
    top: 5%;
    left: 5%;
    background: url(/images/Adobe_Illustrator_CC_icon.svg.png);
    background-size: cover;
    width: 50px;    
    height: 50px;
  }

.card-illustration:nth-child(1)::before{
    content: "";
    position: absolute;
    top: 5%;
    left: 5%;
    background: url(/images/icone-illustrator.webp);
    background-size: cover;
    width: 50px;    
    height: 50px;
  }

  .card-illustration:nth-child(2)::before{
    content: "";
    position: absolute;
    top: 5%;
    left: 5%;
    background: url(/images/icone-photoshop.webp);
    background-size: cover;
    width: 50px;    
    height: 50px;
  }
  
.card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
    z-index: 2;
    cursor: pointer;
  }
  

.card-content {
  position: relative;
  width: 100%;
  height: 100%;
}
  
.card-illustration{
    z-index: 1;
    position: relative;
    width: 25em;
    height: 90%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 0 2em;
  }

.card-illustration svg {
    width: 100%;
    height: 100%;        
}
.card-illustration svg image{
    width: 100%;
    height: 100%;
    clip-path: polygon(25% 0, 85% 0, 100% 10%, 100% 85%, 82% 100%, 3% 100%, 0 21%, 24% 20%);       
}
.card-illustration.is-flipped {
    transform: rotateY(180deg);
  }
  .swiper-slide:not(.swiper-slide-active){
    filter: blur(1px);
  }
.card-illustration .name-container{
    position: absolute;
    display: flex;
    align-items: center;
    width: 70%;
    height: 40px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 10px;
    bottom: 4px;
    left: 1px;
    color: #000;
    background-color: #00FFFF;
}



.presentation-projet{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.presentation-projet .name-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.presentation-projet .name-container h1{
    background: -webkit-linear-gradient(60deg, #B3A3CD, #F18D96, #FEDB4B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    margin: 20px 0 0 0;
    font-family: 'M12';
    font-size: 2rem;
}
.presentation-projet .name-container img{
    width: 300px;
}
.presentation-projet .name-container p{
    color: #fff;
    margin: 50px;
    font-size: 1.5rem;
    font-family: 'League Spartan';
}
.video-container{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px;
    }
.video-container video{
    border-radius: 10px;
    width: 100%;
    height: 100%;
}
.detail-projet-1::before{
    content: "";
    position: absolute;
    align-self: center;
    top: -40px;
    left: 0;
    width: 100%;
    height: 250px;
    clip-path: polygon(35% 0, 100% 0, 74% 16%, 0 16%);
    clip-path: inset(0% 10% 0% 10%  5px);
    background: linear-gradient(60deg, #FF4500, #FF007F);
}
.detail-projet-4::after{
    content: "";
    position: absolute;
    align-self: center;
    bottom: -250px;
    left: 0;
    width: 100%;
    height: 250px;
    clip-path: polygon(35% 0, 100% 0, 74% 16%, 0 16%);
    clip-path: inset(0% 10% 0% 10%  5px);
    background: linear-gradient(60deg, #FF4500, #FF007F);
}


.detail-projet-1, .detail-projet-2, .detail-projet-3, .detail-projet-4{
    position: relative;
    background: linear-gradient(60deg, #FF3B11, #FF007D);
}
.all-container-projet-1, .all-container-projet-2, .all-container-projet-3, .detail-projet-4{
    position: relative;
    display: grid;
    grid-template-columns: 50% 50%;
    justify-content: center;
    align-items: center;
    padding: 50px 0 50px 0;
}
.description-projet-1, .description-projet-2, .description-projet-3, .detail-projet-4{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
}
.description-projet-1 h2, .description-projet-2 h2, .description-projet-3 h2, .description-projet-4 h2{
    background: rgb(0, 0, 0, 25%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.5rem;
    font-family: 'M12';
    align-self: flex-start;
}
.all-container-projet-3 h2{
    background: rgb(0, 0, 0, 25%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
      font-family: 'M12';
}

.description-projet-1 .text-projet-1, .description-projet-2 .text-projet-2, .description-projet-3 .text-projet-3, .description-projet-4 .text-projet-4{
    font-family: 'League Spartan';
    color: #fff;
    background-color: rgb(0, 0, 0, 15%);
    padding: 45px;
    border-radius: 10px;
}
.all-impression{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.triangle-presentation{
    position: relative;
}
.triangle1 img,
.triangle2 img,
.triangle3 img{
    margin: 100px 0 0 0;
}
.triangle1{
    position: absolute;
    top: -200px;
    left: -100px;
    transform: rotate(-70deg);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #D90A5B;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    width: 350px;
    height: 300px;
}
.triangle2{
    position: absolute;
    top: -200px;
    right: 50px;
    transform: rotate(-10deg);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #D90A5B;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    width: 400px;
    height: 300px;
}
.triangle3{
    z-index: 1;
    position: absolute;
    top: 50px;
    right: 50px;
    transform: rotate(20deg);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #D90A5B;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    width: 400px;
    height: 300px;
}

.triangle-presentation .triangle1 img, .triangle2 img, .triangle3 img{
    width: 150px;
}
.container-affiche{
    display: grid;
    grid-template-columns: 50% 50%;
}
.all-container-projet-3{
    display: flex;
    flex-direction: column;
}

.container-affiche img{
    width: 100%;
}
.container-affiche a{
    width: 40%;
}

.affiche-content-cup{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px 50px 20px;
    background-color: rgb(0, 0, 0, 15%);
    border-radius: 10px;
}

.affiche-content-cup img{
    width: 80%;
}
.affiche-content-cup a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
}
.groupe1-affiche-content,
.groupe2-affiche-content,
.groupe1-affiche-content-4{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20PX;
}
.groupe1-affiche-content-4 img{
    width: 30%;
}
.groupe1-affiche-content-4 p{
    font-size: 1.5em;
    font-family: "M12";
}
footer{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background: linear-gradient(60deg, #FF3B12 ,#FF027D);
    margin: 300px 0 0 0;
}
footer h2{
  background: -webkit-linear-gradient(60deg, #FF3B12, #FF027D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    font-family: 'M12';
    font-size: 2.5rem;
    position: absolute;
    top: -44px;
    left: 0;
}
footer .reseaux{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px 0 0 0;
    gap: 50px;
}
footer .reseaux img{
    width: 100px;
}
footer .reseaux a{
    text-decoration: none;
    transition: 0.3s ease-out;
    border: 2px solid transparent;
}
footer .reseaux a:hover{
    background: linear-gradient(60deg, #00FFFF, #FF017B);
    border-radius: 5px;
    border: 2px solid #00FFFF;
    transition: 0.3s;
}
footer span{
    font-family: Arial, Helvetica, sans-serif;
    margin: 50px 0 0 0;
}

.navbar .menu-burger{
    z-index: 15;
    display: none;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
}
.cta-projet{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #D90A5B;
    padding: 20px;
    border-radius: 5px;
    font-family: "M12";
    color: #fff;
    transition: 0.3s ease-out;
}
.cta-projet:hover{
    transition: 0.3s ease-in;
    background: linear-gradient(60deg, #00FFFF, #FF017B);
    border: 2px solid #00FFFF;
}
.triangle-presentation{
    display: flex;
    justify-content: center;
    align-items: center;
}
.triangle-presentation a{
    display: flex;
    justify-content: center;
    align-items: center;
}
.affiche-triangle{
    position: relative;
    border-radius: 5px;
    width: 40%;
}
.charte-graphique{
    display: flex;
    justify-content: center;
    align-items: center;
}
.charte-graphique a{
   display: flex;
   justify-content: center;
   align-items: center;
}

@media screen and (max-width: 1000px) {
    .all-container-projet-1{
        display: flex;
        flex-direction: column;
        padding: 0 0 100px 0;
    }
    .all-container-projet-2, .all-container-projet-3{
        display: flex;
        flex-direction: column;
    }

    .triangle1{
        position: absolute;
        top: -80px;
        left: -100px;
        width: 250px;
        height: 200px;

    }
    .triangle2{
        top: 100px;
        left: -250px;
        transform: rotate(40deg);
          width: 200px;
        height: 180px;
    }
    .triangle3{
        z-index: 1;
        top: 150px;
        right: -250px;
        transform: rotate(-30deg);
        width: 200px;
        height: 180px;
    }
    
    .triangle-presentation .triangle1 img, .triangle2 img, .triangle3 img{
        width: 150px;
    }

    .triangle-presentation{
        height: 50vh;
    }
    .affiche-content-cup{
        flex-direction: column;
    }
    .affiche-content-cup a{
        width: 80%;
    }
    .container-affiche{
        display: flex;
        flex-direction: column;
    }
    
    .all-container-projet-3{
        padding: 0 0 100px 0; 
    }
    

      .affiche-triangle{
        width: 60%;
    }

    .groupe1-affiche-content,
    .groupe2-affiche-content {
        width: 100%;
    }
    .groupe1-affiche-content a,
    .groupe2-affiche-content a{
        display: flex;
        justify-content: center;

        width: 100%;
    }
    .groupe1-affiche-content img,
    .groupe2-affiche-content img{
        width: 80%;
    }

    .description-projet-4{
        margin: 50px 0 0 0;
    }
    .charte-graphique a{
        width: 60%;
     }
     .groupe2-affiche-content{
        margin: 20px 0 0 0;
    }
    

}
@media screen and (max-width: 900px) {
    
    .container-about{
        display: flex;
        flex-direction: column;
        margin: 400px 0 0 0;
    }
    .slider label img{
        width: 100px;
    }
    .swiper{
        width: 100%;
        margin: 100px 0 0 0;
        }

        
    .card{
        width: 20em;
        height: 70%;
    }
    footer .reseaux img{
        width: 80px;
    }
    .video-container {
        padding: 40px;
      }
      .nav-links{
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #000000ec;
        width: 100%;
        height: 100vh;
        margin-left: -100%;
        transition: all 0.2s ease;
    }
    .nav-links a{
        display: flex;
        flex-direction: column;
        margin: 10px 0 0 0;
    }
    .navbar .menu-burger{
       display: block;
    }
    .nav-links.mobile-menu{
        margin-left: 0;
      }
}

  @media screen and (max-width: 650px) {

    .detail-projet-4{
        padding: 0;
    }
    .affiche-content-cup a{
        width: 100%;
    }
    .affiche-content-cup{
        padding: 10px;
    }
        
    .presentation-projet .name-container h1{
        font-size: 1.5rem;
        text-align: center;
    }
    .presentation-projet .name-container img {
        width: 200px;
      }

      .triangle1{
        top: -100px;
        left: -100px;
        width: 180px;
        height: 200px;
        transform: rotate(-40deg);

    }
    .triangle2{
        top: 100px;
        left: -150px;
        transform: rotate(30deg);
          width: 200px;
        height: 180px;
    }
    .triangle3{
        z-index: 1;
        top: 100px;
        right: -140px;
        transform: rotate(-35deg);
        width: 140px;
        height: 150px;
    }
    .charte-graphique a{
        width: 100%;
     }
     .description-projet-1, .description-projet-2, .description-projet-3, .detail-projet-4{
        padding: 20px;
    }

  }
  @media screen and (max-width: 500px) {
    .projet-web{
        margin: 50px 0 0 0;
    }
    .scroll-bar {
        top: 80%;
      }
    .video-container {
        padding: 20px;
      }
      
    .card-web{
        width: 15em;
        clip-path: polygon( 100% 0%, 100% 100%, 17% 100%, 0.5% 86.36%, 0% 7.73%, 10% 0%);

    }
    .card-illustration{
        width: 20em;
    }
  
    .description-projet-1 h2{
        font-size: 2em;
    }
    .about{
        width: 100%;
        height: 90vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .groupe1-affiche-content{
        flex-direction: column;
        width: 90%;
    }
    .name-container{
        margin: 80px 0 0 0;
        padding: 0 0 50px 0;
    }
   
}
