html {
  /* Changing default pixels for REM => Good practice is to set it to 10px; buut wait */
  /* font-size: 16px; */
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', 'Inter', sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  overflow-x: hidden;
}

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

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fdf2e9;
  /* height: 10vh; */
  height: 8rem;
  padding: 0 4.8rem;

  transition: all 0.2s linear;
}

.nav--sticky {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 7px 3px rgba(0, 0, 0, 0.1);
  height: 6rem;
  top: 0;
  width: 100%;
  z-index: 50;
}

.logo {
  height: 2.2rem;
}

.header__nav__list {
  display: flex;
  gap: 3.2rem;
  align-items: center;
}

.header__nav__list--open {
  opacity: 1;
}

.header__nav__list li {
  list-style: none;
}

.header__nav__link:link,
.header__nav__link:visited {
  display: inline-block;
  align-self: center;
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.4s;
  border-radius: 10px;
  padding: 0.8rem;
}

.header__nav__link:hover,
.header__nav__link:active {
  color: #cf711f;
}

/* CTA NAV BUTTON */

.header__nav__link.nav--cta:link,
.header__nav__link.nav--cta:visited {
  background-color: #e67e22;
  color: #fff;
  padding: 0.8rem 1.2rem;
}

.header__nav__link.nav--cta:hover,
.header__nav__link.nav--cta:active {
  background-color: #cf711f;
}

/* HAMBURGER MENU */

.btn-mobile-nav {
  display: none;
  border: none;
  background-color: transparent;
  z-index: 20;
}

.icon-mobile-nav {
  font-size: 4.2rem;
  cursor: pointer;
}

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

/**********************/
/* HERO SECTION */
/**********************/

.section__hero {
  background-color: #fdf2e9;
}

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

.hero__headline {
  margin-bottom: 3.2rem;
}

.hero__textbox {
  padding: 0 3.2rem;
}

.hero__description {
  font-size: 2rem;
  line-height: 1.4;
  margin-bottom: 4.8rem;
}

.hero__image {
  width: 100%;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  padding: 1.6rem 3.2rem;
  border-radius: 10px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn--form {
  background-color: #45260a;
  color: #fdf2e9;
  align-self: end;
  padding: 1.2rem;
  font-size: 1.6rem;
}

.btn--form:hover {
  background-color: #fdf2e9;
  color: #45260a;
  box-shadow: inset 0 0 0 3px #45260a;
}

.hero--btn--cta:link,
.hero--btn--cta:visited {
  background-color: #e67e22;
}

.hero--btn--cta:hover,
.hero--btn--cta:active {
  background-color: #cf711f;
}

.hero--btn--info:link,
.hero--btn--info:visited {
  background-color: #fff;
  color: #555;
}

.hero--btn--info:hover,
.hero--btn--info:active {
  background-color: #fdf2e9;
  /* border: 3px solid #fff; */
  /* Trick to add border inside */
  box-shadow: inset 0 0 0 3px #fff;
  color: #555;
}

/* HERO DELIVERIES */

.hero__deliveries {
  margin-top: 8rem;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.hero__deliveries__images {
  display: flex;
}

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

.hero__deliveries__img:last-child {
  margin-right: 0;
}

.hero__deliveries__text {
  font-size: 1.4rem;
  font-weight: 600;
}

.hero__deliveries__text span {
  color: #a15818;
  font-weight: 700;
}

/**********************/
/* FEATURED IN*/
/**********************/

.section__featuredin {
  padding: 4.6rem 0;
  margin-bottom: 9.6rem;
}

.featuredin__heading {
  color: #888;
  text-align: center;
  margin-bottom: 3.2rem;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.featuredin__logos {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  justify-content: space-around;
}

.featuredin__logo {
  height: 3.2rem;
  /* filter: grayscale(100%) */
  filter: brightness(0);
  opacity: 50%;
}

/**********************/
/* HOW SECTION */
/**********************/

.section__how {
  margin-bottom: 9.6rem;
}

/* STEP TEXTBOX */

.step__textbox {
}

.step__stepnumber {
  display: inline-block;
  font-size: 8.6rem;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 1.2rem;
}

/* STEP IMAGE BOX */

.step__imgbox {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__img {
  width: 40%;
}

.step__description {
  font-size: 2rem;
  line-height: 1.8;
}

.step__imgbox::after,
.step__imgbox::before {
  display: block;
  position: absolute;
  content: '';
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.step__imgbox::before {
  background-color: #fdf2e9;
  width: 80%;
  /* 80% of parents width */
  padding-bottom: 80%;
  /* Making our circle appear "under" the image */
  z-index: -2;
}

.step__imgbox::after {
  background-color: #fae5d3;
  width: 60%;
  /* 80% of parents width */
  padding-bottom: 60%;
  z-index: -1;
}

/**********************/
/* MEALS SECTION */
/**********************/

.section__meals {
  padding: 4.6rem 0;
  margin-bottom: 9.6rem;
}

/* MEAL CARDS */

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

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

.meal__img {
  width: 100%;
}

.meal__textbox {
  padding: 0.8rem 3.2rem 3.2rem 3.2rem;
}

.meal__tags {
  padding: 1rem 0;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.meal__tag {
  color: #fdf2e9;
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  text-transform: uppercase;
  border-radius: 10px;
}

.meal--vegetarian {
  background-color: #40c057;
}

.meal--paleo {
  background-color: #228be6;
}

.meal--vegan {
  background-color: #12b886;
}

.meal__name {
  font-size: 2rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 2.4rem;
}

.meal__attributes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.meal__attribute {
  display: flex;
  font-size: 1.4rem;
  align-items: center;
  gap: 1.6rem;
}

.meal__icon {
  height: 2.4rem;
  width: 2.4rem;
  color: #cf711f;
}

/* MEAL DIETS */

.meal__diets {
}

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

.meal__icon {
  width: 3rem;
  height: 3rem;
  color: #cf711f;
}

.meal__diet {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  gap: 1.6rem;
}

/* All RECIPES */

.all__recipes {
  text-align: center;
  font-size: 1.8rem;
}

.all__recipes__link:link,
.all__recipes__link:visited {
  display: inline-block;
  color: #e67e22;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
  transition: all 0.4s;
}

.all__recipes__link:hover,
.all__recipes__link:active {
  color: #cf711f;
  border-bottom: 1px solid transparent;
}

/**********************/
/* TESTIMONIALS SECTION */
/**********************/

.section__testimonials {
  background-color: #fdf2e9;
  display: grid;
  grid-template-columns: 60fr 40fr;
  align-items: center;
}

.testimonials__container {
  padding: 9.6rem;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 4.8rem;
  column-gap: 3.6rem;
}

.testimonial__img {
  width: 6.4rem;
  border-radius: 50%;
  margin-bottom: 1.2rem;
}

.testimonial__description {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
  color: #333;
}

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

/* GALLERY */

.photo__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  padding: 1.6rem;
}

.gallery__item {
  overflow: hidden;
}

.gallery__item__img {
  display: block;
  width: 100%;
  transition: all 0.4s;
}

.gallery__item__img:hover {
  transform: scale(105%);
}

/**********************/
/* PRICING SECTION */
/**********************/

.section__pricing {
  padding: 9.6rem 0;
}

.pricing__plan {
  position: relative;
  padding: 4.8rem;
  border-radius: 10px;
  width: 75%;
  overflow: hidden;
}

.pricing--plan--primary {
  background-color: #fdf2e9;
}

.pricing--plan--primary::before {
  position: absolute;
  top: 0%;
  right: 0%;
  content: 'Best Value';
  font-size: 1.4rem;
  font-weight: 600;
  width: 12rem;
  text-align: center;
  padding: 0.8rem 2rem;
  color: #fdf2e9;
  background-color: #ff6b6b;
  transform: rotate(45deg) translate(28%, -55%);
}

.pricing--plan--secondary {
  box-shadow: inset 0 0 0 3px #fdf2e9;
}

.pricing--plan--starter {
  justify-self: end;
}

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

.pricing__plan__name {
  color: #cf771f;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.75;
  margin-bottom: 1.6rem;
}
.pricing__plan__price {
  font-size: 6.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.6rem;
}

.pricing__plan__price span {
  font-size: 3rem;
  font-weight: 500;
  margin-right: 0.8rem;
}
.pricing__plan__per {
  color: #777;
  font-size: 1.6rem;
  line-height: 1.6;
}

.pricing__plan__list {
  margin-bottom: 4.8rem;
}

.pricing__plan__signup {
  margin-top: 4.8rem;
  text-align: center;
}

.pricing__plan__notice {
  text-align: center;
  font-size: 1.8rem;
  color: #999;
}

/* FEATURES */

.features {
  margin-bottom: 9.6rem;
}

.feature {
}

.feature__icon {
  color: #e67e22;
  width: 3.2rem;
  height: 3.2rem;
  background-color: #fdf2e9;
  padding: 1.6rem;
  border-radius: 50%;
  margin-bottom: 1.6rem;
}

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

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

/**********************/
/* CTA SECTION */
/**********************/

.section__cta {
  padding: 4.8rem 0 9.6rem 0;
}

.cta {
  display: grid;
  grid-template-columns: 2fr 1fr;
  background-image: linear-gradient(to right, #eb984e, #e67e22);
  border-radius: 10px;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 15%);
  overflow: hidden;
}

.cta__imgbox {
  background-image: linear-gradient(to right, rgba(230, 125, 34, 0.25), rgba(230, 125, 34, 0.25)), url(/img/eating.jpg);
  background-size: cover;
  background-position: center;
  /* transform: scale(130%); */
}

.cta__textbox {
  padding: 6.4rem 4.8rem;
  color: #45260a;
}

.cta__offer {
  font-size: 4.8rem;
  font-weight: 600;
  margin-bottom: 3.2rem;
}

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

.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 1.6rem;
}

.cta__form label,
.cta__form input,
.cta__form select,
.cta__form button {
  font-family: inherit;
}

.cta__form label {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.cta__form input,
.cta__form select {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.4rem;
  border: none;
  border-radius: 10px;
  box-shadow: 0 1px 2px 2px rgba(0, 0, 0, 0.2);
  color: inherit;
}

.cta__form input:focus {
  outline: none;
  box-shadow: inset 0 0 0 3px #45260a;
}

.cta__form input::placeholder {
  color: #aaa;
}

/**********************/
/* FOOTER */
/**********************/

.footer {
  padding: 9.6rem 0 12.8rem;
  border-top: 2px solid #eee;
}

/* LOGO */

.footer__logo__col {
  display: flex;
  flex-direction: column;
}

.footer__logo {
  display: inline-block;
  text-align: center;
  margin-bottom: 4.8rem;
}

.footer__social__links {
  display: flex;
  justify-content: space-around;
  gap: 3.2rem;
}

.social__link__logo {
  width: 2.8rem;
  height: 2.8rem;
  color: #6f6f6f;
}

.footer__social__links li {
  list-style: none;
}

.copyright__text {
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6;
  margin-top: auto;
}

/* ADDRESS */

.footer__contacts {
  font-size: 1.4rem;
  font-style: normal;
}

.footer__contacts p {
  margin-bottom: 2.4rem;
}

/* SITEMAP */

.footer__nav__heading {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 3.2rem;
}

.footer__nav__col ul {
  list-style: none;
}

.footer__nav__col li {
  list-style: none;
  margin-bottom: 2.4rem;
}

.footer__nav__col li:last-child {
  margin-bottom: 0;
}

.footer__nav__link:link,
.footer__nav__link:visited {
  font-size: 1.6rem;
  text-decoration: none;
  color: #6f6f6f;
}

.footer__nav__link:hover,
.footer__nav__link:active {
  border-bottom: 2px solid #e67e22;
}
