/* 70c96b green
   0ba1b9 blue
   9e6b90 pink    
*/
body {
    background: #fff;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
}

img{
    width: 100%;
    border-top-right-radius: .5rem;
    border-top-left-radius: .5rem;
}

.container {
    margin: 0 auto;
    width: 100%;
    max-width: 1100px;
    height: 100%;
    padding: 2rem 1rem;
}

h1 {
    font-size: 1.5rem;
}

h2{
    font-size: 1.25rem;

}

h3{
    font-size: 1rem;
}

h1,h2,h3{
    text-transform: capitalize;
    margin-bottom: 1rem;
}

/* Header */
header {
    background: rgba(255, 196, 57, .95);
    width: 100%;
    height: 45vh;
    text-align: center;
    position: relative;
}

header::after {
    content: '';
    background-image: url('../images/bg-icons.png');
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

header .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

form {
    display: flex;
    justify-content: center;
}

input,
button {
    border: none;
    outline: none;
    padding: .45rem 1rem;
}

input {
    font-size: 1rem;
    width: 100%;
    max-width: 375px;
    min-width: 100px;
    border-top-left-radius: .75rem;
    border-bottom-left-radius: .75rem;
    box-shadow: 0 0 15px -5px rgb(34, 34, 34, .5);
}

input::placeholder {
    color: #ccc;
}

button {
    border-top-right-radius: .75rem;
    border-bottom-right-radius: .75rem;
    background: #fff;
}

button:hover {
    cursor: pointer;
}

i {
    font-size: 1.25rem;
    color: #ccc;
}

/* Meals */
.meals-wrapper{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.meal{
    background: #fff;
    border-radius: .5rem;
    box-shadow: 0 0 15px -5px rgb(34, 34, 34, .25);
    transition: box-shadow .1s ease-in-out;
}

.meal:hover{
    box-shadow: 0 0 15px -3px rgb(34, 34, 34, .25);
}

.meal-content{
    padding: 1rem;
}

.get-meal{
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    background: rgb(255, 196, 57);
    padding: .5rem 1rem;
    border-radius: .25rem;
}

.get-meal:hover{
    background: rgb(251, 189, 44);
}

/* footer */
footer{
    text-align: center;
}

footer a{
    color: #0ba1b9;
}

footer p{
    color: #aaa;
}

span{
    color: darkred;
}

/* mediaqueries */
@media(min-width: 490px){
    .meals-wrapper{
        grid-template-columns: 1fr 1fr;
    }
}

@media(min-width: 768px){
    h1 {
        font-size: 2.25rem;
    }
    
    h2{
        font-size: 1.75rem;
    
    }
    
    h3{
        font-size: 1.15rem;
    }

    .meals-wrapper{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media(min-width: 985px){
    .meals-wrapper{
        grid-template-columns: repeat(4, 1fr);
    }

    #beef{
        grid-template-columns: 1fr 1fr 1fr;
    }
} 

@media(max-width: 285px){
    footer p{
        font-size: 75%;
    }
}