#Realisation {
    display: flex;
    flex-direction: row;
    background-color: rgb(248, 248, 248);
    padding-bottom: 100px;
}

/*Filtres*/

#ZoneFiltre {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #727272;
    padding: 40px;
    margin-top: 100px;
}

#ZoneFiltre .Trie {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 5px;

}

#ZoneFiltre fieldset {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    width: 110px;
    border: none;
    margin-top: 20px;
}

#ZoneFiltre h1 {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

#ZoneFiltre legend {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 14px;
}

/*Réalisation*/

#Block1 h1 {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 45px;
    text-transform: uppercase;
    margin-top: 80px;
    margin-bottom: 10px;
}

#Block1 {
    display: flex;
    flex-direction: column;
    margin: 0px 80px;
}

#AllRea {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
}

.projet {
    width: 18%;
    display: flex;
    flex-direction: column;
    border: 2px solid #d6d6d6;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease;
    height: 350px;
    background-color: white;
}

.projet img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
}

.projet:hover {
    transform: scale(1.1);
}

.projet h2 {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: black;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 5px;
    margin-top: 0px;
    height: 45px;
}

.date {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    background: #ffe5e5;
    padding: 5px 15px;
    border-radius: 5px;
    text-align: center;
}

.techno {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.techno span {
    background: #e4edf9;
    padding: 5px 15px;
    border-radius: 5px;
}

.infoProjet {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.proj {
    display: none;
    position: fixed;
    z-index: 1;
    left: 12.5%;
    top: 12.5%;
    width: 75%;
    height: 75%;
    background-color: white;
    border-radius: 7px;
    padding: 25px;
}

.proj.visible {
    display: block;
}

.proj-fond.visible {
    display: block;
}

.proj-fond {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

.bloqueDefilement {
    overflow: hidden;
}

.fermerBtn {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-weight: 900;
    font-size: 14px;
    color: #b2ccee;
    background-color: #ffffff;
    padding: 5px 20px;
    border: solid #b2ccee 2px;
    box-shadow: none;
    border-radius: 0px 50px 50px 0px;
    transition: 679ms;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

.fermerBtn:hover {
    transition: 679ms;
    padding: 5px 30px;
    background-color: #fff;
    color: #b2ccee;
    border: solid 2px #b2ccee;
}

.DetailProj {
    display: none;
}

.proj-contenu {
    margin-bottom: 10px;
}

.contenu-projet {
    display: flex;
    flex-direction: row;
}

.DetailGauche {
    width: 40%;
    text-align: center;
    padding-right: 20px;
}

.DetailGauche img {
    width: 100%;
    height: 37vh;
    object-fit: cover;
    border-radius: 8px;
}

.DetailGauche h2 {
    text-align: center;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 900;
    margin-top: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.techno2,
.date2,
.duree,
.equipe {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.techno2 h3,
.date2 h3,
.duree h3,
.equipe h3 {
    margin-bottom: 10px;
}

.techno2 span,
.equipe span {
    background: #e4edf9;
    padding: 5px 15px;
    border-radius: 5px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    margin-bottom: 10px;
}

.techno2 span:hover,
.equipe span:hover {
    box-shadow: 0 0 0 2px rgba(181, 199, 222, 0.5);
}

.date2 span:hover,
.duree span:hover {
    transition: box-shadow 0.3s ease;
    box-shadow: 0 0 0 2px #ffdddd;
}

.DetailGauche p {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 15px;
}

.contexte {
    transition: 1000ms;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    background-color: #87a7d1;
    padding: 10px 30px;
    border: none;
    border-radius: 50px;
    transition: 1000ms;
    cursor: pointer;
}

.contexte:hover {
    padding: 10px 50px;
    background-color: #fff;
    color: #87a7d1;
    box-shadow: 0 0 0 2px #87a7d1;
}

.bar {
    margin-top: 45px;
    height: 55vh;
    border-left: solid 2px gray;
    opacity: 0.4;
}

.DetailMid {
    padding-left: 35px;
    padding-right: 35px;
    width: 15%;
}

/*Style bouton*/
.checkbox-wrapper-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.checkbox-wrapper-2 .ikxBAC {
    appearance: none;
    background-color: #dfe1e4;
    border-radius: 72px;
    border-style: none;
    flex-shrink: 0;
    height: 20px;
    margin: 0;
    position: relative;
    width: 30px;
}

.checkbox-wrapper-2 .ikxBAC::before {
    bottom: -6px;
    content: "";
    left: -6px;
    position: absolute;
    right: -6px;
    top: -6px;
}

.checkbox-wrapper-2 .ikxBAC,
.checkbox-wrapper-2 .ikxBAC::after {
    transition: all 100ms ease-out;
}

.checkbox-wrapper-2 .ikxBAC::after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    height: 14px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 14px;
}

.checkbox-wrapper-2 input[type=checkbox] {
    cursor: pointer;
}

.checkbox-wrapper-2 .ikxBAC:hover {
    background-color: #c9cbcd;
    transition-duration: 0s;
}

.checkbox-wrapper-2 .ikxBAC:checked {
    background-color: #9bbae2;
}

.checkbox-wrapper-2 .ikxBAC:checked::after {
    background-color: #fff;
    left: 13px;
}

.checkbox-wrapper-2 :focus:not(.focus-visible) {
    outline: 0;
}

.checkbox-wrapper-2 .ikxBAC:checked:hover {
    background-color: #9bbae2;
}

/*Style bouton*/

.DetailDroite {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
    gap: 10px;
}

.detailBtn {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    background-color: #87a7d1;
    border: none;
    border-radius: 50px;
    transition: 1000ms;
    cursor: pointer;
    width: 70%;
    padding: 15px 0px;
}

.DetailDroite a {
    width: 100%;
    text-align: center;
}

.detailBtn:hover {
    width: 60%;
    background-color: #fff;
    color: #87a7d1;
    box-shadow: 0 0 0 2px #87a7d1;
}

.barsep2 {
    margin-left: 75vh;
    border-bottom: 3px solid #87a7d1;
    width: 30vh;
    margin-bottom: 50px;
}

.barsep3 {
    width: 10vh;
    border-bottom: 3px solid #a4bee0;
    margin-bottom: 15px;
    transition: 2000ms;
}

.projet:hover .barsep3 {
    margin-left: 15vh;
}

/* Media Queries pour le responsive */
@media screen and (max-width: 768px) {
    #Realisation {
        flex-direction: column;
        padding-bottom: 50px;
    }

    #ZoneFiltre {
        border-right: none;
        border-bottom: 1px solid #727272;
        padding: 20px;
        margin-top: 60px;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    #ZoneFiltre fieldset {
        margin-top: 0;
        width: auto;
    }

    #Block1 {
        margin: 0px 20px;
    }

    #Block1 h1 {
        font-size: 30px;
        margin-top: 40px;
    }

    #AllRea {
        gap: 20px;
        justify-content: center;
    }

    .projet {
        width: 90%;
        height: auto;
        min-height: 350px;
    }

    /* Style pour la popup des projets */
    .proj {
        left: 4%;
        top: 5%;
        width: 85%;
        height: 90%;
        padding: 15px;
        overflow-y: auto;
    }

    .contenu-projet {
        flex-direction: column;
    }

    .DetailGauche {
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .DetailGauche img {
        height: 200px;
    }

    .bar {
        display: none;
    }

    .DetailMid {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }

    .DetailDroite {
        width: 100%;
    }

    .detailBtn {
        width: 90%;
    }

    .detailBtn:hover {
        width: 85%;
    }

    .barsep2 {
        display: none;
    }

    .projet:hover {
        transform: scale(1.03);
    }

    .projet:hover .barsep3 {
        margin-left: 5vh;
    }
}

/* Ajustements pour les tablettes */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .projet {
        width: 45%;
    }

    #Block1 {
        margin: 0px 40px;
    }

    #ZoneFiltre {
        padding: 30px;
    }
}