body {
  font-family: Arial, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}


main {
  padding: 20px;
  margin-left: 24px;
  margin-right: 24px;
}

section {
  padding: 20px;
  /* margin-bottom: 30px; */
}

.menu-bar {
  margin-left: 24px;
}

section {
  margin-bottom: 30px;
}

.recipe {
  margin-bottom: 20px;

  display: grid;
  align-items: top;
  grid-template-columns: 1fr;
  gap: 10px;
}


.recipe {
  margin-bottom: 20px;

  display: grid;
  align-items: top;
  grid-template-columns: 1fr;
  gap: 10px;
}

.container_titelbild {
  position: relative;
  top: 0;
  left: 0;
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.recipe-image {
  position: relative;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 24px;
}

.overlay_stempel {
  position: absolute;
  top: 51%;
  left: 44%;
  top: 45%;
  width: 50%;

  z-index: 1;
}

.recipe-content {
  flex-grow: 1;
}

.recipe-title {
  margin-top: 0;
}

.recipe-description {
  margin-bottom: 10px;
}

.recipe-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #0F5E71;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.recipe-link:hover {
  background-color: #7B0E1D;
}






.headercontainer {
  display: grid;
  grid-template-columns: 1fr 3fr;
}

.header1 {
  flex: 1;
}

#searchContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 20%;
  margin-right: 20%;
  margin-top: 2.5%;
  margin-bottom: 2.5%;
  /* background-color: #f8f8f8; */
}

#searchInput {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  outline: none;
}

#searchInput:focus {
  border-color: #4d90fe;
  box-shadow: 0 0 0 2px rgba(77, 144, 254, 0.3);
}


.container-picture-text {
  display: grid;
  grid-template-columns: 1fr 3fr;
  /* padding: 0; */
  margin: 10px;
  align-items: center;
}

/* For mobile phones: (Mobile Phone first) */

/* @media only screen and (min-width: 600px) {
  For tablets: 

} */

@media only screen and (min-width: 768px) {


/* For desktop: */
  .container {
    margin: auto;
  }

  .recipe-item {
    flex-direction: row;
    /* Change direction to display images next to each other */
    align-items: flex-start;
  }
  
  /* For desktop: */
  .recipe {
    display: grid;
    margin-bottom: 20px;
    /* display: flex;
    align-items: top; */
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 10px;
  }

  .container-picture-text {
    display: grid;
    grid-template-columns: 1fr 3fr;
    /* padding: 0; */
    margin: 10px;
    align-items: center;
  }
}

