#layerslider {
    height:70vmin;
}

#layerslider .ls-slide .ls-l {
    top: calc(50% + (-1rem + -1.63rem));
    left: 0!important;
}

#layerslider .ls-slide .ls-l h2::before {
    content: '';
    position:absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--primary);
    opacity: .8;
    z-index: -1;
    border-top-right-radius: 75px;
    border-bottom-right-radius: 75px;
}

#layerslider .ls-slide .ls-l h2 {
    padding: 1rem 2rem;
    display: inline-block;
    color: #fff;
    font-size: 2vmax;
    position:relative;
    z-index:1;
    max-width: 70%;
}

@media (max-width: 768px) {
    #layerslider .ls-slide .ls-l {
        left: 0 !important;
        right: 0 !important;
        text-align: center !important;
        top: calc(50% + (-1rem + -1.5rem)) !important;
    }

    #layerslider .ls-slide .ls-l h2::before {
        border-top-left-radius: 75px;
        border-bottom-left-radius: 75px;
    }

    #layerslider .ls-slide .ls-l h2 {
        font-size: 1.5rem !important;
    }
}