.img-projet{
    overflow: hidden;
    display: block;
    height: 245px;
    width: 365px;
}
.overlay{
    display: block;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 365px;
    opacity: 0;
    transition: .5s ease;
    color:  #f4623a;
    cursor: pointer;
}

.box{
    text-align: right;
    height: 205px;
    width: 100%;
    overflow: hidden;
    transition: 0.5s;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 40px;

}
.box:hover
{

    z-index: 1;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}



.box .img-css{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.box .img-css img{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.box .img-css:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 205px;
    width: 100%;
    z-index: 1;
    background: linear-gradient(360deg, #f4623a, #f4623a);
    opacity: 0;
    transition: 0.5s;
}
.box:hover .img-css:before{
    opacity: 1;
}
.box .content{
    overflow: hidden;
    position: absolute;
    height: 205px;
    width: 100%;
    z-index: 2;
    padding: 20px;
    cursor: pointer;
    align-items: center;
}

.box .content h2{
    margin-bottom: 20px;
    transition: 0.5s;
    text-transform: uppercase;
    font-size: 20px;
    transform: translateY(250px);
    color: #fff;
}

.box:hover .content h2{
    transform: translateY(0);
    transition-delay: 0.1s;
}



.scroll-downs {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width :34px;
    height: 55px;
}
.mousey {
    width: 3px;
    padding: 10px 15px;
    height: 35px;
    border: 3px solid white;
    border-radius: 25px;
    opacity: 0.75;
    box-sizing: content-box;
}

.scroller {
    width: 4px;
    height: 10px;
    border-radius: 25%;
    background-color: #fff;
    animation-name: scroll;
    animation-duration: 1.2s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
}

@keyframes scroll {
    0% { opacity: 0; }
    30% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0;}
}


.fa-envelope:hover{
    color: #1d2124;
}

.svg-contact{
    fill: #666666;
    transition: 0.4s;
}

.svg-contact:hover{
    fill: #333333;
}

.p-contact{
    color: #666666;
}

a.d-block{
    text-decoration: none;
}


.ParSco{
    border-left: solid 2px #f4623a;
    text-align: left;
    margin-bottom: 50px;
    margin-left: 100px;
    max-width: 100%;
}

.XPpro{
    border-right: solid 2px #f4623a;
    text-align: right;
    margin-bottom: 50px;
    margin-right: 100px;
    max-width: 100%;
}

@media screen {
    article, aside, figcaption, figure, footer, header, hgroup, main, nav, section{
        display: block;
        width: 100%;
    }
}

@media all and (max-width: 990px) and (min-width: 301px) {
    .mttitle{
        margin-top: 1.5em;
    }
    .ParSco{
        border: none;
        text-align: left;
        margin-bottom: 50px;
        margin-left: 5px;
    }
    .XPpro{
        border: none;
        text-align: right;
        margin-bottom: 50px;
        margin-right: 5px;
    }
}

@media all and (max-width: 300px) {
    .mttitle{
        margin-top: 1.5em;
    }

    .ParSco{
        border: none;
        text-align: left;
        margin-bottom: 50px;
        margin-left: 5px;
    }
    .XPpro{
        border: none;
        text-align: right;
        margin-bottom: 50px;
        margin-right: 5px;
    }
   
}