.menu-item {
  display: flex;
  flex-wrap: wrap; /* New property */
  align-content: center; /* New property */
  align-items: center;
  justify-content: start;
  text-align: left;
}

.menu-item > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.menu-item > div:first-child {
  margin-right: 10px;
  font-size: 1.1vw; /* Adjust this value accordingly */
 word-wrap: break-word;
}

.menu-item > div:nth-child(2) {
  font-size: 1.1vw; /* Adjust this value accordingly */
 word-wrap: break-word; 
}

.sidenav {
  overflow-x: hidden; /* This will prevent the side navigation bar from extending beyond its width */



}
.number-badge {
  background-color: grey;
  color: white;
  border-radius: 12px;
  padding: 2px 6px;
  font-size: 90%;
  font-weight: bold;
}

h4 span {
  background-color: #1E90FF;
  color: white;
  border-radius: 3px;
  padding: 5px;
}

ul li {
  margin-bottom: 10px;
}

.card-body a {
  color: inherit;
  text-decoration: none;
}


.raised.segment {
  box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);
  padding: 1em;
  background-color: white;
  width: 200px; /* adjust this value to suit your needs */
  text-align: left; /* align text to left */
}

.ribbon.label {
  background-color: #2185d0;
  color: white;
  padding: .2em .5em; /* reduce padding to make label smaller */
  position: relative;
  left: -1em; /* make the label hang off the left edge */
  margin-left: 1em;
  margin-right: -1em;
  font-size: 0.8em; /* reduce font size to make label smaller */
}

ul {
  list-style: none; /* remove bullet points */
  padding: 0; /* remove default padding */
}

.raised.segment li {
  font-size: 0.8em; /* make the text in the list items smaller */
}