Floating Round Titles for Carousel Plugin

.name{
   border-radius: 25px;
   margin:5px;
   padding: 0 5px 0 5px;
   width: auto !important;
}

.mat-focus-indicator.item.mat-button.mat-button-base.border.active > span.mat-button-wrapper > div.name-wrapper > div{
  color: #000;
  font-weight:600;
}

Preview: