.media-text {
    display: block;
    float: left;
    margin-left: 20%;
    position: relative;
    width: 30%;
}

.m-text {
    display: block;
    float: left;
    padding: 15vh 0;
    position: relative;
    width: 100%;
}

.m-media {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    display: block;
    height: 100%;
    left: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

.media-text-alt {
    display: block;
    float: right;
    margin-right: 20%;
    position: relative;
    width: 30%;
}

.m-text-alt {
    display: block;
    float: right;
    padding: 15vh 0;
    position: relative;
    width: 100%;
}

.m-media-alt {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    display: block;
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    width: 100%;
}

.m-media .block-img-overlay {
    background-color: transparent;
    bottom: 0;
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 50%;
}

.m-media-alt .block-img-overlay {
    background-color: transparent;
    bottom: 0;
    display: block;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    transform: rotate(180deg);
    width: 50%;
}

@media screen and (max-width: 1200px) {
    .media-text,
    .media-text-alt {
        margin-left: 0%;
        margin-right: 0%;
        width: 50%;
    }
}

@media screen and (max-width: 767px) {
    .media-text,
    .media-text-alt {
        margin-left: 0%;
        margin-right: 0%;
        width: 100%;
    }
    .m-text,
    .m-text-alt {
        padding: 20px 0 0;
    }
    .m-media,
    .m-media-alt {
        float: left;
        left: unset;
        padding-bottom: 100%;
        position: relative;
        width: 100%;
    }
    .m-media .block-img-overlay {
        left: unset;
        right: 0;
        transform: rotate(180deg);
    }
}
