.images-compare-container {
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.images-compare-before {
    will-change: clip;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.images-compare-after {
    pointer-events: none;
}
.images-compare-after img,
.images-compare-before img {
    max-width: 100%;
    height: auto;
    display: block;
}
.images-compare-separator {
    position: absolute;
    background: transparent;
    height: 100%;
    width: 2px;
    z-index: 4;
    left: -3px;
    top: 0;
}
.images-compare-handle {
    height: 38px;
    width: 38px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -22px;
    margin-top: -22px;
    border: 3px solid #fff;
    -webkit-border-radius: 1000px;
    -moz-border-radius: 1000px;
    border-radius: 1000px;
    -webkit-box-shadow: 0 0 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0 0 12px rgba(51, 51, 51, 0.5);
    box-shadow: 0 0 12px rgba(51, 51, 51, 0.5);
    z-index: 5;
    background: #000;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;

    /* overwrites */
    background: var(--color);
    border-color: var(--color);
}
.images-compare-handle:before {
    content: "Slepen";
    position: absolute;
    left: -45px;
    top: -45px;
    color: var(--background);
    transform: rotate(-30deg);
    font-family: 'sensei';
    transition: all 1000ms;
    filter: drop-shadow(0px 0px 10px #000);
}
.images-compare-handle:after {
    content: "";
    position: absolute;
    left: -4px;
    top: -18px;
    background: var(--background);
    width: 3px;
    height: 15px;
    transform: rotate(-30deg);
    transition: all 1000ms;
    filter: drop-shadow(0px 0px 10px #000);
    border-radius: 1px;
}
body.scroll .images-compare-handle:before,
body.scroll .images-compare-handle:after {
    opacity: 0;
}

.images-compare-left-arrow,
.images-compare-right-arrow {
    width: 0;
    height: 0;
    border: 6px inset transparent;
    position: absolute;
    top: 50%;
    margin-top: -6px;
}
.images-compare-left-arrow {
    border-right: 6px solid #fff;
    left: 50%;
    margin-left: -17px;
}
.images-compare-right-arrow {
    border-left: 6px solid #fff;
    right: 50%;
    margin-right: -17px;
}
.images-compare-label {
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    color: #000;
    color: rgba(0, 0, 0, 0.4);
    background: #fff;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 5px;
    pointer-events: none;
    display: none;
}
.images-compare-container .images-compare-label {
    display: inherit;
}
.images-compare-before .images-compare-label {
    left: 10px;
}
.images-compare-after .images-compare-label {
    left: auto;
    right: 10px;
}
