body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 1000;
    border: none;
    outline: none;
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px; 
}

#back-to-top:hover {
    background-color: #333;
}

.menu_container {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0; 
}

.top{
    height: 15%;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h1{
    font-size: 20px;
}
h2{
    font-size: 20px;
    color: red;
    text-align: center;
}
/* Container for buttons */
.menuType {
    display: flex; /* Use Flexbox for layout */
    justify-content: space-between; /* Space out buttons evenly */
    width: 100%; /* Full width of the container */
    background-color: #fff; /* Background color */
    position: sticky;
    top: 0; /* Stick to the top of the page */
    /* z-index: 1000; */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: add a shadow for better visibility */
}

/* Basic button styles */
.menu-button {
    background-color: #FFD700; /* Primary button color */
    color: white; /* Text color */
    border: none; /* Remove default border */
    padding: 15px; /* Button padding */
    font-size: 16px; /* Font size */
    font-weight: bold; /* Bold font */
    text-transform: uppercase; /* Uppercase text */
    cursor: pointer; /* Pointer cursor on hover */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition for hover effect */
    margin: 5px; /* Space between buttons */
    flex: 1; /* Flex-grow: take up equal space */
    text-align: center; /* Center the text */
}

/* Adjust margin for first and last button */
.menu-button:first-child {
    margin-left: 0; /* Remove left margin for the first button */
}

.menu-button:last-child {
    margin-right: 0; /* Remove right margin for the last button */
}

/* Hover effect */
.menu-button:hover {
    background-color: #b2a211; /* Darker shade on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Active state */
.menu-button:active {
    background-color: #cadb08; /* Even darker shade when active */
    transform: translateY(0); /* No lift when active */
}

/* Focus state for accessibility */
.menu-button:focus {
    outline: 2px solid #e6dd3a; /* Outline for keyboard accessibility */
}

/* Disabled state */
.menu-button:disabled {
    background-color: #cccccc; /* Grey background for disabled state */
    cursor: not-allowed; /* Not-allowed cursor for disabled state */
    opacity: 0.6; /* Slightly transparent */
}

/* Add responsive styles if needed */
@media (max-width: 600px) {
    .menu-button {
        font-size: 14px; /* Smaller font size on small screens */
        padding: 10px; /* Smaller padding on small screens */
    }
}


.button{
    display: flex;
    height: 80%;
}

.sidebar {
    width: 15%;
    flex: 0 0 15%;
    position: -webkit-sticky;
    position: sticky;
    top: 0px; 
    height: 100vh;
    overflow-y: auto;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 10px;
    cursor: pointer;
    background-color: #FFD700;
    margin-bottom: 10px;
    border-radius: 4px;
    color: rgb(51, 51, 51);
    font-weight: bold;
}

.sidebar ul li:hover {
    background-color: #DC143C;
    padding-left: 10px;
    transition: 0.3s;
}

.content {
    flex: 0 0 80%;
}
.category-section {
    margin-bottom: 40px;
}

.category-section h3 {
    background: linear-gradient(180deg, orange, #FFD700);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    font-size: 40px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
}

.category-section p {
    color: rgb(12, 6, 6);
    font-style: italic;
}

.menu-items {
    display: flex;
    flex-direction: column;
    
}

.menu-item {
    display: flex;
    flex-direction: row; 
    align-items: center;
    border-bottom: 2px dashed #ddd;
    padding: 15px;   
}

.menu-item h4 {
    font-size: 20px;
    flex: 2;
}

.menu-item .zoom-container {
    overflow: hidden;
    width: 300px; 
    height: 200px;
}

.menu-item .zoom-container img {
    object-fit: cover;
    margin-right: 20px;
    cursor: pointer;
    transition: transform 0.5s ease;
    width: 300px; 
    height: 200px;
    
}
.zoom-container:hover img {
    transform: scale(1.3); 
}

.menu-item-details {
    flex: 1;
}

.menu-item-details h4 {
    margin: 0 0 5px;
}

.menu-item-details .item-price {
    flex: 1;
    color: #ff6600;
    font-weight: bold;
    padding: 10px;
}

.menu-item-details .item-description {
    flex: 3;
    margin: 5px 0 0;
    color: #666;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-content, .close {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    left: 20%;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

@media only screen and (max-width: 600px) {
    .sidebar {
        font-size: 10px;
        width: 20%;
        font-family: 'Arial Narrow', Arial, sans-serif;
        height: 90vh;
        
    }
    .menu-item {
        flex-direction: column; 
        align-items: flex-start;
    }

    .menu-item h4,
    .menu-item-price,
    .menu-item-description {
        width: 100%;
        padding-left: 0;
        margin-bottom: 10px;
    }

    .sidebar ul li {
        padding: 5px;
    }
    .menu-item-price {
        text-align: left;
    }
    .menu-item h4 {
        font-size: 16px;
    }
    .category-section h3 {
        font-size: 18px;
    }
    .category-section p {
        font-size: 10px;
    }
    .content {
        width: 80%;
    }
    .menuType ul li {
        font-family: 'Arial Narrow', Arial, sans-serif;
        font-size: 10px;
        width: 20%;
    }
    h1{
        font-size: 18px;
    }
    #back-to-top {
        font-size: 12px;
    }

}

@media only screen and (max-width: 600px) {
    .sidebar {
        font-size: 10px;
        width: 25%;
        font-family: 'Arial Narrow', Arial, sans-serif;
        height: 90vh;
        
    }
    .content {
        width: 75%;
    }
    .menuType ul li {

        font-family: 'Arial Narrow', Arial, sans-serif;
        font-size: 10px;
    }
    .close {
        left: 10%;
    }

}

