*{
  box-sizing: border-box;
  font-family:calibri;
  font-size:20px;
 }

html{
          width: 100%;
          min-height: 100%;
          background: linear-gradient(rgba(0,191,255), #FFDAB9, #00FA9A, #00BFFF, #80dfff);
         }
html,body{
          margin: 0;
          padding: 0;
          min-height: 100vh;
          height: auto;
         }
body{
          width: 100%;
          overflow-x: hidden;
          background: linear-gradient(rgba(0,191,255), #FFDAB9, #00FA9A, #00BFFF, #80dfff);
         }

.container-products, .paywrap{
  box-sizing: border-box;
}

p{
  margin-top: 30px;
  font-size: 50px;
  font-family: "ar delaney";
  background-color:rgba(255,215,0);
  width: 680px;
  max-width: 90%;
  border: 13px double #F08080;
  }

.container{
	   width: 70%;
	   padding: 20px;
	   margin: 100px auto;
	   display: grid;
	   justify-content: space-around;
           grid-template-columns: 330px 330px 330px;
           grid-template-rows: 430px 430px 430px;
	  }
.container-products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    padding-bottom: 100px;
}

.box{
      width: 300px;
      height: 400px;
      padding: 2rem 1rem;
      background: #fff;
      position: relative;
      display: table;
      align-items: center;
      box-shadow: 0px 7px 10px rgba(0,0,0,0.5);
      transition: 0.5s ease-in-out;
    }
	
.box:hover{
	   transform: scale(1.1);
	   background: #ff800a;
	   z-index: 1;
	   box-shadow: 2px 2px 2px #000;
           transition: 1.0s ease-in-out;
          }

.box:before{
            content: "";
             position: absolute;
             top: 0;
             left: 0;
             display: block;
             width: 100%;
             height: 100%;
             background: linear-gradient(rgba(255,0,0,0.5), rgba(0,255,255,0.5));
             z-index: 2;
             transition: 0.5s all;
             opacity:0;
            }

.box:hover:before{
                  opacity:1
                 }

.box img{
          width: 100%;
          height: 100%;
          object-fit: cover;
          position: absolute;
          top: 0;
          left: 0;
         }

.box .info{
           position: absolute;
           top: 10px;
           right:10px;
           width: 270px;
           z-index: 3;
           color: #fff; 
           opacity:0;
           transform: translateY(15px);
           transition: 0.5s all;
           }

.box:hover .info{
                  opacity: 1;
                  tranform: translateY(0px);
                 }

.box .info h1{
               font-size: 45px;  
               margin: 0;
              }

.box .info .btn{ 
                 position: absolute;
                 top: 330px;
                 right: 1;
                 width: 75px;
                 text-decoration: none;
                 padding: 0.3rem 0.5rem;
                 background:#E0FFFF;
                 color: #000000;
                 font-size: 20px;
                 font-weight: bold;
                 cursor: pointer;
                 transition: 0.4s ease-in-out;
                 border: 1px solid transparent;
                 font-family:Aharoni;
                }

.box .info .btn:hover{
                       box-shadow: 0px 7px 10px rgba(0,0,0,0.5);
                      }

/*--------cartpage---------*/

.container-products {
    max-width: 900px;
    width: 92%;
    justify-content: space-around;
    margin: 30px auto 0;
    background: rgba(255,255,255,0.8);
    border: 4px solid #8A2BE2;
    padding: 24px 28px 12px;
}

.container-products ion-icon {
    font-size: 25px;
    color: blue;
    margin-left: 10px;
    margin-right: 10px;
    cursor: pointer;
}

.product-header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 4px solid #8A2BE2;
    margin: 0 auto;
}

.product-header h5{
    margin: 8px 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    width: 45%;
}

.price {
    width: 15%;
    border-bottom: 1px solid lightgray;
    display: flex;
    align-items: center;
}

.quantity {
    width: 30%;
    border-bottom: 1px solid lightgray;
    display: flex;
    align-items: center;
}

.total {
    width: 10%;
    border-bottom: 1px solid lightgray;
    display: flex;
    align-items: center;
}

.product {
    width: 45%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid lightgray;
}

.product ion-icon {
    cursor: pointer;
    
}

.products {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.products img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    position: static;
}

.basketTotalContainer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 10px 0;
}

.basketTotalTitle {
    width: 30%;
}

.basketTotal {
    width: 10%;
}

.empty-cart{
    width: 100%;
    text-align: center;
    font-size: 22px;
    font-family: Calibri, sans-serif;
    background: none;
    border: none;
    margin: 40px 0;
}

.paywrap{
    width: 100%;
    text-align: center;
    margin: 28px auto 50px;
}

.imp{
    background-color: #FFA500;
    color: #000;
    font-size: 22px;
    font-weight: bold;
    padding: 12px 40px;
    border: 3px solid #8A2BE2;
    cursor: pointer;
    font-family: Aharoni, Calibri, sans-serif;
}

.imp:hover{
    background-color: #fff;
}

@media(max-width: 500px) {
    nav h2 {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;;
    }

    .sm-hide {
        display: none;;
    }

    .products,
    .product-header {
        justify-content: center;
    }

    .basketTotalContainer {
        padding-right: 8%;
    }
}
