body {
    padding: 5px;
}

@media (max-width: 600px) {
    body {
        font-size: 1.3rem;
    }
}

::highlight(text-highlights) {
    background-color: yellow;
    color: black;
}

/* Keep the old class for fallback browsers */
.highlight {
    background-color: yellow;
    margin: 0px 3px; /* Add margin to separate adjacent highlights */
}

/* Fixed button container at the bottom of the screen */
.fixed-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border-top: 1px solid #ccc;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.fixed-buttons button {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}

.fixed-buttons button:hover {
    background-color: #0056b3;
}

.footer {
    background: rgba(255, 255, 255, 0.5);
    position: fixed;
    bottom: 50px; /* It must be the top of .fixed-buttons */
    width: 100%;
    text-align: left;
    padding: 10px 0;
    display: none; /* Hide initially */
}

.footer #scrollPercentage {
    float: right;
    margin-right: 20px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.7rem;
    }
    .footer {
        font-size: 0.9rem;
    }
}