.tabs {
  display: flex;
  position: relative;
}
.tabs .line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #1877f2;
  transition: all 0.25s ease;
}

.tab-item {
  min-width: 80px;
  padding: 12px 16px;
  font-size: 16px;
  text-align: center;
  color: rgb(126, 130, 153);
  cursor: pointer;
  transition: all 0.5s ease;
}
.tab-item:hover, .tab-item.active {
  color: #1877f2;
}