
/* HEADER */
input[type="checkbox"],label{display:none;}

.header{

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

    height: 9.6rem;
    padding: 0 4.8rem;
    background-color: #FDF2E9;
}

.logo{
    height: 2.2rem;
}

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

.main-nav-link{
    display: inline-block;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease-in;
}

.main-nav-link:hover{
    color: #CF711F;
}

.nav-cta{
    border-radius: 9px;
    padding: 0 2.4rem;
    line-height: 4.2rem;
    color: #fff;
    background-color: #E67E22;
}

.nav-cta:hover{
    background-color: #CF711F;
    color: #fff;
}


/* SECTION HERO */
.section-hero{
    background-color: #FDF2E9;
    padding: 4.8rem 0 9.6rem 0;
}

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

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

.hero-img{
    width: 100%;
}

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

.delivered-img{
    display: flex;
}

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

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

.delivered-text{
    font-weight: 600;
}

.delivered-text span{
    font-weight: 700;
    color: #CF711F;
}


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

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

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

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

/* SECTION HOW */
.section-how{
    padding: 8rem 0 4.8rem 0;
}

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

.step-description{
    line-height: 32.4px;
}

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

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

.step-img-box::before{
    width: 60%;
    padding-bottom: 60%;
    background-color: #FDF2E9;
    z-index: -2;
}

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

.step-img{
    /* height: 38rem; */
    width: 35%;
}

/* SECTION MEALS */
.section-meals{
    padding: 9.6rem;
}

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

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

.meal-img{
    width: 100%;
}

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

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

.tag{
    display: inline-block;
    padding: 0 .8rem ;
    line-height: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    border-radius: 100px;
}

.tag-vegetarian{
    background-color: #51cf66;
}

.tag-vegan{
    background-color: #94d82d;
}

.tag-paleo{
    background-color: #ffd43b;
}

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

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

.meal-attribute{
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.meal-icon{
    width: 2.4rem;
    height: 2.4rem;
    color: #E67E22;
}


.all-recipes{
    text-align: center;
}



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

.testimonials-container{
    padding: 9.6rem;
}

.testimonials{
    row-gap: 4.8rem;
    column-gap: 8rem;
}

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

.testimonial-text{
    margin-bottom: 1.6rem;
    line-height: 3.24rem;
}

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

.gallery{
    gap: 1.6rem;
    padding: 1.6rem;
}

.gallery-item img{
    display: block;
    width: 100%;
}

/* SECTION PRICING */

.section-pricing{
    padding: 9.6rem 0;
}

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

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

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

.pricing-plan-complete:after{
    content: "Best value";
    position: absolute;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    background-color: #ffd43b;
    padding: .8rem 8rem;
    transform: rotate(45deg);
    top: 6%;
    right: -18%;
}

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

.plan-name{
    text-transform: uppercase;
    color: #CF711F;
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 0.75px;
    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: .8rem;
}


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

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

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

.benefits-icon {
    color: #E67E22;
    width: 3.2rem;
    height: 3.2rem;
    background-color: #FDF2E9;
    border-radius: 50%;
    padding: 1.6rem;
    margin-bottom: 3.2rem;
}

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

.benefits-text {
    line-height: 3.24rem;
}

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

.cta {
    display: grid;
    grid-template-columns: 2fr 1fr;
    box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
    border-radius: 11px;
    background-image: linear-gradient(to right bottom, #EB984E, #E67E22);
    overflow: hidden;
}

.cta-text-box{
    padding: 4.8rem 6.4rem 6.4rem 6.4rem;
    color: #45260A;
}

.cta .heading-secondary{
    color: inherit;
    margin-bottom: 3.2rem;
}

.cta-text {
    line-height: 3.24rem;
    margin-bottom: 4.8rem;
}

.cta-form {
    column-gap: 3.2rem;
    row-gap: 2.4rem;
}

.cta-form label{
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.cta-form input, .cta-form select {
    width: 100%;
    padding: 1.2rem ;
    background-color: #FDF2E9;
    border-radius: 9px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    /* line-height: 4.8rem; */
    font-size: 1.8rem;
    outline: none;
    border: none;
}

.cta-form input::placeholder {
    color: #aaa;
}

.btn-form {
    background-color: #45260A;
    color: #FDF2E9;
    line-height: 4.8rem;
    outline: none;
    border: none;
    align-self: end;
}

.cta-img-box {
    background-image: linear-gradient(to right bottom, rgba(235, 151,78,0.35),rgba(230, 125,34,0.35)), url('../img/eating.jpg');
    background-size: cover;
    background-position: center;
    /* on triche un peu car pas trouvé le pixel casse bonbon */
    margin-right: -1px;
}

/* 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-type: none;
    display: flex;
    gap: 2.4rem;
}

.social-icon {
    height: 2.4rem;
    width: 2.4rem;

}

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

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

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

.address {
    margin-bottom: 2.4rem;
}

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

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

.footer-link:hover {
    color: #555;
}



@media screen and (max-width:640px){
    label{display: inherit;}
    input[type="checkbox"]:checked +label + nav{display:block;}
    .menuon:hover{
        transition: .25s ease-in-out;
        cursor: pointer;
    }
    input[type="checkbox"]:checked +label .menuon{ transform: rotate(90deg);
    }
   .hero{
    display:flex;
    flex-direction: column;
    max-width:100vw;
   }
   .grid{
    display:flex;
    flex-direction:column;
    place-content: center;
    flex-wrap: wrap;
}
   .order{order:-1;}
   .header{height:inherit;padding-top:2vh;}
   header nav{display:none;}
   .main-nav{margin-top:4vh;}
   .logos,header,.main-nav-list{flex-wrap: wrap;flex-direction: column;}
   .logos{flex-direction: column;place-content: center;gap:3vh;}
   .logos img{width: 50%; height:inherit;}
    .section-cta,.section-meals{padding:0;}
   .gallery{flex-direction:row;}
   .section-testimonials{grid-template-columns: 1fr;}
   .btn-full{margin-bottom:2vh;}
   .section-cta .container{padding:0;}
   .cta{display:flex;flex-direction: column-reverse;border-radius:0;}
   .cta-img-box{height: 100vh;}
   .btn-form{align-self: center;width: 100%;}
   .main-nav-list{flex-direction: column;}
}