*{
    margin: 0;
    padding: 0;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: sans-serif;
    background-color: #f4f4f4;
}
.container{
    display: flex;;
    flex-direction: column;
    width: 100vw;
    height: auto;
    padding: 30px 0px 0px 0px;
}
#name{
    border-radius: 20px;
    width: 10%;
    padding:10px 20px;
    margin: 0px auto 15px;
    background-color: #006241;
    color: white;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    font-family: Raleway;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
#search{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    width: 95%;
    border-radius: 20px;
    height: auto;
    margin:0px auto 10px;
    background-color: #ff9800;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;

}

#search #searchByIngredients{
    width: 50%;
    margin: 20px auto 10px;
    padding: 10px;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    cursor: pointer;
    background-color: #4caf50;
    color: white;
}
#searchByIngredients:hover{
    background-color: #ADFF2F;
}

#searchByMeal:hover{
    background-color: #ADFF2F;
}
#search #searchByMeal{
    width: 50%;
    margin: 3px;
    padding: 10px;
    margin: 0px auto 20px;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 10px;
    cursor: pointer;
    background-color: #4caf50;
    color: white;
}
#search #input{
    width: 50%;
    margin: 3px;
    padding: 10px;
    border: 2px solid black;
    border-radius: 10px;
    cursor: pointer;
    display: none;
}
#search #btn{
    width: 20%;
    margin: 3px;
    padding: 10px;
    margin: 10px auto 20px;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 10px;
    cursor: pointer;
    display: none;
    justify-content: center;
    background-color: #4caf50;
    color: white;
}
#btn:hover{
    background-color: #006241;
    color: #f4f4f4;
}
#listOfMeals{
    display: none;
    width: 95%;
    border-radius: 20px;
    height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto 30px;
    background-color: #ff9800;

}
#listOfMeals h3{
    margin: 20px auto 10px;
}
#mealLists {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 50px;
    width: 100%;         /* take full available width */
    max-width: 1100px;    /* optional, keeps layout neat */
    margin: auto;
    padding: 20px;
    list-style: none;    /* remove default list dots */
}

#mealLists li {
    background: #f4f4f4;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
}

#mealLists img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}
#mealLists h5 {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px auto 10px;
    font-size: 20px;
}
#recipeOfMeals{
    display: none;
    width: 100%;
    height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 15px auto 30px;
}
#recipe{
    background: #f4f4f4;
    display: flex;
    width: 95%;
    border-radius: 20px;
    height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto 30px;
    list-style: none;
    background-color: #ff9800;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
#mealDetails{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto 20px;
    width: 100%;
    height: auto;
}
#mealDetails #mealImg{
    width:250px;
    margin: 30px auto 30px;
    border-radius: 10px;
    border: 2px solid #ADFF2F;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
#MealN{
    background: #006241;
    padding:10px 30px;
    color: white;
    border-radius: 20px;
    margin: 10px auto 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
#mealDetails #inst{
    margin: 20px auto 20px;
    width:80%;
    border: 1.5px solid #006241;
    padding: 20px 20px;
    border-radius:10px ;
    -webkit-border-radius:10px ;
    -moz-border-radius:10px ;
    -ms-border-radius:10px ;
    -o-border-radius:10px ;
    color: white;
}
#head{
    background: #006241;
    padding:10px 20px;
    color: white;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

