/*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;
    touch-action: manipulation;
}
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:nth-of-type(10) > h4 {
    font-size: .8em;
}
.partenaire > img {
    width: 100%;
}
/*enf of main section*/
/*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;
    }
}
