
/* THEME */

/* body {
   font-family: "Manrope", sans-serif;
} */
body {
    font-family: "Inter", sans-serif;
}

.btn-primary,
.bg-primary {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: var(--theme-primary-text) !important;
}

.border-primary {
    border-color: var(--theme-primary) !important;
}

.btn-secondary {
    background-color: var(--theme-secondary) !important;
    border-color: var(--theme-secondary) !important;
    color: var(--theme-secondary-text) !important;
}

.descmain {
    font-size: 0.8rem;
    color: gray;
}

/* Scrollspy style */

.scrollspy-nav {
    top: 0;
    left: 0;
    padding: 10px 5px;
}

/* .scrollspy-nav .scrollspy-link {
    text-decoration: none;
    color: var(--theme-primary-text);
    font-family: sans-serif;
    margin: 0px 10px;
    padding: 5px 5px;
    cursor: pointer
} */
#navbar-cat {
    background-color: var(--theme-secondary-text);
}

.scrollspy-nav .scrollspy-link {
    text-decoration: none;
    color: var(--theme-primary);
    font-family: inherit;
    margin: 0px 10px;
    padding: 10px 10px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: inset -2px -2px 2px 0px rgba(var(--theme-primary-opacity), 0.2);
}

#navbar-cat .active {
    /* border-bottom: 3px solid var(--theme-primary-text); */
    background-color: var(--theme-primary) !important;
    color: var(--theme-secondary-text) !important;
}

.custom-shadow {
    box-shadow: 1px 5px 7px 1px rgba(var(--theme-primary-opacity), 0.2);
}

.view-items {
    border-radius: 10px;
    border: 1px solid rgba(var(--theme-primary-opacity), 0.2);
}

.card-img-top {
    border-radius: 10px 0px 0px 10px;
}

.heading {
    color: var(--theme-primary);
}

.card-header {
    border-radius: 10px !important;
}

/* MOBILE and Portrait TABLETS*/

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

    /* TRANSFORMS */
    /* Hide side cart */
    .aside-cart {
        display: none;
    }

    /* Hide huge summary message*/
    .summary-huge {
        display: none;
    }

    .landing-order-notification {
        height: 10vh;
        padding: 5px;
        text-align: center;
    }

    .landing-logo {
        width: 70%;
        max-width: 320px;
        max-height: 40vh;
    }

    /* Menu screen */
    .item-description {
        font-size: small;
        margin-bottom: 0px;
    }

    nav>.btn {
        padding-top: 15px;
        font-size: medium;
    }

    .items-container {
        margin: auto;
        max-width: 450px;
        padding-top: 180px;
    }

    /* Cart overlay */
    .cart-body {
        max-height: 60vh;
        overflow-y: auto;
        overflow-x: hide;
    }

    .overlay-content-wrapper {
        max-width: 550px;
    }

    /* Order summary */
    .item-titles {
        font-size: small;
    }

    /* Item edit */
    .quantity-wrapper {
        max-width: 170px;
    }

    .edit-item {
        max-width: 450px;
    }

    /* Post-order page*/
    .summary-image {
        padding-right: 0;
    }

    .receipt-wrapper {
        max-width: 680px;
    }

    .scrollspy-nav {
        padding-left: 15px;
        padding-right: 15px;
    }

    .scrollspy-link {
        margin: 0 5px;
        padding: 8px 8px;
        font-size: 14px;
    }
}


/* Landscape TABLETS and DESKTOP */

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

    /* TRANSFORMS */
    /* Hide view cart button */
    .view-cart-btn {
        display: none;
    }

    /* Aside cart div */
    .fake-wrapper {
        float: right;
    }

    .aside-cart {
        background-color: var(--theme-bg);
        width: 275px;
        margin-left: 3rem;
    }

    .fixed {
        position: fixed;
    }

    /* Cart overlay and aside */
    .cart-body {
        max-height: 50vh;
        overflow-y: auto;
        overflow-x: hide;
    }

    .overlay-content-wrapper {
        max-width: 550px;
    }

    .landing-order-notification {
        height: 10vh;
        padding: 5px;
        text-align: center;
    }

    .landing-logo {
        width: 70%;
        max-width: 236px;
        /*max-width: 320px;*/
    }

    /* Menu screen */
    .item-description {
        font-size: small;
        margin-bottom: 0px;
    }

    nav>.btn {
        padding-top: 15px;
        font-size: medium;
    }

    .items-container {
        margin: 1rem 3rem 1rem 3rem;
        padding-top: 55px;
    }

    .item-edit {
        float: right;
        font-size: small;
        max-width: 500px;
    }

    /* Order summary */
    .item-titles {
        font-size: small;
    }

    .cart-summary {
        font-size: small;
    }

    /* Item edit */
    /* .item-edit-div {
        font-size: small;
    } */

    .quantity-wrapper {
        max-width: 170px;
    }

    .edit-item {
        max-width: 768px;
    }

    /* .update-cart-btn {
        max-width: 300px;
    } */

    /* Post-order page*/
    .summary-image {
        padding-right: 0;
    }
}


/* CSS THAT DOESN'T CHANGE */


/* Z-index stuff */

.overlay {
    opacity: 0.6;
    background-color: rgb(0, 0, 0);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1035;
}

.order-overlay {
    z-index: 1040;
    display: none;
}

.item-edit-div {
    height: 100vh;
    z-index: 1040;
    overflow-y: auto;
    overflow-x: hidden;
}

.landing-welcome {
    /* height: 100vh; */
    text-align: center;
    z-index: 1040;
}

.notification-banner {
    z-index: 1080;
    font-size: large;
    font-weight: 500;
    line-height: 30px;
}

.img-item {
    max-height: 75px;
}

.cart-body,
.cart-price,
.cart-total,
.cart-item,
.list-unstyled {
    padding-left: 15px;
    padding-right: 15px;
}

.cart-item:hover {
    cursor: pointer;
}

.receipt-wrapper {
    background-color: white;
}

.btn-close {
    margin-right: 5px;
}

.cool-quantity {
    border: 1px solid grey;
    width: 2rem;
    height: 2rem;
}

.nav-y-scroll {
    -ms-overflow-style: none;
    /* for Internet Explorer, Edge */
    scrollbar-width: none;
    /* for Firefox */
    overflow: scroll;
    white-space: nowrap;
}

.nav-y-scroll::-webkit-scrollbar {
    display: none;
    /* for Chrome, Safari, and Opera */
}

.body-menu {
    -ms-overflow-style: none;
    /* for Internet Explorer, Edge */
    scrollbar-width: none;
    /* for Firefox */
    overflow: scroll;
}

.body-menu::-webkit-scrollbar {
    display: none;
    /* for Chrome, Safari, and Opera */
}

.borderless>li {
    border: none;
}

/* Add to your CSS */
.body-menu {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: white;
}


.menu-category:last-of-type {
    min-height: 75vh;
}

.body-summary {
    overflow: hidden;
}