:root {
    --main-background: #000000;
    --buttons-color: #ffffff;


    /*nav-colors*/
    --menu-item-text-color: #cfe0e1;
    --menu-item-after-text-color: #002b2c;
    --menu-item-color-hover: #aec0b4;
    --main-title-color: #b3c1b4;
    --top-nav-color: rgb(8, 42, 43);
    --logo-cart-color: #003528;
    --logo-cart-font-color: #023427;
    --logo-cart-color-hover: #d18484;


    /*first-part*/
    --first-title-color: #002b2c;
    --first-par-color: #a8c0b4;
    --first-btn-border-color: #c9e0e1;
    --first-btn-color: rgb(0, 43, 44);
    --first-btn-color-hover: #a8c0b4;
    --first-btn-text-color: #a8c0b4;
    --first-btn-text-color-hover: #a8c0b4;


    /*second-part*/
    --sec-box-color: #ff9c9c;
    --sec-title-color: #ff00c9;
    --sec-par-color: #3f90ca;
    --sec-background-color: #401515;


    /*header-menu*/
    --header-title-color: #d18484;
    --header-par-color: #002b2c;
    --header-border-color: #a8c0b4;
    --header-btn-color-hover: #002b2c;
    --header-btn-txt-color: #003327;
    --header-btn-txt-color-hover: #a8c0b4;

    /*menu-item*/
    --menu-item-title-color: #003427;
    --background-menu-color: rgba(168, 192, 180, 0.4);
    --price-color: #002b2c;

    /*arrow*/
    --arrow-color: #a8c0b4;
    --arrow-box-color: #002b2c;

    /*footer*/
    --footer-title-color: #002b2c;
    --footer-text-color: #a8c0b4;


    /*mobile-view*/
    --bottom-nav-color: #002b2c;
    --bottom-logo-color: #a8c0b4;
    --bottom-logo-select-color: #002b2c;
    --bottom-move-color: #a7bfb3;


}

@font-face {
    font-family: 'HodaTorabikhah';
    src: url("../fonts/HodaTorabikhah.ttf") format('truetype');
}

.persian-numbers {
    font-family: 'HodaTorabikhah', 'sans-serif';
}

* {
    font-family: 'HodaTorabikhah', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: unset;
    text-decoration: none;
}

.first-p {
    color: var(--first-par-color);
    font-size: 25px;
}

.price {
    color: var(--price-color);
}

.h1-footer {
    font-size: 60px;
    text-align: center;
    padding-bottom: 5rem;
}

body,
html {
    scroll-behavior: smooth;
    position: relative;
    overflow-x: hidden;
}

.about-background {
    background-color: var(--sec-background-color);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: var(--top-nav-color);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.menu-wrap {
    max-width: 1366px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--main-title-color);
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.h3-style {
    	margin-bottom:10px;
    }

.menu-item {
    margin-left: 1rem;
    padding: .5rem 1.5rem;
    font-weight: 600;
    color: var(--menu-item-text-color);
    transition: .5s ease-in-out;
    cursor: pointer;
    font-size: 25px;
}

.menu-item:hover,
.menu-item.active {
    color: var(--menu-item-after-text-color);
    background-color: var(--menu-item-color-hover);
    border-radius: 1rem;
}

.cart-btn {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--logo-cart-font-color);
    font-size: 2rem;
    cursor: pointer;
    transition: .5s ease-in-out;
}

.cart-btn:hover {
    background-color: var(--logo-cart-color-hover);
    color: var(--logo-cart-color);
    border-radius: 1rem;
}

.fullheight {
    height: 100vh;

}


.align-items-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bg-img {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-img-fixed {
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
}


section {
    padding: 9rem 0;
}

.slogan {
    text-align: center;
}

.slogan h1 {
    font-size: 7rem;
    color: var(--first-title-color);
}

.slogan button {
    padding: 1rem 5rem;
    outline: none;
    border: none;
    background-color: var(--first-btn-color);
    border: .125rem solid var(--first-btn-border-color);
    border-radius: 3rem;
    color: var(--first-btn-text-color);
    margin: 3rem 0;
    cursor: pointer;
    font-weight: 600;
    transition: .5s ease-in-out;
    font-size: 25px;
}

.slogan button:hover {
    background-color: var(--first-btn-color-hover);
    color: var(--first-btn-text-color-hover);
}

.fullwidth {
    width: 100%;
}


#about img {
    border-radius: 2rem;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px,
    rgba(17, 17, 26, 0.1) 0px 16px 56px,
    rgba(17, 17, 26, 0.1) 0px 24px 80px;
}


.about-slogan {
    padding: 4rem;
    background-color: var(--sec-box-color);
    border-radius: 2rem;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
}

.about-slogan.start {
    transform: translateX(-10rem) !important;
}

.about-slogan h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--sec-title-color);
}

/*.primary-color {*/
/*    color: var(--primary-color);*/
/*}*/

.food-menu {
    padding: 4rem;
    background-color: var(--background-menu-color);
    border-radius: 2rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.food-menu h1 {
    color: var(--menu-item-title-color);
}

.food-menu p {
    margin: 2rem 0;
    color: var(--header-par-color);
}

.food-category {
	display:flex;
	overflow-x:scroll;
	overflow-y:hidden;
}


.food-category button {
        width: max-content;
    }

.food-category button {
    padding: .5rem 2.5rem;
    margin: 0 1rem;
    outline: none;
    border: 1px solid var(--header-border-color);
    background-color: transparent;
    color: var(--header-btn-txt-color);
    font-weight: 600;
    border-radius: 1rem;
    cursor: pointer;
    transition: .3s ease-in-out;
}

.food-category button:hover,
.food-category button.active {
    background-color: var(--header-btn-color-hover);
    color: var(--header-btn-txt-color-hover);
}

.food-item-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 3rem;
}

.food-item {
    width: 25%;
    height: 30rem;
    padding: 1rem;
}

.item-wrap {
    height: 100%;
    transition: .4s ease-in-out;
    cursor: pointer;
    border-radius: 2rem;
}

.item-wrap:hover {
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.item-img {
    height: 60%;
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
}

.img-holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s ease-in-out;
    border-radius: 2rem;
}

.img-holder:hover {
    transform: scale(2);
}

.item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 0 1rem;
}

.item-info h3 {
    color: var(--menu-item-title-color);
}

.item-info > div:first-child {
    text-align: left;
}

.review-wrap {
    width: 100%;
    padding: 1rem;
    background-color: var(--arrow-color);
    border-radius: 3rem;
    box-shadow: rgba(255, 255, 255, 0.2) 0px 7px 29px 0px;
}

.review-wrap.active {
    transform: scale(1.2) !important;
}

.review-content {
    padding: 3rem;
    border-bottom: .125rem solid var(--grey);
    position: relative;
    text-align: center;
}

.review-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2.5rem;
    width: 5rem;
    height: 5rem;
    border-radius: 2rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.review-info {
    padding: 3rem;
    text-align: center;
}

.rating {
    margin-top: 2rem;
}

.rating i {
    color: var(--primary-color);
}

.footer {
    color: var(--footer-text-color);
}

.footer h1 {
    color: var(--footer-title-color);
}

.input-group {
    padding: 1rem;
    border: .125rem solid var(--primary-color);
    border-radius: 2rem;
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.input-group input {
    flex: auto;
    outline: none;
    border: none;
    color: var(--primary-color);
    background-color: transparent;
}

.input-group button {
    padding: .5rem 1rem;
    outline: none;
    border: none;
    background-color: var(--primary-color);
    border-radius: 1rem;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
}

.back-to-top {
    position: fixed;
    bottom: 70px;
    right: 70px;
    border-radius: 10px;
    background-color: var(--arrow-box-color);
    color: var(--arrow-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    padding: .5rem;
    z-index: 99;
    display: none;
}

.food-item-wrap > div {
    display: none;
}

.food-item-wrap.all > div {
    display: block;
}

.food-item-wrap.salad > div.salad-type {
    display: block;
}

.food-item-wrap.lorem > div.lorem-type {
    display: block;
}

.food-item-wrap.ipsum > div.ipsum-type {
    display: block;
}

.food-item-wrap.dolor > div.dolor-type {
    display: block;
}

/* ANIMATION */

.left-to-right {
    transform: translateX(-150%);
    transition: 1s ease-in-out;
}

.left-to-right.start {
    transform: translateX(0);
}

.right-to-left {
    transform: translateX(150%);
    transition: 1s ease-in-out;
}

.right-to-left.start {
    transform: translateX(0);
}

@keyframes slideInFormRight {
    0% {
        transform: translate(100%, 0);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes moveUpDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.animated-img {
    animation: slideInFormRight 2s ease-in-out, moveUpDown 2s ease-in-out infinite;
}

.zoom {
    transform: scale(0);
    transition: .6s ease-in-out;
}

.zoom.start {
    transform: unset;
}

.bottom-up {
    transform: translateY(30%);
    transition: .8s ease-in-out;
}

.bottom-up.start {
    transform: translateY(0);
}

.delay-2 {
    transition-delay: .2s;
}

.delay-4 {
    transition-delay: .4s;
}

.delay-6 {
    transition-delay: .6s;
}

.delay-8 {
    transition-delay: .8s;
}

.delay-10 {
    transition-delay: .10s;
}

.delay-12 {
    transition-delay: .12s;
}


/* GRID SYSTEM */

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: 5rem;
}

[class*="col-"] {
    padding: 1rem;
}

.col-1 {
    width: 8.33%;
}

.col-2 {
    width: 16.66%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.33%;
}

.col-5 {
    width: 41.66%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 70%;
}

.col-8 {
    width: 66.66%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.33%;
}

.col-11 {
    width: 91.66%;
}

.col-12 {
    width: 100%;
}

.mb-nav {
    display: none;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

    * {
        font-size: 13px;
    }

    h1 {
        font-size: 4rem !important;
     

    }


    span {
        font-size: inherit;
    }



    .cart-btn i {
        font-size: 2rem;
    }
    
    .h3-style {
    	margin-bottom:5px;
    }


    .about-slogan.start {
        transform: translateX(0) !important;
    }

    .food-menu {
        padding: 4rem 0;
    }

    .food-item {
        width: 50%;
        height: 25rem;
    }

    .food-category {
        overflow-y: scroll;
    }

    .food-category button {
        width: max-content;
    }

    .back-to-top {
        bottom: 6rem;
        right: 1rem;
    }

    .review-wrap.active {
        transform: unset !important;
    }

    /* MOBILE NAV */
    .mb-nav {
        position: fixed;
        bottom: 0;
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        background-color: var(--bottom-nav-color);
        z-index: 99;
        overflow: hidden;
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }

    .mb-nav-item {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 25%;
        padding: 1rem 0;
    }

    .mb-nav-item i,
    .mb-nav-item a {
        font-size: 2rem;
        color: var(--bottom-logo-color);
        z-index: 2;
        transition: .5s ease-in-out;
    }

    .mb-nav-item.active i {
        color: var(--bottom-logo-select-color);
    }

    .mb-move-item {
        position: absolute;
        left: 0;
        width: 25%;
        height: 100%;
        background-color: var(--bottom-move-color);
        transition: .5s ease-in-out;
    }

    /* END MOBILE NAV */
    .col-xs-1 {
        width: 8.33%;
    }

    .col-xs-2 {
        width: 16.66%;
    }

    .col-xs-3 {
        width: 25%;
    }

    .col-xs-4 {
        width: 33.33%;
    }

    .col-xs-5 {
        width: 41.66%;
    }

    .col-xs-6 {
        width: 50%;
    }

    .col-xs-7 {
        width: 58.33%;
    }

    .col-xs-8 {
        width: 66.66%;
    }

    .col-xs-9 {
        width: 75%;
    }

    .col-xs-10 {
        width: 83.33%;
    }

    .col-xs-11 {
        width: 91.66%;
    }

    .col-xs-12 {
        width: 80%;
        text-align: center;
    }

    .col-h1 {
        width: 300px;
        text-align: center;
        display: flex;
    }

    .col-p {
        width: 100%;
    }


    .h-xs {
        display: none;
    }
}