:root {
    --bg-color-1: #0d47a1;
    --bg-color-2: #e3f2fd;
    --text-color-1: #ffee58; 
    --text-color-2: #f5f5f5;
}

body, ol {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(270deg, var(--bg-color-1), var(--bg-color-2), var(--bg-color-1));
    background-size: 600% 600%;
    animation: gradientWave 36s ease-in-out infinite;
    margin: 20px;
    padding: 20px;
    color: var(--text-color-1);
    animation: gradientWave 36s ease-in-out infinite, textColorShift 36s ease-in-out infinite reverse;
}

/* Reverse text color animation */
@keyframes textColorShift {
    0%, 100% { color: var(--text-color-1); }
    25% { color: var(--text-color-2); }
    50% { color: var(--text-color-1); }
    75% { color: var(--text-color-2); }
}

/* Background wave */
@keyframes gradientWave {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 50% 50%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 50%; }
}

h1, p, th, td, li {
    color: inherit;
    transition: color 5s ease-in-out;
}

h1 {
    text-align: center;
}

p {
    font-size: 18px;
    line-height: 1.6;
}

ol {
    padding: 15px 15px 15px 40px;
    border-left: 5px solid #0d47a1;
    list-style-position: outside;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #0d47a1;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #1976d2;
    color: white;
}

.back-button {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 10px 15px;
    background-color: #1565c0;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 1s ease-in-out;
}

.back-button:hover {
    background-color: #0d47a1;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: #1e88e5;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 1s ease-in-out;
}

.scroll-top:hover {
    background-color: #1565c0;
}
