@font-face {
    font-family: 'newNordHeavy';
    src: url('../fonts/fonnts.com-New_Nord_Extended_Heavy.otf');
}

@font-face {
    font-family: 'alluraRegular';
    src: url("../fonts/Allura-Regular.ttf");
}

@font-face {
    font-family: 'Inter';
    src: url("../fonts/Inter-VariableFont_opsz,wght.ttf");
}

html, * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", serif;
}

city {
    font-family: 'newNordHeavy', serif;
}

bite {
    font-family: 'alluraRegular', serif;
    font-weight: 300;
    font-size: 1.2em;
}

:root {
    --background: #FFF0DA;
    --foreground: #ECD7B5;
    --foregroundBG: #CBAF83;

    --card1: #E69FA0;
    --card2: #ADC092;
    --card3: #F4DD6B;

    --card1BG: #AD5859;
    --card2BG: #768D56;
    --card3BG: #C7AC24;
}

body {
    background: var(--background);
}

.container {

}

header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    width: 100%;
    height: 100vh;
    margin-bottom: -1px;

    background: var(--foreground);
    font-size: 2rem;

    animation: headerShrink 1.5s forwards cubic-bezier(0.5, 0, 0 ,1);
    animation-delay: 0.5s;
    > h1{
        font-size: 2.2rem;
        padding-top: 1%;
    }
}
#logo {
    img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /*padding-top: 3rem;*/
        padding-right: 10px;
    }



    height: 100%;
}

#orderCount {
    text-align: center;
    padding: 1rem;
    margin-bottom: -1px;
}





.card1 {
    background: var(--card1);
    box-shadow: 8px 8px var(--card1BG);
    transform: translateX(-4px);
}

.card2 {
    background: var(--card2);
    box-shadow: 8px 8px var(--card2BG);
    transform: translateX(-4px);
}

.card3 {
    background: var(--card3);
    box-shadow: 8px 8px var(--card3BG);
    transform: translateX(-4px);
}








@keyframes headerShrink {
    from {
        height: 100vh;
        padding: 0;
        font-size: 2rem;
    }

    to {
        /*height: 30vh;*/
        height: 12vh;
        padding: 2vh 2vh 2vh;
        font-size: 1rem;
    }
}

/*button shadow*/
.Menu2 > div button:active,
.menuItem div button:active,
button:active {
    transform: translateY(3px);

    box-shadow:
            inset 8px 6px 0 #0005,
            inset 0 0px 0 #0003;
}


.MenuItem1 button:active {
    /*background: #a6cca6;*/
    background: #9db17e;

}


/* Tosti Da Moure */
.MenuItem2 button:active {
    background: #d18e8e;


}

/* Tosti Beefy Yaki */
.MenuItem3 button:active {
    background: #e3cd60;

}




.Menu2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 80%;
    margin: 0 10%;
    height: 50vh;
    margin-bottom: 10vh;

    .MenuItem1 {background: var(--card2);
        box-shadow: 8px 8px var(--card2BG);}
    /*.MenuItem1 > button {*/
    /*    background-image: url(../img/new_york_image.jpg);*/
    /*    background-color: #477847;*/
    /*}*/
    .MenuItem2 {background: var(--card1);
        box-shadow: 8px 8px var(--card1BG);}
    /*.MenuItem2 > button {*/
    /*    background-image: url(../img/paris_skyline.jpg);*/
    /*    background-color: #975151;*/
    /*}*/
    .MenuItem3 {background: var(--card3);
        box-shadow: 8px 8px var(--card3BG);}
    /*.MenuItem3 > button {*/
    /*    background-image: url(../img/tokyo_skyline.jpg);*/
    /*    background-color: #b38f1f;*/
    /*}*/

    & > div {



        /*shadow^^^*/
        display: flex;
        flex-direction: column;
        min-height: 290px;
        width: 30%;
        height: fit-content;
        padding: 5px;
        border-radius: 15px;
        button {
            padding: 0.5rem;
            border: none;
            background: none;
            box-shadow: inset 0 0 0 1px #0008;
            border-radius: 1rem;

            /*color: white;*/
            /*background image*/
            background-size: cover;
            background-blend-mode: multiply;



            font-family: 'newNordHeavy', serif;
            font-size: 0.9rem;
            padding-top: 10%;
            padding-bottom: 10%;
            margin: 0 2%;
            margin-top: auto;
            text-align: center !important;
            /*text-align-last: center !important;*/
            margin-bottom: 10px;
            color: black !important;

            user-select: none;
            cursor: pointer;
        }
        ul {
            padding-left: 16px;
            list-style: none;
        }
        div {
            display: flex;
            justify-content: flex-start;
            > img {
                object-fit: contain;
                width: 42%;
                height: 100%;
                padding: 10px;
            }
            > div {
                flex-direction: column;
                padding: 10px;
                padding-left: 0px;
                min-height: 140px;
                > h2 {
                    font-family: 'newNordHeavy', serif;
                    font-size: clamp(16px, 2vw, 1.2rem);
                }
                > p {
                    min-font-size: 11px;
                }
            }
        }
    }
}

/*footer*/
.left {
    div {
        flex-direction: row;
    }
    text-align: justify;
}

.right {
    div {
        flex-direction: row-reverse;
    }
    text-align: justify;
    text-align-last: right ;
}

footer {
    margin-top: -1px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--foreground);

    > *  {
        margin: 1rem 0;
        > * {
            padding: 1rem;
        }
        width: 49.5%;
        background-color: var(--background);
        box-shadow: 8px 8px var(--foregroundBG);
        transform: translateY(-4px)
    }

    h3 {
        font-family: 'newNordHeavy', serif;
    }
}


/*button*/
.ingredients {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.ingredients.open {
    max-height: 150px; /* big enough for all items */
}

.unavailable {
    opacity: 0.5;
    filter: contrast(0.75);
}


/*media*/
@media only screen and (max-width: 600px), screen and (max-height: 600px) {
    header {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        margin-bottom: -1px;

        background: var(--foreground);
        font-size: 2rem;

        animation: headerShrink 1.5s forwards cubic-bezier(0.5, 0, 0 ,1);
        animation-delay: 0.5s;
        > h1{
            font-size: 2rem;
            padding-top: 0%;
        }
    }
    #logo {
        img {
            width: 100%;
            height: auto;
            max-height: 100%;
            object-fit: contain;
            padding-top: 3rem;
            padding-right: 0px;
        }

        width: 50vh;
        max-width: 100%;
        max-height: 100%;
        height: auto;
    }
    .Menu2 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        width: 80%;
        margin: 0 10%;
        min-height: 50vh;
        height: fit-content;
        margin-bottom: 10vh;

        .MenuItem1 {
            background: var(--card2);
            box-shadow: 8px 8px var(--card2BG);
        }

        /*.MenuItem1 > button {*/
        /*    background-image: url(../img/new_york_image.jpg);*/
        /*    background-color: #477847;*/
        /*}*/

        .MenuItem2 {
            background: var(--card1);
            box-shadow: 8px 8px var(--card1BG);
        }

        /*.MenuItem2 > button {*/
        /*    background-image: url(../img/paris_skyline.jpg);*/
        /*    background-color: #975151;*/
        /*}*/

        .MenuItem3 {
            background: var(--card3);
            box-shadow: 8px 8px var(--card3BG);
        }

        /*.MenuItem3 > button {*/
        /*    background-image: url(../img/tokyo_skyline.jpg);*/
        /*    background-color: #b38f1f;*/
        /*}*/

        & > div {


            /*shadow^^^*/
            display: flex;
            flex-direction: column;
            min-height: 150px;
            width: 100%;
            height: fit-content;
            padding: 5px;
            margin-bottom: 10%;
            border-radius: 15px;

            button {
                padding: 0.5rem;
                border: none;
                background: none;
                box-shadow: inset 0 0 0 1px #0008;
                border-radius: 1rem;

                /*color: white;*/
                /*background image*/
                background-size: cover;
                background-blend-mode: multiply;

                font-family: 'newNordHeavy', serif;
                font-size: 0.9rem;
                padding-top: 10%;
                padding-bottom: 10%;
                margin: 0 2%;
                margin-top: auto;
                text-align: center !important;
                /*text-align-last: center !important;*/
                margin-bottom: 10px;
            }

            div {
                display: flex;
                justify-content: flex-start;
                /*This is to reverse text and image*/
                flex-direction: row;


                > img {
                    object-fit: contain;
                    width: 42%;
                    height: 100%;
                    padding: 8px;
                    padding-top: 6px;
                }

                > div {
                    flex-direction: column;
                    padding: 10px;
                    padding-left: 0px;
                    min-height: 140px;

                    > h2 {
                        font-family: 'newNordHeavy', serif;
                        font-size: clamp(16px, 2vw, 1.2rem);
                    }
                    > p {
                        min-font-size: 11px;
                    }
                }
            }
        }
    }

    .MenuItem2 > div {
        flex-direction: row-reverse;
    }
    footer {
        /*display: grid;*/
        display: flex;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        /*align-items: center;*/
        flex-direction: column;

        > * {
            height: fit-content;
            width: 100%;
        }

    }
    @keyframes headerShrink {
        from {
            height: 100vh;
            padding: 0;
            font-size: 2rem;
        }

        to {
            /*height: 30vh;*/
            height: 30vh;
            padding: 0vh 3vh 5vh;
            font-size: 1rem;
        }
    }
}

/*phone rotation*/

















