﻿.navbar {
  display: flex;
  align-items: center;
  background-color: #1F1952; /* Couleur de fond de la barre */
  color: #fff; /* Couleur du texte */
  padding: 10px 20px;
  justify-content: space-between;
  position: fixed;
  min-width: 100%;
  z-index: 1;
}
.navbar svg{
  width: 20px;
  height: 25px;
 
}
/* Style pour le titre */
.navbar h1 {
  font-weight: bold; /* Texte en gras */
  margin: 0; /* Supprimer les marges par défaut */
  font-size: 18px;
}

/* Styles pour les liens */
.navbar a {
  display: flex;
  flex-direction: column;

  align-items: center;
  color: #fff; /* Couleur du texte des liens */
  text-decoration: none; /* Supprimer les soulignements des liens */
  margin: 0 15px; /* Marge entre les liens */
}

/* Style pour le menu déroulant */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #1F1952; /* Couleur de fond du menu déroulant */
  min-width: 160px;
  border-radius: 10px;
  z-index: 3;
}

/* Style pour les liens du menu déroulant */
.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  
  

}
.dropdown-content a:hover {
background-color: #292b86;
}
/* Afficher le menu déroulant au survol */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Style pour le bouton "Nous rejoindre" */
.join-button {
  background: linear-gradient(to bottom, #f9ec51, #1F1952); /* Dégradé linéaire */
  color: #fff; /* Couleur du texte du bouton */
  padding: 10px 20px;
  border: 2px solid #1F1952; /* Contour en dégradé linéaire */
  border-radius: 20px; /* Bords arrondis */
  text-decoration: none; /* Supprimer le soulignement */
  transition: background 0.3s ease, color 0.3s ease; /* Effet au survol */
}

.join-button:hover {
  background: linear-gradient(to bottom, #1F1952, #f9ec51); /* Changement de couleur au survol */
  color: #f7f7f9; /* Changement de couleur du texte au survol */
}
.botbar {
  display: none;
}


/* Styles pour la modal */
.modal {
  display: none;
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal-content {
  background-color: #1F1952;
  margin: 10% auto;
  
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 70%;
  max-width: 400px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.category-modale span {
  border: 2px solid red;
  min-width: 175px;
}
.category-head{
  padding: 10px;
  border-bottom: 2px solid  white;

}
.p-head{
  color: white;
  margin-top: 5px;
}
.link-modal{
  display: block;
  padding: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.link-modal:hover{
  background-color: #f0f0f0;
}
.close {
  display: none;
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
}

.close:hover {
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

/* Styles pour les liens dans la modal */
.modal-content a {
  display: block;
  text-decoration: none;
  color: white;
  font-size: 16px;
  padding: 10px 0;
  transition: color 0.2s;
}

.modal-content a:hover {
  color: #1F1952; /* Change la couleur des liens au survol */
}

/* Styles pour les liens dans la modal */
.modal-content a:first-child {
  padding-top: 0;
}

.modal-content a:last-child {
  padding-bottom: 0;
}

/* Autres styles de la modal et de la page */




@media (max-width: 1150px) {
  .navbar h1 {
      font-size: 10px; /* Réduire la taille de la police du titre */
  }

  .navbar .menu-item {
      margin: 0 10px; /* Réduire la marge entre les éléments du menu */
      font-size: 10px; /* Réduire la taille de la police des liens du menu */
  }

  .dropdown-content {
    left: -20px;
    min-width: 120px;
    text-align: center;
  }

  .sub-menu a {
      padding: 10px; /* Réduire le rembourrage des liens du sous-menu */
      font-size: 10px; /* Réduire la taille de la police des liens du sous-menu */
  }

  .navbar .join-button {
      padding: 10px 10px; /* Réduire la taille du bouton */
      font-size: 12px; /* Réduire la taille de la police du bouton */
  }
  .navbar a{
    font-size: 12px;
    margin: 0;
  }
}
@media screen and (max-width: 768px) {
 
  .navbar{
    display: none;
   
  }
  .floating-chat{
    display: none;
  }
  .botbar {
    display: flex;
    background-color: #1F1952;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
  }
  
  .botbar-icon {
    display: flex;
    flex-direction: column; /* Placez le texte sous l'icône */
    align-items: center; /* Centre l'icône et le texte */
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 16px; /* Réduisez la taille du texte */
    /* Ajoutez une bordure autour de l'icône et du texte */
    padding: 5px; /* Ajoutez de l'espace autour de l'icône et du texte */
  }
  
  .botbar-icon i {
    display: block;
  }
  

  
  .botbar svg {
    max-width: 30px;
  }
}
@media screen and (max-width: 768px) {
  .botbar span{
    font-size: 12px;
  }
  .botbar svg {
    max-width: 25px;
  }
}
@media screen and (max-width: 425px) {
  .botbar span{
    font-size: 10px;
  }
  .botbar  svg {
    max-width: 25px;
  }
}
