/* Corps principal */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Conteneur principal */
.container-fluid,
.container {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}


.dropdown-menu {
  position: absolute;
  z-index: 1050;
  left: auto !important;
  right: 0; 
}


/* NAVBAR */
.navbar {
  z-index: 10;
  flex-shrink: 0;
  background: #eee;
  padding: 10px;
}


/* Header */
.containerTitle {
  flex-shrink: 0;
  background: #ddd;
  text-align: center;
  padding: 20px 10px;
}

/* Footer */
.containerLiens {
  flex-shrink: 0;
  background: #ccc;
  text-align: center;
  padding: 15px;
}

/* SWIPER */
.swiper-container {
  flex: 1;  /* Occupe tout l'espace restant */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  flex-direction: column;
/*   height: 100%;  */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;  /* Chaque slide occupe l'espace de son conteneur */
  position: relative;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; /* Utilisation de Flexbox pour le contenu */
    flex-direction: column; /* Organiser les éléments en colonne */
    color: white;
    z-index: 2;
}

.slide-text {
    height: 40%;
    text-align: justify;
    text-indent: 40px;
    padding: 20px;
    box-sizing: border-box;
    color: black;
    overflow-y: auto; /* Permet le défilement si le contenu dépasse */
}

.slide-image {
  height: 60%;
  width: 100%;
  display: flex; /* Utilisation de Flexbox pour le centrage */
  justify-content: center; /* Centre horizontalement */
  align-items: center; /* Centre verticalement */
  background-color: rgba(255, 221, 170, 0.4);
}

.slide-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


