* {
  font-family: "KoHo", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* header and menu CSS */
.header {
  min-height: 70vh;
  width: 100%;
  background-image: linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.85),
      rgba(118, 0, 255, 0.85)
    ),
    url("../assets/images/shop.jpg");
  background-size: cover;
  background-position: center;
}

nav {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 7%;
  top: 0;
  z-index: 100;
  width: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.85),
    rgba(118, 0, 255, 0.85)
  );
  max-height: 100px;
}

.logo {
  width: 140px;
  height: 80px;
  cursor: pointer;
}

.nav-links li {
  list-style: none;
  display: inline-block;
  margin: 10px 10px;
}

.nav-links li a {
  position: relative;
  color: #fff;
  font-size: 1.2em;
  font-weight: 500;
  text-decoration: none;
  margin-left: 30px;
  transition: 0.3s ease;
}

.nav-links li a::before {
  content: "";
  position: absolute;
  background: #ff6f0f;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  transition: 0.3s ease;
}

.nav-links li a:hover:before {
  width: 100%;
  transition: 0.3s ease;
}

nav .fa-bars {
  display: none;
}

.search-bar {
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  border-radius: 30px;
  padding: 5px 20px;
}

.search-bar input {
  background: transparent;
  border: 0;
  outline: none;
  padding: 6px 10px 6px 30px;
  font-size: 20px;
  color: #cac7ff;
}

::placeholder {
  color: #cac7ff;
}

.bg-text a {
  text-decoration: none;
  color: #fff;
}

.bg-text h1 {
  font-size: 4vw;
  font-weight: 500;
  color: #ff6f0f;
  padding: 100px 7% 20px 7%;
  text-decoration: underline;
}

.bg-text h4 {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  padding: 120px 7% 20px 7%;
}

.bg-text p {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 20px 7% 20px 7%;
}

/*Icon Container*/
.icons-container {
  background: #eee;
  background: linear-gradient(
    80deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(0, 0, 0, 1) 55%,
    rgba(0, 71, 64, 1) 100%
  );
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  padding: 40px 7% 60px 7%;
}

.icons {
  background: #fff;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  align-items: center;
  flex: 1 1 25rem;
}

.icons img {
  height: 5rem;
  margin-right: 2rem;
}

.icons img {
  height: 5rem;
  margin-right: 2rem;
}

.icons span {
  color: #555;
  font-size: 1.3rem;
}

/*main content Css*/
.box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 40px 7% 60px 7%;
}

.heading {
  text-align: center;
  font-size: 2rem;
  color: #333;
  padding: 1rem;
  background: rgba(0, 0, 255, 0.15);
}

.heading span {
  color: #ff6f0f;
}

.box {
  flex: 1 1 30rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  border: 0.2rem solid #004740;
  position: relative;
}

.discount {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  font-size: 1.5rem;
  color: blue;
  background: rgba(255, 51, 153, 0.05);
  z-index: 1;
  border-radius: 0.5rem;
}

.box .image {
  position: relative;
  text-align: center;
  padding-top: 2rem;
  overflow: hidden;
}

.box .image img {
  height: 17rem;
}

.image .icons {
  position: absolute;
  bottom: -7rem;
  left: 0;
  right: 0;
  display: flex;
}

.image .icons a {
  height: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  width: 50%;
  background: #ff6700;
  color: #fff;
  text-decoration: none;
}

.image .icons a:hover {
  background: #333;
}

.fa-heart:before {
  content: "\f004";
}

.fa-share:before {
  content: "\f064";
}

.image .icons .cart-btn {
  border-left: 0.1rem solid #fff7;
  border-right: 0.1rem solid #fff7;
  width: 100%;
}

.box .content {
  padding: 2rem;
  text-align: center;
  background: #004740;
}

.box .content h3 {
  font-size: 1.5rem;
  color: #fff;
}

.box .content .price {
  font-size: 1.5rem;
  color: red;
  font-weight: bolder;
  padding-top: 1rem;
}

.box .content .price span {
  font-size: 1rem;
  color: #fff9;
  font-weight: lighter;
  text-decoration: line-through;
}

.box:hover .image img {
  transform: scale(1.1);
}

.box:hover .image .icons {
  bottom: 0;
}

.banner-btn {
  text-align: center;
  color: #fff;
  padding: 20px;
}

.banner-btn a {
  width: 160px;
  text-decoration: none;
  display: inline-block;
  margin: 0 10px;
  padding: 12px 0;
  color: #000;
  border: 0.5px solid #ff4500;
  position: relative;
  z-index: 1;
  transition: color 0.5s;
  font-size: 22px;
}

.banner-btn a span {
  width: 0%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #ff4500;
  z-index: -1;
  transition: 0.5s;
}

.banner-btn a:hover span {
  width: 100%;
}

.banner-btn a:hover {
  color: #000;
}

/*review*/
.review .box-container .box {
  background: #eee;
  background: linear-gradient(
    80deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(0, 0, 0, 1) 55%,
    rgba(0, 71, 64, 1) 100%
  );
  flex: 1 1 30rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 3rem 2rem;
  position: relative;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
}

.fa-quote-right {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  font-size: 6rem;
  color: #eee;
}

.stars i {
  color: orangered;
  font-size: 2rem;
}

.fa-star:before {
  content: "\f005";
}

.box p {
  color: #999;
  font-size: 1.5rem;
  line-height: 1.5;
  padding-top: 2rem;
}

.box .user {
  display: flex;
  align-items: center;
  padding-top: 2rem;
}

.user img {
  height: 6rem;
  width: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.user h3 {
  font-size: 2rem;
  color: #fff;
}

.box .user span {
  font-size: 1.5rem;
  color: #dacfcf;
}

/*to top btn css */
.to-top {
  background: white;
  position: fixed;
  bottom: 16px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #1f1f1f;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s;
}

.to-top.active {
  bottom: 32px;
  pointer-events: auto;
  opacity: 1;
}

html {
  scroll-behavior: smooth;
}

/*Footer*/
footer {
  width: 100%;
  bottom: 0;
  color: #fff;
  padding: 10px 0 30px;
  font-size: 17px;
  line-height: 20px;
  background: linear-gradient(#1f0073, #000000);
}

.row {
  padding: 0 7%;
  display: flex;
  margin: auto;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.col {
  flex-basis: 25%;
  padding: 10px;
}

.col:nth-child(2),
.col:nth-child(3) {
  flex-basis: 15%;
}

.col h3 {
  width: fit-content;
  margin-bottom: 20px;
  border-bottom: 2px solid #fff;
}

.email-id {
  width: fit-content;
  border-bottom: 1px solid #ccc;
  margin: 20px 0;
}

.col ul li {
  list-style: none;
  margin-bottom: 12px;
}

.col ul li a {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

.col form {
  display: flex;
  padding-bottom: 15px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  margin-bottom: 50px;
}

.col form .far {
  font-size: 18px;
  margin-right: 10px;
}

.col form input {
  width: 100%;
  background: transparent;
  color: #ece0e0;
  outline: none;
  border: 0;
}

.col form button {
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
}

.col button .fa-solid {
  font-size: 16px;
  color: #fff;
}

.col::placeholder {
  color: #fff;
}

.social-icons .fab {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  color: #000;
  background: #fff;
  margin-right: 15px;
  cursor: pointer;
}

.copyright {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

/* Media queary for header and menu */
@media (max-width: 700px) {
  .logo {
    position: fixed;
    top: 1%;
    left: 7%;
  }

  nav {
    position: fixed;
    top: 0;
    z-index: 100;
    display: inline-block;
    width: 100%;
    padding: 100px 7% 0;
    background: linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.85),
      rgba(118, 0, 255, 0.85)
    );
    text-align: right;
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.5s;
  }

  nav .nav-links li {
    margin: 10px 0;
    display: block;
  }

  .hero-btn {
    margin: 15px 0 30px;
    display: inline-block;
  }

  nav .fa-bars {
    display: block;
    position: fixed;
    top: 4%;
    right: 7%;
    color: #fff;
    font-size: 28px;
  }

  .active::after {
    left: -40px;
    transform: translate(0, 50%);
    bottom: 50%;
  }

  .hidemenu {
    max-height: 350px;
    padding-bottom: 15px;
  }

  .bg-text h1 {
    font-size: 32px;
  }

  .bg-text p {
    font-size: 20px;
  }

  /*footer media query*/
  footer {
    bottom: unset;
  }

  .col {
    flex-basis: 100%;
  }

  .col:nth-child(2),
  .col:nth-child(3) {
    flex-basis: 100%;
  }

  footer .logo {
    width: 140px;
    cursor: pointer;
  }

  .social-icons {
    padding-bottom: 30px;
    text-align: center;
  }
}

@media (max-width: 920px) {
  .search-bar {
    display: none;
  }
}
