* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body,
html {
  height: 100%;
  width: 100%;
  background-color: #fffff0;
  overflow-x: hidden;
}

/* navbar-section */

.navbar {
  z-index: 1000;
  height: 100px;
  width: 100%;
  color: #36454f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #36454f;
  padding: 10px 50px;
  border-bottom: 1px solid black;
  position: fixed;
  top: 0%;
  left: 0%;
  right: 0%;
}

.navbar h1 {
  font-size: 38px;
  color: #f7e7ce;
}

.navbar ul {
  cursor: pointer;
  display: flex;
  list-style: none;
  gap: 60px;
  font-size: 20px;
  color: #f7e7ce;
}

.navbar ul a {
  text-decoration: none;
  color: #f7e7ce;
}

.navbar ul a:hover {
  color: #b8a394;
}

.navbar ul li i {
  margin-right: 8px;
}

.navbar ul i:hover {
  color: #b8a394;
}

.search-box input {
  color: #36454f;
  background-color: #fffff0;
  height: 34px;
  width: 350px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  padding-inline: 20px;
  font-size: 16px;
  border: 2px solid #f7e7ce;
}

.search-box button {
  font-size: 16px;
  border: 2px solid #f7e7ce;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  height: 34px;
  width: 40px;
}

.cart-icon {
  position: relative;
  font-size: 28px;
  color: #f7e7ce;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #800020;
  color: white;
  border-radius: 50%;
  padding: 4px 8px;
  font-size: 14px;
}

/* hero section */

.hero-section {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  height: 600px;
  width: 100%;
}

.hero-left {
  height: 600px;
  width: 45%;
  background-color: #f7e7ce;
  color: #36454f;
  padding-left: 120px;
  padding-top: 80px;
}

.hero-left h2 {
  font-size: 48px;
}

.hero-left h3 {
  margin-top: 40px;
  font-size: 28px;
  color: #b8a394;
}

.hero-left button {
  font-size: 18px;
  margin-top: 40px;
  font-weight: bold;
  padding: 13px 70px;
  border-radius: 10px;
  background-color: #800020;
  color: #fffff0;
  text-decoration: none;
}

.hero-left button:hover {
  background-color: #660017;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-right {
  display: flex;
  justify-content: center;
  height: 600px;
  width: 45%;
  background-color: #f7e7ce;
}

.hero-right img {
  height: 620px;
}

.shop-section {
  margin-left: calc(100% - 95%);
  flex-direction: column;
  height: auto;
  width: 100%;
}

.shop {
  width: 90%;
  background-color: #f7e7ce;
  text-align: center;
}

.shop-h1 {
  color: #b8a394;
  font-size: 26px;
  margin-bottom: 40px;
}

.shop-h1 span {
  color: #36454f;
}

.product-container {
  display: flex;
  justify-content: space-evenly;
  max-width: 100vw;
  margin: 0 auto;
}

.product-card {
  background-color: #fffff0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.product-card img {
  height: 350px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-card img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.product-card h3 {
  color: #36454f;
  font-size: 18px;
  margin-bottom: 10px;
  white-space: normal; /* Allows the text to wrap onto the next line */
  word-wrap: break-word; /* Ensures long words break if necessary */
  overflow: hidden; /* Hides overflowed content */
  text-overflow: ellipsis;
  max-height: 60px;
  line-height: 1.2;
}

.product-card p {
  color: #800020;
  font-size: 18px;
  margin-bottom: 25px;
}

.add-to-cart {
  background: #800020;
  color: #fffff0;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.add-to-cart:hover {
  background-color: #660017;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.add-to-cart,
.see-more-products button {
  transition: all 0.3s ease-in-out;
}

.add-to-cart:hover,
.see-more-products button:hover {
  background-color: #b8a394;
  color: #36454f;
  transform: scale(1.05);
}

.see-more-products {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.see-more-products button {
  border: none;
  outline: none;
  background-color: #800020;
  color: #fffff0;
  padding: 10px 50px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 700;
}

/* back to top  */

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #800020;
  color: #fffff0;
  padding: 10px;
  border-radius: 50%;
}

.back-to-top:hover {
  background-color: #660017;
}

/* footer section */

footer {
  height: 200px;
  background-color: #36454f;
  color: #fffff0;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

.our-links {
  display: flex;
  justify-content: center;
  gap: 40px;
}

#linkdin {
  height: 32px;
}

#github {
  height: 30px;
}

#facebook {
  height: 30px;
}

#instagram {
  height: 30px;
}

.contect-info {
  margin-top: 10px;
}

.copyright p a {
  text-decoration: none;
  color: #fffff0;
}
.copyright p a:hover {
  text-decoration: solid underline #fffff0;
}

@media (max-width: 321px) {
  .navbar {
    flex-direction: column;
    position: relative;
    align-items: flex-start;
    padding: 10px;
    height: 160px;
  }

  .navbar h1 {
    font-size: 32px;
  }

  .navbar ul {
    margin-top: 5px;
    gap: 20px;
    font-size: medium;
  }
  .navbar ul li {
    font-size: 12px;
  }
  .navbar ul i {
    display: none;
  }
  .search-box input {
    margin-top: 10px;
    height: 24px;
    width: 200px;
    font-size: 12px;
  }
  .search-box button {
    font-size: 12px;
    height: 24px;
    width: 30px;
  }
  .cart-icon {
    position: absolute;
    right: 20px;
    top: 120px;
    font-size: 22px;
  }
  .cart-count {
    top: -10px;
    right: -10px;
    padding: 1px 4px;
    font-size: 14px;
  }

  .hero-section {
    margin-top: 0px;
    flex-direction: column;
    height: auto;
    justify-content: center;
  }

  .hero-left {
    height: 400px;
  }
  .hero-left,
  .hero-right {
    width: 100%;
    padding: 40px 20px;
  }

  .hero-left h2 {
    font-size: 30px;
  }

  .hero-left h3 {
    font-size: 18px;
  }
  .hero-left button {
    padding: 8px 40px;
    font-size: 12px;
  }
  .hero-right {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .hero-right img {
    height: 500px;
  }

  .shop-section {
    margin-left: 0;
    flex-direction: column;
    height: auto;
  }

  .shop {
    width: 100%;
  }
  .shop-h1 {
    font-size: 16px;
  }
  .product-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .product-card {
    width: 90%;
    margin-bottom: 20px;
    padding: 20px;
  }
  .product-card img {
    height: 350px;
    width: 250px;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  .product-card h3 {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .product-card p {
    font-size: 8px;
    margin-bottom: 10px;
  }
  .add-to-cart {
    font-size: 8px;
    padding: 5px 10px;
  }
  .see-more-products {
    margin-top: 0px;
    height: 80px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .see-more-products button {
    padding: 10px 30px;
    font-size: 14px;
  }

  .back-to-top {
    right: 10px;
    bottom: 10px;
    padding: 5px;
  }

  footer {
    height: 150px;
    padding: 20px;
    font-size: 8px;
    line-height: 2;
  }

  .our-links {
    gap: 20px;
  }

  #linkdin {
    height: 20px;
  }

  #github {
    height: 20px;
  }

  #facebook {
    height: 20px;
  }

  #instagram {
    height: 20px;
  }
}

@media (min-width: 321px) and (max-width: 425px) {
  .navbar {
    flex-direction: column;
    position: relative;
    align-items: flex-start;
    padding: 10px;
    height: 160px;
  }

  .navbar h1 {
    font-size: 34px;
  }

  .navbar ul {
    margin-top: 5px;
    gap: 25px;
    font-size: medium;
  }
  .navbar ul li {
    font-size: 12px;
  }
  .navbar ul i {
    display: none;
  }
  .search-box input {
    margin-top: 10px;
    height: 24px;
    width: 250px;
    font-size: 12px;
  }
  .search-box button {
    font-size: 12px;
    height: 24px;
    width: 30px;
  }
  .cart-icon {
    position: absolute;
    right: 25px;
    top: 120px;
    font-size: 22px;
  }
  .cart-count {
    top: -10px;
    right: -10px;
    padding: 1px 4px;
    font-size: 14px;
  }

  .hero-section {
    margin-top: 0px;
    flex-direction: column;
    height: auto;
    justify-content: center;
  }

  .hero-left {
    height: 500px;
  }
  .hero-left,
  .hero-right {
    width: 100%;
    padding: 40px 20px;
  }

  .hero-left h2 {
    font-size: 40px;
  }

  .hero-left h3 {
    font-size: 22px;
  }
  .hero-left button {
    padding: 10px 45px;
    font-size: 14px;
  }
  .hero-right {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .hero-right img {
    height: 560px;
  }

  .shop-section {
    margin-left: 0;
    flex-direction: column;
    height: auto;
  }

  .shop {
    width: 100%;
  }
  .shop-h1 {
    font-size: 18px;
  }
  .product-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .product-card {
    width: 90%;
    margin-bottom: 20px;
    padding: 20px;
  }
  .product-card img {
    height: 350px;
    width: 250px;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  .product-card h3 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .product-card p {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .add-to-cart {
    font-size: 12px;
    padding: 10px 15px;
  }
  .see-more-products {
    margin-top: 0px;
    height: 80px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .see-more-products button {
    padding: 10px 30px;
    font-size: 14px;
  }

  .back-to-top {
    right: 10px;
    bottom: 10px;
    padding: 5px;
  }

  footer {
    height: 180px;
    padding: 20px;
    font-size: 12px;
    line-height: 2;
  }

  .our-links {
    gap: 24px;
  }

  #linkdin {
    height: 30px;
  }

  #github {
    height: 24px;
  }

  #facebook {
    height: 24px;
  }

  #instagram {
    height: 24px;
  }
}

@media (min-width: 425px) and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    position: relative;
    align-items: flex-start;
    padding: 10px;
    height: 160px;
  }

  .navbar h1 {
    font-size: 34px;
  }

  .navbar ul {
    margin-top: 5px;
    gap: 25px;
    font-size: medium;
  }
  .navbar ul li {
    font-size: 12px;
  }
  .navbar ul i {
    display: none;
  }
  .search-box input {
    margin-top: 10px;
    height: 24px;
    width: 250px;
    font-size: 12px;
  }
  .search-box button {
    font-size: 12px;
    height: 24px;
    width: 30px;
  }
  .cart-icon {
    position: absolute;
    right: 25px;
    top: 120px;
    font-size: 22px;
  }
  .cart-count {
    top: -10px;
    right: -10px;
    padding: 1px 4px;
    font-size: 14px;
  }

  .hero-section {
    margin-top: 0px;
    flex-direction: column;
    height: auto;
    justify-content: center;
  }

  .hero-left {
    height: 500px;
  }
  .hero-left,
  .hero-right {
    width: 100%;
    padding: 40px 20px;
  }

  .hero-left h2 {
    font-size: 40px;
  }

  .hero-left h3 {
    font-size: 22px;
  }
  .hero-left button {
    padding: 10px 45px;
    font-size: 14px;
  }
  .hero-right {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .hero-right img {
    height: 560px;
  }

  .shop-section {
    margin-left: 0;
    flex-direction: column;
    height: auto;
  }

  .shop {
    width: 100%;
  }
  .shop-h1 {
    font-size: 18px;
  }
  .product-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .product-card {
    width: 90%;
    margin-bottom: 20px;
    padding: 20px;
  }
  .product-card img {
    height: 350px;
    width: 250px;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  .product-card h3 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .product-card p {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .add-to-cart {
    font-size: 12px;
    padding: 10px 15px;
  }
  .see-more-products {
    margin-top: 0px;
    height: 80px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .see-more-products button {
    padding: 10px 30px;
    font-size: 14px;
  }

  .back-to-top {
    right: 10px;
    bottom: 10px;
    padding: 5px;
  }

  footer {
    height: 180px;
    padding: 20px;
    font-size: 12px;
    line-height: 2;
  }

  .our-links {
    gap: 24px;
  }

  #linkdin {
    height: 30px;
  }

  #github {
    height: 24px;
  }

  #facebook {
    height: 24px;
  }

  #instagram {
    height: 24px;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    position: relative;
    align-items: flex-start;
    padding: 10px;
    height: 160px;
  }
  .navbar h1 {
    font-size: 34px;
  }
  .navbar ul {
    margin-top: 5px;
    gap: 25px;
    font-size: medium;
  }
  .navbar ul li {
    font-size: 16px;
  }
  .search-box input {
    margin-top: 10px;
    height: 30px;
    width: 250px;
    font-size: 12px;
  }
  .search-box button {
    font-size: 14px;
    height: 30px;
    width: 30px;
  }
  .cart-icon {
    position: absolute;
    right: 25px;
    top: 120px;
    font-size: 24px;
  }
  .cart-count {
    top: -10px;
    right: -10px;
    padding: 1px 4px;
    font-size: 14px;
  }

  .hero-section {
    margin-top: 0px;
    flex-direction: column;
    height: auto;
    justify-content: center;
  }

  .hero-left {
    height: 400px;
  }
  .hero-left,
  .hero-right {
    width: 100%;
    padding: 40px 20px;
  }

  .hero-left h2 {
    font-size: 44px;
  }

  .hero-left h3 {
    font-size: 24px;
  }
  .hero-left button {
    padding: 15px 50px;
    font-size: 18px;
  }
  .hero-right {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .hero-right img {
    height: 560px;
  }
  .shop-section {
    margin-left: 0;
    flex-direction: column;
    height: auto;
  }

  .shop {
    width: 100%;
  }
  .shop-h1 {
    font-size: 22px;
  }
  .product-container {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .product-card {
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
  }
  .product-card img {
    height: 300px;
    width: 200px;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  .product-card h3 {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .product-card p {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .add-to-cart {
    font-size: 12px;
    padding: 10px 15px;
  }
  .see-more-products {
    margin-top: 0px;
    height: 80px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .see-more-products button {
    padding: 10px 30px;
    font-size: 14px;
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .navbar {
    flex-direction: column;
    position: relative;
    align-items: flex-start;
    padding: 10px;
    height: 160px;
  }
  .navbar h1 {
    font-size: 34px;
  }
  .navbar ul {
    margin-top: 5px;
    gap: 25px;
    font-size: medium;
  }
  .navbar ul li {
    font-size: 16px;
  }
  .search-box input {
    margin-top: 10px;
    height: 30px;
    width: 250px;
    font-size: 12px;
  }
  .search-box button {
    font-size: 14px;
    height: 30px;
    width: 30px;
  }
  .cart-icon {
    position: absolute;
    right: 25px;
    top: 120px;
    font-size: 24px;
  }
  .cart-count {
    top: -10px;
    right: -10px;
    padding: 1px 4px;
    font-size: 14px;
  }

  .hero-section {
    margin-top: 0px;
    flex-direction: column;
    height: auto;
    justify-content: center;
  }

  .hero-left {
    height: 400px;
  }
  .hero-left,
  .hero-right {
    width: 100%;
    padding: 40px 20px;
  }

  .hero-left h2 {
    font-size: 44px;
  }

  .hero-left h3 {
    font-size: 24px;
  }
  .hero-left button {
    padding: 15px 50px;
    font-size: 18px;
  }
  .hero-right {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .hero-right img {
    height: 560px;
  }
  .shop-section {
    margin-left: 0;
    flex-direction: column;
    height: auto;
  }

  .shop {
    width: 100%;
  }
  .shop-h1 {
    font-size: 22px;
  }
  .product-container {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .product-card {
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
  }
  .product-card img {
    height: 300px;
    width: 200px;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  .product-card h3 {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .product-card p {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .add-to-cart {
    font-size: 12px;
    padding: 10px 15px;
  }
  .see-more-products {
    margin-top: 0px;
    height: 80px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .see-more-products button {
    padding: 10px 30px;
    font-size: 14px;
  }

}