body {
    font-family: Arial, sans-serif;
    background-color: #1f1f1f; /* Dark background */
    color: #ffffff; /* Light text color */
    margin: 0;
    padding: 0;
}

.container {
    position: relative; /* Make container the relative parent */
    width: 90%;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #2e2e2e;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

h1 {
    text-align: center;
    font-size: 1.6em; /* Smaller title */
    margin-bottom: 20px;
    color: #ffffff;
}

h2 {
    font-size: 1.2em; /* Smaller subtitle */
    margin-bottom: 10px;
    text-align: center;
    color: #ffffff;
}

/* Home button styling */
.home-button {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background-color: #444444; /* Same as table header background */
    color: #ffffff; /* Same as the fighter's name color */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.home-button:hover {
    background-color: #333333; /* Darker background on hover */
}

ul {text-align: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul li {
    margin: 10px 0;
}

ul li a {
    color: #ffffff; /* White color for links */
    text-decoration: underline; /* Underline to show they are links */
    font-size: 1em;
}

ul li a:hover {
    color: #dddddd; /* Slightly lighter color on hover */
    text-decoration: underline; /* Keep the underline on hover */
}

footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: #111111;
    color: #888888;
    font-size: 0.75em;
}

/* Pagination styles */
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background-color: #444444;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.pagination a:hover {
    background-color: #555555; /* Darker background on hover */
}

.pagination strong {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background-color: #333333;
    color: #ffffff;
    border-radius: 5px;
}


/* Media query for small screens (mobile) */
@media (max-width: 600px) {
    h1 {
        font-size: 1.3em; /* Slightly smaller for mobile */
    }

    ul li a {
        font-size: 0.9em; /* Smaller link text for mobile */
    }

    .container {
        padding: 10px;
    }

    /* Adjust home button for smaller screens */
    .home-button {
        top: 10px;
        left: 10px;
        padding: 8px 16px;
        font-size: 0.9em;
    }
}
