/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  header {
    text-align: center;
    margin-bottom: 30px;
  }
  
  header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
  }
  
  #search-section {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
  }
  
  #ingredients {
    width: 60%;
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
  }
  
  #search-recipes {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  #search-recipes:hover {
    background-color: #2980b9;
  }
  
  /* Recipe list styles */
  #recipe-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .recipe-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
  }
  
  .recipe-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  
  .recipe-item h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .recipe-item a {
    display: inline-block;
    text-decoration: none;
    color: #3498db;
    margin-bottom: 10px;
  }
  
  .recipe-item a:hover {
    text-decoration: underline;
  }
  
  /* Media Queries for Responsiveness */
  @media (max-width: 768px) {
    #ingredients {
      width: 80%;
    }
  
    #search-section {
      flex-direction: column;
    }
  
    .recipe-item {
      padding: 15px;
    }
  }
  
  @media (max-width: 480px) {
    header h1 {
      font-size: 2rem;
    }
  
    .recipe-item h3 {
      font-size: 1.2rem;
    }
  }
  