body {
      font-family: "Lato", sans-serif;
      background: #f4f4f4;
      padding: 0px;
      color: black;
    }

    .container {
      max-width: 600px;
      margin: auto;
      background: white;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    h2 {
      margin-bottom: 24px;
      font-size: 1.8rem;
      color: black;
      text-align: center;
    }

    #ingredients {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: space-between;
      font-family: "Lato", sans-serif;
      font-weight: 500;
      font-style: bold;
      letter-spacing: 1px;
    }

    label {
      display: flex;
      align-items: center;
      gap: 8px;
      background-color: #ecf0f1;
      padding: 10px 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.2s ease, transform 0.1s ease;
      flex: 1 1 45%;
    }

    label:hover {
      background-color: #F8EDED;
    }

    input[type="checkbox"] {
      width: 18px;
      height: 18px;
      accent-color: #c4391dff;
    }

    input[type="checkbox"]:checked + span {
      font-weight: bold;
      color: #2c3e50;
    }

    @media (max-width: 500px) {

      label {
        flex: 1 1 100%;
      }
      .container {
        background: none !important;
        box-shadow: none !important;
      }

      body {
        background-color: white !important;
      }
    }

    .hidden{
        display:none;
    }


#recipes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}


.recipe-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 16px;
    transition: transform 0.2s ease;
    text-align:center;
    width:100%;
}

.recipe-card:hover {
    transform: scale(1.02);
}

.recipe-title {
    font-size: 1.5rem;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-style: bold;
    letter-spacing: 1.7px;
    margin-bottom: 8px;
}

.recipe-category {
    font-size: 1rem;
    color: #777;
    margin-bottom: 12px;
}

.recipe-method {
    margin-top: 12px;
    font-size: 0.9rem;
}

.recipe-ingredients {
    margin: 12px 0;
}

.ingredient-item {
    margin: 4px 0;
    font-size: 0.95rem;
    color:green;
}

.ingredient-missing{
    color:rgb(250, 178, 24) !important;
    font-style: italic !important;
}

.recipe-garnish {
    font-style: italic;
    margin-top: 8px;
}

.center {
    text-align:center;
}
.lato {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-style: bold;
  letter-spacing: 1.7px;
}

.scroll-container {
  width: 100%;
  height: 225px;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto; /* allow horizontal scroll */
  /* scrollbar-width: none; 
  -ms-overflow-style: none;  */
}

/* .scroll-container::-webkit-scrollbar {
  display: none;
} */

.ad_container{
    width:200px; height:200px;display:flex;align-items:center;flex-direction: column;
}
.ad{
    width:140px; height:140px;  border-radius: 10px; flex-shrink: 0;background-size: contain;
background-repeat: no-repeat;
}