* {
  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;
}

.resa {
  border: 2px solid black;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 300px;
  height: fit-content;
  background-color: #f5f5f5;
}

.resas {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  overflow-y: scroll;
  scrollbar-width: thin;
  height: 70%;
  background-color: #e0dfdf;
  padding: 10px;
}

.cross {
  position: relative;
  top: -20px;
  right: 0;
  width: 10px;
  transition: 0.2s;
  padding: 5px;
}

.cross:hover {
  scale: 1.4;
  transition: 0.2s;
  color: #d10000;
  cursor: pointer;
}

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----------------*/


/*---------------------------début du main----------------*/
main {
  flex: 1;
  /* Le contenu peut s'étendre pour remplir tout l'espace disponible */
  display: flex;
  /*propriéter de l'image de fond*/
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.non-connecte {
  display: flex;
  justify-content: center;
}

#background-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

.mainrestaurant {
  flex: 1;
  /* Le contenu peut s'étendre pour remplir tout l'espace disponible */
  display: flex;
  /*propriéter de l'image de fond*/
  background-image: url(../img/restaurant/restaurant-fond.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mainhotel {
  flex: 1;
  /* Le contenu peut s'étendre pour remplir tout l'espace disponible */
  display: flex;
  /*propriéter de l'image de fond*/
  background-image: url(../img/hotel/hotel-fond.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mainavish {
  flex: 1;
  /* Le contenu peut s'étendre pour remplir tout l'espace disponible */
  display: flex;
  /*propriéter de l'image de fond*/
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.droite {
  flex: 1;
}

/*---------*/
.centre {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  flex-basis: 1200px;
  flex-wrap: wrap;
}

.presentation {
  height: 500px;
  background-image: url(../img/accueil/img3.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 10px;
}

.presentation-restaurant {
  height: 500px;
  background-image: url(../img/restaurant/restaurant-vue.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 10px;
}

.presentation-hotel {
  height: 500px;
  background-image: url(../img/hotel/hotel-vue.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 10px;
}

img {
  max-width: 100%;
}

main .imggauche {
  margin: 0 10px 10px 0;
  width: 50%;
}

.para {
  margin: 20px;
  border: solid 1px gainsboro;
  display: flex;
  padding: 50px;
  align-items: center;
}

.para .txt_droite {
  text-align: right;
  padding-left: 20px;
  width: 50%;
}

.para .txt_gauche {
  padding-right: 20px;
  width: 50%;
}

.para p {
  text-align: justify;
}

/* Style de base pour le conteneur */
.divmenu {
  text-align: center;
}

/* Style de base pour le lien */
.divmenu a {
  margin-top: 50px;
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  color: #fff;
  /* Couleur du texte */
  background-color: #999;
  /* Couleur de fond */
  border-radius: 5px;
  /* Coins arrondis */
  transition: background-color 0.3s ease, transform 0.3s ease;
  /* Animations de transition */
}

/* Changement de style au survol */
.divmenu a:hover {
  background-color: #999;
  /* Nouvelle couleur de fond au survol */
  transform: scale(1.1);
  /* Grossissement au survol */
}


.texte-restaurant {
  line-height: 1.6;
  color: #333;
  margin: 20px;
  padding: 20px;
  /* Ajout de remplissage pour un espacement interne */
  border: 2px solid #999;
  /* Ajout d'un cadre solide autour du contenu */
  border-radius: 10px;
  /* Coins arrondis pour une apparence plus esthétique */
}

.texte-restaurant p {
  margin-bottom: 15px;
}


/* Style pour le formulaire */
.formulaire-pdp {
  max-width: 400px;
  /* Ajustez la largeur maximale du formulaire selon vos besoins */
  margin: auto;
  /* Centre le formulaire horizontalement sur la page */
  padding: 20px;
  border: 3px solid #ccc;
  border-radius: 5px;
}

/* Style pour le champ de saisie de fichier */
.formulaire-pdp input[type="file"] {
  margin-bottom: 10px;
  /* Couleur de fond verte */
  /* Couleur du texte blanc */
  padding: 10px 15px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}


/* Style pour le bouton "Charger" */
.formulaire-pdp input[type="submit"][name="valider"] {
  background-color: #999;
  /* Couleur de fond verte */
  color: white;
  /* Couleur du texte blanc */
  padding: 10px 15px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

/* Style pour le bouton "Charger" au survol */
.formulaire-pdp input[type="submit"][name="valider"]:hover {
  background-color: gray;
  /* Couleur de fond verte légèrement plus foncée */
}








/*---------*/
.gauche {
  flex: 1;
}






.informations-perso {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  /* Ajustez la largeur selon vos besoins */
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  text-align: center;
  column-gap: 50px;
  justify-content: flex-start;
  row-gap: 15px;
  height: 100vh;
}

.info {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  align-items: center;
}

.informations-perso p {
  margin: 10px 0;
}

.button-deco-profil {
  background-color: #999;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.button-deco-profil:hover {
  background-color: #4b4b4b;
}



.titre_paragraphe {
  font-family: 900;
  text-decoration: underline;
}


.pdp {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp img {
  width: 100%;
  height: auto;
}




@media (max-width: 1000px) {
  .para {
    flex-direction: column;
  }

  .para_reverse {
    flex-direction: column-reverse;
  }

  main .imggauche {
    width: 100%;
  }

  .para .txt_droite {
    width: 100%;
  }

  .para .txt_gauche {
    width: 100%;
  }
}

/*----------------------CSS avis h---------------------*/
/* Style pour la section des avis */
.avis-section {
  text-align: center;
  /* Centrer le contenu */
  display: flex;
  flex-direction: column;
  width: 45%;
  margin-left: 35px;
  margin-right: 35px;
}

/* Style pour le titre */
.avis-title {
  font-size: 24px;
  color: #333;
  margin-top: 30px;
  margin-bottom: 50px;
  /* Couleur du texte */
}

/* Style pour chaque avis */
.avis-item {
  margin-bottom: 20px;
  /* Espace entre chaque avis */
  padding: 15px;
  background-color: #f5f5f5;
  /* Couleur de fond grise */
  border-radius: 8px;
  /* Coins arrondis */
}

/* Style pour la note */
.avis-note {
  font-size: 18px;
  font-weight: bold;
  color: #007BFF;
  /* Couleur de la note */
}

/* Style pour le commentaire */
.avis-commentaire {
  font-size: 16px;
  color: #555;
  /* Couleur du commentaire */
}

/* Style pour l'ID client */
.avis-client {
  font-size: 14px;
  color: #888;
  /* Couleur de l'ID client */
}

.formulaire-avis {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
  flex-direction: column;
}

.input-avis {
  margin-top: 10px;
  margin-bottom: 10px;
}

.button-avis {
  background-color: #999;
  /* Couleur de fond verte */
  color: white;
  /* Couleur du texte blanc */
  padding: 10px 15px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.button-avis:hover {
  background-color: gray;
}

.etoiles {
  cursor: pointer;
}

/*----------------------fin du main---------------------*/

.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----------------*/