body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #edebeb;
    color: #191918;
    overflow-x: hidden;
    overflow-y: scroll;
}

/* For large screens (desktops, laptops) */
@media (min-width: 992px) {
    .mlps {
        padding: 50px;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #a5a4a6;
    /* border-radius:10px; */
}

::-webkit-scrollbar-thumb {
    background-color: #191918;
    border-radius: 10px;
    height: 20px;
}

/* a {
    text-decoration: none;
    list-style: none;
    color: #edebeb;
    background-color: #191918;
} */

::selection {
    background-color: #191918;
    /* Change background color */
    color: #edebeb;
    /* Change text color */
}

.form-control.rounded {
    background-color: #edebeb;
    border-color: #191918;
    /* Color of the border */
    border-width: 1px;
    /* Width of the border */
    border-style: solid;
    /* Style of the border */
}

.search-bar input[type="text"].form-control:focus {
    border-color: #191918;
    box-shadow: 10px 10px #191918;
}

.form-control.rounded::placeholder {
    color: #191918;

    /* Optional: Placeholder text color */
}

.categories {
    margin-top: 40px;
}

.slider {
    overflow: hidden;
    width: 100vw;
    /* Full width of the viewport */
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* Transition for sliding effect */
}

.slides img {
    width: 425px;
    /* Full width of the viewport */
    height: 425px;
}

.categories .col.text-center a.btn {
    width: 100%;
    align-items: center;
}

p {
    text-overflow: ellipsis;
}

.card {
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(145deg, #d5d4d4, #fefbfb);
    box-shadow: 30px 30px 80px #727171, -30px -30px 80px #ffffff;
}

/* .order-button {
    height: 3em;
    width: 8em;
    border: none;
    border-radius: 10em;
    background: #016DD9;
    font-size: 17px;
    color: #ffffff;
    font-family: inherit;
    font-weight: 500;
} */

/* button {
    margin-top: 17px;
    height: 2.7em;
    width: 7.5em;
    border: none;
    border-radius: 10em;
    background: #191918;
    font-size: 17px;
    color: #ffffff;
    font-family: inherit;
    font-weight: 500;
    margin-bottom: 15px;
} */

/* button:hover {
   background-color: #727171;
} */
.search-bar {
    align-items: center;
    justify-content: center;
}

/* .modal-body{
    background-color: #edebeb;
  }
  .custom-modal {
    background-color: #edebeb; 
  }
  .custom-close-btn {
    background-color: #d3d0d0; 
    color: #191918; 
  } */
@media only screen and (min-width: 601px) and (max-width: 900px) {
    col.img {
        width: 70%;
        /* Adjust image size for medium screens */
        height: auto;
        /* Maintain aspect ratio */
    }

    .card {
        height: 300px !important;

    }
}

/* For large screens */
@media only screen and (min-width: 901px) {
    col.img {
        width: 50%;
        /* Adjust image size for large screens */
        height: auto;
        /* Maintain aspect ratio */
    }

    .card {
        height: 300px !important;

    }
}
@media screen and (max-width: 1024px) and (max-height: 797px) {
    col.img {
        height: 50%;
        /* Adjust image size for large screens */
        /* Maintain aspect ratio */
    }
}
  

.items-section {
    column-gap: 10px;
}

main {
    padding: 2em;
}

@media screen and (min-width: 768px) {

    .items {
        padding: 0 60px 0 60px;
    }
}

h2 {
    font-size: 1.4rem;
}

.cart {
    display: flex;
    align-items: center;
}

.position-relative {
    position: relative;
}

.badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: 191918;
    color: #edebeb;
    border-radius: 50%;
    padding: 0.2em 0.5em;
    font-size: 0.75em;
}

.hero-nav {
    background-color: #edebeb;
    margin-top: 0;
    padding-bottom: 7px;
}

.main-menu {
    padding-top: 30px;
}

@media screen and (min-width: 768px) {

    /* CSS rules for medium-sized screens and larger */
    /* For example: */
    #pizza {
        padding-top: 80px;
    }

    #burger {
        padding-top: 80px;
    }

    #drinks {
        padding-top: 80px;
    }
}

@media screen and (max-width: 767px) {

    /* CSS rules for small-sized screens */
    /* For example: */
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    img {
        width: 70px;
       }

    #pizza {
        padding-top: 40px;
    }

    #burger {
        padding-top: 40px;
    }

    #drinks {
        padding-top: 40px;
    }
}

.menu {
    background-color: #edebeb;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.menu ul li {
    display: inline-block;
    margin: 0 10px;
}

.menu ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    position: relative;
}

.menu ul li a:hover {
    background-color: #ddd;
}

.menu ul li a::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #191918;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu ul li a:hover::after {
    transform: scaleX(1);
}

.card-footer {
    position: relative;
}

.btn-dark {
    position: absolute;
    bottom: 8px;
    right: 20px;
    width: 120px;
    height: 40px;
    background-color: #191918;
    border-radius: 50px;
    padding: 0;
    line-height: 40px;
}

.btn-success {
    width: 130px;
    height: 40px;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #319333;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: all .4s;
}

.btn-success:hover {
    border-radius: 5px;
    transform: translateY(-10px);
    box-shadow: 0 7px 0 -2px #97bc62ff,
        0 15px 0 -4px #39a2db,
        0 16px 10px -3px #39a2db;
}

.btn-success:active {
    transition: all 0.2s;
    transform: translateY(-5px);
    box-shadow: 0 2px 0 -2px #e3b448,
        0 8px 0 -4px #39a2db,
        0 12px 10px -3px #39a2db;
}

.btn-danger {
    padding: 10px 10px;
    border: unset;
    border-radius: 15px;
    color: #212121;
    z-index: 1;
    background: #e8e8e8;
    position: relative;
    -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    transition: all 250ms;
    overflow: hidden;
   }
   
   .btn-danger::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 15px;
    background-color: #d11818;
    z-index: -1;
    -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    transition: all 250ms
   }
   
   .btn-danger:hover {
    color: #e8e8e8;
   }
   
   .btn-danger:hover::before {
    width: 100%;
   }