@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

html {
  font-size: 16px;
}
body {
  font-family: "Lato", sans-serif;
}

/* DEBUT Header */

.logo-titre {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-right: 180px;
}

.top {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid grey;
}

.top nav ul {
  list-style: none;
  padding: 0;
  gap: 30px;
  display: flex;
  flex-direction: row;
  padding-right: 295px;
  padding-top: 1rem;
}

.top nav ul a {
  text-decoration: none;
  color: #9ca3af;
}

.top nav a {
  color: #9ca3af; /* gris */
  text-decoration: none;
}

.top nav a:hover {
  color: #c6a75e;
}

.top nav a.active {
  color: #c6a75e;
  font-weight: 600;
}
.recherche {
  padding-right: 30px;
  padding-top: 1rem;
}

.connexion-rejoindre {
  margin-top: 1.2rem;
}

.connexion-rejoindre a {
  text-decoration: none;
}
.profile {
  padding-top: 1rem;
}

.connexion {
  background-color: black;
  color: #c6a75e;
  border: 1px solid #6e5f2f;
  padding: 5px;
  margin-right: 10px;
}

.sinscrire {
  background-color: #c6a75e;
  color: black;
  border: 1px solid #6e5f2f;
  padding: 5px;
  margin: 5px;
}
/* FIN Header*/

/*DEBUT Sidebar*/

.sidebar {
  width: 18rem;
  min-height: 93vh;
  border-right: 1px solid grey;
  padding: 1rem 1.2rem;
}

/* Le titre */
.sidebar h5 {
  color: #c6a75e;
  margin: 0 0 1rem 0;
}

/* La liste */
.sidebar nav ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar .logo-page {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar .logo-page a {
  color: #9ca3af;
  text-decoration: none;
}

.sidebar .logo-page a:hover,
.sidebar .logo-page a.active {
  color: #c6a75e;
  font-weight: 600;
}

/* DEBUT Rightside */
.right-side {
  flex: 0 0 380px;
  margin-left: auto;
  color: white;
  border-left: 1px solid grey;
  padding: 1rem;
  min-height: 93vh;
}

.online-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  background-color: #2f2e2b;
  border: 1px solid #6e5f2f;
  border-radius: 999px;
  color: #c6a75e;
  font-size: 14px;
  margin-bottom: 15px;
}

.online-count p {
  margin-top: 10px;
}
.title-info {
  display: flex;
  flex-direction: row;
  padding-left: 15px;
}
.title-info p {
  padding-top: 10px;
}
.info-destination {
  background-color: #2f2e2b;
  border-radius: 0.8rem;
  padding-left: 5px;
  width: 380px;
  margin-bottom: 15px;
}
.card {
  background-color: #2f2e2b;
  display: flex;
  flex-direction: column;
  padding: 15px;
  color: white;
}
.card-2 {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  align-items: center;
  border-bottom: 1px solid #6e5f2f;
}
.card-2:last-child {
  border-bottom: none;
}

.vols-tout {
  background-color: #2f2e2b;
  margin-bottom: 10px;
  padding: 5px;
  width: 380px;
  border-radius: 5px;
  padding-bottom: 15px;
  padding-bottom: 15px;
}
.vols-p {
  margin-left: 70px;
  display: flex;
  flex-direction: row;
}

.hotelForm {
  margin-left: 50px;
}
.vols-p p {
  margin-left: 15px;
  padding-top: 10px;
}

.vols {
  color: white;
  gap: 30px;
  display: flex;
  flex-direction: row;
  background-color: #6e5f2f;
  margin-top: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  border-radius: 5px;
}
.company {
  display: flex;
  flex-direction: row;
}

.company img {
  margin-top: 5px;
  border-radius: 5px;
}

.vols-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vols-info p {
  margin: 0;
}

.errorDisplay {
  font-size: 20px;
  font-weight: bold;
  color: white;
}

.hotelItem {
  border-bottom: 1px solid #2a2418;
  padding: 10px 0;
}

.destinationDisplay {
  color: #c6a75e;
  font-style: italic;
  font-size: 1.6rem;
  margin-top: 12px;
}
.hotelName {
  color: #c6a75e;
  font-weight: 600;
  margin: 0;
}

.hotelAddress {
  color: #888;
  font-size: 0.8rem;
  margin: 2px 0;
}

.hotelDistance {
  color: #c6a75e;
  font-size: 0.8rem;
  margin: 0;
}
/* FIN Right */

/* LAYOUT */
.layout {
  display: flex;
  width: 100%;
  align-items: flex-start;
}

/* DEBUT FEED */
.layout2 {
  display: flex;
  width: 100%;
  align-items: flex-start;
}

.layout-publier {
  display: flex;
  width: 100%;
  align-items: flex-start;
}
.feed-index {
  margin-top: 30px;
  margin-left: 250px;
  background-color: #1e1e1e;
  width: 780px;
  min-height: 360px;
  border-radius: 12px;
  border: 1px solid #2a2a38;
  overflow: hidden;
}

.feed-header-index {
  background-color: #1e1e1e;
  width: 100%;
  min-height: 50px;
  border-bottom: 1px solid #2a2a38;
  display: flex;
  align-items: center;
  flex-direction: row;
  margin-left: 12px;
}

.feed-header-index a {
  font-size: 16px;
  padding: 15px;
  color: white;
  margin: 0;
  margin-left: 0px;
  text-decoration: none;
}

.feed-header-index p {
  font-size: 16px;
  padding: 15px;
  color: white;
  margin: 0;
  margin-left: 0px;
  text-decoration: none;
}

.feed-header-index a:hover {
  color: #c6a75e;
}

.post-media-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.post-image-box {
  flex: 1;
  height: 450px;
  background-color: #1e1e1e;
  box-sizing: border-box;
}

.post-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-caption {
  color: white;
  padding: 16px 20px;
  margin: 0;
  margin-left: 0px;
  line-height: 1.5;
  background-color: #1e1e1e;
}

.feed-box {
  margin-left: 150px;
}
.feed-title-info {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.feed-title-info h3 {
  margin-top: 20px;
  margin-bottom: 5px;
  color: white;
}

.feed-title-info label {
  margin-right: 20px;
  margin-bottom: 5px;
  color: white;
}

.button-publier {
  display: flex;
  margin-left: 120px;
}

.button-publier button {
  margin-top: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 50px;
  padding-right: 50px;
  border-radius: 12px;
  background-color: #c6a75e;
}

.feed-publier {
  margin-top: 100px;
  margin-left: 350px;
  background-color: #1e1e1e;
  width: 780px;
  min-height: 360px;
  border-radius: 12px;
  border: 1px solid #2a2a38;
  overflow: hidden;
}
.feed p {
  color: white;
}

.feed-container {
  width: 100%;
  min-width: 0;
  padding: 1rem;
}

.feed-header-publier {
  background-color: #1e1e1e;
  width: 1000px;
  min-height: 50px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: 1px solid #2a2a38;
}

.feed-header-publer p {
  font-size: 16px;
  padding: 15px;
  color: #6c63ff;
  margin: 0;
}
.feed-posts {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}
.post-infos {
  margin-left: 0px;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.post-caption {
  color: white;
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.post-date {
  color: #9ca3af;
  padding-top: 18px;
  font-size: 14px;
}

.feed-header {
  width: 100%;
}

.feed-header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding-left: 220px;
}

.feed-header nav ul a {
  text-decoration: none;
  color: #9ca3af;
}
.feed-header nav a {
  color: #9ca3af;
  text-decoration: none;
}

.feed-header nav a:hover {
  color: #c6a75e;
}

.feed-header nav a.active {
  color: #c6a75e;
  font-weight: 600;
}

.feed-header nav a:hover,
.feed-header nav a.active {
  color: #c6a75e;
  font-weight: 600;
}

.like-commenter-partager {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 14px 16px 8px 16px;
  width: 100%;
}

.like {
  display: flex;
  align-items: center;
}

.like-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: #2a2a2a;
  border-radius: 12px;
}

.like-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.like-form p {
  margin: 5px;
  color: white;
}

.like-text {
  color: #d9d9d9;
}
.like button {
  background-color: #2a2a2a;
  border: none;
}
#nbr-like {
  color: white;
}

.pdp-feed {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

#reserver-hotel {
  text-decoration: none;
  color: #c6a75e;
  background-color: #2a2a2a;
}

#reserver-hotel:hover {
  color: white;
}

/* DEBUT INSCRIPTION */

.inscription {
  font-family: "Lato", sans-serif;
  background-color: white;
  display: flex;
  flex-direction: row;
}

.left-side {
  margin-top: 50px;
  margin-bottom: 80px;
  margin-left: 100px;
  margin-right: 100px;
}

.title-inscription {
  margin-bottom: 100px;
  display: flex;
  flex-direction: row;
  gap: 5px;
  color: white;
  margin-left: 100px;
}

.title-inscription p {
  font-size: 24px;
}

.sign-up-ga {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.sign-up-g {
  width: 500px;
  border-radius: 999px;
  display: flex;
  flex-direction: row;
  width: 500px;
  background-color: #d9d9d9;
}

.sign-up-g a {
  text-decoration: none;
  padding-top: 15px;
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 500px;
  color: black;
}

.sign-up-g img {
  margin-top: 10px;
  margin-right: 10px;
}

.separator {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 25px;
  width: 500px;
}

.separator span {
  flex: 1;
  height: 1px;
  background-color: #5f5f5f;
}

.separator p {
  margin: 0;
  color: #4a4a4a;
  font-size: 2rem;
}

.form {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 38px;
}
.form-group {
  position: relative;
  display: flex;
  justify-content: flex-start;
  margin-left: 0px;
}

.form-group input {
  width: 500px;
  height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background-color: #d9d9d9;
  border: none;
  outline: none;
  box-sizing: border-box;
}
.form-group select {
  margin-top: 30px;
  margin-left: 120px;
  background-color: #c6a75e;
}
.button {
  display: flex;
  justify-content: center;
}

.button button {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 50px;
  padding-right: 50px;
  border-radius: 12px;
  background-color: #c6a75e;
}

.have_account {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 15px;
}

.have_account a {
  color: #c6a75e;
}
.right_side_inscription {
  margin-left: auto;
  width: 620px;
  padding: 20px 30px 20px 0;
  box-sizing: border-box;
}

.right_side_inscription img {
  width: 100%;
  height: calc(100vh - 40px);
  object-fit: cover;
  display: block;
  border-radius: 32px;
  border: 1px solid #2f2f2f;
}

.checkbox-inscription {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.checkbox-inscription p {
  margin-top: 15px;
}

/* BACKOFFICE */

.backoffice-container {
  max-width: 1200px;
  margin: 40px auto;
  background: white;
  padding: 25px;
  border-radius: 12px;
}

.backoffice-container h1 {
  margin-bottom: 20px;
}

.table {
  background: white;
}

.top-links {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.top-links a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
}

.btn-retour {
  background: #c6a75e;
  color: black;
}

.btn-logout {
  background: #222;
  color: white;
}

/* PAGE OTP DEBUT */
.otp-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0f0f0f;
}

.otp-box {
  background-color: #1e1e1e;
  border-radius: 12px;
}

.otp-box h1 {
  color: #c6a75e;
  padding-top: 10px;
  display: flex;
  justify-content: center;
}

.otp-box p {
  padding-top: 10px;
  color: #f8f5f0;
  display: flex;
  justify-content: center;
}

.otp-form {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.otp-form .button {
  margin-top: 15px;
}

/*PAGE OTP FIN */

/* ACCUEIL */
body.home-page {
  overflow: hidden;
}

body.home-page .layout {
  height: calc(100vh - 59px);
  overflow: hidden;
  align-items: stretch;
}

body.home-page .home-main {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

body.home-page .feed-scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

body.home-page .sidebar,
body.home-page .right-side {
  height: 100%;
  min-height: 0;
}

body.home-page .feed-scroll::-webkit-scrollbar {
  display: none;
}

/* DEBUT PROFILE */

.profile-page {
  margin-top: 50px;
  margin-left: 300px;
}

.profile-page p {
  color: white;
}

.photo_de_profile img {
  border-radius: 999px;
}
.photo_de_profile {
  display: flex;
  flex-direction: row;
  gap: 100px;
  background-color: #1e1e1e;
}

.nom-prenom-pseudo p {
  margin: 0px;
}

.stats {
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.stats a {
  text-decoration: none;
  color: white;
}

.stats a:hover {
  color: #c6a75e;
}

.bio {
  margin-top: 60px;
}

.modifier-profile {
  margin-top: 3px;
}

.modifier-profile a {
  color: white;
  text-decoration: none;
  margin-top: 2px;
  padding: 5px;
  background-color: #c6a75e;
}

.modifier-profile a:hover {
  background-color: #c6a75e;
}
#boutton-abonnememnt {
  margin-top: 10px;
  background-color: #c6a75e;
}

.publications {
  border-top: 1px solid grey;
  margin-top: 150px;
  background-color: #1e1e1e;
}

.section-publications {
  display: flex;
  flex-direction: row;
  gap: 200px;
  padding-left: 100px;
  padding-right: 100px;
}

.section-publication-detail {
  display: flex;
  align-items: center;
  gap: 5px;
}

.section-publication-detail p {
  margin: 0;
}

.publication-photo-video {
  margin-top: 50px;
  margin-left: 100px;
}

.publication_photo_mini {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.publication_photo_mini img {
  width: 100px;
  height: 100px;
}

/* Modifier profile */

.form-modifier-profile {
  padding: 50px;
  margin-left: 400px;
  margin-top: 100px;
  background-color: #1e1e1e;
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 38px;
  border-radius: 15px;
}
.photo-profile-section {
  display: flex;
  flex-direction: row;
}

.photo-profile-section img {
  border-radius: 999px;
}
.image-input {
  border-radius: 999px;
  align-self: center;
  color: white;
}

/* PAGE POST */
.page-post {
  margin-left: 300px;
}
.delete-post{
    margin-top: 2px;
}

.delete-post-btn{
    background-color: #6e5f2f;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.delete-post-btn:hover{
    background-color: #c6a75e;
}

/* PAGE MESSAGE */
.messagerie-container {
  display: flex;
  gap: 20px;
  padding: 20px;
  color: white;
}

.conversations {
  width: 320px;
  background-color: #272727;
  border-radius: 12px;
  padding: 15px;
}

.chat-box {
  flex: 1;
  background-color: #272727;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  min-height: 70vh;
}

#chat-header {
  border-bottom: 1px solid grey;
  padding-bottom: 10px;
  margin-bottom: 15px;
  color: #c6a75e;
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 10px;
}

.message-envoye {
  align-self: flex-end;
  background-color: #c6a75e;
  color: black;
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 70%;
}

.message-recu {
  align-self: flex-start;
  background-color: #3a3a3a;
  color: white;
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 70%;
}

#message-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

#message-input {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
}

#message-form button {
  background-color: #c6a75e;
  color: black;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
}

.conversation-item {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 10px;
}

.conversation-item:hover {
  background-color: #c6a75e;
  border-radius: 15px;
}

.conversation-item-pseudo {
  padding-top: 7px;
}

#date-message {
  font-size: small;
}

/*Debut Errors*/
.Error-404 {
  background-image: url("images/Error-404.jpg");
  background-size: cover;
  background-position: center;

  width: 100%;
  min-height: 945px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  color: Black;
}

.Error-404 h1 {
  margin-top: 300px;
  margin-left: 850px;
}

.Error-404 p {
  margin-left: 880px;
}

.Error-500 {
  background-image: url("images/Error-500.jpg");
  background-size: cover;
  background-position: center;

  width: 100%;
  min-height: 945px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  color: Black;
}
.Error-500 h1 {
  margin-top: 300px;
  margin-left: 850px;
}
.Error-500 p {
  margin-left: 880px;
}

.Error-403 {
  background-image: url("images/Error-404.jpg");
  background-size: cover;
  background-position: center;

  width: 100%;
  min-height: 945px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  color: Black;
}
.Error-403 h1 {
  margin-top: 300px;
  margin-left: 850px;
}

.Error-403 p {
  margin-left: 880px;
}


/* DEBUT MES GROUPES*/

.group-head {
  color: white;
}
.group {
  display: flex;
  flex-direction: row;
  color: white;
  gap: 10px;
}

.nbr-inscrit-group  {
  margin-left: 5px;
}

.groupe-description {
  margin-top: 5px;
}