@media (min-device-height: 300px) and (max-device-width: 1000px) {

  * {
    box-sizing: border-box;
    margin: 0;
  }

  @keyframes animate {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  @keyframes loading {
    0% {
      color: rgb(255, 0, 0);
    }

    20% {
      color: aqua;
    }

    40% {
      color: blue;
    }

    60% {
      color: rgb(155, 13, 60);
    }

    80% {
      color: rgb(95, 185, 4);
    }

    100% {
      color: yellow;
    }
  }

  @keyframes rotate {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }

  @keyframes blink1 {
    from {
      top: 48%;
      opacity: 0.2;
    }

    to {
      top: 46%;
      opacity: 1;
    }
  }

  body {
    width: 1200px;
    height: fit-content;
    max-width: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-image: url(background.jpg);
    backdrop-filter: blur(1px);
    padding: 10px;
    overflow: auto;
  }

  .logo2 {
    width: 50px;
    margin-top: 20px;
  }

  .allContent {
    transition: all 0.3s;
    width: 1200px;
    max-width: 100%;
    overflow: auto;
    opacity: 0.1;
    height: fit-content;
  }

  .navContainer {
    padding: 0%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    height: fit-content;
  }

  .searchText {
    display: inline;
    font-family: 'Poppins', sans-serif;
    height: 50px;
    width: 250px;
    outline: none;
    border-style: none;
    text-align: center;
    opacity: 0.9;
  }

  .Search {
    font-family: 'Poppins', sans-serif;
    height: 50px;
    width: 250px;
    margin-left: 0px;
    outline: none;
    border-style: none;
    font-size: small;
    color: white;
    background-color: rgb(57, 134, 64);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0px;
  }

  .Search2 {
    font-family: 'Poppins', sans-serif;
    height: 10px;
    width: 10px;
    outline: none;
    border-style: none;
    padding: 10px;
    border-radius: 30px;
    text-align: center;
    font-size: medium;
    color: white;
    background-color: rgb(57, 134, 64);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
  }

  .searchText {
    opacity: 1;
  }

  .Search:hover,
  .submit:hover {
    background-color: rgb(79, 156, 85);
    transform: scale(1.1);
  }

  .Search2:hover {
    background-color: rgb(79, 156, 85);
  }

  .recipes {
    display: inline;
    padding-right: 40px;
    cursor: pointer;
    color: rgb(25, 230, 42);
    transition: all 0.3s;
    display: none;
  }

  .bookmarks {
    display: inline;
    cursor: pointer;
    color: rgb(25, 230, 42);
    transition: all 0.3s;
    opacity: 0;
    display: none;
  }

  .recipes:hover,
  .bookmarks:hover {
    opacity: 0.6;
    color: crimson;
  }

  .content_container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: fit-content;
    margin-left: -20px;
    overflow: auto;
  }

  .searchResultContainer {
    background-color: white;
    padding: 40px;
    overflow-y: auto;
    overflow-x: auto;
    height: fit-content;
    margin: auto;
  }

  .recipeDetailsContainer {
    background-color: white;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 20px;
    overflow: auto;
  }

  .eachResult {
    display: grid;
    grid-template-columns: 50px 200px;
    gap: 20px;
    row-gap: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.6s;
  }


  .eachResult:hover {
    opacity: 0.7;
    transform: scale(1.1);
  }

  .recipe_Title,
  .recipe_Description {
    margin: 5px;
  }

  .recipe_Title {
    color: rgb(57, 134, 64);
  }

  .recipe_Description {
    font-size: small;
  }

  .recipe_images_result {
    border-radius: 100px;
  }

  .nameOfRecipe {
    background-color: rgb(62, 226, 40);
    background-image: linear-gradient(rgb(62, 226, 40), rgb(179, 245, 170));
    width: 200px;
    height: fit-content;
    border-style: none;
    outline: none;
    margin-top: -100px;
    margin-left: 100px;
    border-radius: 30% 0% 30% 0%;
    font-family: 'Poppins', sans-serif;
    font-size: large;
    color: white;
    padding: 10px;
  }

  .details1 {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    gap: 10px;
    overflow: auto;
  }

  .bookmark_btn {
    background-color: rgb(57, 134, 64);
    border-radius: 50px;
    width: 30px;
    border-style: none;
    transition: all 0.6s;
    cursor: pointer;
    opacity: 0.5;
    margin-left: -40px;
    display: none;
  }

  .bookmark_btn:hover {
    transform: scale(1.1);
  }

  .people_Stat {
    background-color: rgb(58, 71, 59);
    border-radius: 50px;
    width: 60px;
    border-style: none;
    transition: all 0.6s;
    margin-left: 60px;
    display: none;
  }

  .minus_btn,
  .add_btn {
    cursor: pointer;
  }

  .minus_btn:hover,
  .add_btn:hover {
    opacity: 0.7;
  }

  .details2 {
    background-color: #f7f0f5;
    width: 400px;
    height: fit-content;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 5px;
    justify-content: center;
    text-align: center;
    overflow: auto;
  }

  .ingridenet_full_list {
    display: flex;
    flex-direction: column;
    text-align: left;
  }


  .li::before {
    content: '✔️';
    padding-right: 10px;
  }

  .li {
    list-style-type: none;
    font-size: small;
  }


  .modal_window {
    position: absolute;
    left: 220;
    top: 100;
    width: 70%;
    height: max-content(60%);
    background-color: rgb(168, 230, 230);
    z-index: 100;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 380px 350px;
    gap: 20px;
    padding: 30px;
    padding-top: 10px;
    justify-content: center;
    transition: all 0.4s;
    animation-name: animate;
    animation-duration: 0.6s;
    animation-timing-function: ease-in;
  }

  .a,
  .b {
    height: 340px;
    padding: 20px;
    padding-top: 10px;
  }

  .submit {
    font-family: 'Poppins', sans-serif;
    height: 50px;
    width: 150px;
    outline: none;
    border-style: none;
    padding: 10px;
    border-radius: 30px;
    text-align: center;
    font-size: medium;
    color: white;
    background-color: rgb(57, 134, 64);
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 300px;
  }

  .bookmark_show {
    position: fixed;
    background-color: white;
    width: 350px;
    height: 500px;
    top: 110px;
    border-radius: 5px;
    z-index: 200;
    margin-top: -40px;
    padding: 20px;
    padding-left: 25px;
    animation-name: animate;
    animation-timing-function: ease-in;
    animation-duration: 0.6s;
    overflow-y: scroll;
  }

  .eachResultForBookmark {
    display: grid;
    grid-template-columns: 50px 250px;
    gap: 20px;
    row-gap: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.6s;
  }

  .eachResultForBookmark:hover {
    transform: scale(1.1);
  }

  .recipe_Title_bkm,
  .recipe_Description_bkm {
    margin: 5px;
  }

  .recipe_Title_bkm {
    color: crimson;
  }

  .recipe_Description_bkm {
    font-size: small;
  }

  .recipe_images_result_bkm {
    border-radius: 100px;
  }




  .side_menu {
    cursor: pointer;
    display: none;
  }

  .side_menu:hover {
    opacity: 0.7;
  }


  .side_bar_div_container {
    position: absolute;
    height: 500px;
    width: 350px;
    top: 5%;
    background-color: rgb(180, 174, 174);
    z-index: 200;
    overflow-y: auto;
    transition: all 0.6s;
    text-align: left;
    padding: 20px;
  }

  .add_shopping_list {
    position: fixed;
    top: 85%;
    left: 8%;
    background-color: crimson;
    font-family: 'Poppins', sans-serif;
    height: 50px;
    width: 100px;
    outline: none;
    border-style: none;
    padding: 10px;
    border-radius: 30px;
    font-size: medium;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 300;
    animation: animate 1s ease-in;
  }

  .submit_shopping_list {
    background-color: crimson;
    font-family: 'Poppins', sans-serif;
    height: 50px;
    width: 100px;
    outline: none;
    border-style: none;
    padding: 10px;
    border-radius: 30px;
    font-size: medium;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 12%;
  }

  .submit_shopping_list:hover,
  .add_shopping_list:hover {
    transform: scale(1.1);
    opacity: 0.9;
  }


  .shopping_Title_bkm,
  .shopping_Description_bkm {
    margin: 5px;
  }

  .shopping_Title_bkm {
    color: crimson;
  }

  .shopiing_Description_bkm {
    font-size: x-small;
  }

  .shopping_images_result_bkm {
    border-radius: 100px;
    margin-left: 5px;
  }

  .eachResultForShopping {
    border-radius: 10px;
    background-color: rgb(236, 203, 210);
    padding: 8px;
    margin-bottom: 10px;
    animation: animate 1s ease-in;
  }

  .shopping_input_name,
  .shopping_input_desc {
    height: 40px;
    margin-bottom: 10px;
    border-radius: 3px;
    outline: none;
    border-style: none;
    background-color: rgb(250, 218, 226);
    text-align: left;
    padding: 5px;
    transition: all 0.5s;
    opacity: 0.6;
    width: 250px;
  }

  .shopping_input_name:focus,
  .shopping_input_desc:focus {
    opacity: 1;
  }

  .shopping_List_Form {
    animation: animate 1s ease-in;
    margin: auto;
    text-align: center;
    justify-content: center;
    justify-items: center;
    margin-top: 20px;
  }

  .arrow_up {
    animation-name: blink1;
    animation-iteration-count: 5;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    display: none;
  }































  .loadingAnimation1 {
    z-index: 100;
    display: inline-block;
    font-size: 50px;
    margin-top: 50%;
    margin-left: 43%;
    animation-name: loading;
    animation-iteration-count: infinite;
    animation-duration: 7s;
    display: none;
  }

  .loadingAnimation2 {
    z-index: 100;
    display: block;
    font-size: 50px;
    margin-top: 32%;
    margin-left: 47%;
    animation-name: loading;
    animation-iteration-count: infinite;
    animation-duration: 7s;
    display: none;
  }

  .loadingAnimation3 {
    position: absolute;
    top: 50%;
    left: 50%;
    animation: rotate 5s ease-in infinite;
    display: none;
  }

  .name11 {
    font-size: small;
    position: absolute;
    top: 1%;
    left: 60%;
    float: right;
    z-index: 1;
    opacity: 1;
    font-size: x-small;
  }



  .hide {
    display: none;
  }

  .opa {
    opacity: 0;
  }

  .blur {
    filter: blur(10px);
  }

  .backdropFilter {
    backdrop-filter: blur(3px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 50;
  }


  .slide_out {
    transform: translateX(-120%);
  }

  .slide_in {
    transform: translateX(0%);
  }

}