/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 0px dotted white; /* to hide dots under the hoverable text */
  text-decoration: none; 
  outline: none; 
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 530px;
  background-color: #555;
  color: #fff;
  text-align: left;
  padding: 5px 0;
  border-radius: 6px;
  height: max-content;
  
  /* Position the tooltip text */ 
  position: absolute;
  z-index: 1;
  top: -100px;
  bottom: -300%;
  left: 620%;
  margin-left: -70px;


  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -5px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent #555 transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}