.containerForum{
    margin-top: 50px;
}

.TextForum{
    color: #FFF;
    text-align: center;
    text-shadow: -2px 3px 2px rgba(46, 46, 46, 0.20);
    font-family: Poppins;
    font-size: 40px;
    font-style: normal;
    font-weight: 900;
    line-height: 100%;
    letter-spacing: 4px;
    margin-top: 50px;
}

.TexteForum{
    color: #5B5B5B;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.4px;
    text-transform: lowercase;
    width: 547px;
    height: auto;
    flex-shrink: 0;
}

.containerBouton{
    margin-top: 50px;
}

.BoutonPVQ{
    width: 367px;
    height: 51px;
    flex-shrink: 0;
    color: #000;
    text-align: center;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 43px;
    border: none;
    border-radius: 43px;
    background: rgba(200, 200, 200, 0.15);
    box-shadow: -2px 3px 7px 0px rgba(31, 31, 31, 0.25);
    backdrop-filter: blur(10px);
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.TexteThemes{
    color: #4D4D4D;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 2px;
    text-decoration-line: underline;
    margin-left: 15%;
    margin-top: 50px;
}

.CarrerSujet {
    width: 361px;
    height: 304px;
    border-radius: 10px;
    background: linear-gradient(12deg, #74EF7B 1.63%, #42C38F 97.34%);
    box-shadow: 0px 4px 4px 0px rgba(200, 200, 200, 0.15), 0px 4px 4px 0px rgba(255, 255, 255, 0.50) inset;
    margin: 20px 35px; /* 20px pour le haut et le bas, 35px pour les côtés gauche et droit */
}

.GroupeSujet {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: calc(3 * (361px + 70px)); /* Ajustement seulement si nécessaire */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

.GroupeSujet {
    max-width: calc(3 * (361px + 70px)); /* 361px largeur de chaque élément et 40px total de marge horizontale (20px de chaque côté) */
}

.TitreDuSujet {
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; 
    letter-spacing: 1.68px;
    margin-top: 20px;
    width: 251px; /* Peut-être que vous devez ajuster cette largeur pour s'adapter à votre mise en page */
    margin-left:  auto;
    margin-right: auto;
    margin-bottom: 20px;
    display: -webkit-box; /* Affiche le contenu comme une boîte */
    -webkit-line-clamp: 2; /* Limite le contenu à deux lignes */
    -webkit-box-orient: vertical; /* Oriente le contenu de la boîte verticalement */
    overflow: hidden;
    text-overflow: ellipsis; /* Ajoute des points de suspension si le texte dépasse la taille de la boîte */
    position: relative;
}

.custom-tooltip {
    position: absolute;
    background-color: #333;
    color: white;
    padding: 4px;
    border-radius: 4px;
    z-index: 1000;
    pointer-events: none; /* permet à la souris d'interagir avec ce qui est en dessous de l'infobulle */
    display: none; /* initialement caché */
  }
  
  .DescriptionDuSujet {
    color: #5B5B5B;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1.4px;
    text-transform: lowercase;
    width: 286px; /* Adjust width as necessary */
    height: 130px; /* Adjust height to fit the container */
    overflow: auto; /* Enables scrolling */
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer 10+ */
    margin-left: auto;
    margin-right: auto;
   
}

.DescriptionDuSujet::-webkit-scrollbar {
    display: none; /* Hides the scrollbar */
  }


.BlockTheme{
    margin-top: 100px;
}

.ImgComm {
    display: flex;
    align-items: center; /* Aligner verticalement les éléments de la boîte */
    gap: 8px; /* Espacement entre les éléments */
    margin-top: 20px;
    margin-bottom: 30px;
    position: relative;
    top: 6px;
    align-items: center;
    justify-content: center;
}

.ImgComm span {
    color: rgba(0, 0, 0, 0.25);
    /* leading-trim: both; and text-edge: cap; are not standard CSS properties and may not work as intended */
    font-family: 'Poppins', sans-serif; /* Assurez-vous que la police Poppins est chargée dans votre projet */
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    display: flex; /* Permet d'aligner verticalement le texte si nécessaire */
    align-items: center; /* Centre le texte verticalement dans le span */
    justify-content: center; /* Centre le texte horizontalement dans le span */
}

@media screen and (max-width:991px){
    .TextForum{
        margin-top: 0px;
        margin-bottom: 40px;
        margin-left: 5%;
    }

    .TexteForum{
        display: block;
        margin-left: 15%;
        
    }

    .containerForum{
        margin-top: 30px;
    }

    .BoutonPVQ{
        position: relative;
        left: 10px;
    }
} 

@media screen and (max-width:767px){
    .TexteForum{
        max-width: 547px;
        width: 100%;
        margin-left: 5%;
    }
}

@media (max-width: 1292px) {
    .GroupeSujet {
      justify-content: center; 
    }

    .TexteThemes{
        margin-left: 12% !important;
    }
}

@media (max-width: 1050px) {    
    .TexteThemes{
    margin-left: 5% !important;
}}

@media (max-width: 886px) {    
    .TexteThemes{
    margin-left: 2% !important;
}}

@media screen and (max-width:1730px){
    .TexteThemes{
        margin-left: 10%;
    }
}

@media screen and (max-width:1560px){
    .TexteThemes{
        margin-left: 5%;
    }
}

@media screen and (max-width:1340px){
    .TexteThemes{
        margin-left: 2%;
    }
}

@media (max-width: 861px) {    
    .TexteThemes{
    margin-left: 20% !important;
}}

@media (max-width: 600px) {    
    .TexteThemes{
    margin-left: 5% !important;
}
    .TexteForum{
        padding-right: 5%;
    }
}


@media (max-width: 450px) {
    .TextForum{
        font-size: 34px;
        margin-left: 0%;
    }

    .TexteForum{
        font-size: 12px;
        margin-left: 5%;
    }

    .BoutonPVQ{
        max-width: 300px;
        height: 44px;
        font-size: 15px;
        width: 90%;
        left: 0px;
    }
    .CarrerSujet{
        max-width: 361px;
        width: 100%;
        height: auto;
    }
    
    .TitreDuSujet{
        max-width: 251px;
        width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .DescriptionDuSujet{
        max-width: 286px;
        width: 100%;
        padding-left: 10%;
        padding-right: 5%;
    }}


    @media (max-width: 381px) {
        .TextForum{
            font-size: 30px;
        }
    }

    @media (max-width: 346px) {
        .TextForum{
            font-size: 27px;
            margin-bottom: 20px;
        }
    }

    @media (max-width: 320px) {
        .TextForum{
            font-size:24px;

        }
        .BoutonPVQ{
            font-size:13px ;
        }
    }





