#main{
    width: 100vw;
    height: 100vh;

    background: url("../../img/index/fond_famille.jpg") no-repeat top center;
    background-size: cover;
    overflow-x: hidden;
}

.mentions{
    margin-bottom: 40px;
    padding-right: 75px;
    font-weight: 300;

}
.realisation{
    font-size: 12px;
    margin-bottom: 5px;
}
.abus{
    font-size: 11px;
    margin-bottom: 0;
}


#bloc_18{
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
}
#bloc_18_text{
    position: relative;
    z-index: 10;
    padding: 20px 80px;
    opacity: 0;
    animation: text_in 1.5s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1.5s;
    text-align: center;
    visibility: hidden;
}

#bloc_18_text img{
    margin-bottom: 10px;
}
#bloc_18_text p{
    font-weight: 300;
    margin-bottom: 20px;
}
#bloc_18_text .less_18{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    color: #FFF;
    margin-top: 20px;
    display: inline-block;
}

#bloc_18 .half_bloc{
    position: absolute;
    z-index: 0;
    top: 0;
    background: #000;
    width: 50%;
    height: 100%;
}
#bloc_18 #bloc_18_left{
    left: 0;
    animation: bloc_left_in 1.5s ease-in-out;
}
#bloc_18 #bloc_18_right{
    right: 0;
    animation: bloc_right_in 1.5s ease-in-out;
}

#bloc_18 .half_bloc:before{
    content: '';
    position: absolute;
    top: -10px;
    bottom: -10px;
    display: block;
    background: rgb(167,147,68);
    background: -moz-linear-gradient(0deg, rgba(167,147,68,0.4) 0%, rgba(255,226,130,0.4) 100%);
    background: -webkit-linear-gradient(0deg, rgba(167,147,68,0.4) 0%, rgba(255,226,130,0.4) 100%);
    background: linear-gradient(0deg, rgba(167,147,68,0.4) 0%, rgba(255,226,130,0.4) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a79344",endColorstr="#ffe282",GradientType=1);
}
#bloc_18 #bloc_18_left:before{
    left: -10px;
    right: 0;
}
#bloc_18 #bloc_18_right:before{
    left: 0;
    right: -10px;
}

#bloc_18 .half_bloc:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
}
#bloc_18 #bloc_18_left:after{
    right: -1px;
    background: url('../../img/index/fond_bloc_18_left.jpg') no-repeat bottom left;
    background-size: cover;
}
#bloc_18 #bloc_18_right:after{
    left: -1px;
    background: url('../../img/index/fond_bloc_18_right.jpg') no-repeat top right;
    background-size: cover;
}

#image{
    display: none;
}

@keyframes bloc_left_in {
    from{
        left: -50vw;
        opacity: 0;
    }
    to{
        left: 0;
        opacity: 1;
    }
}
@keyframes bloc_right_in {
    from{
        right: -50vw;
        opacity: 0;
    }
    to{
        right: 0;
        opacity: 1;
    }
}
@keyframes text_in {
    from{
        opacity: 0;
        visibility: visible;
    }
    to{
        opacity: 1;
        visibility: visible;
    }
}


@media screen and (max-width: 1650px){
    #main{
        padding-bottom: 0;
    }
    #main .mentions{
        text-align: center;
        padding-right: 0;
    }
    #bloc_18{
        bottom: 120px;
    }
}

@media screen and (max-width: 1199px){
    #main{
        background-size: contain;
    }
}
@media screen and (max-width: 768px){
    #main{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        overflow: auto;
        background: none;
    }
    #bloc_18{
        order: 2;
        position: relative;
        width: 80%;
        left: 0;
        bottom: 0;
        right: auto;
        transform: none;
        margin-top: 0;
        margin-bottom: 20px;
    }
    #bloc_18 img{
        max-width: 100%;
    }
    #bloc_18_text{
        padding: 10px 15px;
    }
    .h-100{
        height: auto !important;
    }
    #main > .container-fluid.h-100{
        order: 3;
    }
    #main .mentions{
        margin-bottom: 10px;
    }
    #image{
        order: 1;
        display: block;
        width: 100%;
    }
    #image img{
        max-width: 100%;
    }
}