* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.box {
    padding: 20px;
    font-size: 30px;
    position: relative;
    text-align: center;
}

.box::before {
    content: attr(data-title);
    color: #00000065;
    font-size: 14px;
    position: absolute;
    bottom: 20px;
    left: 20px;
}
.box::after {
    content: attr(data-desc);
    color: #00000065;
    font-size: 14px;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.out {
    width: 100%;
    overflow: hidden;
    background-color: #f7f8fa;
    padding-left: 50%;
    position: relative;
    height: 80px;
    cursor: grab;
}

.out:active {
    cursor: grabbing;
}

.trigger {
    display: flex;
    width: max-content;
    height: 100%;
}

.trigger div {
    width: 10px;
    border-right: 1px solid #00000065;
    height: 20px;
    flex-shrink: 0;
}

.trigger div[data-value] {
    height: 30px;
    position: relative;
}

.trigger div[data-value]::after {
    content: attr(data-value);
    position: absolute;
    bottom: -40px;
    color: #00000065;
}

.btns {
    height: 50px;
    border-radius: 25px;
    display: flex;
    width: 90vw;
    margin: 0 auto;
    position: sticky;
    bottom: 50px;
    z-index: 9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    overflow: hidden;
    margin-top: 20px;
}

.btns div {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00000085;
    cursor: pointer;
    transition: all 0.3s;
}

.btns div:hover,
.btns div:active {
    background-color: #f7f8fa;
}

.btns div:not(:first-child) {
    border-left: 1px solid #f0f0f0;
}

.desc {
    padding: 10px;
    line-height: 24px;
    color: #00000065;
}
