/*****************************/
/* (84*16 =1344 (which mean this code will fireup at 1344)) BELLOW
1344px(FOR SMALLER DESKTOP) */
/*****************************/

@media (max-width: 84em) {
  .hero {
    max-width: 120rem;
  }
  .margin-bottom {
    margin-bottom: 8rem;
    line-height: 1.3;
  }
}

/*****************************/
/* BELLOW 1200px (75em) --(Landscape Tablets) */
/*****************************/

@media (max-width: 75em) {
  .testimonial-gallary-content {
    padding: 0;
  }
  .social-prov-img {
    height: 4rem;
  }
  .margin-top {
    margin-top: 0;
    padding-top: 2rem;
  }
  .tertiary-header {
    font-size: 4.5rem;
  }
  .social-proves {
    flex-direction: column;
    align-items: flex-start;
  }
  .social-decription-span {
    color: #e67e22;
    margin-left: 0;
  }
  .CTA--sub-header {
    font-size: 1.7rem;
  }
  .Navigation {
    padding: 2.4rem;
  }
  .navigation-list {
    display: flex;
    gap: 3.2rem;
  }
  .container.meal.addintop {
    margin-top: 0;
    padding-top: 0;
  }
  .meal-headers-con {
    margin-top: 0;
  }

  /* 9px/16px=0.5625 (Ans*100%) = 56.26% */

  html {
    font-size: 56.25%;
  }
  .testimonial-gallary-content {
    padding: 0.8rem;
  }
  .secondary-heading {
    font-size: 4.2rem;
  }
  .CTA--header {
    font-size: 3.6rem;
  }
  .how-work-header {
    font-size: 2.4rem;
  }
  .meal-grid {
    display: grid;
    gap: 4.8rem;
  }
  .grid-feature {
    gap: 3.5rem;
  }
  .social-proves {
    flex-direction: row;
    align-items: flex-start;
  }
}
/* BELLOW 1040px */

@media (max-width: 65em) {
  .tertiary-header {
    font-size: 4rem;
  }
  .hero-sub-contents {
    font-size: 1.8rem;
  }
  .testimonial-section {
    display: grid;
    grid-template-columns: 60fr 40fr;
  }
  .margin-bottom {
    margin-bottom: 4.8rem;
  }
  .work-with-any-diet-header {
    font-size: 2.4rem;
  }
  .featured-in-img {
    height: 2.4rem;
  }
  .tertiary-header {
    font-size: 4.3rem;
  }
  .meal-card--header {
    font-size: 2rem;
    margin-top: 1.6rem;
    font-weight: 600;
  }
}

/*****************************/
/* BELLOW 928px (58em) (Tablet) */
/*****************************/
@media (max-width: 58em) {
  /* 8pc ? 16px =0.5*100% =50%*/
  html {
    font-size: 50%;
  }
  .secondary-heading {
    margin-bottom: 24px;
  }

  .two-grid-temp-colum {
    grid-template-columns: 1fr;
  }
  .hero-img {
    width: 70%;
  }
  .hero-text-cont {
    text-align: center;
    padding: 0 8rem;
  }
  .hero-CTA-list {
    justify-content: center;
  }
  .social-proves {
    justify-content: center;
  }
  .hero-img-cont {
    text-align: center;
  }
  .grid {
    gap: 6.4rem;
  }
  .social-proves {
    margin-top: 3.2rem;
  }
  .number {
    font-size: 7.4rem;
  }
  .work-with-list {
    gap: 1.6rem;
  }

  .meal-card-text-info {
    padding: 1.6rem 1.4rem 2.4rem 1.4rem;
  }
  .testimonial-section {
    grid-template-columns: 1fr;
    gap: 6.4rem;
  }
  .testimonial-gallary-content {
    grid-template-columns: repeat(6, 1fr);
  }

  .text-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 6.4rem;
    column-gap: 4.8rem;
  }
  .quotes {
    font-size: 2rem;
  }
  .how-it-work-cont {
    padding-bottom: 0;
  }
  .container {
    padding: 4.8rem 2.4rem;
  }
  .how--work-grid {
    padding-bottom: 0;
  }
  .pricing-plan-complete {
    padding: 3.5rem;
  }
  .pricing-plan-starter {
    padding: 3.6rem;
  }
  /* (3/5= 0.6*%100 = 60%) + (2/5 = 0.4*%100 = %40%)*/
  .CTA--section {
    grid-template-columns: 3fr 2fr;
  }
  .CTA--form {
    grid-template-columns: 1fr;
    row-gap: 3.2rem;
  }
  .CTA-form-btn {
    margin-top: 1.2rem;
  }
  .pricing-plan-complete::after {
    top: 3.5%;
    right: -23.9%;
  }
  /* MOBILE NAVIGATION */
  .btn-mobile-nav {
    display: block;
    z-index: 9999;
  }
  .NAV-ICONS {
    display: block;
    margin-top: 1.8rem;
    display: flex;
    gap: 3.2rem;
  }
  .nav-social-icons {
    font-size: 3.2rem;
  }
  .main-nav {
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s ease-in;
    transform: translateX(100%);
  }
  .nav-open .main-nav {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
  .Navigation {
    position: relative;
  }
  .navigation-list {
    flex-direction: column;
    gap: 4.8rem;
  }
  .nav-links:link,
  .nav-links:visited {
    text-decoration: none;
    font-size: 2.4rem;
    color: #555;
    font-weight: 600;
    transition: all 0.3s;
  }
  .nav-CTA:link,
  .nav-CTA:visited {
    padding: 1.6rem 3.2rem;
    background-color: #e67e22;
    border-radius: 11px;
    color: #fff;
    display: inline-block;
  }
  .nav-links:hover,
  .nav-links:active {
    color: #cf711f;
  }
  .nav-CTA:hover,
  .nav-CTA:active {
    padding: 1.6rem 3.2rem;
    background-color: #cf711f;
    border-radius: 11px;
    color: #fff;
  }

  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }
  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
    border-radius: 50%;
    border: solid 2px #333;
  }
  .pricing-plan-complete::after {
    top: 2.94%;
    right: -22.3%;
    font-weight: 700;
    font-size: 1.2rem;
  }
  .secondary-heading {
    margin-bottom: 0;
  }
  .addintop {
    margin-top: 2.4rem !important;
  }
}

/*****************************/
/* BELLOW 704 (44em) (SMALLER Tablet) */
/*****************************/
@media (max-width: 44em) {
  .meal-grid-temp-con {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-feature {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .work-with-any-diets {
    grid-column: 1 / -1;
    width: 35%;
    justify-self: center;
  }

  .pricing-plan {
    width: 100%;
  }
  .price-container {
    padding: 2.4rem;
  }
  .pricing-plan-complete::after {
    top: 4.54%;
    right: -22.4%;
    font-weight: 700;
    font-size: 1.4rem;
  }
  .Price-name {
    font-size: 1.8rem;
  }
  .pricing-plan-complete {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
  .footer {
    display: grid;
    gap: 9.6rem;
    grid-template-columns: repeat(6, 1fr);
  }
  .grid-col {
    grid-row: 1;
    grid-column: span 2;
  }
  .footer-logo,
  .Contact {
    grid-column: span 3;
  }
  .meal-card--header {
    font-size: 2rem;
  }
  .logo-icon {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  .social-m-icon {
    font-size: 2.4rem;
  }
  .NAV-ICONS .nav-social-icons {
    font-size: 3.2rem;
    padding-bottom: 2.4rem;
  }
  .featured-in-img {
    height: 2rem;
  }
  .price-list {
    font-size: 1.6rem;
  }
  .price-icon {
    margin-right: 0;
  }
  .pricing-plan-starter {
    padding: 2.8rem;
  }
}
/*****************************/
/* BELLOW 544 (34em) (phones) */
/*****************************/
@media (max-width: 34em) {
  .two-grid-template-colum {
    grid-template-columns: 1fr;
  }
  .text-container {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .grid-feature {
    display: grid;
    grid-template-columns: 1fr;
  }
  .meal-grid-temp-con {
    grid-template-columns: 1fr;
  }
  .hero-text-cont {
    padding: 0 3.2rem;
  }
  .hero {
    max-width: 130rem;
    margin: 0 auto;
    padding: 3.2rem 0 2.4rem 1.2rem;
  }
  .meals-card-section {
    padding: 8rem 0 0 0;
  }
  .hero-CTA-links:link,
  .hero-CTA-links:visited {
    padding: 1.2rem 2.4rem;
    font-size: 2.4rem;
  }
  .work-with-any-diets {
    grid-column: 1 / -1;
    justify-content: center;
    width: 80%;
  }
  .hero-CTA-list {
    flex-direction: column;
    gap: 3.2rem;
  }
  .social-decription {
    text-align: left;
    margin-left: 1.8rem;
  }
  .social-decription-span {
    margin-left: 0;
  }
  .featured-in-img {
    height: 1.4rem;
  }
  .feature-in-logos {
    gap: 2.4rem;
  }
  .CTA--section {
    grid-template-columns: 1fr;
  }
  .CTA--img-section {
    height: 35rem;
    grid-row: 1;
    background-position: top;
  }
  .Call-to-Action {
    padding: 2.4rem;
  }
  .footer {
    display: grid;
    gap: 4.8rem;
  }
  .footer-logo,
  .Contact {
    transform: translateY(1.8rem);
  }
  .grid-how {
    row-gap: 4.8rem;
  }
  .price-list {
    font-size: 1.8rem;
  }
  .addintop {
    margin-top: 9rem !important;
  }
  .how-it-work-app-image-cont:nth-child(2) {
    grid-row: 1;
  }
  .how-it-work-app-image-cont:nth-child(6) {
    grid-row: 5;
  }
  .how-it-work-app-image-cont {
    transform: translateY(6rem);
  }
  .secondary-heading {
    margin-bottom: 4.8rem;
    line-height: 1.1;
  }
  .meals-card-section {
    padding: 4rem 0 0 0;
  }
  .how--work-grid {
    padding: 0;
  }
  .pricing-plan-complete {
    padding: 4.8rem !important;
  }
  .Price-name {
    font-size: 2.4rem;
  }
  .pricing-plan-complete::after {
    top: 4.84%;
    right: -13%;
    font-size: 1.6rem;
  }
  .testimonial-gallary-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
  }
  .testimonial-section {
    gap: 3.2rem;
    margin-bottom: 4.8rem;
  }

  .container {
    padding: 0rem 2.4rem;
    padding-top: 2.4rem;
  }
  .price-container {
    padding: 0 2.4rem;
  }
  .logo-icon {
    display: flex;
    flex-direction: row;
    gap: 3rem;
  }
  .social-prov-img {
    height: 3rem;
  }
  .social-decription {
    text-align: left;
    margin-left: 0;
    font-size: 1.4rem;
  }
  .social-prov-img {
    height: 3rem;
  }

  .made-with-love {
    padding-top: 6rem !important;
  }
}
@media (max-width: 23em) {
  .pricing-plan-complete::after {
    top: 3.14%;
    right: -22.2%;
    font-size: 1.4rem;
  }
  .social-proves {
    flex-direction: column;
    align-items: center;
  }
  .social-decription {
    text-align: center;
  }
  .hero-img {
    width: 95%;
  }
  .featured-in-img {
    height: 0.8rem;
  }
  .logo-icon {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    align-items: flex-start;
    margin-bottom: 2.4rem;
  }

  .mail {
    font-size: 1.6rem;
  }

  /* 
-----FONT SIZES SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
 */

  /* FIXING SAFARI FLEXBOX GAP */
  @media (max-width: 58em) {
    .no-flexbox-gap .NAV-ICONS:not(:last-child) {
      margin-right: 3.2rem;
    }
  }
  @media (max-width: 58em) {
    .no-flexbox-gap .navigation-list li:not(:last-child) {
      margin-bottom: 4.8rem;
    }
  }
  @media (max-width: 58em) {
    .no-flexbox-gap .logo-icon:not(:last-child) {
      margin-right: 3rem;
    }
  }
  @media (max-width: 23em) {
    .no-flexbox-gap .logo-icon:not(:last-child) {
      margin-bottom: 2.4rem;
    }
  }

  .no-flexbox-gap .hero-CTA-list li:not(:last-child) {
    margin-right: 2.4rem;
  }

  .no-flexbox-gap .feature-in-logos:not(:last-child) {
    margin-bottom: 3.2rem;
  }

  .no-flexbox-gap .meal-list li:not(:last-child) {
    margin-bottom: 3.2rem;
  }
  .no-flexbox-gap .price-list-cont li:not(:last-child) {
    margin-bottom: 1.4rem;
  }

  .no-flexbox-gap .social-media-icon li {
    margin-right: 1.4rem;
  }
}
