.diff {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
}

.two-content {
    width: 50%;
    overflow: hidden;
}

.three-content {
    width: 33.3%;
    overflow: hidden;
}

.diff:has(.three-content)  div>img {
    width: 100%;
}

.diff_line {
    width: 3px;
    height: auto;
    background-color: #fff;
    z-index: 1;
}

.diff>span {
    padding: .5em;
    line-height: 38px;
    position: absolute;
    bottom: 0;
    color: #fff;
    margin: 0;
    font-size: 1.25em;
    font-weight: bold;
    text-align: center;
}

.diff:has(.two-content) span:nth-child(4) { 
    left: 0;
    background: rgb(197, 24, 197);
} 

.diff:has(.two-content)  span:nth-child(5) {
    left: 50%;
    background: #15ff00;
}

.diff:has(.three-content)  span:nth-child(6) {
    left: 0;
    background: #101;
}

.diff:has(.three-content)  span:nth-child(7) {
    left: 33.3%;
    background: #451025;
}

.diff:has(.three-content)  span:nth-child(8) {
    left: 66.6%;
    background: #fff700;
}

@media screen and (max-width:750px) {
    .diff_line {
        width: 1px;
    }
    .diff>span {
        padding: 0;
        font-size: 16px;
        line-height: 30px;
    }
}

