:root {
  --light-color: #666;
  --outline: 0.1rem solid rgba(0, 0, 0.1);
  --box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06),
    0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086),
    0 100px 80px rgba(0, 0, 0, 0.12);
}
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  list-style: none;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  transition: all 0.2s linear;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  line-height: 1.15;
}

body {

  background-color: #e6edee;
}

.header {
  position: fixed;
  height: 7.4rem;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 6%;
  background: aliceblue;
  z-index: 1000;
  /* position: absolute; */
}

.header .logo {
  font-size: 3.8rem;
  /* font-weight: bolder; */
  color: hsl(330, 41%, 71%);
  text-decoration: none;
  font-family: "Josefin Sans", sans-serif;
  /* border: 1px solid; */
}

.header .navbar a {
  font-size: 2rem;
  margin: 0 2rem;
  color: hsl(0, 9%, 7%);
  text-decoration: none;
  font-weight: 500;
}

.header .icon {
  display: flex;
}

.header .icon .icon1 {
  display: none;
}

.header .navbar.abbc {
  right: 8%;
  transition: 0.4s linear;
}

.header .icon #icon {
  border-radius: 0.5rem;
  background: aliceblue;
  font-size: 3rem;
  margin: 0 0.4rem;
}
.header .icon #wallet-btn {
  /*   border: 1px solid red; */
  width: 2.4rem;
  height: 2.4rem;
  margin: auto 1.2rem;
}
.header .icon sup {
  font-size: 0.8rem;
  text-decoration: none;
  color: #000000;
}

.header .icon #icon:hover {
  background: lightcyan;
  color: black;
}

.header .search {
  position: absolute;
  top: 101%;
  right: -110%;
  width: 32rem;
  height: 3rem;
  background: #fff;
  border-radius: 0.6rem;
  display: flex;
  overflow: hidden;
  align-items: center;
  border: 1px solid;
}

.header .search.abc {
  right: 8%;
  transition: 0.4s linear;
}

.header .search input {
  height: 100%;
  width: 100%;
  background: none;
  text-transform: none;
  font-size: 1.4rem;
  color: black;
  padding: 0 1rem;
}

.header .search button {
  font-size: 2.5rem;
  padding-right: 1rem;
  color: black;
  cursor: pointer;
  background-color: white;
}

.maincart {
  position: absolute;
  top: 100%;
  right: -110%;
  width: 32rem;
  /* height: 33rem; */
  border: 1px lightslategrey solid;
  background: #fff;
  border-radius: 0.6rem;
  flex-direction: column;
}

.maincart.abb {
  right: 8%;
  transition: 0.4s linear;
}

.maincart .box {
  height: 12rem;
  display: flex;
  overflow: hidden;
  border-bottom: 0.5px lightgrey solid;
}

.maincart .box img {
  width: 10rem;
  height: 10rem;
  margin: 1rem 1rem;
  object-fit: contain;
  border-radius: 0.6rem;
}

.box .card-body {
  margin: 1rem 1rem;
  height: 10rem;
}

.box .card-body .card-title {
  font-size: 1.5rem;
  width: 12rem;
}

.box .card-body .btnbox {
  font-size: 2rem;
  width: 12rem;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0rem;
}

.box .card-body .btnbox .btn1 {
  font-size: 2rem;
  border: 1px solid;
  padding: 0rem 0.5rem;
  background-color: gray;
}
.box .card-body .btnbox .quantity {
  width: 2rem;
  padding: 0 0 0 0.6rem;
}
.box .card-body .btnbox .btn2 {
  font-size: 2rem;
  border: 1px solid;
  padding: 0rem 0.5rem;
  background-color: gray;
}

.box .card-body .btnbox .product-price {
  font-size: 1.2rem;
}
.box .btn3 {
  background-color: transparent;
}

.box .btn3 #login-btn {
  font-size: 2rem;
  width: 2rem;
  margin: 1rem 1rem 2rem 1rem;
}

.maincart .cartmiddle .sub {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 30rem;
  height: 2.5rem;
  padding: 0rem 1rem 0rem 2rem;
  font-size: 1.4rem;
}

.maincart .cartmiddle .delevery {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 30rem;
  height: 2.5rem;
  padding: 0rem 1rem 0rem 2rem;
  font-size: 1.4rem;
}

.maincart .cartmiddle .total {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 30rem;
  height: 2.5rem;
  padding: 0rem 1rem 0rem 2rem;
  font-size: 1.4rem;
}

.maincart .chackout .checkbtn {
  border: 0.2rem solid black;
  display: block;
  padding: 0.8rem 0;
  margin: 1rem 2.8rem;
  text-align: center;
  background-color: none;
  text-decoration: none;
  color: black;
  border-radius: 0.6rem;
  font-size: 1.6rem;
  cursor: pointer;
}

.maincart .chackout .checkbtn:hover {
  background-color: green;
  color: #fff;
}

.maincart .chackout .view-cart {
  display: block;
  width: 12rem;
  height: 2rem;
  margin: 1rem auto;
  border-radius: 0.6rem;
  text-align: center;
  font-size: 1.4rem;
}

/* code start for features section */
.features {
  padding: 8.5rem 9.24%;
}

.heading {
  text-align: center;
  border: 0px solid;
  font-size: 3rem;
  padding: 0.5rem 0rem 1.5rem 0rem;
  color: black;
}

.heading span {
  background: green;
  border: 0px solid;
  color: white;
  display: inline-block;
  padding: 0.5rem 1rem;
  clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
}

/* apply media query for responsive */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .header .navbar {
    background-color: azure;
  }
}

@media screen and (min-width: 428px) and (max-width: 767px) {
  html {
    font-size: 50%;
  }

  .header {
    padding: 2% 1%;
  }

  /* Header for middem screen with display block */
  .header .navbar {
    position: absolute;
    top: 101%;
    right: -110%;
    width: 35%;
    border-radius: 0.5rem;
    background-color: #fff;
  }

  .header .navbar a {
    font-size: 2rem;
    margin: 1.5rem 2.5rem;
    display: block;
  }
  .header .search.abc {
    right: 0rem;
  }
  .maincart.abb {
    right: 0rem;
  }
  .header .icon .icon1 {
    display: inline-block;
    transition: 0.4s linear;
  }

  .features .f-content {
    flex-direction: column-reverse;
  }
}

@media screen and (max-width: 428px) {
  html {
    font-size: 40%;
  }
  .header {
    padding: 1.5rem 1%;
  }

  /* header display in block on small screen */
  .header .navbar {
    position: absolute;
    top: 101%;
    right: -110%;
    width: 40%;
    border-radius: 0.5rem;
    background-color: #fff;
  }

  .header .navbar a {
    font-size: 200%;
    margin: 1.6rem 2rem;
    display: block;
  }

  .header .search {
    width: 100%;
    top: 102%;
    border-radius: 0%;
    border: none;
  }

  .header .search.abc {
    right: 0rem;
  }

  /*search box for small screen*/
  .maincart {
    top: 102%;
    width: 100%;
  }

  /*main cart display for small screen */
  .maincart.abb {
    right: 0rem;
  }

  .maincart .box {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
  }

  .maincart .box img {
    margin: 1rem 3%;
  }

  .box .card-body {
    margin: 1rem 1%;
  }

  .maincart .cartmiddle .sub {
    width: 100%;
  }

  .maincart .cartmiddle .delevery {
    width: 100%;
  }

  .maincart .cartmiddle .total {
    width: 100%;
  }

  .header .icon .icon1 {
    display: inline-block;
  }
}
