body *{
  font-family: «century-gothic», sans-serif;
  font-weight: 400;
  color: #666666;
}

.navbar-nav .nav-link {
  white-space: nowrap;
}

/* Pour les écrans plus grands, on laisse le logo à gauche */
.custom-logo {
  margin-right: auto;
}

.custom-link{
  margin-right: 1.5%;
  margin-left: 1.5%;
}

/* Pour les petits écrans */
@media (max-width: 767.98px) {

  header {
    flex-direction: column; /* Les éléments sont empilés */
    align-items: center;    /* Centrer l'image */
  }

  .custom-logo {
    margin: 0 auto; /* Centrer l'image */
  }

  .custom-link {
    margin: 0;
  }

  .navbar-collapse {
    justify-content: center; /* Centrer la navigation en-dessous */
    text-align: center;
  }
}

.card-body{
  min-height: 115px;
  flex-direction: column;
}

 /* Styles pour le texte tronqué avec dégradé */
 .truncate-text {
  max-height: 220px; /* Ajuster cette valeur pour déterminer la hauteur visible */
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%); /* Dégradé */
  transition: max-height 0.5s ease;
}

#toggleButton{
  background-color: transparent;
  border: none;
  color: #666666;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Lorsque le texte est développé */
.expanded {
  max-height: none;
  mask-image: none; /* Enlever le dégradé une fois le texte entièrement visible */
}

.carousel-image {
  width: 100%;
  /*margin: auto;*/
  height: 92vh; /* Ajuste cette hauteur selon tes besoins */
  object-fit: cover; /* Assure que l'image couvre toute la largeur sans distorsion */
}