body{
    background: pink;
}

/* fav list styles */
#fav-list{
    border-radius: 10px; 
    overflow: scroll;
    max-height: 65vh;
    overflow: scroll;
    /* margin-top: 25px; */
}
/* removing scroll bar  */
#fav-list::-webkit-scrollbar {
    display: none;
}


/* items styel/  */
#fav-items{
    width: 98%;
    margin: 10px;
    height: 150px; 
    border: 3px solid black; 
    padding: 0%;
    border-radius: 5px;
    background: pink;
 
}



/* elements in fav div  */
#fav-items > div{
    height: 150px; 
    width: 160px; 
    border-radius: 5px;
    float: right;
}
#fav-items > a{
    text-decoration: none;
    color: whitesmoke;
}


/* meal imag  */
#fav-items  img{
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size:auto;
    /* margin-right: -5px; */
    
}

/* heading- name of meal  */
#fav-items h5{
    font-family:sans-serif;
    height: 60px;
    overflow: hidden;
    width: 350px;
    margin-left: 20px;
    margin-top: 10px;
    color: black;
    font-weight: 600;
    font-size: 20px;
}


/* add fav button  */
#fav-items button {
    height: 40px;
    margin-left: 15px;
    background:grey;
    color:black;
    font-size: 15px;
    font-weight: 600;
}

#fav-items button:hover {
    transform: scale(1.1,1.1);
    color: blue;
}



/* ------------------------fav ----------------------------- */

#fav-div{
    background: rgb(245, 102, 126);
   
    border: 3px solid black;
    overflow: hidden;
    transition: all 0.1s ease-in-out;
    padding: 15px;
    margin-top: 35px;
}


/* list style  */
.centerLists{
    border:  3px solid black;
    width: 70%;
    height: 80%;
    margin: auto;
}

#fav-div h1{
    /* color: ; */
    width: 100%;
    text-align: center;
    font-family: sans-serif;
    color: black
}


/* home anchors style */
a i{
    font-size: 40px;
    color: black;
    float: left;
    margin-left: 10px;
}
a i:hover{
    color: blue;
}


/* styles for size less then 800px  */

@media only screen and (max-width:800px){
    .centerLists {
        width: 450px;
    }




    /* reducing list size and font size image size  */
    #fav-items{
        height: 100px; 
    }

    #fav-items > div{
        height: 98px; 
        width: 150px; 
    }


    #fav-items  img{
        width: 200px;
        
    }


    /* heading size  */
    #fav-items h5{
        height: 60px;
        width: 200px;
        font-size: 15px;
        margin: 3px 0px 0px 3px;
        font-weight: 300;
    }

    /* button size  */
    #fav-items button{
        height: 30px;
        margin-left: 20px;
        background-image: linear-gradient(to right,  rgb(250, 75, 98),rgba(255,0,0,0));
        border-radius: 10px;
        font-size: 12px;
        padding: 2px 5px;
    }
    a img{
        height: 40px;
        width: 40px;
    }
}


/* styles for size less then 500px */

@media only screen and (max-width:500px){
    .centerLists {
        width: 350px;
    }



    /* list div styles  */
    #fav-items > div{
        width: 100px; 
    }


    /* list image items  */
    #fav-items  img{
        width: 100px;
        
    }

        
    /* fav list styles */
    #fav-div{
        padding: 5px;
    }


    /* items styel/  */
    #fav-items{
        margin: 0px;
        padding: 0%;
        border-radius: 5px;
    }

}



/* styles for size less then 380px */
@media only screen and (max-width:380px){
    .centerLists {
        width: 250px;
    }


    /* list styles  */

    #fav-items > div{
        width: 100px; 
    }


    #fav-items  img{
        width: 100px;
    }


    /* heading styles  */
    #fav-items h5{
        height: 50px;
        width: 130px;
        font-size: 12px;
    }

    /* button styles  */
    #fav-items button{
        height: 30px;
        margin-left: 5px;
        font-size: 10px;
        padding: 2px 5px;
    }

    /* home anchor size reduce */
    a img{
        height: 25px;
        width: 25px;
    }
}