:root {
    min-height: 100vh;
    background-color: var(--bg-color);
    --header-img-height: 250px;
    --text-color: var(--website-secondary-color) ;
    --website-primary-color: rgb(48 33 14);
    --website-secondary-color: rgb(192, 168, 113);
    --bg-color: rgb(254,254,232);

    --border-spacing: 1.25rem;
    --border-width: 2px;
}

body {
    font-family: Raleway, sans-serif;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--bg-color);
}

@font-face {
    font-family: "Fonde";
    src: url("/static/fonts/fonde.ttf") format("truetype");
}
@font-face {
    font-family: "Raleway";
    src: url("/static/fonts/raleway.ttf") format("truetype");
}

#header-wrapper {
    background-color: rgb(48 33	14);
}

.header-background {
    height: var(--header-img-height);
    object-fit: cover;
    overflow:hidden;
}

.header-img {
    object-fit: cover;
    /*filter: brightness(60%);*/
}

.header-logo {
    margin-top: -65px;
    z-index: 2;
    margin-left: auto;
    margin-right: auto;
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.header-logo img {
    width: 120px;
}

.info {
    color: var(--bg-color) !important;
    /*font-weight: 100;*/
    font-family: "Fonde", serif;
    text-align: center;
}

.title {
    text-align: center;
    font-family: "Fonde", serif;
}

.title-container {
    /*background-color: rgb(48 33	14);*/
    color:var(--bg-color);
    display:block;
    position:relative;
    z-index:2;
    padding-top: 2rem;
    border-radius: 30px 30px 0 0;
}

input:focus,
select:focus, .form-control:focus,
textarea:focus,
button:focus {
    outline: none !important;
    box-shadow: none !important;
}

#lang-select {
    position: relative;
    margin-top: -45px;
    display: flex;
    justify-content: end;
    margin-right: 10px;
}

#lang-select select {
    position: relative;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    color: var(--bg-color);
    padding: 5px 25px 5px 15px;
    text-align: center;
    text-transform: uppercase;
    background: transparent url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat;
    background-position-x: 100%;
    background-position-y: 5px;
    border: none;
}

#lang-select option {
    color: var(--website-primary-color);
}

#lang-select select::before {
    content: "⌄";
    position: relative;
}

#menu {
    position: sticky;
    top: 0;
    background-color: rgb(48 33 14);
    backdrop-filter: blur(20px);
    z-index: 10;
    -webkit-backdrop-filter: blur(20px);
}

#menu div {
    overflow-x: scroll;
}

/* #menu div::-webkit-scrollbar-thumb {
    background-color: var(--website-secondary-color);
    transition: 0.2s;
}
#menu:hover div::-webkit-scrollbar-thumb {
    background-color: var(--website-secondary-color);
    transition: 0.4s;
} */

#menu div::-webkit-scrollbar {
    display: none;
}

.menu-badge {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: flex;
    background-color: unset;
    /*border-radius: 20px; */
    padding: 8px 30px;
    border: 2px solid var(--bg-color);
    transition: ease-out 0.2s;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 1.25rem;
    color: var(--bg-color);
}

.menu-badge:hover {
    border-color: var(--bg-color);
    color: white;
    background: var(--bg-color);
    background: linear-gradient(90deg, rgb(192, 168, 113) 0%, rgb(94, 55, 20) 100%);
    transition: ease-in 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.menu-badge.active {
    border-color: var(--bg-color);
    color: white;
    background: var(--bg-color);
    background: linear-gradient(90deg, rgb(192, 168, 113) 0%, rgb(94, 55, 20) 100%);
}

#search {
    background-color: var(--website-primary-color);
}

#search button {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none;
    background: none;
}

.search {
    background-color: var(--bg-color);
    /*border-radius: 30px;*/
    padding: 5px 10px;
    border: 2px var(--website-secondary-color) solid;
}

.search-wrapper {
    background-color: var(--website-primary-color);
}

.search span {
    background-color: var(--website-primary-color);
    color: var(--text-color);
    border: none;
}
.search span:hover {
    background-color: var(--website-primary-color);
}

.search-field {
    background-color: var(--bg-color) !important;
    border: none !important;
}

.form-control:focus {
    border-color: transparent;
    box-shadow: none;
}

.subcategory {
    cursor: pointer;
    width: 100%;
    position: relative;
    text-align: center;
}

.subcategory-wrapper {
    margin-bottom: -1rem;
    height: 15rem;
    width: calc(100% - var(--border-spacing));
    padding-top: var(--border-spacing);
    padding-bottom: var(--border-spacing);
    border: solid var(--border-width) var(--website-secondary-color);
}

.subcategory-wrapper:dir(rtl) {
    float: left;
}

.subcategory:nth-child(even) .subcategory-wrapper {
    float: right;
}

.subcategory:nth-child(even) .subcategory-wrapper .subcategory-photo {
    left: calc(-1* var(--border-spacing));
}

.subcategory-header {
    border: solid var(--border-width) var(--website-secondary-color);
    padding: calc(var(--border-spacing) /10 ) var(--border-spacing);
    background-color: var(--bg-color);
    color: var(--website-primary-color);
    font-size: 1.25rem;
    position: relative;
    z-index: 5;
}

.bi-arrow-left-short:dir(rtl) {
    transform: rotate(180deg);
}

.menu-items-title::after {
    content: ' ';
    position: relative;
    display: block;
}

.subcategory-photo {
    position: relative;
    width: 100%;
    height: 100%;
    left: calc(var(--border-spacing));
    object-fit: cover;
}

img.fallback {
    object-fit: none;
    border: solid var(--border-width) var(--website-secondary-color);
    background: var(--bg-color);
}

.right-fade {
    position: relative;
}

.right-fade:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: calc(100%);
    width: 40px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, var(--website-primary-color) 65%);
}

#content {
    row-gap: calc(var(--bs-gutter-x));
}

#content-wrapper {
    background-color: var(--bg-color);
    padding-top: 1rem;
}

.menu-items {
    display: flex;
    flex-direction: column;
    font-family: serif;
    color: rgb(107, 66, 14);

}

.menu-items:last-child {
    margin-bottom: 0;
}

.menu-items-img {
    position: relative;
    width: 100%;
    height: 100%;
    left: calc(var(--border-spacing));
    object-fit: cover;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50%;
    background-image: url(/static/img/util/food-tray.png);
}

.menu-items-img-wrapper {
    margin-bottom: 1rem;
    height: 15rem;
    width: calc(100% - var(--border-spacing));
    padding-top: var(--border-spacing);
    padding-bottom: var(--border-spacing);
    border: solid var(--border-width) var(--website-secondary-color);
}

.menu-items-img-wrapper:dir(rtl) {
    margin-right: var(--border-spacing);
}

.menu-items:hover img {
    box-shadow: var(--website-secondary-color) 0px 0px 3px;
    transition: ease-in 0.2s;
}

.menu-items-title {
    font-weight: bold;
}

.menu-items-description {
}
.menu-items-description p {
    margin-bottom: 0;
}
.menu-items-weight {

}
.menu-items-ingredients {
}

.menu-items-description._has-big-description:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 48px;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, var(--bg-color) 0%, rgba(255,255,255,0) 100%);
}

.description-crop {
    height: 40px;
}

.menu-items-description {
    position: relative;
    margin-bottom: 6px;
    font-size: 14px;
    overflow: hidden;
}


.menu-items-price {
    margin-top: auto;
}

.menu-items-header {
    gap: 10px;
}

.menu-items-header span {
    white-space: nowrap;
    flex-basis: 60px;
    text-align: end;
}
.menu-items-header h2 {
    align-self: flex-start;
}

footer {
    margin-top: auto;
    color: var(--text-color);
}

#subcategory-header {
    cursor: pointer;
    border-radius: 25px;
    transition: 0.2s ease-out;
    background: none;
    color: rgb(107, 66, 14);
}

#subcategory-header-wrapper {
    padding-bottom: 1rem;
}

#subcategory-header:hover {
    background-color: rgba(85, 85, 85, 0.1);
    transition: 0.4s ease-in;
}
#subcategory-header:active {
    background-color: rgba(85, 85, 85, 0.2);
    transition: 0.4s ease-in;
}

#fullscreenImage {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

#fullscreenImage.show {
    opacity: 1;
    transition: opacity 0.3s;
}

#fullscreenImage img {
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

#fullscreenImage img.show {
    opacity: 1;
    transition: opacity 0.3s;
}

#fullscreenImage span {
    color: white;
    font-size: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

@keyframes ldio-0oeqvw1sd7zb {
    0% { transform: translate(-50%,-50%) rotate(0deg); }
    100% { transform: translate(-50%,-50%) rotate(360deg); }
}
.ldio-0oeqvw1sd7zb div {
    position: relative;
    width: 56px;
    height: 56px;
    border: 3px solid var(--website-primary-color);
    border-top-color: transparent;
    border-radius: 50%;
}
.ldio-0oeqvw1sd7zb div {
    animation: ldio-0oeqvw1sd7zb 0.5813953488372093s linear infinite;
    top: 50%;
    left: 50%
}
.loadingio-spinner-rolling-sk0x4g1jti {
    width: 200px;
    height: 200px;
    display: inline-block;
    overflow: hidden;
    margin: auto;
}
.ldio-0oeqvw1sd7zb {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0;
}
.ldio-0oeqvw1sd7zb div {
    box-sizing: content-box;
    float: left;
}


.corner-button {
    background-color: var(--bg-color);
    border: 2px solid var(--website-secondary-color);
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 100%;
    position: fixed;
    padding: 3px;
    z-index: 100;
    transition: 0.3s ease-in;
    visibility: hidden;
    opacity: 0;
}

.corner-button.show {
    visibility: visible;
    transition: 0.3s ease-in;
    opacity: 1;
}

.corner-button:hover {
    cursor: pointer;
}

.corner-button span {
    color: var(--website-secondary-color);
    font-size: 1.25rem;
    position: relative;
}

#show-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 30px;
    left: 30px;
}


#scroll-top {
    bottom: 30px;
    right: 30px;
}

#scroll-top span {
    font-size: 28px;
    top: -1px;
}

@media screen and (min-width: 768px)  {
    #menu div {
        justify-content: center;
    }

    body {
        max-width: none;
    }
    .header-background {
        object-fit: contain;
        width: 100%;
        text-align: center;
        overflow: visible;
    }

    .header-img {
        height: 24rem;
        position: relative;
        mask-image: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%),
        linear-gradient(to top, transparent 0%, black 16%);
        mask-composite: intersect;
    }

    .header-logo {
        order: 1;
        flex: 1;
        margin-top: 0;
        box-shadow: none;
        height: 120px;
    }

    #lang-select {
        flex: 1;
        order: 3;
        justify-content: end;
        margin: auto;
    }
    .title-container {
        flex: 3;
        order: 2;
        padding: 0;
        border-radius: 0;
        background: none;
    }

    .title-container h1 {
        margin: 0;
    }
    .header {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    .restaurant-info {
        display: none;
    }

    .subcategory {
        width: 50%
    }

    .menu-items {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .subcategory:nth-child(even) .subcategory-wrapper .subcategory-photo {
        left: calc(var(--border-spacing));
    }

    .subcategory:nth-child(even):dir(ltr) .subcategory-wrapper {
        float: left;
    }
    .subcategory-wrapper:dir(rtl) {
        float: left !important;
    }


    .menu-badge:last-child:dir(ltr) {
        margin-right: 30px;
    }

    .menu-badge:first-child:dir(rtl) {
        margin-right: 30px;
    }
}

@media screen and (min-width: 1024px) {


    .menu-badge:last-child {
        margin-right: 0;
    }

}

.dots {
    flex: 1;
    height: 20px;
    border-bottom: 3px dotted #3333;
    flex-basis: 4rem;
}

.without-photo {
    max-width: 50rem;
    margin: 0 auto;
}

.without-photo .row {
    row-gap: 3rem;
}

.without-photo .menu-items-title {
    font-weight: bold;
}

#popup {
    z-index: 100;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease-in-out;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

#popup.show {
    visibility: visible;
    opacity: 1;
    transition: 0.2s ease-in-out;
}

#popup.show #popup-container {
    top: 0;
    opacity: 1;
    transition: 0.2s ease-in-out;
}

#popup.hide {
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease-in-out;
}
#popup.hide #popup-container {
    top: 20px;
    opacity: 0;
    transition: 0.2s ease-in-out;
}

#popup-container {
    aspect-ratio: 1/1;
    position: relative;
    max-height: 70%;
    width: auto;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    margin: 1rem;
    top: -20px;
    opacity: 0;
    transition: 0.2s ease-in-out;
}
#popup-img {
    margin: auto;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.popup-button {
    aspect-ratio: 1;
    width: 50px;
    background: rgba(148, 148, 148, 0.5);
    border-radius: 100%;
    border: none;
    color: black;
    margin: 1rem;
    z-index: 1;
    position: absolute;
    right: 0;
    top: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

.popup-button span {
    display: flex;
}

.popup-button.show {
    opacity: 1;
    transition: 0.5s ease-out;
}

body.no-scroll {
    overflow: hidden;
}

