
 
.backgrounds-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;    
    background-size: cover;
    background-position: center;
    background-position-x: 80%;
    transition: opacity 1s ease-in-out;
    margin: 0;
    padding: 0;
}

@media screen and (max-width:600px) {

    .backgrounds:before { 
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 100;
        width: 100%;
        height: 100%;
        background-color: #000;
        opacity: 0.2;        
    }
    
}