@media (max-width: 767px) {

body{

           margin:0;
           padding: 0;

            
          font-family: 'Poppins', sans-serif;
    

        }
  
         nav {display: none;}
        .header{

            width:100vw;
            height:100vh;

      
            background: #02052d;





        }
        .header2{

            width:99vw;
            height:70vh;

            display: flex;
            flex-direction: column;
            


        }
       .header2 img{

        width: 40vw;
        height:40vh;

        
       
        

       }
       
         
         .header2 h1{
            color: #ffffff;
            font-size: 14px;
            font-weight: normal;
         }

         .header2 p{
            width: 60vw;
            height: auto;
            color: #ffffff;
            font-size: 12px;
            display: none;
         }
     
         .btn2{
            width: 30vw;
            height:auto;
            font-size: 20px;
            color: #000000;
            font-weight: bold;
            border: 1 solid #ffffff;
            border-radius: 50px;
            background-color: #FEB21A;
            display: block;
            text-align: center;
            padding: 30px;
            text-decoration: none;
            font-weight: normal;
            margin:20px;
          }

        .btn{
            width: 15vw;
            height:auto;
            color: #000000;
            font-size: 12px;
            font-weight: bold;
            border: 1 solid #ffffff;
            border-radius: 50px;
            background-color: #FEB21A;
            display: block;
            text-align: center;
            padding: 30px;
            text-decoration: none;
            font-weight: normal;


        }

       .home{
         width:98vw;
         height: auto;


       }
       .home1{
         width:90vw;
         height: auto;
         padding: 5px;


       }
       .home1 p{
         width:60vw;
         height: auto;
         text-align: center;
        }
        .home1 img{
         width:60vw;
         height:40vh;
         margin:10px;
        }
       .homep{
         width:60vw;
         height: auto;
         text-align: center;
         display:none;

       }

       .listeproduit{

         width:90vw;
         height: auto;
         margin: 10px;
         padding: 5px;
         display:flex;
         flex-direction: row;
         flex-wrap: wrap;
         justify-content: center;


       }
       .produit{

        width:550px;
        height: auto;
        color: #000000;
        font-size: 12px;
        font-weight: bold;
        border: 1 solid #ffffff;
        border-radius: 50px;
        background-color: #d4d4d4;
         margin: 10px;
         padding: 20px;
          
        transition: transform 0.2s ease;

       }
       .produit:hover{

          transform: scale(1.2); 

       }

       .produit h2{font-size: 12px;color: #000000;font-weight: normal;}
       .produit p{font-size: 12px;font-weight: normal;}
       .produit .link{
            width:90%;
            height: 20px;
            color: #ffffff;
            font-size: 10px;
            font-weight: bold;
             
            border-radius: 5px;
            background-color: #02052d;
            text-decoration: none;
            display: inline-block; 
            padding: 10px;
            margin:5px;
           font-weight: normal;
        }
       

       .footer{
        width:100vw;
        height:10vh;
        background: #02052d;
        padding-top: 3vh;

       } 
       .footer p{
        
        text-align: center;
        color: #ffffff;
        font-size: 10px;
        font-weight: normal;

       }  

  .overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.7);
      z-index: 999;
    }
    .popup {
      display: none;
      position: fixed;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      padding: 15px;
      border-radius: 10px;
      z-index: 1000;
      width: 80%;
      max-width: 700px;
    }
   .popup video {
    width: 660px;   
    height: 660px;  
    border-radius: 10px;
    }
    .close {
      position: absolute;
      top: 10px; right: 15px;
      font-size: 20px;
      cursor: pointer;
    }
     #toTop {
      position: fixed;
      bottom: 30px;
      right: 30px;
      display: none;
      padding: 12px 18px;
      background: #007BFF;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      transition: background 0.3s;
    }

    #toTop:hover {
      background: #0056b3;
    }
    nav{
      width:100vw;
      height: 80px;
      background-color: #FEB21A;
      margin:0;
    }
    nav ul{
         list-style-type: none;
         display: flex;
         flex-direction: row;
         justify-content: center;

       }

       nav ul li{
          width: auto;
          height:auto;
          color: #1B3C53;
          text-decoration: none;
           
          padding: 10px;
        
          border-radius: 30px;
           
          text-align: center;
          transition: transform 0.2s ease;

       }

      nav ul li:hover{transform: scale(1.2); }

      nav ul li a{
          width: 150px;
          height: 80px;
          color: #1B3C53;
          text-decoration: none;
          font-weight: bolder;
          font-size: 12px;
       }

       nav ul li a:hover{
           
          height: 80px;
          color: #1B3C53;
          text-decoration: none;
        
       }
}

@media (min-width: 768px) and (max-width: 1280px) {

body{

           margin:0;
           padding: 0;

            
          font-family: 'Poppins', sans-serif;
    

        }
  
         nav {display: none;}
        .header{

            width:100vw;
            height:100vh;

      
            background: #02052d;
     

            background-image: url("../img/bg.jpg");
            background-repeat: no-repeat;
            background-size: 100vw 100vh; /* largeur hauteur */
            background-size: contain;

            background-position: left; /* centre l’image */
         
            border-bottom-left-radius: 200px;
            overflow: hidden;      /* cache l’image qui dépasse */        





        }
        .header2{

            width:99vw;
            height:70vh;

            display: flex;
            flex-direction: column;
            


        }
       .header2 img{

        width: 30vw;
        height:30vh;

        
       
        

       }
       
         
         .header2 h1{
            color: #ffffff;
            font-size: 18px;
            font-weight: normal;
         }

         .header2 p{
            width: 90vw;
            height: auto;
            color: #ffffff;
            font-size: 15px;
           
         }

         .BtnNavHome{
            width: 90vw;
            height: auto;
            display:flex;
            flex-direction: row;
            justify-content: center;


         }
     
      
        .btn2{
            width: 30vw;
            height:auto;
            font-size: 20px;
            color: #000000;
            font-weight: bold;
            border: 1 solid #ffffff;
            border-radius: 50px;
            background-color: #FEB21A;
            display: block;
            text-align: center;
            padding: 30px;
            text-decoration: none;
            font-weight: normal;
            margin:20px;
          }

        .btn{
            width: 15vw;
            height:auto;
            color: #000000;
            font-size: 12px;
            font-weight: bold;
            border: 1 solid #ffffff;
            border-radius: 50px;
            background-color: #FEB21A;
            display: block;
            text-align: center;
            padding: 30px;
            text-decoration: none;
            font-weight: normal;


        }

      
       .home{
         width:100vw;
         height: auto;


       }
       .home1{
         width:90vw;
         height: auto;
         padding: 5px;


       }
       .home1 p{
         width:60vw;
         height: auto;
         text-align: center;
        }
        .home1 img{
         width:60vw;
         height:40vh;
         margin:10px;
        }
       .homep{
         width:60vw;
         height: auto;
         text-align: center;
        

       }

       .listeproduit{

         width:90vw;
         height: auto;
         margin: 10px;
         padding: 5px;
         display:flex;
         flex-direction: row;
         flex-wrap: wrap;
         justify-content: center;


       }
       .produit{

        width:400px;
        height: auto;
        color: #000000;
        font-size: 15px;
        font-weight: bold;
        border: 1 solid #ffffff;
        border-radius: 50px;
        background-color: #d4d4d4;
         margin: 10px;
         padding: 20px;
          
        transition: transform 0.2s ease;

       }
       .produit:hover{

          transform: scale(1.2); 

       }

       .produit h2{font-size: 20px;color: #000000;font-weight: normal;}
       .produit p{font-size: 15px;font-weight: normal;}
       .produit .link{
            width:90%;
            height: auto;
            color: #ffffff;
            font-size: 15px;
            font-weight: bold;
             
            border-radius: 5px;
            background-color: #02052d;
            text-decoration: none;
            display: inline-block; 
            padding: 10px;
            margin:5px;
           font-weight: normal;
        }
       

       .footer{
        width:100vw;
        height:10vh;
        background: #02052d;
        padding-top: 3vh;

       } 
       .footer p{
        
        text-align: center;
        color: #ffffff;
        font-size: 15px;
        font-weight: normal;

       }  

  .overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.7);
      z-index: 999;
    }
    .popup {
      display: none;
      position: fixed;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      padding: 15px;
      border-radius: 10px;
      z-index: 1000;
      width: 80%;
      max-width: 700px;
    }
   .popup video {
    width: 660px;   
    height: 660px;  
    border-radius: 10px;
    }
    .close {
      position: absolute;
      top: 10px; right: 15px;
      font-size: 20px;
      cursor: pointer;
    }
     #toTop {
      position: fixed;
      bottom: 30px;
      right: 30px;
      display: none;
      padding: 12px 18px;
      background: #007BFF;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      transition: background 0.3s;
    }

    #toTop:hover {
      background: #0056b3;
    }
nav{
      width:100vw;
      height: 80px;
      background-color: #FEB21A;
      margin:0;
    }
    nav ul{
         list-style-type: none;
         display: flex;
         flex-direction: row;
         justify-content: center;

       }

       nav ul li{
          width: auto;
          height:auto;
          color: #1B3C53;
          text-decoration: none;
           
          padding: 10px;
        
          border-radius: 30px;
          font-size: 15px;
           
          text-align: center;
          transition: transform 0.2s ease;

       }

      nav ul li:hover{transform: scale(1.2); }

      nav ul li a{
          width: 150px;
          height: 80px;
          color: #1B3C53;
          text-decoration: none;
          font-weight: bolder;
       }

       nav ul li a:hover{
           
          height: 80px;
          color: #1B3C53;
          text-decoration: none;
        
       }
}

@media (min-width: 993px) and (max-width: 1440px) {


  body{

           margin:0;
           padding: 0;

            
          font-family: 'Montserrat', sans-serif;
    

        }
  
         nav {display: none;}
        .header{

            width:100vw;
            height:100vh;

      
            background: #02052d;

    
            background-image: url("../img/bg.jpg");
            background-repeat: no-repeat;
            background-size: 100vw 100vh; /* largeur hauteur */
            background-size: contain;

            background-position: left; /* centre l’image */
         
            border-bottom-left-radius: 200px;
            overflow: hidden;      /* cache l’image qui dépasse */        




        }
        .header2{

            width:99vw;
            height:70vh;

            display: flex;
            flex-direction: column;
            


        }
       .header2 img{

        width:30vw;
        height:30vh;
        border-radius: 30px;

        
       
        

       }
   
         
         .header2 h1{
            color: #ffffff;
            font-size: 20px;
            font-weight: normal;
         }

         .header2 p{
            width: 60vw;
            height: auto;
            color: #ffffff;
            font-size: 16px;
         }
         
        
      
        .btn{
            width: 15vw;
            height: auto;
            color: #000000;
            font-size: 20px;
            font-weight: bold;
            border: 1 solid #ffffff;
            border-radius: 50px;
            background-color: #FEB21A;
            display: block;
            text-align: center;
            padding: 30px;
            text-decoration: none;
            font-weight: normal;
            margin:20px;


        }
        .btn2{
            width: 30vw;
            height: auto;
            font-size: 22px;
            color: #000000;
            font-weight: bold;
            border: 1 solid #ffffff;
            border-radius: 50px;
            background-color: #FEB21A;
            display: block;
            text-align: center;
            padding: 30px;
            text-decoration: none;
            font-weight: normal;
            margin:20px;
          }
          

          
        .HomeBtn{
         width:98vw;
         height: auto;
         display: flex;
         flex-direction: row;  
         justify-content: center;

        }
      
       .home{
         width:100vw;
         height: auto;


       }
       .home1{
         width:90vw;
         height: 100vh;
         padding: 20px;
        opacity: 0;
          transform: translateY(50px);
          transition: all 0.6s ease;

       }
       .home1 p{
         width:60vw;
         height: auto;
         text-align: center;
        }
        .home1 img{
         width:30vw;
         height: 30vh;
         margin:10px;
        }
       .homep{
         width:60vw;
         height: auto;
         text-align: center;

       }
       

       .listeproduit{

         width:98vw;
         height: auto;
         margin: 10px;
         padding: 10px;
         display:flex;
         flex-direction: row;
         flex-wrap: wrap;
         justify-content: center;


       }
       .produit{

        width:40%;
        height: auto;
        color: #0c0c0c;
        font-size: 14px;
        font-weight: bold;
        border: 1 solid #ffffff;
        border-radius: 50px;
        background-color: #d4d4d4;
         margin: 30px;
         padding: 10px;
          
        transition: transform 0.2s ease;

       }
       .produit:hover{

          transform: scale(1.1); 

       }

       .produit h2{font-size: 20px;color: #000000;font-weight: normal;}
       
       .produit .link{
            width:95%;
            height: 30px;
            color: #ffffff;
            font-size: 18px;
            font-weight: bold;
             
            border-radius: 5px;
            background-color: #02052d;
            text-decoration: none;
            display: inline-block; 
            padding: 10px;
            margin:5px;
           font-weight: normal;
        }
       

       .footer{
        width:100vw;
        height:10vh;
        background: #02052d;
        padding-top: 3vh;

       } 
       .footer p{
        
        text-align: center;
        color: #ffffff;
        font-size: 18px;
        font-weight: normal;

       }  
   
  .overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.7);
      z-index: 999;
    }
    .popup {
      display: none;
      position: fixed;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      padding: 15px;
      border-radius: 10px;
      z-index: 1000;
      width: 80%;
      max-width: 700px;
    }
   .popup video {
    width: 660px;   
    height: 660px;  
    border-radius: 10px;
    }
    .close {
      position: absolute;
      top: 10px; right: 15px;
      font-size: 20px;
      cursor: pointer;
    }
     #toTop {
      position: fixed;
      bottom: 30px;
      right: 30px;
      display: none;
      padding: 12px 18px;
      background: #007BFF;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      transition: background 0.3s;
    }

    #toTop:hover {
      background: #0056b3;
    }

 .home1.show {
      opacity: 1;
      transform: translateY(0);
    }


    nav{
      width:100vw;
      height: 80px;
      background-color: #FEB21A;
      margin:0;
    }
    nav ul{
         list-style-type: none;
         display: flex;
         flex-direction: row;
         justify-content: center;

       }

       nav ul li{
          width: 150px;
          height:30px;
          color: #1B3C53;
          text-decoration: none;
           
          padding: 10px;
        
          border-radius: 30px;
           
          text-align: center;
          transition: transform 0.2s ease;

       }

      nav ul li:hover{transform: scale(1.2); }

      nav ul li a{
          width: 150px;
          height: 80px;
          color: #1B3C53;
          text-decoration: none;
          font-weight: bolder;
       }

       nav ul li a:hover{
           
          height: 80px;
          color: #1B3C53;
          text-decoration: none;
        
       }
 }