html {
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}


h1 {
  color :#2c3e50;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centrer horizontalement les éléments */
  align-items: center; /* Centrer verticalement les éléments */
/*  margin: 30px 0; *//* Ajouter de la marge au-dessus et en dessous du div */
  text-align: center;
}

h2 {
  color :#2c3e50;
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* Centrer verticalement les éléments */
}






.progress-container {
    display: flex;
    justify-content: space-between;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    padding:100px 0px 100px 0px;
}

.step {
    position: relative;
    text-align: center;
    flex: 1;
}

.step a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #ddd;
    color: #555;
    text-decoration: none;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1; /* Pour s'assurer que le cercle est au-dessus */
}

.step .label {
    position: absolute;
    top: 45px; /* Ajustez selon l'espacement voulu */
    font-size: 19px;
    color: #555;
    width: 100%; /* Pour centrer correctement */
    left: 0;
}


.step a:hover {
    background-color: #2c3e50;
    color: white;
}

.step.active a {
    background-color: #2c3e50;
    color: white;
    pointer-events: none;
}





.step.inactive a {
    background-color: #bbb;
    color: #fff;
    pointer-events: none; /* Disable clicking */
    cursor: not-allowed;
}


.step.active.clic a {
    background-color: #2c3e50;
    color: white;
    pointer-events: auto;
}






.line1 {
    position: absolute;
    top: 20px;
    left: 100%;
    height: 4px;
    width: 100%;
    background-color: #ddd;
    z-index: -1;
    transform: translateX(-50%);
}

.line2 {
    position: absolute;
    top: 20px;
    left: 100%;
    height: 4px;
    width: 100%;
    background-color: #ddd;
    z-index: -1;
    transform: translateX(-50%);
}

.line-inactive {
background-color: #ddd;
}

.line-active {
background-color: #2c3e50;

}



.step:first-child .line {
    display: none;
}

.step.active ~ .step .line {
    background-color: #2c3e50;
}

.step.active .line {
    background-color: #2c3e50;
}








@media (max-width: 1600px) {
    .progress-container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: none;
        background-color: white;
        padding: 10px 0 10px; /* Ajusté pour laisser de la place au texte */
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000; /* Pour s'assurer qu'elle reste au-dessus des autres éléments */
        display: flex;
        justify-content: space-evenly; /* Distribution uniforme des ronds */
    }

    .step {
        flex: 1;
        text-align: center;
    }



    .step a {
        width: 30px; /* Réduction de la taille des cercles */
        height: 30px;
        line-height: 30px;
        font-size: 16px; /* Réduction de la taille de la police à l'intérieur des cercles */
        margin: 0 auto;
    }

    .step .label {
        font-size: 16px; /* Texte légèrement réduit */
        position: relative;
        top: 10px; /* Laisser un espacement entre le cercle et le texte */
    }

    .line1,
    .line2 {
        height: 4px; /* Réduction de la hauteur des lignes connectrices */
    }

    h1 {
        padding:60px 0px 0px 0px;
    }

}


















@media (max-width: 768px) {
    .progress-container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: none;
        background-color: white;
        padding: 10px 0 10px; /* Ajusté pour laisser de la place au texte */
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        z-index: 998; /* Pour s'assurer qu'elle reste au-dessus des autres éléments */
        display: flex;
        justify-content: space-evenly; /* Distribution uniforme des ronds */
    }

    .step {
        flex: 1;
        text-align: center;
    }

    .step a {
        width: 30px; /* Réduction de la taille des cercles */
        height: 30px;
        line-height: 30px;
        font-size: 12px; /* Réduction de la taille de la police à l'intérieur des cercles */
        margin: 0 auto;
    }

    .step .label {
        font-size: 12px; /* Texte légèrement réduit */
        position: relative;
        top: 10px; /* Laisser un espacement entre le cercle et le texte */
    }

    .label {
        display: -webkit-box; /* Active un conteneur en boîte flexible */
        -webkit-line-clamp: 2; /* Limite à 2 lignes */
        -webkit-box-orient: vertical; /* Définit l'orientation en colonne */
        overflow: hidden; /* Cache le contenu qui dépasse */
        text-overflow: ellipsis; /* Ajoute les points de suspension */
        line-height: 1.5em; /* Hauteur d'une ligne */
        min-height: 3em; /* Hauteur minimale = 2 lignes */
}

    .line1,
    .line2 {
        height: 4px; /* Réduction de la hauteur des lignes connectrices */
    }

    h1 {
        padding:60px 0px 0px 0px;
    }
}


