:root {
    --body-color: radial-gradient(circle at 50% 50%, #ffffff, #f4f1ae);
}

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

body {
    /*background-image: url(../img/bg.png) !important;*/
    background-color: #f5f5dc;
    font-size: .95rem;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/** 
    MENU WOODEN BOARD 
**/
a.menu-board {
    display: block;
    position: relative;
    text-align: center;
    background: #ffe398;
    color: #FFF;
    margin: 25px 0;
    padding: .25rem;
    font-size: 1.15rem;
    font-family: cursive;
    text-decoration: none;
    border: 2px dashed #946c25;
    outline: 6px solid #d8b659;
    backface-visibility: hidden;
    transition: transform 0.2s ease-in-out;
    width: 150px;
    z-index: 2;
}

    a.menu-board:hover {
        text-decoration: underline;
        outline: 6px solid #946c25;
        color: white !important;
        background: #946c25 !important;
    }

/*    a.menu-board:before {
        top: -5px;
        bottom: -5px;
        left: -7px;
        right: -7px;
        box-shadow: 0 0 10px 1px #a19a9a;
        border-radius: 0px;
        content: '';
        position: absolute;
        z-index: -2;
    }
*/
    a.menu-board.active {
        z-index: 9;
        background: #aa976b;
    }
.nav-item:nth-child(odd):has(a.menu-board.active), .nav-item:nth-child(even):has(a.menu-board.active) {
    z-index: 9;
}

.nav-item:nth-child(odd):has(a.menu-board) {
    transform: rotate(-5deg);
    z-index:0;
}

.nav-item:nth-child(even):has(a.menu-board) {
    transform: rotate(5deg);
    z-index:0;
}

.nav-item:nth-child(odd):has(a.menu-board:hover), .nav-item:nth-child(even):has(a.menu-board:hover) {
    transform: rotate(0deg);
}

.menu-toggler, .menu-toggler:focus {
    border-color: #000000;
    color: #000000;
    background: #e8c261;
    outline: none !important;
    box-shadow: none !important;
}

ul.menu {
    width: 17rem;
    background: white;
    padding: 2rem !important;
    border-radius: 1rem;
    box-shadow: 0px 1px 6px 0px #a0a0a0;
    margin: 1rem;
}

@media (max-width: 991px) {
    .position-absolute:has(.logo) {
        position: unset !important;
    }

    .logo {
        width: 150px;
        padding: 1rem 1rem 0 1rem;
    }
}
/** 
    SIDE MENU BOARD 
**/
.side-menu {
    height: 100vh;
    width: 5rem;
    position: absolute;
    top: 0;
    right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/** 
    MENU
**/
.menu-header {
    padding: .5rem 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.menu-item {
    margin: 0 !important;
}

.menu-item-price {
    color: black;
}

.menu-bg {
    background: radial-gradient(#f7e2a6, #f9f0bb, #fffcec);
    outline: 1px solid #f7de96;
}

.wallpaper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.border {
    border: 1px solid var(--border-color) !important;
}
/*
    ON SCROLL
*/
.custom-nav {
    transition: all 0.3s ease-in-out;
}

.logo {
    transition: width 0.4s ease-in-out;
}

.resizeMenu {
    background: var(--body-color);
    box-shadow: 0px 0px 2px black;
}

    .resizeMenu .logo {
        animation: shrinkLogo 0.4s ease-in-out forwards;
        width: 80px !important;
    }

@keyframes shrinkLogo {
    0% {
        width: 160px;
    }

    50% {
        width: 100px;
    }
    /* Midpoint size */
    100% {
        width: 80px;
    }
}


.resizeMenu .logo + span {
    font-size: .85rem;
    display: none;
}

.resizeMenu .main-menu {
    align-self: center;
}

.resizeMenu .menu-board {
    margin: 10px 0 !important;
}

@media (max-width: 991px) {
    .auto-rickshaw > img {
        width: 300px !important;
    }
}
