.icon {
  position: relative;
}

img {
  width: 100%;
  height: 100%;
}

.notifications-counter {
  background-color: red;
  border-radius: 1rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  height: 1.5em;
  line-height: 1.5em;
  position: absolute;
  right: -0.5rem;
  text-align: center;
  top: -0.5rem;
  width: 1.5em;
}
