.tooltip {
    position: relative;
    display: inline-block;
    justify-content: center;
    align-items: center;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #FFFF00;
    color: #000;
    font-size: 10px;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

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

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

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 0%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #FFFF00 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.tooltip2 {
    justify-content: center;
    align-items: center;
    position: relative;
    display: inline-flex;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip2 .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #FFFF00;
    color: #000;
    font-size: 10px;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

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

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

/* Tooltip arrow */
.tooltip2 .tooltiptext::after {
    content: "";
    position: absolute;
    top: 50%;  */
    right: 10%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #FFFF00 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip2:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.tooltip3 {
    justify-content: center;
    align-items: center;
    position: relative;
    display: inline-flex;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip3 .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #FFFF00;
    color: #000;
    font-size: 10px;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

/* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 0%;
    left: 100%;
    margin-right: 150px;

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

/* Tooltip arrow */
.tooltip3 .tooltiptext::after {
    content: "";
    position: absolute;
    top: 50%;  */
    right: 10%;
    margin-right: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #FFFF00 transparent transparent transparent;
}

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