/************************************
HEADER-SECTION
*************************************/
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 8rem;
  font-size: 1.8rem;
  max-width: 100%;
  position: relative;
  background-color: #fdf2e9;
}
.header-nav-list {
  display: flex;
  align-items: center;
  gap: 6rem;
  list-style: none;
}

/* Mobile Nav */
.btn-mobile-nav {
  background: none;
  cursor: pointer;
  border: none;
  display: none;
  z-index: 9999;
}
.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

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

/* Sticky Navigation. */
.sticky .header {
  position: fixed;
  height: 8rem;
  width: 100%;
  top: 0;
  bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 0.5rem 3.2rem #eee;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 999;
}

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

.sticky .hero {
  margin-top: 10rem;
}
.container-hero {
  max-width: 130rem;
  padding: 6rem 3rem;
  margin: 0 auto;
}

.hero {
  background-color: #fdf2e9;
}

.hero-main {
  padding-top: 5rem;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.5;
}

.image-data-image {
  width: 5rem;
  border-radius: 50%;
  margin-right: -13px;
  border: 3px solid #f8d8bd;
}

.image-data-image:last-child {
  margin-right: 0;
}

.hero-img {
  width: 90%;
  margin-left: 3rem;
}

.data {
  color: #e67e22;
  font-weight: 800;
}

.image-data {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/************************************
FEATURED-IN-SECTION
*************************************/

.featured-in {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.featured-in-logo {
  width: 18rem;
  filter: brightness(0);
  opacity: 50%;
}

/************************************
HOW-IT-WORKS SECTION
*************************************/

.how-it-works-screen {
  height: 40rem;
  z-index: 3;
  position: relative;
}

.circle {
  position: relative;
}

.circle-outer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 35rem;
  width: 35rem;
  border-radius: 50%;
  z-index: 1;
  background-color: #fae5d3;
}

.circle-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 25rem;
  width: 25rem;
  border-radius: 50%;
  z-index: 2;
  background-color: #f5cba7;
}

.how-it-works-text {
  line-height: 1.5;
}

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

.card-1 img,
.card-2 img {
  width: 33rem;
  border-radius: 1.5rem 1.5rem 0 0;
}

.card-1,
.card-2 {
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 0 2rem #bbbbbb;
  overflow: hidden;
  transition: transform 0.5s;
}

.card-2 {
  justify-self: flex-start;
}

.card-1:hover,
.card-2:hover {
  transform: translateY(-1.5rem);
}

.card-info {
  padding: 4rem;
}

.card-info ul {
  list-style: none;
  line-height: 2.5;
}

.tab {
  display: inline-block;
  padding: 0.8rem;
  border-radius: 100rem;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 500;
  color: #000;
}

.veg {
  background-color: rgba(0, 128, 0, 0.4);
}

.paleo {
  background-color: #e67e22;
  margin-left: 1rem;
}

.card-3 {
  align-self: flex-start;
  justify-self: flex-start;
}

.card-3 ul {
  line-height: 2.5;
  list-style: none;
}

.recipes-all {
  display: flex;
  justify-content: center;
}

.recipes-all .recipes-link {
  color: #e67e22;
  border-bottom: 0.1rem solid #e67e22;
  transition: all 0.5s;
}

.recipes-all .recipes-link:hover {
  color: #b8651b;
  border-bottom: 0.1rem solid transparent;
}

/***********************************
TESTIMONIALS-SECTION
************************************/
.testimonials {
  background-color: #fdf2e9;
}

.heading-testimonial {
  grid-column: 1/3;
}

.grid--testimonial {
  display: grid;
  gap: 8rem;
  align-items: flex-start;
}

.testimonial-text img {
  width: 6rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: transform 0.5s;
}

.testimonial-text img:hover {
  transform: scale(1.2);
}

.testimonial-text p {
  line-height: 1.8;
}

.testimonial-author {
  color: #777;
  font-size: 1.6rem;
  margin: 0.8rem 0 2rem 0;
}

.image--con {
  overflow: hidden;
}

.gallery .image {
  width: 100%;
  transition: transform 0.5s;
}

.gallery .image:hover {
  transform: scale(1.2);
}

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

.heading-pricing {
  grid-column: 1/-1;
  justify-self: start;
}

.prices {
  grid-column: 1/-1;
}

.starter,
.complete {
  font-size: 1.6rem;
  color: #555;
  padding: 5rem;
  border: 2px solid #fae5d3;
  border-radius: 1rem;
}

.starter {
  justify-self: end;
  margin-right: 2rem;
}

.complete {
  justify-self: start;
  margin-left: 2rem;
}

.starter p:first-child,
.complete p:first-child {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
}

.price {
  color: #333;
  font-size: 5.4rem;
  font-weight: 800;
}

.dollar {
  font-size: 3rem;
  color: #777;
  margin-right: 0.5rem;
  font-weight: 400;
}

.complete {
  background-color: #fae5d3;
  position: relative;
  overflow: hidden;
}

.complete::before {
  content: 'best value';
  text-transform: uppercase;
  height: 2rem;
  padding: 0.5rem 7rem;
  background-color: #cf711f;
  color: #fff;
  letter-spacing: 1.5px;
  text-align: center;
  font-weight: 700;
  position: absolute;
  top: 4rem;
  right: -6.5rem;
  transform: rotate(45deg);
}

.starter ul,
.complete ul {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  list-style: none;
}

a.btn.btn--full.pricing {
  margin: 3rem 3rem 0 3rem;
}

.pricing-desc {
  line-height: 1.5;
}

.pricing-feature {
  margin: 0 3rem;
  align-self: flex-start;
}

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

.cta-section {
  box-shadow: 0 0 2rem #bbbbbb;
  display: flex;
  border-radius: 1.3rem;
  overflow: hidden;
}

.cta-section-left {
  flex-basis: 65%;
  background-color: #eb984e;
  padding: 6rem;
  color: #45260a;
}

.cta-section-right {
  flex-basis: 35%;
  background-image: linear-gradient(
      to right bottom,
      rgba(233, 139, 56, 0.3),
      rgba(233, 139, 56, 0.3)
    ),
    url(../content/img/eating.jpg);
  background-size: cover;
  background-position: center;
}

.CTA p {
  line-height: 1.5;
}

.CTA label {
  display: block;
  margin-bottom: 0.5rem;
}

.field {
  padding: 1.3rem;
  font-size: 1.8rem;
  border-radius: 1rem;
  width: 100%;
  border: none;
  outline: none;
}

.field::placeholder {
  color: #aaa;
}

.field:active,
.field:focus {
  box-shadow: 0 0 0 0.9rem #f3bf91;
}

.grid-2-columns.form {
  justify-items: stretch;
  column-gap: 3rem;
}

.sign-up {
  align-self: flex-end;
  background-color: #45260a;
  color: #eee;
  font-weight: 700;
  font-size: 2rem;
  transition: all 0.5s;
}

.sign-up:hover {
  background-color: #eee;
  color: #555;
}

/***********************************
FOOTER-SECTION
************************************/

.footer {
  border-top: 1px solid #ddd;
  color: #333;
  font-size: 1.6rem;
}

.footer .container {
  padding: 8rem;
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
  column-gap: 8rem;
}

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

.logo-box {
  margin-top: 4rem;
}

.copyright {
  font-size: 1.4rem;
  margin-top: auto;
}

.footer-link li {
  line-height: 2;
  list-style: none;
}

.footer .omnifood-logo {
  display: block;
}
