@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
  margin: 0px;
  padding: 0px;
}

/* Lato fonts from google fonts */
.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

/* Shared Item */
.btn-primary {
  background-color: #E55473;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  padding: 20px 43px;
  border-radius: 8px;
  border: none;
}

.primary-color {
  color: #E55473;
}

/* Banner Section */
.banner-container {
  background-color: rgba(229, 84, 115, 0.1);
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  max-width: 708px;
}

.banner-content h1 {
  font-size: 5rem;
  margin-bottom: 32px;
}

.banner-content p {
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(39, 39, 39, 0.6);
  margin-bottom: 32px;
}

.banner-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Featured Flower Section */

.featured-flower-section {
  max-width: 1440px;
  margin: 180px auto 0px auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.featured-flower-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.featured-flower-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #272727;
  margin-bottom: 24px;
}

.featured-flower-content p {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(39, 39, 39, 0.6);
}

.featured-flower-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.card-image {
  background-color: rgba(167, 33, 98, 0.15);
  max-width: 465px;
  height: 538px;
  padding: 10px 78px 0px 78px;
  display: flex;
  align-items: end;
  border-radius: 300px 300px 0px 0px;
}

.card h3 {
  font-size: 1.5rem;
  text-decoration: underline;
  text-align: center;
}

.card img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Badge Section */
.badge-section {
  background-color: rgba(39, 39, 39, 0.05);
  max-width: 1140px;
  margin: 128px auto 0px auto;
  padding: 86px 176px;
}

.badge-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.badge {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.badge-image {
  max-width: 88px;
}

.badge-container img {
  width: 100%;
}

/* Offer Section */

.offer-section {
  background-color: rgba(229, 84, 115, 0.05);
  max-width: 1920px;
  margin: 128px auto;
  padding: 100px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 186px;
}

.offer-section-content > h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #272727;
}

.offer-section-content > h1 > span {
  color: #E55473;
}

.offer-section-content p {
   font-size: 1.2rem;
   font-weight: 400;
   color: rgba(39, 39, 39, 0.6);
}

.offer-section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.offer-section img{
  width: 100%;
}


/* Instagram Section */
.instagram-section {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  justify-content: center;
  align-items: center;
}

.instagram-section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.instagram-section-content > h1 {
  font-size: 2.5rem;
}

.instagram-section-content > p {
  color: rgba(39, 39, 39, 0.6);
  font-size: 1.2rem;
  text-align: center;
}

.instagram-section-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.card > img {
  width: 100%;
}

/* latest section */
.latest-section {
  background-image: url("/images/rectangle_9.png");
  background-repeat: no-repeat;
  max-width: 1440px;
  margin: 128px auto;
  padding: 122px 0px;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 20px;
}

.latest-section h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.latest-section p {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(39, 39, 39, 0.6);
}

.subscribe-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.subscribe-container input {
  width: 50%;
  padding: 23px 22px;
}

/* footer section */
.footer-section {
  background-color: #111010;
  max-width: 1922px;
  margin: 0 auto;
  padding: 128px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.footer-section h1 {
  font-size: 3rem;
  color: white;
  font-weight: 800;
}

.footer-section p {
  font-size: 1.2rem;
  color: white;
  font-weight: 500;
  text-align: center;
}

#copywrite {
  color: rgba(255, 255, 255, 0.4);
}

/* Media query for small device */
@media screen and (max-width: 576px) {
  /* banner */
  .banner-container, 
  .featured-flower-cards, 
  .badge-container, 
  .offer-section, 
  .instagram-section-card-container, 
  .subscribe-container {
    flex-direction: column;
    padding: 10px;
    height: auto;
  }

  .offer-section {
    gap: 20px;
  }

  .banner-content h1 {
    font-size: 3rem;
  }

  .banner-image {
    width: 100%;
  }

  .badge-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .badge-image img {
    width: 88px;
  }


}

/* Media query for medium device */
@media screen and (min-width: 577px) and (max-width: 992px) {
  .banner-container, 
  .featured-flower-cards, 
  .badge-container, 
  .instagram-section-card-container {
    margin: 10px auto;
    flex-direction: column;
    height: auto;
  }
}