.tab_bar_item {
    color: #818181;
}

.tab_bar_item:hover {
    border-bottom: 0 solid var(--main-color);
    color: var(--main-color);
}

.tab_bar_item.selected {
    color: var(--main-color);
    border-bottom: 2.5px solid var(--main-color);
}

.tab-container {
    position: relative;
    width: 100%;
    margin: 10px auto;
    padding: 5px 10px;
    box-sizing: border-box;
}

.tabs_background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f2eee7;
    border-radius: 14px;
}

.tabs {
    display: flex;
    justify-content: space-between;
    background: 0 0;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.tab {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    color: #444;
}

.tab.active {
    color: rgb(180, 102, 0);
}

.slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(25% - 12px);
    height: calc(100% - 8px);
    background: #fff;
    border-radius: 14px;
    transition: transform .3s;
    padding: 0 5px;
}

@media screen and (max-width:800px) {
    .tab {
        font-size: 12px;
    }
}