*{
    padding: 0;
    margin: 0;
    /*border: 1px solid red;*/
}

/*body{*/
/*    background-image: url("../image/bar.jpg");*/
/*}*/

#body_preloader{
    background: #e4d5c9;
    height: 410vh;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader{
    background: #e4d5c9  url("../image/preloader.gif") no-repeat center center;
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 100;
}

#body_preloader2 {
    background: #ffc466;
    height: 410vh;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader2 {
    background: #ffc466 url("../image/preloader2.gif") no-repeat center center;
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 100;
}

#body_preloader3 {
    background: #1b1b1b;
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader3 {
    width: 400px;
    height: 400px;
    background: #1b1b1b url("../image/scannlay_preloader.gif") no-repeat center center;
    background-size: contain;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

.frame-display{
    display: none;
}


.navbar{
    color: #fff;
    display: flex;
    justify-content: space-evenly;
    font-size: 25px;
}

.cursor{
    cursor: pointer;
}

.navbar_item{
    border: 2px solid #fff;
    padding: 10px 3%;
    border-radius: 20px;
    background-color: #5f5f5fbd;
    display: flex;
    align-items: center;
    position: relative;
    height: 50px;
    justify-content: center;
}

.navbar_item > label{
    width: 60px;
    height: 30px;
    cursor: pointer;
    background: #ebebeb;
    border-radius: 200px;
    position: relative;
    display: block;
    box-shadow: inset 0 5px 15px #00000066, inset 0 -5px 15px #E1E1E1FF;
    transition: 0.3s;
}

.navbar_item > label:after{
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    top: 5px;
    left: 4px;
    background: linear-gradient(180deg, #ffcc89, #d8860b);
    border-radius: 20px;
    box-shadow: 0 5px 10px #000000FF;
    transition: 0.3s;
}

.navbar_item > input{
    width: 0;
    height: 0;
    visibility: hidden;
}

.navbar_item > input:checked + label{
    background: #242424;
}

.navbar_item > input:checked +label:after{
    left: 55px;
    transform: translateX(-100%);
    background: linear-gradient(180deg, #777, #3a3a3a);
}

.navbar_item > label:active:after{
    width: 30px;
}

.container_bg,
.container_cart{
    display: grid;
    justify-content: center;
    align-items: center;
    background: #fff;
    margin-top: 10%;
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    position: absolute;
    z-index: -1;
    transition: 0.3s;
    min-height: 520px;
}

.container_cart{
    display: flex;!important;
}

.pricing-level {
    font-weight: bold;
    color: #333;
    margin-left: 10px
}

.login-logo h1 picture img{
    width: 100%; !important;
}

body.dark-mode .container_bg,
body.dark-mode .container_cart,
body.dark-mode .content{
    background: #242424;
}

body.dark-mode .book_link{
    color: #d8860a;
}

body.dark-mode p,
body.dark-mode .content h3,
body.dark-mode .offer i,
body.dark-mode .business_name_price i,
body.dark-mode .category-business-head > .business_name_price > h4,
body.dark-mode .category-head > h4,
body.dark-mode .category-head a i,
body.dark-mode .inside_info > p > a,
body.dark-mode .inside_info1 > p > a{
    color: white;
}


.navigation {
    position: fixed;
    top: 87%;
    left: 50%;
    transform: translateX(-50%);
    width: 415px;
    height: 75px;
    background: #d7d7d7;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    z-index: 9999;
    border: 7px solid #fff;
}

.navigation .navigation-list {
    display: flex;
    justify-content: space-between;
    width: 350px;
    margin-bottom: 0;
    padding-left: 0;
}

.navigation .navigation-list .list{
    position: relative;
    width: 70px;
    height: 70px;
    list-style: none;
    z-index: 1;
}

.navigation .navigation-list .list a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: auto;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
}

.navigation .navigation-list .list a i {
    position: relative;
    bottom: 4px;
    display: block;
    line-height: 75px;
    font-size: 1.5em;
    text-align: center;
    color: #000;
    transition: .5s;
}

.navigation .navigation-list .list.active a i{
    transform: translateY(-24px);
    color: #fff;
}

.navigation .navigation-list .list.active .pro-count {
    transform: translateY(-24px);
    transition: 0.5s;

}

.navigation .navigation-list .list a .text {
    position: absolute;
    color: #000;
    font-weight: 400;
    font-size: .75em;
    letter-spacing: .05em;
    opacity: 0;
    transform: translateY(20px);
    transition: .5s;
}

.navigation .navigation-list .list.active a .text {
    opacity: 1;
    transform: translateY(15px);
}

.indicator {
    position: absolute;
    top: -51%;
    width: 70px;
    height: 70px;
    background: #ffa200;
    border: 6px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .5s;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 43%;
    left: -28px;
    width: 25px;
    height: 20px;
    background: transparent;
    border-top-right-radius: 20px;
    box-shadow: 3px -6px 0 #fff;
}

.indicator::after {
    content: '';
    position: absolute;
    top: 43%;
    right: -33px;
    width: 31px;
    height: 20px;
    background: transparent;
    border-top-left-radius: 20px;
    box-shadow: -3px -6px 0 #fff;
}

body.dark-mode .navigation{
    background: #fff;
}

body.dark-mode .navigation,
body.dark-mode .indicator {
    border: 7px solid #242424;
}

body.dark-mode .indicator::after {
    box-shadow: -3px -6px 0 #242424;
}

body.dark-mode .indicator::before {
    box-shadow:  3px -6px 0 #242424;
}

.navigation .navigation-list .list:nth-child(1).active~.indicator {
    transform: translateX(calc(70px * 0));
}

.navigation .navigation-list .list:nth-child(2).active~.indicator {
    transform: translateX(calc(70px * 1));
}

.navigation .navigation-list .list:nth-child(3).active~.indicator {
    transform: translateX(calc(70px * 2));
}

.navigation .navigation-list .list:nth-child(4).active~.indicator {
    transform: translateX(calc(70px * 3));
}

.navigation .navigation-list .list:nth-child(5).active~.indicator {
    transform: translateX(calc(70px * 4));
}

.pro-count{
    display: grid;
    align-items: center;
    border-radius: 50%;
    background: red;
    color: #fff;
    position: absolute;
    left: 35px;
    bottom: 45px;
    font-weight: bold;
    width: 30px;
    height: 30px;
    transform: translateY(0);
    transition: 0.5s;
}

.navbar_item > label svg{
    position: absolute;
    width: 18px;
    z-index: 100;
}

.navbar_item > label svg.sun{
    left: 5px;
    fill: #fff;
    transition: 0.3s;
}

.navbar_item > label svg.moon{
    left: 36px;
    fill: #7e7e7e;
    transition: 0.3s;
}

.navbar_item > input:checked + label svg.sun{
    fill: #7e7e7e;
}

.navbar_item > input:checked + label svg.moon{
    fill: #fff;
}

.container_item{
    width: 450px;
    border-radius: 20px;
    background: #d7d7d7;
    margin-bottom: 30%;
}

body.dark-mode .container_item,
body.dark-mode .allergic-item p:nth-child(1){
    background: #495058;
}

.category-business-head{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px
}

.category-head{
    display: flex;
    align-items: baseline;
    justify-content: center;
    padding: 10px;
}

.category-head a i{
    font-size: 20px;
    border: 2px solid;
    border-radius: 50%;
    padding: 4px 5px;
    color: #000;
}

.category-head > h4{
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    font-family: sans-serif;
    color: #000;
    padding: 12px;
}

.category-business-head > .business_name_price > h4{
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    font-family: sans-serif;
    color: #000;
}

.business_name_price{
    padding: 20px;
}

.business_name_price > span{
    border: 2px solid #b1b1b1;
    padding: 5px;
    border-radius: 10px;
    background: #868787;
    font-size: 14px;
}

.business_name_price > span > i{
    color: #fff;
}

.menu_item{
    display: grid;
    justify-items: center;
}

.inside_menu{
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background: #878686;
    text-decoration: none;
}

.body.dark-mode .inside_menu{
    background: #d9d9d982;
}

.inside_menu > img{
    border-radius: 10px;
    background-size: cover;
    box-shadow: 0 6px 20px #000000d1;
    width: 150px;
    height: 150px;
}

.inside_menu > p{
    color: #fff;
    padding-top: 10%;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 20px;
}


.menu_item p.long-category-name {
    font-size: 14px;
    padding-top: 13%;
}




.language-option {
    position: relative;
    top: -3px;
    cursor: pointer;
    margin: 7px;
}

#language-options {
    position: absolute;
    background-color: #5f5f5f;
    border: 2px solid #fff;
    border-radius: 20px;
    top: 50px;
    left: -2px;
    width: 100px;
    z-index: 9999;
}


.item{
    display: flex;
    justify-content: space-around;
    border-top: 2px solid #5f5e5e;
    padding: 5px 0;
}

.allergies{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.allergic-item{
    display: grid;
    width: 20%;
    justify-items: center;
}

.allergic-item p{
    margin-bottom: 0;
    text-align: center;
}

.allergic-item p:nth-child(1){
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.dark-mode .item{
    border-top: 2px solid #d1d1d1;;
}

.item > img{
    width: 170px;
    border-radius: 10px;
    height: 170px;
    background-size: cover;
}

.desc{
    width: 95%;
}

.desc > .title-separate-emoji > p{
    font-size: 20px;
    font-weight: bold;
}

.title-separate-emoji{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-allergies {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.product-allergies span {
    font-size: 22px;
    background: #fff;
    border: 2px solid #ffa102;
    border-radius: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-separate-emoji.grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.title-separate-emoji.grid .product-allergies{
    justify-content: flex-end;
}

.ingredients{
    width: 100%;
}

.product-ingredients{
    font-size: 12px;
    word-break: break-word;
    margin-top: -15px;
    padding-right: 5%;
}


.price p span{
    color: #d8860b;
    font-style: italic;
}

.price{
    display: flex;
    justify-content: center;
}

.note-p{
    color: #0d6efd;
    cursor: pointer;
}


.note-part > input{
    margin-bottom: 10%;
    width: 97%;
    padding: 5px;
    border: 0;
    border-radius: 5px;
    display: none;
}

.popup .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.popup .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    width: 450px;
    z-index: 2;
    color: #000;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out;
    border-radius: 10px;
}

.content {
    max-height: 80vh;
    overflow: auto;
}

.inside_info > h5,
.inside_info1 > h5{
    color: #d8860b;
}

.inside_info > p,
.inside_info1 > p{
    font-size: 20px;
    font-family: monospace;
    font-weight: bold;
}

.inside_info > p > a,
.inside_info1 > p > a{
    color: #000;
    text-decoration: none;
}

.popup.active .overlay {
    opacity: 1;
    pointer-events: auto;
}

.popup.active .content {
    transform: translate(-50%, -50%) scale(1);
}

.offer{
    display: flex;
    align-items: baseline;
    font-size: 25px;
    justify-content: center;
    height: 145px;
}

.order{
    display: flex;
    justify-content: space-between;
}

.product-order{
    display: flex;
    justify-content: space-evenly;
}

.inside_order{
    display: flex;
    align-items: center;
}

.inside_order p{
    margin-bottom: 0;
    padding-right: 10px;
}

.inside_order input[type='number']{
    width: 60px;
    height: 50px;
    font-size: 20px;
    border: 2px solid #000;
    background: transparent;
    color: #000;
    padding: 7px;
    border-radius: 10px;
}

.inside_order button,
.inside_order a button{
    height: 50px;
    width: 105px;
    font-size: 14px;
    border: 2px solid #000;
    background: transparent;
    color: #000;
    padding: 7px;
    border-radius: 10px;
}

body.dark-mode .inside_order button,
body.dark-mode .inside_order input[type='number']{
/*body.dark-mode .invoice_btn button{*/
    color: #fff;
    border: 2px solid #fff;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.image-modal.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.image-modal-content{
    width: 45%;
    height: 65%;
    border: 2px solid #fff;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #242424;
    border-radius: 20px;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 330px;
    max-height: 330px;
    border-radius: 10px;
}

.image-modal .close {
    width: 100%;
    display: grid;
    justify-items: end;
    padding-right: 5%;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.invoice{
    border: 1px solid #000;
    width: 460px;
    box-shadow: 0 0 20px #b3a4a4;
    padding: 15px;
    margin-bottom: 10%;
    background: #fff;
}

body.dark-mode .invoice p{
    color: #000;
}


.invoice_head{
    text-align: center;
}

.invoice_head > h3,
.invoice_head > p,
.invoice_products > p,
.total > p{
    margin-bottom: 0;
}

.invoice_head p,
.invoice_nr span{
    font-weight: bold;
}

.invoice_nr,
.invoice_products{
    display: flex;
}

.invoice_products{
    font-weight: bold;
}

.invoice_products > p:nth-child(1){
    width: 45%;
}

.invoice_products > p:nth-child(2){
    width: 15%;
}

.invoice_products > p:nth-child(2) > input{
    width: 100%;
    padding-left: 5px;
    text-align: center;
}

.invoice_products > .prod-price{
    width: 40%;
    display: flex;
    justify-content: space-around;
}

.prod-price > p > button > i{
    color: #000;
}

.total{
    display: flex;
    justify-content: space-between;
    width: 90%;
}

.invoice_footer{
    border-top: 2px dashed #b3a4a4;
    text-align: center;
    padding-top: 10px;
    font-size: 20px;
    font-weight: 600;
}

.invoice_btn{
    text-align: center;
}

.invoice_btn button{
    width: 50%;
    height: 40px;
    border: 2px solid #000;
    border-radius: 10px;
    background: transparent;
    font-weight: bold;
    color: #000;
}

.invoice_btn button:hover{
    background: #000;
    color: #fff;
    transition: 0.4s;
}

.table-bg{
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 10%;
}

.table-nr {
    font-size: 60px;
    border: 0;
    margin: 8px;
    width: 90px;
    height: 90px;
    text-align: center;
    border-radius: 20px;
    font-family: monospace;
    box-shadow: 0 1px 15px 5px #000000;
    background: #f0f0f0;
    color: #000000;
}

.table-btn{
    width: 100px;
    height: 40px;
    margin-top: 10%;
    border: 0;
    border-radius: 20px;
    background: #000;
    color: #fff;
    font-size: 25px;
}

.table_msg{
    width: 320px !important;
    font-size: 10px;
}

.swal2-confirm{
    width: 120px!important;
    height: 50px!important;
    font-size: 15px!important;
}

.done{
    background: #ededed;
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    color: #008000;
}

.done i{
    font-size: 130px;
}

.fade-in{
    opacity: 0;
    animation: fadeIn 2s forwards;
}

.extra_info{
    display: flex;
    justify-content: space-evenly;
}

.cooking_time,
.average_person{
    border: 2px solid #d9d9d982;
    padding: 5px;
    border-radius: 10px;
    background: #868787;
    font-size: 14px;
    display: flex;
    align-items: center;
    width: 42%;
    color: #fff;
}

body.dark-mode .cooking_time,
body.dark-mode .average_person{
    background: #d9d9d982;
}

.cooking_time > p,
.average_person > p{
    border: 2px solid;
    padding: 5px;
    border-radius: 10px;
}

.cooking_time > p{
    background: #0B192C;
}

.average_person > p{
    background: #1E3E62;
}

.cooking_time p,
.average_person p{
    margin-bottom: 0;
}

.inside_cooking_time,
.inside_average_person{
    display: grid;
    margin-left: 10px;
}

.inside_cooking_time > p,
.inside_average_person > p{
    font-weight: bold;
    font-size: 18px;
}

.inside_cooking_time > span,
.inside_average_person > span{
    font-weight: bold;
    font-size: 12px;
}

.copy{
    text-align: center;
    height: 45px;
    padding-top: 10px;
    font-size: 18px;
    color: #d8860b;
    font-weight: bold;
}


.options_part p:nth-child(1){
    font-weight: bold;
}

.option-display{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media screen and (max-width: 991px) {
    .image-lg-device{
        display: none;
    }

    .small-option-device{
        text-align: center;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {

    .invoice{
        margin-bottom: 30%;
    }

    .navbar_item {
         width: 95px;
    }

    .first{
        font-size: 20px;
    }

    .modal-content {
        max-width: 300px;
        max-height: 300px;
    }

    .image-modal-content {
        width: 90%;
    }

}

@media screen and (min-width: 320px) and (max-width: 480px) {

    .indicator {
        width: 60px !important;
        height: 60px !important;
    }

    .indicator::after {
        right: -14px !important;
        width: 11px !important;
    }

    .indicator::before {
        left: -16px !important;
        width: 12px !important;
    }

    .navigation .navigation-list .list.active a i {
        transform: translate(1px, -26px) !important;
    }

    .popup .content {
        width: 300px;
    }

    .navbar{
        justify-content: space-around;
    }

    .offer {
        height: 162px;
    }

    .invoice{
        margin-bottom: 30%;
    }

    .navbar_item {
        width: 70px;
        padding: 0;
    }

    .first{
        font-size: 15px;
    }

    .inside_menu > img {
        width: 130px;
        height: 130px;
    }

    .inside_menu > p{
        font-size: 17px;
    }

    .inside_info1 > p {
        font-size: 15px;
    }

    #language-options {
        left: -14px;
        z-index: 1;
    }

    .inside_cooking_time > span{
        font-size: 10px;
    }

    .modal-content {
        max-width: 210px;
        max-height: 210px;
    }

    .image-modal-content {
        width: 90%;
        height: 50%;
    }

    .item > img {
        width: 120px;
        height: 120px;
    }

    .allergic-item{
        width: 30%;
    }

    .title-separate-emoji {
        display: grid;
        justify-items: center;
        align-items: center;
        justify-content: center;
    }

    .title-separate-emoji.grid .product-allergies {
        justify-content: center;
    }

}

@media screen and (min-width: 441px) and (max-width: 480px){

    .container_item{
        width: 410px;
    }

    .navigation {
        width: 400px !important;
    }

    .indicator{
        top: -27px !important;
        left: 23px !important;
    }
}

@media screen and (min-width: 376px) and (max-width: 440px){

    .item{
        flex-direction: column;
        align-items: center;
    }

    .navigation {
        width: 340px !important;
    }

    .indicator{
        top: -27px !important;
        left: 6px !important;
    }

    .item > img {
        width: 135px;
        height: 135px;
    }

    .desc{
        text-align: center;
    }

    .order{
        align-items: center;
    }

    .order .inside_order{
        padding-bottom: 15px;
    }

    .container_item{
        width: 350px;
    }
}

@media screen and (max-width: 375px){

    .item{
        flex-direction: column;
        align-items: center;
    }

    .navigation {
        width: 300px !important;
    }

    .indicator{
        top: -27px !important;
        left: 6px !important;
    }

    .container_item{
        width: 310px;
    }

    .inside_cooking_time > p,
    .inside_average_person > p {
        font-size: 15px;
    }

    .inside_cooking_time > span,
    .inside_average_person > span {
        font-size: 10px;
    }

    .cooking_time > p:nth-child(1),
    .average_person > p:nth-child(1){
        font-size: 15px !important;
    }

    .order{
        align-items: center;
    }

    .item > img {
        width: 120px;
        border-radius: 10px;
        height: 120px;
    }

    #chat-box{
        right: 0!important;
    }

    .options_part p:nth-child(1){
       text-align: center;
    }
}

@media screen and (max-width: 325px){
    .item{
        flex-direction: column;
        align-items: center;
    }

    .desc{
        width: 100%;
        display: grid;
        justify-items: center;
    }

    .order{
        flex-direction: row;
    }

    .order .inside_order{
        padding-bottom: 15px;
    }

    .item > img {
        width: 120px;
        border-radius: 10px;
        height: 120px;
    }
}