.noto{
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.inter{
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* shared items */
.primary{
  color: #E95A08;
}
.regular{
  font-size: 1.30rem;
  font-weight: 400;
  color: #00000050;
}









/* navbar section */

.navbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 120px 150px 120px;
}
.navbar ul{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap:48px;
}

.light{
  font-size: 1rem;
  font-weight: 500;
  color: #8987A1;
}
.cart{
  font-size: 1rem;
  font-weight: 500;
  color: black;
}
.home{
  color:#252432;
  font-size: 1rem;
  font-weight: 700;
}
.hero-title{
  font-size: 4.1rem;
  font-weight: bold;
}
.hero{
  display: flex;
  margin: 7.5rem 9.375rem;
  position: relative;
}
.td{
  max-width: 35.625rem;
  margin-top: 10rem;
}
.hero-img{
  max-width:35.625rem;
  max-height: 22rem;
  position:absolute;
  bottom: 0;
  right:0;
}
/* ------------plant lover-------------------------------------------------------- */


.plants_lover {
  margin: 200px auto 0;
  max-width: 1440px;
  padding: 0 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  position: relative;
}

.plants_lover_img,
.plants_lover_text {
  width: 50%;
}

.plants_lover_img img {
  width: 100%;
  display: block;
}

.plants_lover_text h1 {
  font-size: 50px;
  font-weight: 700;
  font-family: 'Noto Serif', serif;
  margin-bottom: 20px;
  color: var(--text_primary);
}

.plants_lover_text ul li {
  color: var(--content_text);
  list-style-type: disc;
  font-size: 24px;
  margin-bottom: 20px;
}

.badge {
  width: 250px;
  height: 250px;
  position: absolute;
  top: 11%;
  left: 47%;
  transform: translate(-50%, -50%);
}









/* join section */
.join-section {
  background-image: url('../assets/news-letter-bg.png');
  background-size: cover;
  background-position: center;
  height: 33.4rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8rem;
}

.join-title {
  text-align: center;
  padding: 20px;
}

.join-title h1 {
  color: white;
  font-size: 3rem;
 font-weight: bold;
 margin-bottom: 1.5rem;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.subscribe-form input {
  padding-left: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #fff;
  width:41rem;
  height: 3.25rem;
  
}

.subscribe-form button {
  padding: 1rem 3rem;
  background-color: #E95A08;
  color: white;
  font-size:1rem;
}

/* footer section */
.footer {
  background-color: white;
  padding: 40px 20px;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.footer-logo img.logo {
  width: 120px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
}

.footer-links ul li a:hover {
  color: #000;
}

.footer-social {
  display: grid;
  grid-auto-flow: column;
  gap: 15px;
  align-items: center;
  justify-content: start;
}

.footer-social img {
  width: 24px;
  height: 24px;
}







/* responsive part */
@media (max-width: 576px) {
   .navbar {
    flex-direction: row;
    justify-content: space-between;
    margin: 1.5rem;
  }

  .navbar ul li:nth-child(1),
  .navbar ul li:nth-child(2),
  .navbar ul li:nth-child(3) {
    display: none;
  }

  .cart {
    font-size: 0.9rem;
  }

  .hero {
    flex-direction: column-reverse;
    margin: 2rem 1rem;
    align-items: center;
  }

  .td {
    margin-top: 1.5rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-img {
    position: static;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .hero-img img {
    width: 100%;
    max-width: 20rem;
    height: auto;
  }






  /* plant section */

   .plant-section {
    padding: 1.5rem 1rem;
  }

  .plant-section .tids h3 {
    font-size: 2rem;
  }

  .plant-section .tids p {
    font-size: 1rem;
  }

  .plant-section .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    justify-items: center;
  }

  .plant-section .grid > div {
    width: 100%;
    max-width: 100%;
  }

  .plant-section .grid > div img {
    width: 100%;
    height: auto;
  }

  .plant-section button {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
  }



  /* plant lover section */
    .plants_lover {
    flex-direction: column;
    gap: 30px;
    margin-top: 100px;
  }

  .plants_lover_img,
  .plants_lover_text {
    width: 100%;
  }

  .plants_lover_text h1 {
    font-size: 32px;
    text-align: center;
  }

  .plants_lover_text ul {
    padding-left: 20px;
  }

  .plants_lover_text ul li {
    font-size: 16px;
    text-align: justify;
  }

  .badge {
    display: none;
  }


















    .join-section {
    height: auto;
    padding: 2rem 1rem;
    margin-top: 4rem;
  }

  .join-title h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .subscribe-form {
    flex-direction: row;
    flex-wrap: nowrap;
    
    width: 100%;
  }

  .subscribe-form input {
    width: 65%;
    height: 2.8rem;
    font-size: 1rem;
  }

  .subscribe-form button {
    width: 35%;
    height: 2.8rem;
    padding: 0;
    font-size: 1rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo img.logo {
    margin-bottom: 10px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-links ul {
    padding: 0;
  }

  .footer-links ul li {
    margin-bottom: 6px;
  }

  .footer-social {
    justify-content: center;
    margin-top: 20px;
  }
}