div .comparison {
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    overflow: hidden;
    cursor: col-resize;
}

div .comparison figure>img {
    position: relative;
    width: 100%;
}

div .comparison figure {
    position: relative;
    font-size: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

div .comparison figure div {
    position: absolute;
    width: 50%;
    box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    bottom: 0;
    height: 100%;
}
