.flex {
  display:  flex;
  flex-direction: row;
  justify-content: center;
  max-width: 1500px;
  align-content: center;
  margin: 0 auto;
}

#content {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
#sidebar {
  align-self: flex-start;
}


@media only screen and (max-width: 1024px) {
  .flex {
    flex-direction: column;
  }
  #recette #corp-recette {
    flex-direction: column;
  }
  #sidebar {
    width: 100%!important;
    min-width: 100%!important;
  }
}
@media only screen and (min-width: 1024px) {
  #sidebar {
    width: 300px!important;
  }
}