* {
    margin: 0;
    padding: 0;
}

body {
    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);
}

/*
 * Oh yeah 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----------------*/

/*---------------------------début du main----------------*/


/*PAGE ADMIN*/
/*produits*/
/*--------- admin plat   Ajout du style pour les produits ------*/
.section {
    margin-bottom: 20px;
    /* Espacement entre les sections */
    
    font-size: 50px;
}

.product {
    border: 2px solid #999;
    /* Indigo */
    border-radius: 10px;
    padding: 15px;
    margin: 10px;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 600px;
}

.product .image {
    max-width: 100%;
    width: 250px;
    height: 200px;
    margin-top: 10px;
    align-items: center;
}

.product .veg{
    height: 50px;
}

.product .g_f{
    height: 50px;
}
/* Ajout du style pour les produits */
.product p {
    color: #333;
    margin-bottom: 10px;
}

.product p.nom {
    font-weight: bold;
    font-size: 18px;
    color: #999;
    /* Indigo */
}

.product p.type {
    font-style: italic;
    color: #e67e22;
    /* Orange */
}

.product p.prix {
    font-weight: bold;
    color: rgb(226, 223, 137);
    /* Vert */
}

.product p.description {
    font-size: 14px;
}

.type {
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-container {
    display: grid;
    grid-template-columns: auto 1fr; /* First column for the button, second column for users */
    grid-column-gap: 10px; /* Adjust gap as needed */
    align-items: start; /* Align items to the start (top) of the container */
}

.utilisateurs button {
    grid-column: 1; /* Place the button in the first column */
    align-self: start; /* Align the button to the start (top) of its grid cell */
    margin-bottom: 10px; /* Adjust margin as needed */
}


/*--------fin admin plat------------*/

/*-------admin utilisateur------*/
#admin {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input{
    font-family: reem kufi;
}

.utilisateur{
    border-radius: 10px;
}

button {
    margin: 5px;
    padding: 10px;
    cursor: pointer;
    font-family: reem kufi;
}

.valid{
    letter-spacing: 1px;
    left: 90%;
    position: sticky;
    top: 15%;
    color: green;
}

.supp{
    letter-spacing: 1px;
    color: red;
}

h2 {
    text-align: center;
}

.user-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-container > div {
    margin: 10px;
    border: 1px solid #ccc;
    padding: 10px;
}

.add_new {
    margin-top: 20px;
    text-align: center;
}



.type {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

/* Add more styles as needed */
/*----début admin avis-----*/

.avis{
    border: 1px solid gray;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    margin: 5px;
    width: 100vh;
}

.commentaires_hotel{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*----fin admin avis-----*/



/*----début admin chambre-----*/

.chambre{
    border: 1px solid gray;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px;
}

.ajoute_chambre_bouton{
    color: green;
}

.ajout_chambre{
    display: flex;
    align-items: center;
}

/*----fin admin chambre-----*/
/*----------------------fin du main---------------------*/



/*----------------------le footer-----------------------*/

.footer {
    display: flex;
    flex-flow: row wrap;
    padding: 30px 30px 20px 30px;
    color: #2f2f2f;
    background-color: #fff;
    border-top: 1px solid #e5e5e5;
}

.footeraddr {
    margin-right: 1.25em;
    margin-bottom: 2em;
}

.addrtitle {
    margin-top: 1.3em;
    font-size: 15px;
    font-weight: 400;
}

.footer address {
    font-style: normal;
    color: #999;
}

.navtitle {
    font-weight: 400;
    font-size: 15px;
}

.footernav {
    display: flex;
    flex-flow: row wrap;
}

.navul a {
    color: #999;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer li {
    line-height: 2em;
}

.footer a {
    text-decoration: none;
}

.navitem--extra {
    flex-grow: 2;
}

.footeraddr {
    flex: 1.5 0px;
}

.footernav {
    flex: 2 0px;
}

.img_logo {
    margin: 5px;
}



.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----------------*/