@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: .5rem;
    --mb-2: 1rem;
    --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 1========================*/
  header{
      padding: 10px 0;
      background-color: var(--title-color);
  }

  #section-1{
      background-color: var(--title-color);
      transform: translateY(61px);

  }
  #container-1{
      padding: 50px 0px;
  }

  .menu__stages{
      width: 100%;
      justify-content: center;
      gap: 1rem;
      margin-bottom: 20px;
  }

  .menu__stages li{
      text-transform: uppercase;
      color: rgb(150, 150, 150);
  }


  .basket{
      width: 100%;
      display: flex;
      justify-content: space-around;
  }



  .div__basket{
      width: 60%;
      background-color: rgb(150, 150, 150);
      padding: 20px;
      height: max-content;
  }

  .div__basket .href__icon i:nth-child(1){
      color: var(--title-color);
  }

  .article h2{
      margin-bottom: 10px;
      color: var(--title-color);
  }

  .resume{
      width: 25%;
      padding: 20px;
  }

  .menu__info__product:nth-child(1){
      border-bottom: 1px solid var(--title-color);
  }
  .menu__info__product:nth-child(1) li{
      font-weight: bold;
}
  .menu__info__product{
      width: 100%;
      display: flex;
      justify-content: space-between;
      padding: 10px 0;
      align-items: center;
     }

  .menu__info__product ul{
      width: 50%;
      left: 0;
      justify-content: space-between;
      display: flex;
      align-items: center;
  }

  .menu__info__product li{
      color: var(--title-color);
  }

  .menu__info__product li img{
      width: 100px;
      height: 100px;
      border-radius: 50%;
      border: 1px solid var(--title-color);
  }

  .menu__info__product .Price{
      font-weight: bold;
      border-bottom: 1px solid var(--title-color);
      display: flex;
      align-items: center;
      height: max-content;
      flex: none;
  }

  #item-img-product p{
      color: var(--title-color);
      font-weight: bold;
      font-size: 1rem;
  }

  #item-img-product{
      display: flex;
      gap: 1rem;
      align-items: center;

  }

  .spend{
      padding: 10px;
      background-color: rgb(109, 231, 109);
      display: inline-block;
      color: rgb(150, 150, 150);
  }

   .spend i{
      color: rgb(150, 150, 150);
  }

  #item-img-product p i{
       font-size: 10px;
       color: var(--title-color);
       height: 10px;
  }

  .product__number{
      display: flex;
      align-items: center;
      background-color: white;
  }

  .product__number h3{
      padding: 0 15px;
      color:var(--title-color) ;

  }

  .product__number i{
      align-items: center;
      display: flex;
      color:var(--title-color);
      background-color:#ddd;
      padding: 0 5px;
  }

  .product__number i:hover{
      background-color: rgb(202, 202, 202);
  }

  
   /*==========================div Basket========================*/
   /*==========================resume========================*/

   .resume{
       padding: 20px; 
       background-color: rgb(150, 150, 150);
       display: inline-block;
   }

   .resume h3{
       color: var(--title-color);
       border-bottom: 1px solid var(--title-color);
   }

   .resume ul{
       display: flex;
       width: 100%;
       justify-content: space-between;
       padding: 10px 0px;
       align-items: center;
       margin-top: 10px;
   }

   .resume ul li{
       color: var(--title-color);
   }

   .resume p{
       width: 100%;
       text-align: center;
       padding: 20px;
       color: var(--title-color);
   }

   #button-payer{
       width: 100%;
       background-color: var(--title-color);
       border-color:var(--title-color) ;
       border: none;
       padding: 10px 0;
       margin-top: 20px;
       font-size: 20px;
   }

   #button-payer::before{
       content: 'to pay';   
       color: var(--title-color);
   } 


   .total__products, .final__price{
       padding: 10px;
       border-top: 1px solid var(--title-color);
   }

   .total__products li{
       font-weight: bold; 

   }

   .total__products li h3, .final__price li h3{
       border: none;
       padding: 0;
   }

   .we__accept{
       padding: 10px 0;
   }

   .we__accept h3{
       border: none;
       margin-bottom: 10px;

   }

   .images__carts{
       width: 100%;
       display: flex;
       flex-wrap: wrap;
       gap: 0.5rem;
   }

   .images__carts img{
       width: 60px;
       height: 30px;
       border-radius: 5px;
   }


   /*==========================resume========================*/


  /*==========================Section Basket ========================*/
  /*==========================Flickity======================*/

  #section-flickity{
      margin: 50px 0;
      background-color: var(--title-color);
    
  }

  #section-flickity h1{
      margin-left: 1%;
      padding: 20px 0;
      color: var(--first-color);

  }
  #container-flickity{
      padding:0 0 50px 0;
      width: 98%;
      margin-left: 1%;
      margin-right: 1%;
  }
  .grid-slider-wrap{
       gap: 1rem;
  }
  .grid-slide{
      margin: 0 10px;
      width: 300px;
      height: 300px;
      position: relative;
  }

  .grid-slide img{
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
  }

  .information__product{
      position: absolute;
      bottom: 0;
      padding: 10px;
      background-color: var(--first-color);
      
  }

  .information__product h5{
      color: var(--title-color);
      font-size: 1.5rem;
  }
  .information__product p{
      color: rgb(150, 150, 150);
  }
  

  /*==========================Flickity======================*/
  /*============================Media========================*/

  @media (max-width: 1150px){
    #container-1 {
        width: 95%;
        margin: 0 auto;
    }
    .basket {
        
        gap: 1rem;
    }
  }

  @media (max-width: 920px){
    #container-1 {
        width: 98%;
        margin: 0 auto;
    }
    .basket {
        
        gap: 1rem;
    }
    h3{
        font-size: 17px;
    }

    .div__basket {
        width: 70%;
        
    }
    .menu__info__product li img {
        width: 80px;
        height: 80px;}
  }

  @media (max-width: 820px){
    #container-1 {
        width: 90%;
        margin: 0 auto;
    }
    .basket {
        flex-direction: column;
        gap: 1rem;
    }
    h3{
        font-size: 20px;
    }

    .div__basket {
        width: 95%;
        margin-left: -10px;
        
    }
    .menu__info__product li img {
        width: 100px;
        height: 100px;}
    .resume {
        margin-left: -10px;

            width: 95%;
    }
    .product__number h3 {
        padding: 0 10px;
        color: var(--title-color);
    }
    .product__number i{
        padding: 0;
    }
  }

  @media (max-width: 580px){
    
    .menu__info__product li img {
        width: 80px;
        height: 80px;
    }
    #item-img-product {
        flex-direction: column;
        position: relative;
        padding-right: 5px;
    }
    #item-img-product .href__icon{
        position: absolute;
        top: -10px;
        right: -10px;
    }
    .menu__info__product ul{
        width: 60%;
    }
    
    
  }

  @media (max-width: 450px){
    .menu__info__product ul {
        width: 70%;
    }
    .menu__stages {
        
        gap: 5px;
    }
    .menu__stages li {
        font-size: 15px;
    }
    #item-img-product p{
        text-align: center;
    }}

    @media (max-width: 400px){
        .div__basket {
            width: 98%;
            padding: 1%;
        }
        #container-1 {
            width: 100%;
       }
       .div__basket, .resume {
        width: 96%;
        padding: 2%;
        margin-left: 0;
       }
    }

    @media (max-width: 370px){
        .product__number {
            flex-direction: column;
       }
       .menu__stages li {
        font-size: 13px;
    }
    .menu__stages {
        gap: 0;
    }
    .menu__info__product li img {
        width: 70px;
        height: 70px;
    }
}
  
  /*============================Media========================*/




  /*==========================Section Chekout================*/
  .section__checkout{
    top: 0;
    transform: translateY(-100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: absolute;
    /*background-color: #ddd;
    mix-blend-mode: color;*/
    opacity: 0;
    transition: var(--o-transition);
}

.active__checkout{
    transform: translateY(60px);
    opacity: 1;

}

.container__checkout{
    /*position: absolute;*/
    position: relative;
    width: 80%;
    padding: 20px 0px;
    background: white;
}

.container__checkout .href__icon{
    position: absolute;
    top: 1%;
    right: 1%;
}

.container__checkout .href__icon i:nth-child(1){
    color: var(--title-color);
}

.register{
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
}



.register .Returning__custome {
    width: 40%;
    border-right: 1px solid var(--title-color);
    padding: 0 20px;
    
}

.new__customer{
    width: 60%;
    padding: 0 20px;
}


.register div h3{
    width: 100%;
    text-align: center;
    padding: 20px 0;
    color: var(--title-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
form{
    margin-bottom: 30px;
    width: 100%;
    position: relative;
    
   

}

.log__in{
    width: 100%;
    text-align: center;
}


.register .inputfield{
    width: 60%;
    margin: 0 auto;
    margin-bottom: 15px;
    position: relative;
    
  }

  .register .inputfield span{ 
    color: var(--title-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    padding: 10px;
    pointer-events: none;
 }

 .register .inputfield input,
 .register .inputfield textarea{
  width: 100%;
   outline: none;
   font-size: 1rem;
   padding: 10px 0px;
   transition: all 0.3s ease;
   border: 1px solid var(--title-color);
   background-color: transparent;
   resize: none;
   color: var(--title-color);
 }

 
.register .inputfield input:focus~ span,
.register .inputfield input:valid~ span{
transform: translateY(-15px);
font-size: 0.9rem;
padding: 0;
background-color: white;
}

.register .inputfield textarea:focus~ span,
.register .inputfield textarea:valid~ span{
transform: translateY(-25px);
font-size:0.9rem ;
}
.register .inputfield textarea{
width: 100%;
height: 125px;
resize: none;
margin-top: 5px;
border-bottom: 1px solid var(--title-color);
border-color:  transparent transparent var(--title-color) transparent;
}

.log__in button{
  background-color: var(--title-color);
  color: white;
  width: 60%;
  padding: 10px 0;
  text-align: center;
  font-size: 1rem;
  transition: var(--o-transition);
  border: 1px solid var(--title-color);
}


    
  .log__in p{
    width: 100%;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    color: var(--title-color);
    font-size: 15px;
   opacity: 0.5;
   font-weight: 100;
  }

  .log__in p:hover{
      opacity: 1;

  }
.log__in button:hover{
    background:white;
    color: var(--title-color);
}

.btn__connect button{
    display: flex;
    align-items: center;
    margin: 0 auto;
    justify-content: center;
    margin-bottom: 10px ;
    padding: 10px 20px;
    background-color: var(--title-color);
    color: white;
    width: 60%;
    padding: 10px 0;
    font-size: 1rem;
    transition: var(--o-transition);
    border: 1px solid var(--title-color);
  }
 
.btn__connect button:hover{
    background: white;
    color: var(--title-color);
}

.log__in button:hover button .fa{
    color: var(--title-color);
}

.btn__connect{
    width: 100%;
    text-align: center;

}




.fa{
    width: 50px;
}

.btn__connect p{
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.connect{
    width: 100%;
}
.connect h1{
    width: 65%;
    margin-left: 10px ;
    margin: 0 auto;
    height: 1px;
    background-color: var(--title-color);
}

.discount{
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.discount p:nth-child(1){
    color: red;
    font-size: 15px;
}

.discount p:nth-child(2){
    color: var(--title-color);
    font-size: 12px;
}
.new__customer form{
    display: flex;
    flex-wrap: wrap;
}
.new__customer .inputfield{
    width: 45%;
    margin-bottom: 15px;
    position: relative;
}








/*=====================Container 1================*/
/*=====================Section 1================*/

/*=====================Media=====================*/
@media (max-width: 1150px){
    .container__checkout {
        width: 90%;
    }
   .inputfield {
       width: 70%;
    }

    .log__in button{
        width: 70%;
    }
    .btn__connect button {
        width: 70%;
        margin: 10px auto;
    }
  }

@media (max-width: 950px){
    .container__checkout{
        width: 95%;
    }

}

@media (max-width: 780px){
    .inputfield {
        width: 90%;
    }
    .log__in button{
        width: 90%;
    }
    .btn__connect button {
        width: 90%;
    }
}

@media (max-width: 650px){
    .inputfield span {
        font-size: 0.8rem;
    }

    .inputfield input{
        font-size: 0.8rem;
    }
    .btn__connect p {
        font-size: 0.8rem;
    }
}
@media (max-width:600px){
        
    .register .Returning__custome {
        padding: 0 10px;
        width: 50%;
   }
   .new__customer {
    width: 50%;
    padding: 0 20px;
   }
   .new__customer .inputfield {
    width: 100%;
    
   }
   .register .Returning__custome {
    width: 50%;
    
   }
}
   @media (max-width: 520px){
    .register .Returning__custome {
        width: 100%;
        border: none;
        padding: 0;
    }
    .new__customer {
        width: 100%;
        padding: 0 20px;
    }
    .register {
        flex-wrap: wrap;
    }
    .container__checkout{
        height: 500px;
        overflow: overlay;
    }
    .new__customer .inputfield {
        width: 90%;
    }

    .new__customer {
        padding: 0;
    }
    .container__checkout .href__icon {
        right: 5%;
    }
   
    


   }
   




/*=====================Media=====================*/