/***************************************/
/* TOP MICROCOPY */
/***************************************/

.top-microcopy {
  padding: 1.2rem 0;
  background-color: #3d5771;
}

.microcopy {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: #e7eaed;
}

/***************************************/
/* HEADER */
/***************************************/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: #e7eaed;
  /* padding: 4.8rem 4.8rem; */
  height: 9.6rem;
  padding: 0 4.8rem;

  position: relative;
}

.logo {
  height: 4.2rem;
}

/***************************************/
/* NAVUGATION */
/***************************************/

.main-nav-list {
  display: flex;
  align-items: center;
  gap: 4.8rem;
  list-style: none;
}

.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #5d7288;
}

.cta-nav:link,
.cta-nav:visited {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  color: #fff !important;
  border-radius: 9px;
  background-color: #3d5771;
}

.cta-nav:hover,
.cta-nav:active {
  background-color: #0d2d4d;
}

/* MOBILE */
.mobile-nav-btn {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
  z-index: 9999;
}

.mobile-nav-icon {
  font-size: 4.8rem;
  color: #333;
}

.mobile-nav-icon[name="close-outline"] {
  display: none;
}

/* Sticky nav */
.sticky .header {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.9);
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(3px); /* blur the background */
  -webkit-backdrop-filter: blur(3px); /* Safari support */
  z-index: 999;
}

.sticky .section-hero {
  margin-top: 9.6rem;
}

/***************************************/
/* HERO */
/***************************************/

.section-hero {
  background-color: #e7eaed;
  padding: 4.8rem 0 9.6rem 0;
}

.hero {
  margin: 0 auto;
  padding: 0 3.2rem;
  max-width: 130rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9.2rem;
  align-items: center;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.hero-img {
  width: 100%;
}

.delivered-meals {
  margin-top: 6.4rem;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.delivered-imgs {
  display: flex;
}

.delivered-imgs img {
  height: 4.8rem;
  width: 4.8rem;
  border-radius: 50%;
  border: 3px solid #fdf2e9;
  margin-right: -1.6rem;
}

.delivered-imgs img:last-child {
  margin: 0;
}

.delivered-txt {
  font-size: 1.6rem;
  font-weight: 400;
}

.delivered-txt span {
  font-weight: 700;
  color: #3d5771;
}

/***************************************/
/* FEATURED IN SECTION */
/***************************************/
.section-featured {
  padding: 4.8rem 0 3.2rem 0;
}

.heading-featured-in {
  font-size: 1.4rem;
  letter-spacing: 0.75px;
  font-weight: 500;
  text-transform: uppercase;
  color: #888;
  text-align: center;
  /* margin-bottom: 6.4rem; */
}

.logos {
  display: flex;
  justify-content: space-around;
}

.logos img {
  height: 3.2rem;
  filter: brightness(0) opacity(50%);
}

/***************************************/
/* HOW IT WORKS SECTION */
/***************************************/
.section-how {
  padding: 9.6rem 0;
}

.step-number {
  font-size: 8.6rem;
  color: #e7eaed;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.step-description {
  font-size: 1.8rem;
  line-height: 1.8;
}

.step-img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/*.step-img-box::before,
.step-img-box::after {
  content: "";
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.step-img-box::before {
  width: 60%;
  # height: 60%; it'll not work
  # 60% of parent's width
  padding-bottom: 60%;
  background-color: #e7eaed;
  z-index: -2;
}

.step-img-box::after {
  width: 45%;
  padding-bottom: 45%;
  background-color: #b4bec8;
  z-index: -1;
}*/

.step-img {
  width: 40%;
}

/***************************************/
/* MEAL SECTION */
/***************************************/
.section-meals {
  padding: 4.8rem;
  background-color: #e7eaed;
}

.meal {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
  border-radius: 11px;
  overflow: hidden;
  transition: all 0.4s;
}

/* Divider in meals section */
/* .section-meals .grid--3-cols-sup {
  position: relative;
  align-items: start;
} */

.section-meals .meals-divider {
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.15) 15%,
    rgba(0, 0, 0, 0.15) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  justify-self: center;
  height: 100%;
}

@media (max-width: 56em) {
  .section-meals .grid--3-cols-sup {
    grid-template-columns: 1fr;
  }
  .section-meals .meals-divider {
    display: none;
  }
}

.meal:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.06);
}

.meal-content {
  padding: 4.8rem;
  padding-top: 3.2rem;
}

.meal-img {
  width: 100%;
}

.meal-tags {
  margin-bottom: 1.2rem;
  display: flex;
  gap: 0.8rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #333;
  font-weight: 600;
  border-radius: 100px;
}

.tag--vegetarian {
  background-color: #8ce99a;
}
.tag--vegan {
  background-color: #c0eb75;
}
.tag--poleo {
  background-color: #ffe066;
}

.meal-title {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 3.2rem;
}

.meal-attributes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.meal-attribute {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.meal-icon {
  font-size: 2.4rem;
  color: #e67e22;
}

.all-recipes {
  margin-top: 4.8rem;
  font-size: 1.8rem;
  text-align: center;
}

.right-side {
  display: flex;
  /* justify-content: flex-end; */
  align-items: center;
}

.right-side img {
  width: 60%;
  height: auto;
}

/***************************************/
/* TESTIMONIAL SECTION */
/***************************************/
.section-testimonials {
  /* background-color: #fdf2e9; */
  /* display: grid; */
  /* grid-template-columns: 55fr 45fr; */
  align-items: center;
}

.testimonial-container {
  padding: 9.6rem;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 4.8rem;
  column-gap: 8rem;
}

.testimonial {
  background-color: #f1f1f1;
  padding: 2.4rem;
  border-radius: 9px;
  transition: all 0.4s;
}

.testimonial:hover {
  transform: translateY(-1.2rem);
}

.testimonial-img {
  width: 6.2rem;
  border-radius: 50%;
  margin-bottom: 1.2rem;
}

.testimonial-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

.testimonial-name {
  font-size: 1.6rem;
  color: #6f6f6f;
}

/***************************************/
/* Pricing SECTION */
/***************************************/
.section-pricing {
  padding: 9.8rem 6rem;
}

.pricing-plan {
  border-radius: 11px;
  width: 75%;
}

.pricing--plan-starter {
  justify-self: end;
  border: 2px solid #fdf2e9;
  padding: 4.6rem;
}

.pricing--plan-complete {
  background-color: #fdf2e9;
  padding: 4.8rem;
  position: relative;
  overflow: hidden;
}

.pricing--plan-complete::after {
  content: "Best value";
  background-color: #ffe066;
  color: #333;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;

  position: absolute;
  top: 6%;
  right: -18%;

  padding: 0.8rem 8rem;
  transform: rotate(45deg);
}

.plan-header {
  text-align: center;
  margin-bottom: 4.8rem;
}

.plan-name {
  color: #cf711f;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.75;
  margin-bottom: 3.2rem;
}

.plan-price {
  font-size: 6.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.6rem;
}

.plan-price span {
  font-size: 3rem;
  font-weight: 500;
  margin-right: 0.8rem;
}

.plan-text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #6f6f6f;
}

.plan-sign-up {
  margin-top: 4.8rem;
  text-align: center;
}

.plan-detials {
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;
}

.feature {
  transition: all 0.4s;
  padding: 2.4rem;
}

.feature:hover {
  background-color: #f9f9f9;
  padding: 2.4rem;
  border-radius: 9px;
}

.feature-icon {
  font-size: 3.2rem;
  color: #3d5771;
  background-color: #e7eaed;
  border-radius: 50%;
  padding: 1.6rem;
  margin-bottom: 3.2rem;
}

.feature-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.6rem;
}

.feature-text {
  font-size: 1.6rem;
  line-height: 1.6;
}

/***************************************/
/* OUR STORY PAGE */
/***************************************/
.section-story-hero {
  background-color: #e7eaed;
  padding: 12rem 0 6rem 0;
  text-align: center;
}

.story-hero-content {
  max-width: 80rem;
  margin: 0 auto;
}

.story-subtitle {
  font-size: 2.4rem;
  line-height: 1.4;
  color: #5d7288;
  font-weight: 500;
  margin-top: 2.4rem;
}

.section-story-content {
  padding: 9.6rem 0;
}

.story-content {
  max-width: 75rem;
  margin: 0 auto;
}

.story-paragraph,
.story-section {
  margin-bottom: 4.8rem;
}

.story-text {
  font-size: 2rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2.4rem;
}

.story-text:last-child {
  margin-bottom: 0;
}

.story-emphasis {
  font-weight: 600;
  font-size: 2.2rem;
  color: #3d5771;
}

.story-highlight {
  background-color: #fdf2e9;
  padding: 4.8rem;
  border-radius: 11px;
  border-left: 4px solid #3d5771;
  margin: 6.4rem 0;
}

.edison-quote {
  font-size: 2.4rem;
  line-height: 1.6;
  font-style: italic;
  color: #3d5771;
  font-weight: 600;
  margin: 3.2rem 0;
  padding: 2.4rem 0;
  /* border-left: 3px solid #5d7288; */
  padding-left: 2.4rem;
  position: relative;
}

.edison-quote::before {
  content: "\201C";
  font-size: 6rem;
  color: #b4bec8;
  position: absolute;
  top: -1rem;
  left: -1rem;
  font-family: Georgia, serif;
}

.edison-quote::after {
  content: "\201D";
  font-size: 6rem;
  color: #b4bec8;
  position: absolute;
  bottom: -3rem;
  right: -1rem;
  font-family: Georgia, serif;
}

.founder-signature {
  margin-top: 9.6rem;
  padding-top: 4.8rem;
  border-top: 2px solid #e7eaed;
  text-align: right;
}

.founder-name {
  font-size: 2.4rem;
  font-weight: 700;
  color: #3d5771;
  margin-bottom: 0.8rem;
}

.founder-title {
  font-size: 1.8rem;
  color: #5d7288;
  font-weight: 500;
}

/* Responsive adjustments for story page */
@media (max-width: 75em) {
  .story-content {
    max-width: 70rem;
  }

  .story-text {
    font-size: 1.9rem;
  }

  .story-subtitle {
    font-size: 2.2rem;
  }
}

@media (max-width: 59em) {
  .section-story-hero {
    padding: 8rem 0 4rem 0;
  }

  .story-content {
    max-width: 60rem;
  }

  .story-text {
    font-size: 1.8rem;
  }

  .story-subtitle {
    font-size: 2rem;
  }

  .edison-quote {
    font-size: 2.2rem;
  }

  .story-highlight {
    padding: 3.2rem;
    margin: 4.8rem 0;
  }
}

@media (max-width: 44em) {
  .story-text {
    font-size: 1.7rem;
  }

  .story-subtitle {
    font-size: 1.9rem;
  }

  .edison-quote {
    font-size: 2rem;
  }

  .story-highlight {
    padding: 2.4rem;
  }

  .founder-signature {
    text-align: center;
  }
}

/***************************************/
/* CTA SECTION */
/***************************************/
.section-cta {
  /* padding: 9.8rem 0 12.8rem 0; */
  padding: 4.8rem 0 12.8rem;
}

.cta {
  overflow: hidden;
  /* display: grid; */
  /* 2/3 = 66.6% + 1/3 = 33.3% */
  /* grid-template-columns: 2fr 1fr; */
  background-color: #e67e22;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  border-radius: 11px;
  background-image: linear-gradient(to right bottom, #5d7288, #0d2d4d);
  padding: 4.8rem 6.4rem 6.4rem 6.4rem;
}

.cta-text-box .secondary-heading {
  /* color: #45260a; */
  color: inherit;
  margin-bottom: 3.2rem;
}

.cta-text-box {
  color: #fff;
  align-self: center;
}

.cta-text {
  color: #b4bec8;
}

.cta-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}

.download-btns {
  display: inline-flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btns a {
  display: inline-block;
}

.download-btn {
  width: auto;
  max-width: 200px;
  height: auto;
  display: block;
}

.cta-img {
  justify-self: right;
  align-self: center;
}

.cta-img img {
  width: 80%;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0px);
  }
}
/***************************************/
/* FOOTER */
/***************************************/
.footer {
  padding: 12.8rem 0;
  border-top: 1px solid #eee;
}

.grid--footer {
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 3.2rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.footer-icon {
  font-size: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #767676;
  margin-top: auto;
}

.footer-header {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-list:link,
.footer-list:visited {
  text-decoration: none;
  color: #767676;
  font-size: 1.6rem;
  transition: all 0.3s;
}

.footer-list:hover,
.footer-list:active {
  color: #555;
}
