*,
*:after,
*:before {
    box-sizing: border-box;
}

.container-sliding-tabs {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tabs {
    display: flex;
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 1px 0 rgba(24, 94, 224, 0.15), 0 6px 12px 0 rgba(24, 94, 224, 0.15);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.25rem;
    border-radius: 99px;
}

.tabs * {
    z-index: 2;
}

input[type=radio] {
    display: none;
}

.tab-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 200px;
    font-size: 1.25rem;
    font-weight: 500;
    border-radius: 99px;
    cursor: pointer;
    transition: color 0.15s ease-in;
}

input[type=radio]:checked+label {
    background-color: #6A1B31;
    color: #CCCCCC;
}

input[type=radio]:checked+label>.notification {
    background-color: #6A1B31;
    color: #fff;
}

input[id=radio-1]:checked~.glider {
    transform: translateX(0);
}

input[id=radio-2]:checked~.glider {
    transform: translateX(100%);
}

input[id=radio-3]:checked~.glider {
    transform: translateX(200%);
}

input[id=radio-4]:checked~.glider {
    transform: translateX(300%);
}

.glider {
    position: absolute;
    display: flex;
    height: 50px;
    width: 200px;
    background-color: #e6eef9;
    z-index: 1;
    border-radius: 99px;
    transition: 0.25s ease-out;
}

@media (max-width: 700px) {
    .tabs {
         transform: scale(0.4);
    }
}