body, ol {
    font-family: 'Verdana', sans-serif;
    background: linear-gradient(270deg, #8b0000, #f5f5dc);
    background-size: 200% 200%;
    animation: gradientWave 36s infinite ease-in-out;
    margin: 20px;
    padding: 20px;
    transition: color 0.1s ease-in-out;
    color: #222;
}

@keyframes gradientWave {
    0% {
        background-position: 0% 50%;
        color: #8b0000;
    }
    25% {
        background-position: 50% 50%;
        color: #555;
    }
    50% {
        background-position: 100% 50%;
        color: #f5f5dc;
    }
    75% {
        background-position: 50% 50%;
        color: #555;
    }
    100% {
        background-position: 0% 50%;
        color: #8b0000;
    }
}

h1, p, th, td {
    color: inherit;
    transition: color 36s ease-in-out;
}

h1 {
    text-align: center;
    color: #8b0000;
}

p {
    font-size: 18px;
    line-height: 1.6;
}

ol {
    background-color: rgba(255, 248, 220, 0.8);
    padding: 15px 15px 15px 40px;
    border-left: 5px solid #8b0000;
    list-style-position: outside;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.5); /* Increased transparency */
}

thead {
    background-color: rgba(139, 0, 0, 0.8); /* Slight transparency */
}

tbody {
    background-color: rgba(245, 245, 220, 0.3); /* More transparency for tbody */
}

th, td {
    border: 1px solid #8b0000;
    padding: 10px;
    text-align: left;
}

th {
    color: white;
}

td {
    background-color: transparent;
}

.back-button {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 10px 15px;
    background-color: #333;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.back-button:hover {
    background-color: #555;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.scroll-top:hover {
    background-color: #666;
}
