.ngparatrisplit {
    box-sizing: border-box;
}

.ngparatrisplitsticky {
    height: 150vh;
}

.ngparatrisplitsticky > ul {
    position: sticky;
    top: 0;
}

.ngparatrisplit > ul {
    display: flex;
    list-style: none;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.ngparatrisplitboxedratio4by3,
.ngparatrisplitboxedratio3by2,
.ngparatrisplitboxedratio16by9,
.ngparatrisplitboxedratio2by1 {
    height: 0;
    position: relative;
}

.ngparatrisplitboxedratio4by3 {
    padding-bottom: 75%;
}

.ngparatrisplitboxedratio3by2 {
    padding-bottom: 66.666%;
}

.ngparatrisplitboxedratio16by9 {
    padding-bottom: 56.25%;
}

.ngparatrisplitboxedratio2by1 {
    padding-bottom: 50%;
}


.ngparatrisplitboxedratio4by3 > ul,
.ngparatrisplitboxedratio3by2 > ul,
.ngparatrisplitboxedratio16by9 > ul,
.ngparatrisplitboxedratio2by1 > ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.ngparatrisplit > ul > li {
    display: block;
    height: 100%;
    width: 33%;
    flex: 1 1;
    transition: flex 0.5s ease-in-out;
    color: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.ngparatrisplit > ul > li > img,
.ngparatrisplit > ul > li > video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: filter 0.5s, opacity 0.5s;
}

.ngparatrisplit > ul > li > video {
    opacity: 0;
}

.ngparatrisplit > ul > li:hover > video {
    opacity: 1;
}


.ngparatrisplitfadedark > ul > li:hover > img {
    filter: brightness(0.75);
}

.ngparatrisplitfadebright > ul > li:hover > img {
    filter: brightness(1.25);
}

.ngparatrisplit > ul > li > div {
    position: absolute;
    top: 30%;
    left: 0;
    width: 25vw;
    max-width: 640px;
    height: 70%;
    padding: 30px;
    box-sizing: border-box;
}

.ngparatrisplit > ul > li > div > h3 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin: 0 0 20px 0;
}

.ngparatrisplit > ul > li > div > a {
    display: inline-block;
    padding: 12px 32px;
    text-decoration: none;
    opacity: 0;
    transform: translate(0, 30px);
}

.ngparatrisplit > ul > li > div > p {
    opacity: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    transform: translate(0, 30px);
    margin: 0 0 20px 0;
}

.ngparatrisplit > ul > li:hover {
    flex: 2 1;
}

.ngparatrisplit > ul > li:hover > div > p,
.ngparatrisplit > ul > li:hover > div > a {
    transition: opacity 0.75s, transform 0.75s ease-in-out, color 0.25s, background-color 0.25s;
    opacity: 1;
    transform: translate(0, 0);
}

@media (hover: none), (max-width: 1023px) {

    .ngparatrisplit > ul > li > div {
        width: 50%;
        top: 40%;
        height: auto;
    }

    .ngparatrisplit > ul > li > div > p {
        transform: translate(0, 0);
        opacity: 1;
    }

    .ngparatrisplit > ul > li > div > a {
        opacity: 1;
        transform: translate(0, 0);
    }

    .ngparatrisplit > ul {
        display: block;
    }

    .ngparatrisplit > ul > li {
        width: 100%;
        height: 100vh;
    }

    .ngparatrisplit {
        height: unset;
    }

    .ngparatrisplit > ul {
        position: unset;
        height: unset;
    }

    .ngparatrisplit > ul > li:hover > img {
        filter: unset;
    }

    .ngparatrisplit > ul > li > video {
        opacity: 1;
    }

    .ngparatrisplitboxedratio4by3,
    .ngparatrisplitboxedratio3by2,
    .ngparatrisplitboxedratio16by9,
    .ngparatrisplitboxedratio2by1 {
        height: unset;
        padding-bottom: 0;
    }

    .ngparatrisplitboxedratio4by3 > ul,
    .ngparatrisplitboxedratio3by2 > ul,
    .ngparatrisplitboxedratio16by9 > ul,
    .ngparatrisplitboxedratio2by1 > ul {
        height: unset;
        position: static;
    }
}

@media (max-width: 767px) {
    .ngparatrisplit > ul > li > div {
        width: 100%;
        top: auto;
        bottom: 0;
    }
}