@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
*{
    margin: 0;
    padding: 0;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;  ;
}

/*===== GOOGLE FONTS =====*/
/*===== VARIABLES CSS =====*/
:root{
    --container-width: 90%;
    --container-bg-height: 80vh;
    --container-height: 70vh;

    /*========== Colors ==========*/
    --first-color: yellow;
    --first-color-alt: #2ECC71;
    --title-color: #393939;
    --text-color: #dde;
    --text-color-light: #ddd;
    --href-color: #fff;
    --body-color: #FBFEFD;
    --container-color: #FFFFFF;
    --first-color-span: yellow; 
   
    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 4rem;
    --font-titel: 8rem;
    --h2-font-size: 2.5rem;
    --h3-font-size: 1.5;
    --p-font-size: 1.5rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;


  
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
  
    /*========== Margenes And padding  ==========*/
    --mb-1: 20px;
    --mb-2: 10px;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;
    --mb-6: 3rem;

    --container-mr: 5%;

    --pad-1: 2rem;

    --border-radius: 10px;


    /*========== Colmun gap and row-gap  ==========*/
    --cg-1: 4rem;
    --cg-2: 1rem;
    --cg-3: 0.5rem;
    --cg-4: 2rem;
    --cg-5: 2.5rem;
    --cg-6: 3rem;
    
  
    /*========== z index and transition ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-fixed-fixed: 1000;
    --o-transition: 0.5s;
  }

/*=====================SECTION WELCOM PAGE SHOP==============*/

header{
    position: fixed;
}
#section-page-shop{
    background-image: url('./images/sven-mieke-MsCgmHuirDo-unsplash.jpg');
}



.header{
    top: 0;
    margin-bottom: 30px;
}

#header-shop{
    background-color: white;
    padding: 10px 0;
    margin-bottom: 0;
}

.logo__page__shop{
    margin-left: 5%;
}
.logo__page__shop h1{
    color: var(--title-color);}

.logo__page__shop h1 span{
        color: var(--first-color);}

#header-shop nav li a{
    color: var(--title-color);
}

#container-1-shop{
    padding: 50px 0px 50px 0;
}


.welcom__shop h1{
    letter-spacing: 2px;
    
}
.welcom__shop h1 span{
     color: var(--first-color);
}

.searsh__shop{
    height: 100vh;
    top: -100vh;
}

#title-product{
    font-size: 4rem;
}

#section-Welcom-shop{
     background-color: var(--title-color);
}

.ver__images__shop{
    padding: 50px 0px 50px 0px;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(25rem,1fr));
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    column-gap: 7rem;
    overflow: hidden;
    position: relative;
}

#title-products{
    margin-bottom: 0;
}

.ver__shop h1{
    font-size: 10rem;
}

/*=====================SECTION WELCOM PAGE SHOP /==============*/

.products{
    margin-bottom: 100px;
}

/*================Section For You==============*/

#container-for-you{
    padding: 50px 0px 0px 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    justify-content: center;
    

}



.image__for__you{
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 250px;
    position: relative;
    border-radius:var(--border-radius);
    overflow: hidden;
    margin: 1rem;
    
}

.image__for__you img{
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius:var(--border-radius);
    transition: var(--o-transition);
    
}

.image__for__you::before{
    z-index: 1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, black, transparent);;
}

.image__for__you:hover.image__for__you img{
     transform: scale(1.2);
}

.image__for__you div{
    position: absolute;
    z-index: 2;
    top: 0;
    padding: 50px 0px 50px 20px;
}

.image__for__you div h3{
    color: var(--body-color);
    
}

.image__for__you div h3 span{
    color: var(--first-color);
    
}

.image__for__you div p{
    margin-bottom: 10px;
}

.btn__shop{
    width: 120px;
}

.btn__shop::before{
    content: 'Shop Now';
    
}






.menu__shop{
    width: 100%;
    display: flex;
    justify-content: center;
    
}

.menu__shop ul{
    gap: 30px;
}

.menu__shop ul li{
    padding: 10px ;
    border-radius: 5px;
    background-color: var(--first-color);
    
}
.menu__shop ul li a{
    color: var(--title-color);
}

.name__product{
    margin-bottom: 50px;
}

.name__product h1{
    padding: 10px;
    color: var(--title-color);
    border-bottom: 2px solid var(--first-color);
}

.container__page__shop{
    width: 90%;
    padding: 50px 0px 50px 0;
    margin:  0 auto;
}

.products__menu__slider {
    margin-top: var(--mb-1);
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    

}


.images__products{
    width: 100%;
    background-color: black;
    padding: 50px 0 50px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.box-container{
    width: 70%;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    
}

.box{
    width: 28%;
    padding: 20px 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: var(--border-radius);
    background-color: white;
}

.box .icons{
    display: grid;
    gap: 1rem;
    z-index: 2;
    position: absolute;
    top: 5%;
    left: -20%;
    transition: var(--o-transition);


}

.box:hover.box .icons{
    left: 5%;
    
}

.box img{
    width: 200px;
    height: 200px;
    transition: var(--o-transition);
    margin: 20px 0;
    z-index: 1;
}

.box:hover.box img{
    transform: scale(1.2);
}

.box .icons a{
    padding: 5px;
    border-radius: 5px;
    border: 1px solid var(--title-color);
    color: var(--first-color);
    transition: var(--o-transition);

}

.box .icons a:hover{
    color: var(--body-color);
    background-color: var(--title-color);
    

}


.content {
    
    width: 100%;
    text-align: center;
}
.content h3{
    color: var(--title-color);
    margin-bottom: 5px;
}

.content a{
    width: 120px;
    margin:0 auto;
    margin-top: 20px;
    color: var(--title-color);
    border-radius: 5px;
    border: 1px solid ;
}

.content a::before{
    content: 'add to carte';
    color: white;
    background-color: var(--title-color);
}

.content .prise{
    margin-bottom: 10px;
    
}

.content .price{
    color: var(--first-color);
    
}

.content .price span{
    color: var(--title-color);
}

.content .stars i{
    color: var(--first-color);
}

.section__protien{
    background-color:yellow;
}

#container__products{
    padding-bottom: 20px;
}

/*=================================Section menu slider=====================*/
.menu__slider{
    width: 30%;
}
.menu__lordre__products{
    margin-bottom: var(--mb-1);
    flex-direction: column;
}
.menu__lordre__products li{
    transition: var(--o-transition);
}

.h1__products
{
    padding: 10px 20px;
    background-color: var(--first-color);
    color:var(--title-color);
    
    
}

.tag__product{
    font-size: 7rem;
}



.menu__lordre__products li h2{
    padding: 10px 20px;
    color: white;
    font-size: 1.3rem;
    background-color: var(--title-color);
}

.menu__lordre__products li h2{
    border-bottom: 1px solid rgb(155, 155, 155);
    padding: 10px 20px;
    font-size: 1.5rem;

}

.inputfield__menu__slider{
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    position: relative;
    
  }

.inputfield__menu__slider span{ 
    width: 130px;
    color: var(--title-color);
    font-size: 1rem;
    padding: 20px 10px;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    pointer-events: none;
 }

 .inputfield__menu__slider input
{
   border: none;;
   width: 100%;
   background-color: #ddd;
   color: var(--title-color);
   outline: none;
   font-size: 1rem;
   padding: 20px 10px;
   transition: all 0.3s ease;
   
   resize: none;
 }

.inputfield__menu__slider input:focus~ span,
.inputfield__menu__slider input:valid~ span{
   transform: translateY(-20px);
   font-size: 0.9rem;
 }

 .inputfield__menu__slider .href__icon{
     position: absolute;
     right: 0;
     overflow: hidden;
     top: 50%;
     
     
 }

 .inputfield__menu__slider .href__icon i{
     color: var(--first-color);}
 .inputfield__menu__slider .href__icon {
        position: absolute;
        right: 5%;
        overflow: hidden;
        top: 50%;
        transform: translateY(-50%);
 }

 .inputfield__menu__slider .href__icon .bx__yellow{
     color: var(--title-color);
 }

 .new__products{
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    flex-direction: column;
    
    
}


 .new__product{
     width: 48%;
     height: 200px;
     margin: 10px 0;
     overflow: hidden;
     position: relative;
 }

 .menu__new__products{
     display: flex;
     flex-wrap: wrap;
     width: 100%;
     gap: 2%;

 }

 .new__product img{
       width: 100%;
       height: 80%;
       transition: var(--o-transition);
 }

 .new__product img:hover{
    transform: scale(1.1);
}

 .new__product h4{
     position: absolute;
     bottom: 0;
     height: 20%;
     width: 100%;
     background-color: var(--title-color);
     display: grid;
     place-items: center;
     font-size: 1.5rem;
     color: var(--first-color);
 }

 .menu__discounts__products{
     display: flex;
     flex-wrap: wrap;
     gap: 2%;
     justify-content: center;
 }

 .product__discounts h4{
     background-color: var(--first-color-alt);
 }


 .href__view__all{
    position: absolute;
    bottom: -20%;
    height: 20%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 1.5rem;
    color: var(--first-color);
    transition: var(--o-transition);
    background: var(--first-color);
    
    
}
.ad__picture{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.ad__picture img{
    margin-bottom: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    height: 450px;
    width: 100%;
    
}

.new__product:hover .href__view__all{
    bottom: 0;
}




.href__view__all button a{
    color: var(--title-color);
}

.href__view__all button a span{
    color: rgb(155, 155, 155);
    font-size: 1rem;
}

.href__view__all button::before{
    display: none;
}

.product__discounts button a{
    font-size: 1.5rem;
}

.gris-slider-wrap .grid-slide {
    background-color: transparent !important;
}

.list__numbers{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px;
}

.list__numbers .numbers{
    display: flex;
    gap: 1rem;
    align-items: center;
    
}

.list__numbers .numbers button {
    width: 30px;
    height: 30px;

    border-radius: 50%;
    font-size: 1rem;
    background-color: #ddd;
    color: var(--title-color);
    cursor: pointer;
}

.list__numbers .numbers button:nth-child(2){
    border: 1px solid var(--title-color);
}

.list__numbers .numbers span {
    color: var(--title-color);
    font-size: 1rem;
}



/*================slider======================*/



/*================media paege shop======================*/
@media (max-width: 1200px){
    .ver__images__shop{
        margin-top: 100px;
    }
}

@media (max-width: 1150px){
    
    .container__page__shop {
        
        width: 95%;
    }
.box img {
    width: 150px;
    height: 150px;
}
.box img {
    width: 150px;
    height: 150px;
}
.h1__products {
    font-size: 2rem;
   
}
.new__product h4 {
    font-size: 1.3rem;
}
}


    

@media (max-width: 1030px){
    .ver__images__shop {
        column-gap: 1rem;
        margin-top: 100px;
    }

    .ver__shop h1 {
        font-size: 7rem;
    }

    .shop__home .shop {
        width: 180px;
        height: 199px;
    }
    

    .shop__home {
       width: 400px;

    }
    #container-1-shop {
        margin-left: 2.5%;
        margin-right: 2.5%;
        
        width: 95%

}
}
@media (max-width: 960px){
    
    .box-container{
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .menu__slider {
        width: 100%;
        margin-top: var(--mb-1);
    }
    .new__product {
        width: 23.5%;
        
    }
    }
    @media (max-width: 630px){
    
    .box {
        width: 45%;
        margin-bottom: 10px;
    }
    .box-container{
        gap: 0;
    }
    .menu__lordre__products li:hover{
        transform: scale(1.04);
    }

    }
    @media (max-width: 550px){
    
        .box {
           width: 100%;
        }
        .new__product h4 {
            font-size: 1.1rem;
        }
        .new__product {
            width: 48%;
        }
        
    
        }
        @media (max-width: 300px){
    
            
            
            .new__product {
                width: 100%;
            }
            
        
            }

@media (max-width: 870px){
    .sociel{
    width: 100%;
    border-top: 0.1rem solid rgba(255,255,255,0.3);
    bottom: 0;
    height: 50px;

   }
   .sociel ul {
    display: flex;
    gap: 1rem;
    
   }
   .shop__home {
    
    width: 100%;
   }
   .shop__home .shop{
       margin-right: 5px;
   }
   }
@media (max-width: 760px){
    .ver__shop h1 {
        margin-bottom: 0;
    }
    .ver__shop p {
        margin-bottom: 0;
    }
    .shop__home {
        width: 400px;
        margin: 0 auto;
    }
    
   }
   @media (max-width: 450px){
    .ver__shop h1 {
        font-size: 5rem;
    }
    .ver__shop p {
        font-size: 1.3rem;
    }
    .ver__images__shop{
        display: flex;
    }
   
    .shop__home {
        
        flex-direction: column;
    }
    .shop__home .shop {
        width: 70%;
        height: 300px;
        margin: 10px 0;
    }
    .shop__home {
        
        flex-direction: column;
        width: 100%;
        display: flex;
        align-items: center;
    }
    .ver__shop {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }
    .ver__shop p {
        font-size: 1rem;
        text-align: center;
        width: 280px;
        
    }
   }

   @media (max-width: 400px){
  

    #container-for-you{
        width: 100%;
        margin-left: 0%;
        margin-right: 0%;
    }
   }

   @media (max-width: 350px){
  

  

    .shop__home .shop {
        height: 230px;
    }

    .ver__shop p span {
        font-size: 2rem;
        color: var(--first-color);
        flex-wrap: wrap;
    }
   }






