.main-lien {
    font-size: 5rem; /* Taille du texte (modifier selon les besoins) */
    font-weight: bold;  /* Gras */
    color: black;       /* Couleur noire */
    text-decoration: none; /* Pas de soulignement */
  }
  
  .main-lien:hover,
  .main-lien:focus,
  .main-lien:active {
    color: black;        /* Reste noir même au survol, au focus ou au clic */
    text-decoration: none; /* Pas de soulignement même au survol */
}

/* Écran moyen (tablette) */
@media (max-width: 1200px) {
    .main-lien {
      font-size: 4rem;
    }
  }
  
  /* Écran petit (mobile landscape) */
  @media (max-width: 992px) {
    .main-lien {
      font-size: 3.5rem;
    }
  }
  
  /* Écran très petit (mobile portrait) */
  @media (max-width: 768px) {
    .main-lien {
      font-size: 3rem;
    }
  }
  
  /* Écran extra petit (petits smartphones) */
  @media (max-width: 680px) {
    .main-lien {
      font-size: 2.5rem;
    }
  }
    @media (max-width: 500px) {
        .main-lien {
          font-size: 2rem;
        }
  }

.custom-card {
    width: 100%;
    max-width: 400px;
    height: 200px;
    margin: 10px;
    border-radius: 15px;
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.custom-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.custom-card-excerpt {
    font-size: 1rem;
    color: #6c757d;
}

/* Style de l'accordéon */
.accordion-container {
  margin-top: 20px;
}

.accordion-header {
  background-color: #f1f1f1;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  border: 1px solid #ccc;
  margin-bottom: 5px;
  text-align: center;
}

.accordion-body {
  display: none; /* Initialement caché */
  background-color: #f9f9f9;
  padding: 15px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}


/* Espacement entre les cartes et les éléments */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* Espacement entre les cartes */
}

/* Alternance des cartes à gauche et à droite */
.col-md-6 {
  width: 48%; /* Ajuste la taille des cartes */
}

.d-flex {
  display: flex;
}

.justify-content-end {
  justify-content: flex-end;
}

.justify-content-start {
  justify-content: flex-start;
}

.iti-card {
  width: 100%;
  max-width: 400px;
  margin: 10px;
  border-radius: 15px;
  background-color: #f8f9fa;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Aligner en haut */
  align-items: center;
  text-align: left;
  padding: 15px;
}

.iti-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.iti-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.iti-card p {
  margin-bottom: 5px;
  font-size: 1rem;
  color: #6c757d;
}

.iti-card:hover {
  background-color: #f8f9fa; /* Couleur au survol */
  cursor: pointer;
}

@media (max-width: 768px) {
  .iti-card {
      max-width: 100%;
  }
}

/* 🔽 Responsive pour les écrans en dessous de 700px */
@media (max-width: 700px) {
  .iti-card {
      width: 100% !important; /* Fixer la taille de la carte */
  }
  .col-md-6 {
      width: 100% !important; /* Les colonnes prennent toute la largeur */
      display: flex;
      justify-content: center; /* Centrer les cartes horizontalement */
  }
}

.logo-custom {
    width: 300px;
    height: 200px;
    object-fit: contain;
}

.espace-header{
  margin-top: 15rem;
}

.fullscreen-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1050;
}
.fullscreen-image {
        max-width: 95%;
        max-height: 95%;
        object-fit: contain;
}

.accordion-header {
    will-change: background-color, color, border-color;
}

.accordion-header span {
    will-change: color, font-weight;
}



.accordion-header {
    background-color: rgb(255, 255, 255);
    color: rgb(21, 10, 128);
    border: 2px solid rgb(254, 5, 9);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-header span {
    color: rgb(21, 10, 128);
    font-weight: bold;
}

.accordion-header:hover {
    background-color: rgb(21, 10, 128);
    color: white;
    border-color: rgb(254, 5, 9);
}

.accordion-header:hover span {
    color: white;
    font-weight: bold;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(40, 167, 69, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
    }
}

@keyframes bounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.validated-card {
    border: 2px solid #28a745 !important;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4) !important;
    animation: glow 1s ease-out, bounce 0.4s ease-out;
    transition: all 0.3s ease;
}

.no-decoration-link {
    text-decoration: none !important;
    color: rgb(254, 7, 8) !important;
}

.home-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgb(254, 7, 8);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.home-button:hover {
    background-color: rgb(200, 5, 6);
}

.checkbox-custom {
        width: 25px;
        height: 25px;
}
