@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Roboto:wght@100;300;400;500&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

body{
    background-color: #ece9e6;
    justify-content: center;
    display: flex;
    align-items: center;
    min-height: 100vh;
    

}

img{
    max-width: 100%;
}

.mobile-container
{
    box-shadow: 0 0 10px 2px #3333331a;
    border-radius: 3px;
    overflow: hidden;
    width: 500px;
    background-color: #fff;
   
    
}


header{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
   
}

header input{
    background-color: #eee;
    border: none;
    font-family: inherit;
    border-radius: 3px;
    padding: 0.5rem 1rem;
   

}

header button{
    background-color: none;
    margin-left: 1rem;
    border: none;
    color: #aaa;
    padding: 0.5rem 1rem;
}

.fav-container{
    background-color: rgb(241, 227, 241);
    padding: 0.25rem 1rem;
    text-align: center;
}

.fav-meals{
    display: flex;
   flex-wrap: wrap;
   justify-content: center;
    list-style-type: none;
    padding: 0;
}

.fav-meals li{
    margin: 5px;
    width: 75px;
}

.fav-meals li img{
    border: 2px solid #ffffff;
    box-shadow: 0 0 10px 2px #3333331a;
    object-fit: cover;
    height: 75px;
    width: 75px;
    border-radius: 50%;
}

.fav-meals li span{
    font-size: 0.9rem;
}

.meal{
border-radius: 3px;
margin: 1.5rem;
box-shadow: 0 0 10px 2px #3333331a;
overflow: hidden;
}

.meal-header{
    position: relative;

}

.random{
    z-index: 1;
    margin-left: 25px;
   position: absolute;
    top: 1rem;
    background-color: #fff;
    padding: 0.25rem 0.5rem;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    
    
    
}

.meal-header img{
object-fit: cover;
height: 240px;
width: 100%;

}

.meal-body{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.meal-body h4{
    margin: 0;
}

.meal-body .fav-btn{
    border: none;
    background-color: transparent;
    color: rgb(197, 188, 188);
    cursor: pointer;
    font-size: 1.2rem;
}

.meal-body .fav-btn.active{
    color: rebeccapurple;
}

