/* Tooltip container */
.hovertip {
  position: relative;
  display: inline-block;
  /* If you want dots under the hoverable text */
  /*border-bottom: 1px dotted black; */
}

/* Tooltip text */
.hovertip .hovertiptext {
  visibility: hidden;
  min-width: 300px;
  max-width: 600px;
  background-color: #555;
  color: #fff;
  text-align: left;
  padding: 5px 10px;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.hovertip .hovertip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.hovertip:hover .hovertiptext {
  visibility: visible;
  opacity: 1;
}