@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

/* Global Section */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Button Section */
.btn-style {
  padding: 12px 25px;
  margin-right: 10px;
  background-color: #b2dd4c;
  border: 2px solid transparent;
  border-radius: 3px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.buy-btn {
  background-color: white;
  color: gray;
  border: 2px solid gray;
}

.buy-btn:hover {
  background-color: gray;
  transition-duration: 0.3s;
  border: 2px solid transparent;
  color: white;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

h1 {
  font-size: 3.2rem;
  font-weight: 600;
  color: #242424;
}

p, h3 {
  color: gray;
  line-height: 1.5;
}

.bg-img {
  padding-top: 25px;
  position: absolute;
  z-index: -1;
  width: 100%;
  clip-path: polygon(0 0, 0 80%, 100% 100%, 100% 0);
}

/* Header Section */
.burger {
  position: absolute;
  right: 1.5rem;
  top: 4vh;
  width: 80px;
  display: none;
}

.burger div {
  background-color: #b2dd4c;
  height: 10px;
  margin: 6px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 8vh;
}

.logo img {
  width: 80%;
}

.navbar-links ul {
  list-style-type: none;
  display: flex;
}

.navbar-links li {
  margin: 10px;
}

.navbar-links li a {
  color: gray;
  padding: 0.25rem 1.25rem;
  text-decoration: none;
}

.navbar-links li a:hover {
  background-color: #b2dd4c;
  color: #fff;
  border-radius: 3px;
}

.home {
  background-color: #b2dd4c;
  border-radius: 3px;
}

.counter {
  position: relative;
  right: 35px;
  bottom: 26px;
  background-color: #b2dd4c;
  color: #fff;
  padding: 0 4px;
  border-radius: 3px;
}

/* Top Section */
.top {
  margin: 8% 0 25% 10%;
}

.top p {
  margin: 10px 0 25px 0;
}

.p-break {
  display: block;
}

/* Feature Section */
.feature {
  text-align: center;
}

.feature h1 {
  margin-top: 20px;
  font-size: 2.5rem;
}

.feature p {
  margin: 20px;
}

.feature .wrapper {
  margin: 8% 0 15% 0;
  display: flex;
  justify-content: space-around;
}

.circel-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #b2dd4c;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Details Section */
.details {
  padding: 10% 10% 0 8%;
  display: flex;
  justify-content: space-between;
  background-color: #f5f5f5;
  clip-path: polygon(0 12%, 0 100%, 100% 85%, 100% 0);
}

.detail-content {
  margin-top: 18%;
}

.detail-content h1 {
  font-size: 2.5rem;
}

.detail-content h3 {
  margin: 30px 0 30px 0;
}

.store-img-wrapper {
  margin-top: 50px;
  display: flex;
}

.store-img-wrapper img {
  margin-right: 20px;
}

/* Products Section */
.related-products {
  margin: 14% 4%;
  text-align: center;
}

.products {
  display: flex;
}

.product-card {
  text-align: left;
  margin: 10% 2%;
}

.product-card img {
  width: 100%;
  vertical-align: bottom;
}

.card-details {
  border: 2px solid #e6e6e6;
  padding: 20px;
}

.product-details {
  display: inline-block;
  width: 50%;
}

.product-details h1 {
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: normal;
}

.product-rating {
  float: right;
  width: 50%;
}

.card-btn {
  display: flex;
  border-left: 2px solid #e6e6e6;
  border-right: 2px solid #e6e6e6;
  border-bottom: 2px solid #e6e6e6;
}

.card-btn button {
  cursor: pointer;
  flex: 1;
  margin: 0;
  border: none;
  border-radius: 0;
}

.card-btn button:hover {
  border: none;
  background-color: #dbdbdb;
  color: gray;
}

.diveder {
  width: 2px;
  background-color: #e3e3e3;
  height: 56px;
}

.checked {
  color: #b2dd4c;
  background-color: transparent
}

.unchecked {
  color: #e6e6e6;
  background-color: transparent
}

/* CTA Section */
.cta {
  margin: 4% 0 0 0;
  padding: 4% 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e6e6e6;
}

/* Footer Section */
footer {
  padding: 20px;
  background-color: #303030;
  text-align: center;
}

/* Media Section */
@media screen and (max-width:1024px) {
  .btn-style {
    font-size: 26px;
  }

  p {
    font-size: 12px;
  }

  .logo {
    width: 40%;
  }

  .logo img {
    width: 100%;
  }

  .bg-img {
    display: none;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-links {
    display: none;
    width: 100%;
  }

  .navbar-links.active {
    display: inline;
  }

  .navbar-links ul {
    width: 100%;
    flex-direction: column;
    justify-content: center;
  }

  .navbar-links li {
    text-align: center;
    margin: 30px;
  }

  .navbar-links li a {
    font-size: 3rem;
  }

  .navbar-links li img {
    width: 15%;
  }

  .counter {
    display: none;
  }

  .burger {
    display: inline;
  }

  /* Top Section */
  .top {
    background-color: #f5f5f5;
    padding: 8% 0 18% 5%;
    margin: 0;
  }

  .top h1 {
    font-size: 4rem;
  }

  .p-break {
    display: none;
  }

  /* Feature section */
  .feature {
    margin: 100px 0;
  }

  .feature .wrapper {
    margin: 50px 0 50px 0;
    flex-wrap: wrap;
  }

  .circel-img {
    width: 200px;
    height: 200px;
  }

  .wrapper-div {
    margin: 30px;
  }

  /* Details Section */
  .details {
    text-align: center;
    clip-path: none;
    flex-wrap: wrap;
  }

  .detail-content h1 {
    font-size: 3rem;
  }

  .detail-content h3 {
    font-size: 1rem;
  }

  .store-img-wrapper {
    justify-content: center;
  }

  .detaile-img {
    width: 100%;
    margin-top: 50px;
  }

  .detail-img img {
    width: 80%;
  }

  /* Products Section */
  .products {
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-card {
    width: 100%;
    margin: 10% 0;
  }

  .product-details h1 {
    font-size: 2rem;
  }

  .price {
    font-size: 3rem;
  }

  .fa-star {
    float: right;
  }

  /* CTA Section */
  .cta {
    margin: 0;
    padding: 10px;
    justify-content: flex-start;
  }

  .cta p {
    font-size: 14px;
  }

  .cta button {
    width: 50%;
  }
}