/* style_menu.css */

* {
  margin: 0;
  padding: 0;
}

body {
  /*font-family: 'Arial', sans-serif;
    line-height: 1.6;*/
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Reem Kufi';
  font-size: 18px;
  letter-spacing: 1px;
}

/*----------------------------le header--------------------*/
header {
  background-color: rgba(223, 222, 222, 0.95);
  position: sticky;
  top: 0px;
  /*  nécessaire au fonctionnement de 'sticky'  */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 50px 0px 50px;
}

header .logo {
  transition: all 0.5s ease-out;
}


header .logo:hover {
  filter: contrast(10%);
}

/*MENU DEROULANT*/

header nav {
  width: 33%;
  text-align: left;
}

#menuToggle {
  display: block;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a {
  text-decoration: none;
  color: #232323;

  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: gray;
}


#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;

  cursor: pointer;

  opacity: 0;
  /* hide this */
  z-index: 2;
  /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/*
* Just a quick hamburger
*/
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: black;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

/* 
* Transform all the slices of hamburger
* into a crossmark.
*/
#menuToggle input:checked~span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

#menuToggle input:hover~span {
  background: gray;
}

/*
* But let's hide the middle one.
*/
#menuToggle input:checked~span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
* Ohyeah and the last one should go the other direction
*/
#menuToggle input:checked~span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

/*
* Make this absolute positioned
* at the top left of the screen
*/
#menu {
  position: absolute;
  width: 300px;
  height: 78vh;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;

  background-color: rgba(223, 222, 222);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(-100%, 0);

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#menu li {
  padding: 10px 0;
  font-size: 22px;
}

#menu li .sm {
  padding-left: 30px;
  list-style-type: none;
}

#menu li .sm li {
  font-size: 17px;
}

/*
* And let's slide it in from the left
*/
#menuToggle input:checked~ul {
  transform: none;
}

header .btn {
  font-size: 22px;
  text-decoration: none;
  transition: all 0.5s ease-out;
  margin: 20px;
  color: black;
}

header .button_cont {
  width: 33%;
  text-align: right;
}

header .btn:hover {
  color: gray;
  cursor: pointer;

}

header .titre {
  width: 34%;
  text-align: center;
}

/*----fin menu déroulant----*/














/*---------------------------fin du header----------------*/


main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
}

.section {
  margin-bottom: 20px;
  font-size: 50px;
  padding-top: 10px;
}

.product {
  border: 2px solid gainsboro;
  border-radius: 10px;
  padding: 15px;
  margin: 10px;
  height: 500px;
  width: 300px;
  background-color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}


.product .image {
  max-width: 100%;
  width: 200px;
  height: 150px;
  margin-top: 10px;
  border: 1px solid #999;
  border-radius: 10px;
}


/*
header a {
    color: #fff;
    text-decoration: none;
    position: absolute;
    left: 10px;
}

header a:hover {
    text-decoration: underline;
}
*/

.product p {
  color: #333;
  margin-bottom: 10px;
  text-align: justify;
  padding: 0px 5px 0px 5px;
}

.product p.nom {
  font-weight: bold;
  font-size: 22px;
  color: #999;

}

.product p.type {
  font-style: italic;
  color: #e67e22;

}

.product p.prix {
  font-weight: bold;
  color: rgb(226, 223, 137);

}

.product p.description {
  font-size: 14px;
}

.type {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background-color: rgb(245 245 245 / 50%);
  padding: 20px;
  border-radius: 5px;
  width: 80%;
}

.veg{
  height: 50px;
  width: 50px;
}

.g_f{
  height: 50px;
  width: 50px;
}

.content{
  display: block;
}

.upfooter {
  background-color: rgba(162, 162, 162, 0.95);
  display: flex;
  justify-content: space-around;
  padding: 40px;
}



/*----------------------le footer-----------------------*/

.footer {
  padding: 30px 30px 20px 30px;
  background-color: rgba(223, 222, 222, 0.95);
  border-top: 1px solid #e5e5e5;
}


.navtitle {
  font-weight: 400;
  font-size: 15px;
}

.footernav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}



.navul a {
  color: #999;
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer li {
  line-height: 2em;
}

.footer a {
  text-decoration: none;
}


.img_logo {
  margin: 5px;
}

/*----------------------fin footer----------------*/