/* menu */
.menu-section .container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    column-gap: var(--spacing-md);
    position: relative;
}

hr{
    margin: var(--spacing-xl) 0;
}


/* side-nav */
.side-nav{
    position: sticky;
    top: var(--card-gap);
    left: 0;
    min-width: 45px;
    width: 10%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
    background-color: var(--color-red);
    background: linear-gradient(180deg, rgba(237, 28, 36) 50%, rgba(0, 81, 186) 50%);
    border-radius: 30px;

}

.side-nav svg{
    fill: white;
    width: 46px;
    height: 46px;
    transition: scale 0.2s;
    margin: var(--spacing-sm) 0;
}

.side-nav svg:hover{
    scale: 1.2;
}

/* menu content */

.menus{
    /* flex: 1; */
    width: 90%;
    margin-left: var(--card-gap);
}
.menus .heading{
    margin-bottom: var(--spacing-xl);
}

.menus h2{
    margin: 0;
}

.menu-cards{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: var(--spacing-lg);
}
/* for left aligning the last card */
.menu-cards::after{
    content: '';
    width: 40%;
    margin: 0 var(--card-gap);
}

.menu-card{
    height: 580px;
    width: 40%;
    border: 1px solid var(--color-border-grey);
    border-radius: var(--card-radius);
    overflow: hidden;
    text-align: center;
    margin: 0 var(--card-gap);
    box-sizing: border-box;
}

.menu-cards .menu-card:last-child {
    align-self: flex-start;
}

.menu-card .card-top{
    position: relative;
    height: 50%;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.menu-card img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.flavor{
    width: 100%;
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--spacing-sm) 0;
}

.prices{
    font-size: 1.2rem;
}

.prices span{
    padding: 0 var(--spacing-sm);
}

.prices span:not(:last-child){
    border-right: 2px solid var(--color-grey);
}

.menu-card .card-bottom{
    padding: 0 var(--spacing-md);
    box-sizing: border-box;
}

.menu-card p{
    text-align: left;
}

/* chicken card */
#chicken .menu-card{
    width: 100%;
}

#chicken .card-top{
    height: 70%;
}

/* offer */
.offer-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--color-lightgrey);
    border-radius: 30px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.31);
    margin-top: var(--spacing-lg);
}

.offers{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.offer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.offer h3{
    font-weight: 400;
}

.offer p{
    margin: 0 0 var(--spacing-md-broad) 0;
}

.offer-price{
    font-size: 24px;
    font-weight: 300;
}


/* specific image styles */

#toast{
    object-fit: cover;
}

/* kimbap image */
#kimbap{
    object-fit: cover;
    object-position: 50% 10%;
    scale: 1.2;
}




@media only screen and (max-width:896px) {
    

    .menu-card .card-top{
        height: 40%;
    }

    .prices, .flavor{
        font-size: 1rem;
    }
}

@media only screen and (max-width: 731px){
    
    .side-nav svg{
        width: 30px;
        height: 30px;
    }

    .prices{
        display: flex;
        flex-direction: column;
    }

    .prices span:not(:last-child){
        border-right: 0;
    }
}

@media only screen and (max-width: 670px) {
    .menus{
        margin-left: 0;
    }

    .menu-card{
        width: 100%;
    }

    .menu-card .card-top{
        height: 60%;
    }

    .prices{
        display: block;
    }

    .prices span:not(:last-child){
        border-right: 2px solid var(--color-border-grey);
    }

    /* specific image styles */

    #toast{
        object-fit: cover;
    }

    /* kimbap image */
    #kimbap{
        object-position: 50% 20%;
        scale: 1;
    }

    .offers{
        flex-wrap: wrap;
    }
    
    .offer{
        width: 100%;
    }

}

@media only screen and (max-width: 430px){



    .menu-card{
        height: fit-content;
        margin: 0;
    }

    .menu-card .card-top{
        height: 250px;
    }

    #wing-image{
        scale: 1.25;
    }
}