
html {
  scroll-behavior: smooth;        
  scroll-padding-top: 120px;  
       
}

main{
    overflow: visible;
}


.menu-hero{
    font-family: "poppins";
    font-size: 32px;
    font-weight: 500;
    color: #222;
    line-height: 48px;
    border: 2px solid #771C1E;
    display: inline-block;
    position: relative;
    text-align: center;
    left: 30%;
    width: 40%;
    
}

.menu-nav{
    background-color: #CDCDCD;
    overflow-x: auto; 
    scrollbar-width: none;
    position: sticky;
    top: 56px;
    z-index: 1;
    
}

.menu-nav ul{
    display: flex !important;
    background-color: #CDCDCD;
    gap: 12px;
    max-height: none !important;
    position: static !important;
    margin: 0;
    overflow: visible !important;
    list-style: none;
}

.menu-nav li{
    font-family: "poppins";
    font-size: 14px;
    font-weight: 500;
    background-color: #CDCDCD;
    color: #222;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
   
    
}



.menu-nav a{
    color: #222 !important;
    text-decoration: none;
    
}


.menu-nav li:hover {
    background-color: #78787887;
    color: #fff;
    border-color: #771C1E;
    border-bottom: 1px solid #771C1E;
}


h2{
    font-family: "poppins";
    font-size: 24px;
    line-height: 40px;
    color: #222;
    font-weight: 500;
    text-align: center;
}

.card-image{
    object-fit: cover;
    width: 100%;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.card-header{
    font-family: "inter";
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    color: #222;
    padding: 0px 16px;
    
}

.card-text{
    font-family: "inter";
    font-size: 15px;
    line-height: 24px;
    font-weight: 400;
    color: #555555;
    padding: 0px 13px;
    flex-grow: 1;              
    margin: 0 0 8px 0;
}

.price{
    font-family: "inter";
    font-size: 17px;
    line-height: 24px;
    font-weight: 500;
    color: #222;
    padding: 0px 16px;
}

button{
    background-color: #771C1E;
    color: #eaeaea;
    font-family: "poppins";
    font-size: 17px;
    font-weight: 700;
    line-height: 26px;
    border: none;
    border-radius: 6px;
    padding: 2px 8px;
    margin: 16px;
    box-shadow: 0 6px 5px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition-duration: 0.4s;
    
}

.price-btn{
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    
}

.menu-card{
    background-color: #fff;
    border-radius: 8px;
    flex-direction: column;
    box-shadow: 0 6px 5px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition-duration: 0.4s;
    margin-bottom: 40px;
    width: 100%;           
    box-sizing: border-box; 
    overflow: hidden; 
    min-height: 0; 
    display: flex;
}

.appetizers-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 18px;
    padding: 20px;
}

button:hover{
    transform: scale(1.03);
    background-color: #fff;
    color: #771C1E;
}

.menu-card:hover{
    transform: scale(1.03);
}




@media (min-width:650px){

   .appetizers-section{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
        gap: 18px;
        padding: 20px;
    }

    .menu-nav li{
        padding: 8px 8px;
    }
    
    
}

@media (min-width:1025px) {
    .appetizers-section{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: auto;
        gap: 18px;
        padding: 20px;
    }
}