/*imports*/
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap');
/*variables */

* {
    padding: 0;
    margin: 0;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
a {
    color: var(--color-5);
}
a:visited {
    color: var(--color-5);
}
::selection {
    background-color: var(--color-6);
}
:root {
    --color-1:#1f3d3a;
    --color-2:#0f2a28;
    --color-3:#2b2b2b;
    --color-4:#e7dccb;
    --color-5:#f6f3ee;
    --color-6:#d52b1e;
    --color-7:#1b4d45;
}
body {
    background-color: var(--color-7);
    width: 100%;
    height: auto;
   
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.headerWrapper {
    max-width: 1300px;
    display: flex;
    position: absolute;
    top: 0;
    width: 100%;
    height: 5em;
    justify-content: space-between;
    pointer-events: all;
    z-index: 3;
}
.headerLogoWrapper {
    display: flex;
    position: relative;
    flex: 2;
}
.logoHeader {
    height: 100%;
    aspect-ratio: 1/1;
    &:hover {
        cursor: pointer;
    }
    
}
.headerNav {
    display: flex;
    flex-direction: row;
    height: 100%;
    gap: 1em;
    flex: 3;
    justify-content: center;
    align-items: center;
    z-index: 20;
    color: var(--color-4);
    transition: all 0.15s ease-in-out;
}
.headerNav.checked {
    flex-direction: column;
    position: fixed;
    left: 50%;
    transform: translate(-50%,0);
    width: 100vh;
    height: 100vh;
    backdrop-filter: blur(15px);
    font-size: 8vw;
}
.navElt {
    font-weight: 700;
    font-family: "League Spartan",sans-serif;
    position: relative;
    white-space: nowrap;
    text-decoration: none;
}
.navElt::after {
    content: "";
    width: 100%;
    height: .15em;
    position: absolute;
    bottom: -.2em;
    left: 0;
    transform: scaleX(0);
    background-color: var(--color-5);
    transition: all .15s ease-in-out;
    transform-origin: center;
}
.navElt:hover {
    transform: translateY(-1px);
    cursor: pointer;
    color: var(--color-5);
}
.navElt:hover::after {
    transform: scaleX(1);
}
.navElt:nth-child(4) {
    color: var(--color-4);
}
.navElt:nth-child(4)::after {
    content: "";
    width: 100%;
    height: .15em;
    position: absolute;
    bottom: -.1em;
    left: 0;
    transform: scaleX(1);
    background-color: var(--color-5);
    transition: all .15s ease-in-out;
    transform-origin: center;
}
.contactWrapper {
    flex: 2;
    display: flex;
    justify-content: right;
    align-items: center;
}

.contact {
    background-color: var(--color-3);
    display: flex;
    width: fit-content;
    height: 3em;
    box-sizing: border-box;
    padding: .5em 1em;
    justify-content: space-between;
    align-items: center;
    gap: .5em;
    font-family: "League Spartan", sans-serif;
    font-weight: 800;
    text-decoration: none;
    color: var(--color-4);
    border-radius: 10px;
    box-shadow: 5px 7px 8.5px 0 rgba(0,0,0,.2) ;
    transition: all .15s ease-in-out;
    margin-right: 2em;
    &:hover {
        transform: translateY(-2px);
        box-shadow: 5px 7px 8.5px 0 rgba(0,0,0,.3) ;
    }
}
/*end of header*/
/*main section*/

.mainSection {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: "League Spartan",sans-serif;
    gap: 2em;
    max-width: 1300px;
}

.mainTitle {
    font-size: 4em;
    color: var(--color-4);
    width: 100%;
    text-align: center;
    margin-top: 2.5em;
}
.mainParagraph {
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 80%;
    font-size: 1.15em;
    line-height: 1.5;
    color: var(--color-5);
    text-align: left;
    white-space: pre-line; 
    font-weight: 400;
}
.mainParagraph > b {
    color: var(--color-4);
}
.mainParagraph > span {
    margin-top: 1em;
    color: var(--color-5);
    width: 100%;
    font-size: 1.5em;
    display: flex;
    text-align: center;
}
.cardProductWrapper {
    display: flex;
    width: 100%;
    gap: 1em;
}
.cardProduct {
    margin-top: 1em;
    border-radius: 10px;
    padding: 1em 1em;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: start;
    background-color: var(--color-1);
    gap: 1em;
    border: var(--color-3) 1px solid;
    box-shadow: 0px 2px 10px 0px rgba(0,0,0,.2);
}


@media screen and (max-width:750px) {
    .cardProductWrapper {
        flex-direction: column;
        gap: 0;
    }
    
}
.cardProduct > svg {
    width: 2em;
    height: 2em;
}
.cardProduct > p {
    line-height: 1;
    font-size: .8em;
    opacity: .8;
}
.partenaireDiv {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    box-sizing: border-box;
    padding: 1em;
    gap: 3em;

}
.partenaire {
    place-self: center;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--color-3);
    font-size: 2em;
    padding: 1em;
    box-sizing: border-box;
    height: 10em;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 3px 20px 2px rgba(0,0,0,.2);
    transition: scale .1s ease-in-out;
    &:hover {
        cursor: pointer;
        scale: 1.05;
    }
}
.partenaire:nth-of-type(6), .partenaire:nth-of-type(13) {
    background-color: var(--color-4);
    color: var(--color-3);
}
.partenaire > img {
    width: 100%;
}
/*enf of main section*/
/*footer*/
.footerSection {
    height: auto;
    max-width: 1300px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 4em;
    padding-bottom: 2em;
    background-color: var(--color-7);
    transform: translateY(-1px);
}
.bonAppetitTitle {
    font-family:"League Spartan", sans-serif; 
    color: var(--color-3);
    font-size: 4em;
    opacity: .8;
}

.footerContainer {
    width: 95%;
    height: 27em;
    background-color: var(--color-4);
    margin-top: auto;
    border-radius: 30px;
    padding: 2em 1.5em;
    gap: 1em;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}

.leftPartHeader {
    display: flex;
    justify-content: space-between;
}
.leftPartHeader > h2 {
    font-weight: 700;
    font-size: 1.7em;
}
.emplacementTitle {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-40px);
    white-space: nowrap;
}
.leftPartMain {
    display: flex;
    flex-direction: column;
    gap: .25em;
    height: 100%;
    width: 30%;
}
.phoneDiv, .orderType {
    background-color: #2b2b2b;
    display: inline-block;
    width: fit-content;
    color: var(--color-4);
    padding: .5em 1em;
    border-radius: 10px;
    font-weight: 700;
}
.scheduleContainer {
    background-color: var(--color-3);
    border-radius: 15px;
    padding: 1em;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: .5em;
    margin-top: auto;
}
.scheduleWrapper {
    display: flex;
    justify-content: space-between;
}
.scheduleLabel {
    color: var(--color-4);
    font-size: 1.3em;
    font-weight: 800;
}
.mondayWednesday, .thursdaySaturday, .sunday {
    gap: .2em;
    display: flex;
    flex-direction: column;
}
.mondayWednesday > .timeTitle, .thursdaySaturday > .timeTitle, .sunday > .timeTitle, .logoTimetable > svg {
    color: var(--color-5);
    stroke: var(--color-4);
    font-size: 1em;
}
.logoTimetable {
    display: flex;
    justify-content: center;
}
.logoTimetable > svg {
    width: 2.5em;
    height: 2.5em;
}
.scheduleWrapper > .right, .scheduleWrapper > .left {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.mondayWednesday > .time, .thursdaySaturday > .time, .sunday > .time {
    color: var(--color-5);
    font-family: "League Spartan", sans-serif;
    font-size: .9em;

}
.centerContainer {
    display: flex;
    flex-direction: column;
    background-color: var(--color-3);
    border-radius: 15px;
    padding: 1em;
    height: 100%;
    width: 30%;
    margin-top: auto;
    box-sizing: border-box;
}
.ourNetworksContainer {
    display: flex;
    flex-direction: column;
}
.ourNetworksTitle {
    color: var(--color-4);
    font-size: 1.1em;
    font-weight: 700;
}
.ourNetworksDesc {
    color: var(--color-5);
    font-size: 1.1em;
    font-weight: 600;
    margin-top: .5em;
}
.instagramContainer,.facebookContainer,.googleReviewContainer {
    background-color: var(--color-1);
    border-radius: 50px;
    padding: .5em;
    height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .5em;
    padding-right: 1em;
    box-shadow: 5px 7px 8.5px 0 rgba(0,0,0,.2) ;
    transition: box-shadow .15s ease-in-out, background-color .15s ease-in-out;
    &:hover {
        box-shadow: 5px 7px 8.5px 0 rgba(0,0,0,.3) ;
        background-color: var(--color-7);
        cursor: pointer;
    }

}


.instagramContainer > img,.facebookContainer > img {
    height: 100%;
    border-radius: 25px;
}
.instagramSpan,.facebookSpan, .googleReviewSpan  {
    color: var(--color-5);
    width: 100%;
    display: flex;
    justify-content: center;
    font-weight: 600;

}
.orContainer {
    margin: .5em auto;
    color: var(--color-4);
    font-weight: 800;
}
.googleReviewContainer {
    margin: 0;
}
.googleReviewContainer > svg {
    width: 3em;
    height: 3em;
}
.footerContainer > .container {
    display: flex;
    flex-direction: column;
    gap: .5em;
    width: 100%;
    font-family:"League Spartan", sans-serif; 

}
.wrap {
    display: flex;
    height: 100%;
    gap: 1em;
    width: 100%;
}
.maps {
    height: 100%;
    width:40%;
    position: relative;
}
.maps > a > iframe {
    border-radius: 15px;
    border: none;
    height: 100%;
    width: 100%;
}
.rights  {
    width: 90%;
    display: flex;
    justify-content: space-between;
    font-family:"League Spartan", sans-serif;
    margin-top: .5em; 
    color: var(--color-5);
    font-weight: 600;
}
.author {
    color: #ff7f11;
    transition: all .15s ease-in-out;
    text-decoration: none;
    &:hover {
        cursor: pointer;
        filter: brightness(.85);
        transform: translateY(-2px);
    }
    
}
/*burger menu*/

.burgerMenu {
    height: 100%;
    aspect-ratio: 1/1;
    display: flex;    
    justify-content: center;
    align-items: center;
}
.burgerMenuWrapper {
    display: flex;
    width: fit-content;
    height: fit-content;
    gap: .35em;
    flex-direction: column;
    &:hover {
        cursor: pointer;
    }
}
.burgerMenuWrapper:hover > span {
    transform: scaleX(1.1);
    background-color: var(--color-5);
}
.bar1, .bar2,.bar3 {
    width: 2em;
    height: .3em;
    border-radius: 10px;
    background-color: var(--color-4);
    transition: all 0.15s ease-in-out;
}


@media screen and (min-width:1300px) {
    body {
        background-color: var(--color-7);
    }
}
@media screen and (max-width:1000px) {
    .upperPart,.lowerPart {
        grid-template-columns: repeat(1,1fr);
        width: 90%;
        margin: 0 auto;
    }
    .imgCard {
        order: 3;
    }
    .footerSection {
        height: auto;
        gap: 1.5em;
    }
    .restTitleWrapper {
        width: 100%;
        top: 50vh;
    }
    .leftPartMain {
        height: auto;
    }
    .centerContainer {
        height: 20em;
    }
    .footerContainer {
        width: 90%;
        height: auto;
        overflow: hidden;
    }
    .footerContainer > .container {
        height: auto;
    }
    .wrap {
        flex-wrap: wrap;
        flex-direction: row;
        min-height: 0;
        height: auto;
    }
    .leftPartMain, .centerContainer {
        flex: 0 0 calc(50% - 0.5em);
    }
    .maps {
        flex: 0 0 100%;
        margin-top: 3em;
        height: 400px;
    }
    
}

@media screen and (max-width:650px) {
    .leftPartMain, .centerContainer {
        flex: 0 0 100%;
    }  
    .menuDiv {
        padding: 2em 1em;
    }
    .mainTitle {
        font-size: 13vw;
    }
}
@media screen and (max-width:450px) {
    .bonAppetitTitle {
        font-size: 10vw;
    }
}
