body{

}
.topChart, .topChart * {
    box-sizing: border-box;
    font-family: inherit;
}
.chart-bars-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 300px;
    padding: 50px 5px 10px;
    overflow: hidden;
}

.chart-bar {
    width: 16.66%;
    background: linear-gradient(#0550c8, #000033);
    margin: 0 5px 5px;
    position: relative;
    transition: height 0.5s ease;
    max-height: 100%;
}

.chart-bar::before {
    content: attr(data-value);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: bold;
    color: #000;

    padding:0;
    border-radius: 4px;
}

.chart-users-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.chart-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 15.5%;
    margin: 0 5px 5px;
    padding: 10px 3px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
}

.chart-user .user-info {
    max-width: 100px;
    text-align: center;
}

.chart-user .user-name {
    font-weight: 700;
}

.chart-user .user-profession {
    font-size: 15px;
    margin-bottom: 5px;
}

.chart-user-avatar {
    display: block;
    margin: 10px auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
}

.chart-user .user-value {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    background-color: #0350c8;
    color: white;
    padding: 5px;
    margin-top: 5px;
    border-radius: 4px;
}


@media (min-width: 768px) and (max-width: 1400px){
    .chart-user {
        width: 14.5%;
    }

}


@media (max-width: 767px) {
    .chart-bars-wrapper {
        height: 250px;
    }

    .chart-bar::before {
        font-size: 12px;
    }

    .chart-user {
        flex: 1 1 25%;
    }

    .chart-user .user-value {
        font-size: 18px;
    }
}