/*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(1) {
    color: var(--color-4);
}
.navElt:nth-child(1)::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 {
    width: 100%;
    height: auto;
    font-family: "League Spartan",sans-serif;
    min-height: 100vh;
    max-width: 1300px;
}
.mainTitleWrapper {
    width: 100%;
    height: 15em;
    display: flex;
    position: relative;
    justify-content: center;
}
.mainTitle {
    color: var(--color-4);
    font-size: 4em;
    position: relative;
    top: 60%;
}
.menuDiv {
    padding: 2em 4em;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.menuTitle {
    color: var(--color-4);
    font-size: 2em;
    margin-left: .5em;
}
.menuImg {
    width: 100%;
}
.allergies {
    color: var(--color-5);
    font-weight: 700;
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
}
/*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;
    }
    .leftPartMain {
        height: auto;
    }
    .centerContainer {
        height: 20em;
    }
}
@media screen and (max-width:650px) {
    .mainTitle {
        font-size: 13vw;
    }
    .menuDiv {
        padding: 2em 1em;
    }
}
