body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgb(209, 225, 231);
}

.testimonials {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

.testimonial-form {
    width: 70%;
    margin: auto;
}

.titre-x {
    text-align: center;
    font-weight: 600;
}

.formulaire-temoignages {
    display: flex;
    flex-direction: column;
}

.champ-de-saissir {
    margin-bottom: 10px;
    resize: none;
    height: 70px;
    padding: 10px;
    
}

.bouton-envoyer, .bouton-supprimer {
    width: 100px;
    margin-top: 10px;
    padding: 8px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.titre-xx {
    text-align: center;
    font-weight: 700;
}

.liste-commentaire {
    width: 95%;
    margin: auto;
    margin-top:2em;
}

.chaque-temoignages {
    background-color: #fcfdfd;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.entete, .footer-du-temoignage {
    display: flex;
    align-items: center;
}

.sous-entete {
    flex-grow: 1;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}
.bou {
    display: flex; /* Utiliser flexbox pour aligner les éléments sur la même ligne */
    gap: 40px; /* Ajouter de l'espace entre les éléments */
}
.commentaires {
    width: 90%;
    margin-left: auto; /* Alignement sur le côté droit */
    padding: 20px 0 20px 20px; /* Espacement interne */
}


.commentaires .comment {
   /* border: 1px solid #ccc;  Bordure pour différencier chaque commentaire */
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 20px; /* Coins arrondis */
    background-color: #e7e2e6 !important; /* Couleur de fond pour différencier la section des commentaires */
}

.commentaires .comment:last-child {
    margin-bottom: 0; /* Pour éviter un espace en bas du dernier commentaire */
}

.footer-du-temoignage a {
    display: flex;
    align-items: center; /* Alignement vertical */
    margin-right: 10px;
    cursor: pointer;
    position: relative; /* Position relative pour positionner le nombre de commentaires */
}

.footer-du-temoignage a .material-icons {
    margin-right: 5px;
}

.footer-du-temoignage a .comment-count {
    position: absolute;
    top: -1px; /* Ajustement de la position verticale */
    right: 8px; /* Ajustement de la position horizontale */
    padding: 4px 6px; /* Ajustement du rembourrage */
    font-size: 15px; /* Taille de la police */
}


.commenter {
    display: flex;
    align-items: center; /* Aligner les éléments verticalement au centre */
}

.commenter textarea {
    flex: 1; /* Le champ de texte prend autant d'espace que possible */
    margin: 30px 10px ;
    width: 70%; /* Prend la largeur complète de son conteneur */
    height: 70px; /* Ajuste la hauteur à 150 pixels (ou toute autre valeur souhaitée) */
    resize: vertical; /* Autorise le redimensionnement vertical */
    padding: 10px ;
}

.commenter input[type="submit"] {
    margin-left: 10px; /* Marge à gauche pour séparer le champ de texte du bouton */
    padding: 8px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.commentaires, .commenter {
    display: none;
}
.nom-utilisateur{
    font-weight: 600;
    margin: 0.5em;
}
.heure-depuis-derniere-modif{
    margin: 0;
    font-weight: 100;
    font-size:small;
}
.contenu-temoignages{
    font-family: 'Georgia', serif; /* Style de police */
  font-size: 1.1em; /* Taille de la police */
}
/* Ajout d'effets de transition pour une expérience utilisateur plus fluide */
.chaque-temoignages {
    transition: box-shadow 0.3s, transform 0.3s;
}

.chaque-temoignages:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Ajout d'une ombre au survol */
    transform: translateY(-8px); /* Légère translation vers le haut */
}


.bouton-envoyer, .bouton-supprimer {
    transition: background-color 0.3s, color 0.3s;
}

.bouton-envoyer:hover, .bouton-supprimer:hover {
    background-color: #0056b3; /* Changement de couleur au survol */
}

.bouton-envoyer:active, .bouton-supprimer:active {
    transform: translateY(1px); /* Légère translation vers le bas lors du clic */
}



