/*################################################ ajout de sylvain pour bandeau noir de connexion/deconnexion et autre*/
.barre-navigation-panneau {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgb(34, 34, 34);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 999;
}

.espace_vide_pour_barre_navigation {
    display: block;
    height: 60px;
}

.lien-navigation {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex: 5;
}

.info-connexion div {
    font-family: Helvetica, Calibri, Arial, sans-serif;
    text-decoration: none;
    color: white;
}

.info-connexion {
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    flex: 1;
}


/*################ ajout de sylvain pour icone de mdp indiquant ce qu'il faut faire lors de premiere connexions*/

.form-mot-de-passe,
.mb-3 {
    position: relative;
}

.form-mot-de-passe img,
.mb-3 img {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 20px;
}

.form-mot-de-passe img {
    top: 4px;
    left: 100px;
}

.mb-3 img {
    top: 4px;
    left: 150px;
}

.bloc_info {
    position: absolute;
    background-color: white;
    border: 2px solid #212529;
    color: #212529;
    border-radius: 25px 25px 25px 0;
    padding: 12px;
    top: -116px;
    left: 114px;
    opacity: 0;
    visibility: hidden;
    /* caché visuellement mais garde la place */
    transition: opacity 0.15s ease-in-out, visibility 0s linear 0.3s;
    z-index: 6;
}

.mb-3 .bloc_info {
    top: -100%;
    left: 164px;
    height: fit-content;
    min-height: 76px;
    width: 70%;
}

.visible {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.1s;
}

.red-notice {
    background-color: #FFF8E1;
    border: 2px solid #FFC107;
    padding: 1%;
}

/*################ essai background animé*/

.essai_fond_ecran_anime {
    z-index: -5;
}

.background_panneau_connexion {

    position: absolute;
    z-index: -4;
    display: block;
    height: 100%;
    width: 100%;

}

.neurone {
    position: absolute;
    background-color: rgb(80, 80, 80);
    height: 80px;
    width: 80px;
    transition: background-color 4s ease-in-out;
}

.valeur {
    position: absolute;
    background-color: rgb(80, 80, 80);
    height: 40px;
    width: 40px;
    transition: background-color 4s ease-in-out;
}

.chemin {
    position: absolute;
    background-color: rgb(80, 80, 80);
    height: 10px;
    width: 150px;
    transition: background-color 4s ease-in-out;
    z-index: -5;
}

.valeur_A {
    top: 32%;
    left: 3%;
}

.valeur_B {
    top: 55%;
    left: 3%;
}

.neurone_A1 {
    top: 9%;
    left: 18%;
}

.neurone_A2 {
    top: 79%;
    left: 18%;
}

.neurone_B1 {
    top: 9%;
    left: 77%;
}

.neurone_B2 {
    top: 79%;
    left: 77%;
}

.neurone_C {
    top: 43%;
    left: 87%;
}

.resultat {
    top: 45.5%;
    left: 98%;
}

.background_panneau_fixe {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -4;
    background: linear-gradient(to bottom,
            rgb(60, 60, 60) 0%,
            rgb(34, 34, 34) 5%,
            rgb(37, 37, 37) 60%,
            rgb(42, 42, 42) 80%,
            rgb(55, 55, 55) 100%);
}

main .container.my-5 {
    margin-top: 0 !important;
    margin-bottom: 3rem !important;
}

.titre_panneau {
    position: absolute;
    transition: color 4s ease-in-out;
    color: #ffd700;
    font-size: 2.5em;
    left: 10%;
    top: 1.5%;
    font-family: Helvetica, Calibri, Arial, sans-serif;
}

.valid {
    background-color: rgb(80, 150, 80);
}

.invalid {
    background-color: rgb(150, 80, 80);
}

.valid_text {
    color: rgb(80, 150, 80);
}

.invalid_text {
    color: rgb(150, 80, 80);
}

/*################ lien panneau navigation des chapitres*/

.lien_chapitre {
    font-family: Helvetica, Calibri, Arial, sans-serif;
    text-decoration: none;
    display: block;
    background-color: #ffa500;
    color: #111;
    font-weight: bold;
    padding: .4em .8em;
    transition: color .3s ease-in-out, transform .3s ease-in-out, background-color .3s ease-in-out, border-color .3s ease-in-out, box-shadow .3s ease-in-out;
}

.lien_chapitre:hover {
    transition: color .15s ease-in-out, transform .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    background-color: #ffbb33;
}

.chapter-link-card {
    display: flex;
}

.span_lien_chapitre {
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.navigation_card {
    background: #222;
    color: #fff;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 50vw;
}



.navigation_card_img {
    width: 100%;
    height: 200px;
    /* hauteur fixe de ton bandeau */
    object-fit: cover;
    /* rogne sans déformer */
    object-position: center;
    /* centre le rognage (peut être top / bottom / 30% etc.) */
    border-radius: 6px 6px 0 0;
    display: block;
}

.chapter-link-card-wrapper,
.chapter-link-card-wrapper-invalid,
.chapter-link-card-wrapper-wip {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.chapter-link-card-wrapper:hover {
    transition: transform 2s cubic-bezier(.13, 1.4, .8, .5);
    transform: scale(1.1);
}

.chapter-link-card-wrapper-invalid {
    filter: blur(3px);
}

.chapter-link-card-wrapper-invalid:hover {
    transition: filter 0.3s ease-in-out;
    filter: blur(0px);
}

.gray_filter {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: gray;
    border-radius: 6px 6px 0 0;
    opacity: 0.5;
}

.black_filter {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    border: 2px solid #ffd700;
    opacity: 0.1;
    filter: blur(1px);
}

.black_filter {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    border: 2px solid #ffd700;
    opacity: 1;
}

.black_bar_left,
.black_bar_right {
    display: block;
    position: absolute;
    left: 45%;
    top: -25%;
    width: 10%;
    height: 150%;
    background-color: black;
    border: 2px solid #ffd700;
}

.black_bar_left {
    rotate: 60deg;
}

.black_bar_right {
    rotate: -60deg;
}

.middle_wip {
    display: block;
    position: absolute;
    left: 33%;
    top: 25%;
    height: 50%;
    width: auto;
    background-color: black;
    border: 2px solid #ffd700;
    padding: 2%;
}

.list-group-item {
    display: flex;
    flex-direction: column;
    gap: 1vh;
}

.div_404 h1 {
    color: #ffd700;
}

.div_globale_pendu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 3px double rgb(32, 32, 32);
    border-radius: 20%;
    padding: 2%;
}

.div_pendu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.active {
    display: flex;
}

.inactive {
    display: none;
}