body {
  background-color: #afec85;
}
.header {
  display: flex;
  justify-content: center;
}
.heading {
  font-size: 45px;
  color: #49a50c;
}
.container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}
.recipes {
  width: 273px;
}

.flip-card {
  background-color: #49a50c;
  width: 100%;
  height: 400px;
  border: 1px solid #c9dabe;
  perspective: 1000px;
}
.container-recipes {
  position: relative;
  width: 100%;
  height: 100%;

  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.flip-card:hover .container-recipes{
  transform: rotateY(180deg);
}
.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  padding: 10px;
}
.back {
  background-color: #c9dabe;
  color: black;
  transform: rotateY(180deg);
  overflow: scroll;
  scrollbar-width: thin;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
}
.heading-recipes {
  text-align: center;
}
.container-heading-recipes {
  margin-bottom: 60px;
}
#input-search{
  display: flex;
  margin: 50px 0;
}

#search {
  flex: 1;
  padding: 12px;
  border: ridge 2px #49a50c;
  background-color: #afec85;
}
