
.carroussel_container{
    position:relative;
    background-color: #272727;
    height:390px;
    width:100%;
    padding:10 0 0 0;
}
.carroussel{
  position:relative;
  background-color: blue;
}
.carousel{
  position: relative;
}
.carousel-item{
  height:100%;
  width:100%;
  position: relative;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel-inner {
  position: relative;
  height: 350px; /* Ajuste cette valeur selon la hauteur souhaitée */
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.news-carousel{
  width:100%;
  height:auto;
  position:relative;
  display: flex;
  flex-direction: row;
  justify-content:center;
  align-items: center;
  gap:40px;
  padding:15px 0 15px 0;
  margin-top: 25px;
}.news-carousel h5,.resume_article_carousel{
  background-color: rgba(0, 0, 0, 0.5);
  width:550px;
  max-width:600px;
  min-width: 150px;
  border-radius: 5px;
  padding:8px 8px 8px 15px;
  color:white;
  text-align: left;
}.news-carousel img {
  object-fit: cover; /* Maintient l'image centrée et couvre toute la cellule */
  width: 100%; /* Utilise 100% pour rendre l'image responsive */
  max-width: 500px; /* Limite la largeur maximale */
  height: auto; /* Permet à la hauteur de s'ajuster automatiquement */
  border-radius: 5px;
  border: 1px solid white;
}.right_part_carousel{
  height:280px;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}
.carousel-caption {
  background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
  padding: 1rem;
  border-radius: 5px;
}


.indicator {
  position: absolute;
  bottom: -50px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.carousel-indicators li {
  background-color: #333; /* Couleur des indicateurs */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #333; /* Couleur des flèches de contrôle */
  border-radius: 50%;
}


@media only screen and (max-width: 768px) {
  .carroussel_container {
    margin: 20px 0; /* Ajuster la marge sur mobile */
}

.news-carousel {
    flex-direction: column; /* Aligne le texte sous l'image */
    gap: 10px; /* Réduit l'espacement sur mobile */
}

.carousel-caption {
    font-size: 0.8rem; /* Ajuster la taille de la police pour mobile */
}
}