/* styles.css */
h1 {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
}

.material-symbols-rounded {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.recipe-card {
    display: flex;
    flex-direction: column;
    background-color: rgb(222, 184, 135);
    border: 3px solid #1b0066;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin: 10px;
    max-width: 200px;
}

.recipe-card img {
    max-width: 100%;
    height: 150px; /* Ändere diese Höhe nach Bedarf */
    width: 200px;
}


.card-details {
    color: #00a043;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.time {
    display: flex;
    align-items: center;
    color: #075500;
    font-size: 14px;
    margin-bottom: 5px;
}

.material-icons {
    font-size: 14px;
    margin-right: 5px;
}

.search-results-section {
  display: none; /* Sektion standardmäßig ausblenden */
}

.search-results {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-evenly;
  margin: 0 auto;
}

.no-results-message {
  display: none;
  text-align: center;
  margin-top: 20px;
  font-size: 18px;
  color: red;
}

/* ... Vorheriges Styling ... */

/* ... Vorheriges Styling ... */

/* ... Dein bisheriger CSS-Code ... */

.card-section1 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-evenly;
  }

  .card-section1 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-evenly;
  }

  .search-suggestions {
    position: absolute;
    width: 100%;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    max-height: 150px;
    overflow-y: auto;
  }
  
  .search-suggestion {
    padding: 10px;
    cursor: pointer;
  }

  
  @media (max-width: 1000px) {
    .recipes-section,
    .search-results-section {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .card-section1 {
      max-width: 900px;
      justify-content: space-between;
    }

    .card-section {
      max-width: 900px;
      justify-content: space-between;
    }
  
    .recipe-card {
      max-width: calc(70% - 20px);
      margin: 10px 0;
    }
  }
  
  @media (max-width: 600px) {
    .card-section1 {

      max-width: 100%;
      justify-content: center; /* Karten zentrieren */
    }
  
    .recipe-card {

      max-width: 90%; /* Hier habe ich die maximale Breite auf 80% erhöht */
      margin: 10px auto; /* Karten zentrieren */
    }
  
    .search-results {
      display: flex;

      align-items: center;
    }
  }
  @media (max-width: 487px) {
    .card-section1 {
      max-width: 100%;
      width: 200vw;
      justify-content: space-evenly;
    }

    .card-section {
      max-width: 100%;
      width: 200vw;
      justify-content: space-evenly;
    }
  
    .recipe-card {
      max-width: 160%;
      margin: 10 0;
    }
  }

  /* ... Vorheriges Styling ... */



/* ... Dein bisheriger CSS-Code ... */



  
  /* ... Dein bisheriger CSS-Code ... */
  
