*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
body {
    background: url("https://st.depositphotos.com/1430176/4183/v/450/depositphotos_41833689-stock-illustration-seamless-food-background.jpg");
    font-size: 16px;
  }
  
  .head{
    background-color: #333;
    height: 60px;
  }
  h1 {  
    color:chocolate;
    font-size: 32px;
    padding: 5px;
    text-align: center;
  }
 
  form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 0;
  }
  
  input{
    background-color: #fff;
    border: 2px solid grey;
    border-radius: 8px;
    font-size: 16px;
    padding: 12px;
    width: 400px;
    height: 60px;
  }
  input:hover{
    border: 2px solid brown;
  }
  
  button{
    background-color:bisque;
    border: none;
    border-radius: 8px;
    border: 2px solid grey;
    color:orangered;
    cursor: pointer;
    font-size: 20px;
    padding: 12px 20px;
    margin-left: 10px;
    transition: background-color 0.2s;
  }
  
  button:hover {
    background-color:aliceblue;
    border: 2px solid brown;
  }
  
  #results {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin: 40px 0;
  }
  
  #results > div {
    background-color:#000;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
  }
  
  #results img {
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    height: 200px;
    width: 100%;
  }
  
  #results h3 {
    color:chocolate;
    font-size: 20px;
    margin: 0;
  }
  

  #results a {
    background-color:bisque;
    border-radius: 8px;
    color:orangered;
    font-size: 16px;
    margin-left: auto;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
  }
  
  #results p{
    padding: 5px;
  }
  #results a:hover {
    background-color: #0069d9;
  }

  #error{
    color:red;
    font-size: 30px;
    text-align: center;
    background-color: bisque;
    display: none;
  }