body{
    background-color: #faf8f6;
}






/**************************************HEADER****************************************/

header{
    position: fixed;
}











/**************************************REAS****************************************/
.realisations{
    width: 78vw;
    display: flex;
    flex-wrap: wrap;
    gap: 1vw;
    margin-left: 20vw;
    margin-top: 10vh;
}

.realisations > div{
    height: 85vh;
    width: 25vw;
    display: flex;
    flex-direction: column;
}

/****************************CHAQUE BOX REA******************************/
.realisations > div >div{
    height: 75vh;
    width: 24.5vw;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    position: relative;
    transition: all 0.5s ease;
    background-color: blue;
}

.grayscale{
    filter: grayscale(100%); 
}


.realisations > div hr{
    width: 25vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: .5vh;
    height: .5pt;
    border: none;
    background-color: darkgray;
}

.realisations > div h1{
    margin-left: .5vw;
    font-size: 1.2vw;
    margin-top: 1vh;
}

.realisations > div h2{
    margin-left: .5vw;
    font-size: 1vw;
    font-weight: 300;
    margin-bottom: 4vh;
}

.realisations > div h2 span{
    font-weight: 500;
}


.rea1 .image{
    background: url("../gallerie/gambetta/_0.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

.rea2 .image{
    background: url("../gallerie/trevise/_0.webp") no-repeat;
    background-position: center;
    background-size: cover;
}

.rea3 .image{
    background: url("../gallerie/longchamps/_0.webp") no-repeat;
    background-position: center;
    background-size: cover;
}

.rea4 .image{
    background: url("../gallerie/legendre/_0.webp") no-repeat;
    background-position: center;
    background-size: cover;
}

.rea5 .image{
    background: url("../gallerie/place_de_mexico/_0.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

.rea6 .image{
    background: url("../gallerie/chaptal/_0.webp") no-repeat;
    background-position: center;
    background-size: cover;
}

.rea7 .image{
    background: url("../gallerie/passy/_0.webp") no-repeat;
    background-position: center;
    background-size: cover;
}

.rea9 .image{
    background: url("../gallerie/lisbonne/_0.webp") no-repeat;
    background-position: center;
    background-size: cover;
}

.rea10 .image{
    background: url("../gallerie/stmichel/testphotoprincipalstmichel.jpeg") no-repeat;
    background-position: center;
    background-size: cover;
}

.rea11 .image{
    background: url("../gallerie/foch/_00.webp") no-repeat;
    background-position: center;
    background-size: cover;
}

.rea12 .image{
    background: url("../gallerie/argentine/_0.webp") no-repeat;
    background-position: center;
    background-size: cover;
}
/****************************OVERLAY CHAQUE BOX REA******************************/
.overlay_image{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .2);
    filter: grayscale(100%);
    opacity: 0;
    transition: all 0.5s ease;
}

.active_overlay_image{
    opacity: 1 !important;
}


/**************************************FOOTER****************************************/
footer{
    margin-top: 10vh;
}


@media (orientation: portrait) {
    .deux_traits_menu_mobile{
        border-color: darkgray;
    }

    .realisations{
        width: 100vw;
        display: flex;
        flex-direction: column;
        gap: 1vw;
        margin-left: 0vw;
        margin-top: 8vh;
        justify-content: center;
        align-items: center;
    }

    .realisations > div{
        width: 90%;
        height: 77vh;
        display: flex;
        flex-direction: column;
    }

    .realisations > div >div{
        height: 75vh;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        cursor: pointer;
        position: relative;
        transition: all 0.5s ease;
    }

    .realisations > div hr{
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 8px;
        height: 1pt;
        border: none;
        background-color: darkgray;
    }

    .realisations > div h1{
        font-size: 4vw;
    }

    .realisations > div h2{
        font-size: 2.5vw;
    }

}