#realisation {
    display: flex;
    flex-direction: column;
    width: 100vw;
    padding-top: 8vh;
    /*---(décallage menu mobile)----*/
    margin-bottom: 6vh;
}

.blocRealisations {
    display: flex;
    flex-direction: column;
}

.ligneProjet {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0;
}

.projetCadre {
    background-color: var(--bg-color-2);
    width: 118px;
    height: 85px;
    margin: 10px;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    border: 1px solid var(--bg-color-2);
    display: block;
    cursor: pointer;
}

.projetCadre.cliquer {
    border: 2px solid var(--bg-color-2);
}

.projetCadre:hover {
    border: 2px solid var(--bg-color-2);
}

.projetCadre .projet {
    -webkit-filter: contrast(60%);
    /* Pour les navigateurs Chrome, Safari, Opera */
    filter: contrast(60%);
    /* Firefox */
}

.projetCadre.cliquer .projet {
    -webkit-filter: contrast(100%);
    /* Pour les navigateurs Chrome, Safari, Opera */
    filter: contrast(100%);
    /* Firefox */
}

.projetCadre.cliquer:hover .projet {
    -webkit-filter: contrast(100%);
    /* Pour les navigateurs Chrome, Safari, Opera */
    filter: contrast(100%);
    /* Firefox */
}

.projetCadre:hover .projet {
    -webkit-filter: contrast(90%);
    /* Pour les navigateurs Chrome, Safari, Opera */
    filter: contrast(90%);
    /* Firefox */
}

.projet {
    position: absolute;
    width: auto;
    max-width: 100%;
    justify-items: center;
    height: auto;
}

.groupBlocDetailProjet {
    background-color: transparent;
    width: 236px;
    padding: 0;
    margin: 3vh auto 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.flecheGauche.realisations {
    position: absolute;
    left: -20px;
    top: 190px;
}

.flecheDroite.realisations {
    position: absolute;
    right: -20px;
    top: 190px;
}

.zoneFlecheGauche.realisations {
    position: absolute;
    left: -22px;
    top: 184px;
    width: 25px;
    height: 30px;
}

.zoneFlecheDroite.realisations {
    position: absolute;
    right: -22px;
    top: 184px;
    width: 25px;
    height: 30px;
}

.blocTitreProjet {
    background-color: transparent;
}

.blocTitreProjet h3 {
    text-align: center;
    padding: 8px 0 8px 0;
    margin: 0;
    background-color: var(--bg-color-2);
}

.blocDetailsProjets {
    position: absolute;
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: var(--color-fond-opacity);
    transform: scaleX(0);
    border: 2px solid var(--bg-color-2);
    border-top: 0;
    transition: transform .3s;
    display: flex;
    flex-direction: column;
    height: 99.3%;
    justify-content: space-between;
}

.groupBlocDetailProjet.visible .blocDetailsProjets {
    transform: scaleX(1);
}

.descriptionProjet {
    font-size: 14px;
    margin: 2vh 20px 0 20px;
}

.blocInfosLogiciel {
    display: flex;
    position: absolute;
    top: 90%;
    left: 5.5%;
}

.logicielUtiliser {
    padding: 3px;
    font-size: 12px;
    text-align: center;
    margin: 0 20px 10px 20px;
}

.blocAffichageProjet {
    background-color: var(--bg-color-2);
    height: 331px;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    display: block;
}

.imageProjetAffiche {
    border: 2px solid var(--bg-color-2);
    position: absolute;
    width: auto;
    max-width: 98%;
    justify-items: center;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    transform: scale(1);
    transition: transform .5s;
}

.blocBoutonsProjets {
    background-color: transparent;
    border-top: 0;
}

.btn.realisations {
    padding: 6px 4px;
    width: 80px;
    height: 30px;
    font-size: 11px;
}

.btn-1.realisations:hover {
    box-shadow: inset -100px 0 0 0 var(--color-fond-opacity);
}

.btn-2.realisations:hover {
    box-shadow: inset -100px 0 0 0 var(--bg-color-2);
}

.groupeBouton1.realisations {
    display: flex;
    flex-direction: row;
    width: 232px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    height: 80px;
}

/*-------------------[[Responsive]]------------------*/

@media all and (min-width: 768px) {

    .ligneProjet {
        margin-top: 5vh;
    }

    .projetCadre {
        width: 135px;
        height: 97.2px;
        margin: 8px;
    }

    .projet {
        width: 135px;
    }
}

@media all and (min-width: 1024px) {

    #realisation {
        padding-top: 4vh;
        min-height: 98vh;
    }

    .menuTexte.actif::after {
        left: 22px;
    }

    .ligneProjet {
        margin-top: 5vh;
    }

    .projetCadre {
        width: 165px;
        height: 118.8px;
        margin: 8px;
    }

    .projet {
        width: 165px;
    }

    .btn.realisations {
        padding: 6px 4px;
        width: 85px;
        height: 30px;
        font-size: 11px;
    }

    .btn-1.realisations:hover {
        box-shadow: inset -100px 0 0 0 var(--color-fond-opacity);
    }

    .btn-2.realisations:hover {
        box-shadow: inset -100px 0 0 0 var(--bg-color-2);
    }
}

@media all and (min-width: 1280px) {

    .projetCadre {
        width: 190px;
        height: 136.8px;
        margin: 20px;
    }

    .projet {
        width: 190px;
    }

    .blocRealisations {
        display: flex;
        flex-direction: row;
        width: 85vw;
        justify-content: space-between;
        margin: 4vh 0 5vh 0;
    }

    .ligneProjet {
        margin: 0.8vh 5vw 0 0;
    }

    .groupBlocDetailProjet {
        width: 300px;
    }

    .flecheGauche.realisations {
        left: -25px;
        top: 210px;
    }

    .flecheDroite.realisations {
        right: -25px;
        top: 210px;
    }

    .zoneFlecheGauche.realisations {
        left: -27px;
        top: 204px;
    }

    .zoneFlecheDroite.realisations {
        right: -27px;
        top: 204px;
    }

    .blocInfosLogiciel {
        left: 14%;
    }

    .logicielUtiliser {
        padding: 3px;
        font-size: 13px;
    }

    .blocAffichageProjet {
        height: 421px;
    }

    .imageProjetAffiche {
        width: 100%;
        left: 0.5px;
    }

    .blocBoutonsProjets {
        max-height: 100px;
    }

    .btn.realisations {
        width: 110px;
        height: 40px;
        font-size: 13.5px;
        padding: 12px 10px 5px 10px;
        margin-top: 1vh;
    }

    .btn-1.realisations:hover {
        box-shadow: inset -140px 0 0 0 var(--color-fond-opacity);
    }

    .btn-2.realisations:hover {
        box-shadow: inset -140px 0 0 0 var(--bg-color-2);
    }

    .groupeBouton1.realisations {
        width: 300px;
        height: 80px;
        justify-content: space-between;
    }

    .groupBlocDetailProjet {
        width: 300px;
    }
}

@media all and (min-width: 1536px) {

    .menuTexte.actif::after {
        left: 25px;
    }

    .projetCadre {
        width: 260px;
        height: 187.2px;
        margin: 20px;
    }

    .projet {
        width: 260px;
    }

    .blocRealisations {
        width: 88vw;
    }

    .ligneProjet {
        margin: 0.8vh 5vw 0 0;
        width: 58vw;
    }

    .flecheGauche.realisations {
        top: 280px;
        left: -30px;
    }

    .flecheDroite.realisations {
        top: 280px;
        right: -29px;
    }

    .zoneFlecheGauche.realisations {
        top: 274px;
        left: -30px;
    }

    .zoneFlecheDroite.realisations {
        top: 274px;
        right: -29px;
    }

    .contenuFlecheGauche {
        width: 25px;
        height: 18px;
    }

    .contenuFlecheDroite {
        width: 25px;
        height: 18px;
    }

    .blocInfosLogiciel {
        left: 15%;
    }

    .logicielUtiliser {
        padding: 3px;
        font-size: 16px;
    }

    .blocAffichageProjet {
        height: 532px;
    }

    .imageProjetAffiche {
        width: 100%;
        left: 1.2px;
    }

    .btn.realisations {
        margin: 0;
        padding: 8px 4px;
        width: 150px;
        height: 48px;
        font-size: 18px;
    }

    .btn-1.realisations:hover {
        box-shadow: inset -200px 0 0 0 var(--color-fond-opacity);
    }

    .btn-2.realisations:hover {
        box-shadow: inset -200px 0 0 0 var(--bg-color-2);
    }

    .groupeBouton1.realisations {
        width: 380px;
        margin-top: 20px;
    }

    .groupBlocDetailProjet {
        width: 380px;
    }

    .descriptionProjet {
        font-size: 20px;
    }
}

@media all and (min-width: 1920px) {

    .menuTexte.actif::after {
        left: 27px;
    }

    .projetCadre {
        width: 270px;
        height: 194.4px;
        margin: 20px;
    }

    .projet {
        width: 270px;
    }

    .blocRealisations {
        justify-content: space-between;
    }

    .groupBlocDetailProjet {
        margin: 20px 8vw 0 0;
    }

    .ligneProjet {
        margin: 0;
        max-width: 50vw;
    }

    .flecheGauche.realisations {
        top: 330px;
        left: -36px;
    }

    .flecheDroite.realisations {
        top: 330px;
        right: -35px;
    }

    .zoneFlecheGauche.realisations {
        top: 324px;
        left: -36px;
        width: 40px;
        height: 35px;
    }

    .zoneFlecheDroite.realisations {
        top: 324px;
        right: -33px;
        width: 40px;
        height: 35px;
    }

    .contenuFlecheGauche {
        width: 30px;
        height: 21.6px;
    }

    .contenuFlecheDroite {
        width: 30px;
        height: 21.6px;
    }

    .logicielUtiliser {
        padding: 3px;
        font-size: 16px;
    }

    .blocAffichageProjet {
        height: 588px;
    }

    .groupBlocDetailProjet {
        width: 420px;
    }

    .descriptionProjet {
        font-size: 20px;
    }

    .imageProjetAffiche {
        width: 100%;
        left: 1.2px;
        top: 2px;
    }

    .btn.realisations {
        margin: 0;
        padding: 10px 8px;
        width: 174px;
        height: 50px;
        font-size: 20px;
    }

    .btn-1.realisations:hover {
        box-shadow: inset -250px 0 0 0 var(--color-fond-opacity);
    }

    .btn-2.realisations:hover {
        box-shadow: inset -250px 0 0 0 var(--bg-color-2);
    }

    .groupeBouton1.realisations {
        width: 420px;
        margin-top: 20px;
    }
}
