* {
  margin: 0;
  padding: 0;
}

/* google fonts  */

@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap");

/* shared style */
body {
  font-family: "Inter";
  /* font-family: "Noto Serif"; */
}
.section-title {
  font-family: "Noto Serif";
  font-size: 2.4rem;
}
span {
  color: #e95a08;
}
p {
  color: gray;
  font-size: 14px;
}
button {
  background-color: #e95a08;
  padding: 5px;
  width: 100%;
  border: none;
  color: white;
}

/* navbar  */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: 10px auto 40px;
}
nav ul {
  display: flex;
}
nav ul li {
  list-style: none;
  margin: 0 10px;
}
.black {
  color: black;
}
nav ul li a {
  text-decoration: none;
  color: gray;
  font-size: 14px;
}
.logo-container {
  width: 100px;
}
.logo-container img {
  width: 100%;
  height: 100%;
}
/* banner section */
.banner-container {
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: 80%;
  margin: 40px auto;
}
.banner-container h1 {
  font-size: 3rem;
}
.banner-container p {
  color: gray;
  margin-top: 10px;
  font-size: 14px;
}
.banner-img {
  width: 40%;
}
.banner-img img {
  width: 100%;
  height: 100%;
}
/* our-plants */
.our-plants h3 {
  text-align: center;
}
.our-plants p {
  text-align: center;
}
.our-plants {
  width: 80%;
  margin: 80px auto;
}
.plant-cart-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0;
}
.plant-cart {
  width: 100%;
}
.plant-cart img {
  width: 100%;
}
.plant-cart p {
  font-size: 14px;
  color: black;
  padding: 10px 0;
  text-align: center;
}
.plant-cart h6 {
  font-size: 16px;
  margin-bottom: 5px;
  text-align: center;
}

/* plant lover */
.plant-lover {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 80px auto;
}
.plant-lover-img {
  width: 100%;
  position: relative;
}
.plant-lover-img img:nth-of-type(2) {
  width: 45%;
  position: absolute;
  top: -60px;
  left: 230px;
}
/* .trusted-badge {
  position: absolute;
  width: 100px;
} */
.plant-lover img {
  width: 100%;
}
.plant-lover-content {
  padding: 20px;
}
.plant-lover-content ul {
  padding: 20px;
}
.plant-lover-content ul li {
  color: gray;
  font-size: 14px;
  padding: 10px 0;
}
/* deals section  */
.deals {
  width: 80%;
  margin: 50px auto;
  text-align: center;
}
.deals p {
  margin: 20px 0 30px;
}
.bg-img-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  height: 40vh;
}
.two-img {
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bg1 {
  background-image: linear-gradient(
      to bottom right,
      rgba(56, 31, 31, 0.212),
      rgba(54, 54, 41, 0.274)
    ),
    url(../assets/deal-bloom.png);
  border-radius: 5px;
  color: white;
  background-size: cover;
  height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.bg1 h4 {
  font-family: "Noto Serif";
}
.bg1 p {
  color: white;
  text-decoration: underline;
}

.bg2 {
  background-image: linear-gradient(
      to bottom right,
      rgba(56, 31, 31, 0.212),
      rgba(54, 54, 41, 0.274)
    ),
    url(../assets/deal-ana.png);
  border-radius: 5px;
  color: white;
  height: 50%;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.bg2 h4 {
  font-family: "Noto Serif";
}
.bg2 p {
  color: white;
  text-decoration: underline;
}
.bg3 {
  background-image: linear-gradient(
      to bottom right,
      rgba(56, 31, 31, 0.212),
      rgba(54, 54, 41, 0.274)
    ),
    url(../assets/deal-zabo.png);
  background-size: cover;
  width: 70%;
  border-radius: 10px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.bg3 h4 {
  font-family: "Noto Serif";
  font-size: 2rem;
}
.bg3 p {
  color: white;
  text-decoration: underline;
}
/* colorful-brunch */
.colorful-brunch {
  margin: 50px 0;
  background-image: url(../assets/news-letter-bg.png);
  background-size: cover;
  height: 40vh;
  display: flex;
  gap: 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.colorful-brunch h3 {
  color: white;
}
.colorful-brunch input {
  border: none;
  width: 80%;
  padding: 10px 0 10px 10px;
}
.colorful-brunch button {
  display: inline;
  width: auto;
  padding: 10px;
  margin-left: -5px;
}
.input-div {
  width: 60%;
}
/* footer */
footer {
  width: 80%;
  margin: 50px auto;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
footer .first-foot p {
  padding: 10px 0;
}
footer div li {
  list-style: none;
  color: gray;
  font-size: 14px;
  padding: 10px 0;
}
.forth-foot {
  display: flex;
  gap: 20px;
}
.forth-foot img {
  width: 20%;
  height: 20%;
}

/* responsive design */

@media screen and (max-width: 576px) {
  /* shared style */
  .hidden {
    display: none;
  }
  .section-title {
    font-family: "Noto Serif";
    font-size: 1.5rem;
  }
  /* navbar */
  nav,
  .banner-container,
  .our-plants,
  .plant-cart-container,
  .plant-lover,
  .deals {
    width: 90%;
  }
  /* banner section */
  .banner-container {
    flex-direction: column-reverse;
  }
  .banner-container h1 {
    font-size: 2rem;
  }
  .banner-img {
    width: 100%;
    margin-bottom: 10px;
  }
  /* our plant  */
  .plant-cart-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
  }
  /* plant lover */
  .plant-lover {
    flex-direction: column;
    margin: 40px auto;
  }
  /* deals section */
  .bg-img-container {
    flex-direction: column;
    margin-bottom: 120px;
  }
  .two-img {
    width: 100%;
  }
  .bg3 {
    width: 100%;
  }
  .bg3 h4 {
    font-size: medium;
  }
  /* colorful brunch */
  .input-div {
    width: 80%;
  }
  .colorful-brunch input {
    width: 65%;
  }
  /* footer */
  footer {
    flex-direction: column;
  }
}
