html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

h1 {
  color: #676952;
}

button {
  border: none;
  background: none;
}

.container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100%;
}

/******* Menu ********/

#navbar {
  background-color: #b7b9a6;
  color: #fff;
  width: 350px;
  display: block;
  min-height: 100%;
  padding: 0 3em;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  filter: blur(10px);
  transition-property: filter, visibility, opacity;
  transition-duration: 0.6s;
}

body.open #navbar {
  translate: 0 0;
  opacity: 1;
  visibility: visible;
  filter: blur(0);
}

.burger {
  display: none;
}

.overlay {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  visibility: hidden;
  transition: 0.4s;
}

body.open .overlay {
  opacity: 1;
  visibility: visible;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none !important;
  color: #676952 !important;
}

nav img {
  width: 250px;
  height: 180px;
  object-fit: cover;
}

nav span,
nav i,
nav a:hover {
  color: #676952;
}

nav a {
  color: #fff;
}

nav i {
  margin-right: 10px;
}

nav a:hover {
  font-weight: bold;
}

.remarques {
  width: 250px;
  position: fixed;
  bottom: 0;
  text-align: justify;
}

/******* END Menu ********/

main {
  margin: 3em;
}

span.category {
  border-radius: 20px;
  width: fit-content;
  padding: 3px 15px;
  cursor: pointer;
}

.categories_filter span.category {
  background-color: #f2f2f2;
  margin-right: 10px;
  margin-top: 10px;
}
.categories_filter span.category:hover {
  background-color: #b7b9a6;
  color: #fff;
}

.box_recettes {
  margin-top: 3em;
}

.detail_recette {
  width: 15em;
  margin-right: 10px;
  margin-bottom: 2em;
  overflow: hidden;
}

.detail_recette a img{
  width: 100%;
  height: 10em;
  overflow: hidden;
  border-radius: 10px;
  object-fit: cover;
}

.content_recette {
  margin: 0.6em;
}

.detail_recette h2 {
  font-size: 17px;
  font-weight: bold;
  margin: 0;
}

.detail_recette span {
  font-size: 14px;
}

.detail_recette span.category {
  background-color: #dcdcdc;
  font-weight: 600;
  margin-top: 1em;
  cursor: default;
}
