/* shared style */
* {
  padding: 0;
  margin: 0;
  font-family: "Noto Serif", serif;
  box-sizing: border-box;
}
.max-width {
  max-width: 1140px;
  margin: auto;
}
.text-color {
  color: #e95a08;
}
.btn1 {
  background: #e95a08;
  color: #ffffff;
  width: 100%;
  padding: 20px;
  font-size: 1rem;
}
.display-none {
  display: none;
}
.btn:hover,
.btn1:hover {
  background: #7b7706;
  color: #ffffff;
  width: 100%;
  padding: 10px auto;
  font-size: 1.1rem;
}
#badge:hover {
  transform: rotate(360deg) scale(125%);
}
/* header */
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 200px;
}
nav ul {
  display: flex;
}
nav ul li {
  list-style: none;
}
nav ul li a {
  text-decoration: none;
  color: #8987a1;
  padding-left: 30px;
}
nav ul li:nth-last-child(1) a,
nav ul li:nth-last-child(4) a {
  color: #252432;
}

/* banner */

.banner {
  display: flex;
  align-items: end;
}
.banner-left h2 {
  font-size: 4rem;
  font-weight: 700;
}
.banner-left p {
  font-size: 1.375rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
}

/* main */
/* our plans */
.our-plans {
  text-align: center;
  margin-top: 100px;
  align-items: center;
}
.our-plans h3 {
  font-size: 3.125rem;
  font-weight: 700;
  margin: 20px auto;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  border: none;
}
.cards h4 {
  font-size: 1rem;
  font-weight: 500;
}
.cards h5 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 10px auto;
}
/* trusted seller */
.trusted-seller {
  display: flex;
  gap: 50px;
  margin-top: 200px;
  position: relative;
  align-items: center;
}
.trusted-seller img {
  width: 100%;
  height: auto;
  display: block;
}
.trusted-seller .left {
  /* flex: 1; */
}
#badge {
  position: absolute;
  width: 25%;
  top: -140px;
  left: 370px;
  transition: transform 2s;
}
.trusted-seller .right {
  align-items: center;
  margin: auto;
  flex: 1;
}
.trusted-seller .right ul {
  padding-left: 50px;
}
.trusted-seller .right h3 {
  font-size: 3.125rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
}
.trusted-seller .right li {
  font-size: 1.375rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
}

/* deal */

.deals {
  text-align: center;
  margin-top: 150px;
}
.deals h3 {
  font-size: 3.125rem;
  font-weight: 700;
}
.deals p {
  font-size: 1.375rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
  margin: 20px auto;
  text-align: center;
}
.deals-images {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.deals-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 200px;
}

.deals-images h4 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}
.deals-images a {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}
.deals-right,
.deal {
  position: relative;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.zado {
  background-image: url("images/deal-zabo.png");
  height: 420px;
}
.bloom {
  background-image: url("images/deal-bloom.png");
  width: 100%;
  height: 210px;
}
.ana {
  background-image: url("images/deal-ana.png");
  height: 210px;
}
/* colorfulbrunch */

.colorful-brunch {
  background-image: url(images/news-letter-bg.png);
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;

  height: 533px;
  position: relative;
  margin-top: 150px;
}
.brunch-text {
}
.btn {
  background: #e95a08;
  color: #ffffff;
  font-weight: 600;
  border: none;
  padding: 15px 50px;
}

.colorful-brunch h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
}
.colorful-brunch form {
  display: flex;
  justify-content: center;

  border: none;
}
.colorful-brunch input {
  width: 100%;
}

/* footer-nav */
.footer-nav {
  display: flex;
  justify-content: space-around;
  /* align-items: center; */
  margin: 100px auto;
  gap: 50px;
  width: 100%;
}
.footer-nav .left {
  flex: 1;
}
.footer-nav .left p {
  font-size: 1.25rem;
  color: rgba(0, 0, 0, 0.5);
}
.footer-nav .middle ul {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.middle ul li {
  list-style: none;
}
.middle ul li a {
  text-decoration: none;
  color: #6b7280;
}

.footer-nav .right {
  flex: 1;
  padding-left: 20px;
}

/* Media Query */
@media screen and (max-width: 576px) {
  * {
    box-sizing: border-box;
  }

  nav ul li:nth-child(1) a,
  nav ul li:nth-child(2) a,
  nav ul li:nth-child(3) a {
    display: none;
  }
  .banner {
    flex-direction: column-reverse;
    padding: 2px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 15px;
  }
  .cards img {
    width: 100%;
    height: auto;
  }
  .trusted-seller {
    flex-direction: column;
    display: block;
    align-items: center;
    padding: 2px;
  }
  .trusted-seller img {
    width: 100%;
    max-width: 100%;
  }

  #badge {
    display: none;
  }
  .deals-images {
    flex-direction: column;
  }
  .deals-images {
    flex-direction: column;
  }
  .deals-left {
    flex-direction: column;
    width: 100%;
    height: auto;

    min-height: 90px;
  }
  .deals-right,
  .deal {
    min-height: 180px;
  }
  .zado {
    height: 210px;
  }
  .colorful-brunch {
    padding: 0;
    max-width: 100%;
  }
  .colorful-brunch h2 {
    font-size: 1.5rem;
  }

  .footer-nav {
    flex-direction: column;
    width: 100%;
    padding: 2px;
  }
  .footer-nav .middle ul {
    grid-template-columns: repeat(1, 1fr);
  }
}
