.programme-sdjes {
  width: fit-content;
  margin-top: 1vw;
  margin-bottom: 5vw;
  display: grid;
  grid-column-gap: 1vw;
  grid-row-gap: 1vw;
  grid-template-columns: repeat(auto-fit, minmax(25%, 1fr)) !important;

}




/* .infos-programme{
    color: hwb(222 0% 53%);

}
.infos-programme p{
   display:flex;
} */

.symbol {
  padding: 0.3vw 0.3vw;

}

.flex {
  display: flex;
  max-width: 25%;

  flex-direction: row;
  margin-left: 10%;
  margin-right: 10%;
}


.encart-programme * {
  color: black;

}

.encart-programme h4 {
  color: rgb(28, 28, 97);

}

.encart-programme {
  height: auto;
}

.card-container {
  height: auto;
}



.cards {
  position: relative;
  cursor: pointer;
  perspective: 1000px;
  overflow: hidden;
  flex-wrap: wrap;
  height: auto;



}

.cards p {
  display: flex;
  align-items: flex-start;
}

.cards .important {
  color: orangered;
}

.card-front,
.card-back {
  position: relative;
  width: 100%;
  height: fit-content;
  backface-visibility: hidden;
  transition: transform 0.6s;
  border: 1px solid grey;
  border-radius: 6px;
}

.card-front {
  transform: rotateY(0deg);
  background-image: radial-gradient(circle at top center, rgb(186, 230, 228), rgb(155, 183, 214));

}

.card-back {
  transform: rotateY(180deg);
  background-image: radial-gradient(circle at top center, rgb(186, 230, 228), rgb(155, 183, 214));
  position: absolute;
  top: 0;
}

.card-back p {
  margin: 0.25rem;
  padding: 0;

}

.card-back * {
  color: rgb(18, 12, 51);
}

.card-front * {
  color: rgb(63, 51, 16);
  font-weight: bold;
}

.cards.is-flipped .card-front {
  transform: rotateY(-180deg);
}

.cards.is-flipped .card-back {
  transform: rotateY(0deg);
}

.btn-prog {
  position: relative;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
}