body {
    font-family: Arial, sans-serif;
    margin: 20px;
}
.highlight {
    background-color: yellow;
}
.fraction {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}
.fraction > span {
    display: block;
}
.fraction .numerator {
    border-bottom: 2px solid #000;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 220px;
    background-color: #777;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the text */
    left: 50%;
    margin-left: -110px; /* Center the tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Show the tooltip text when hovering */

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}


