/* General Styles */
html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: white; /* Set background to white */
    color: #003366; /* Blue text */
    text-align: center;
}

/* Navbar Links */
a.navbar,
a.navbar:visited,
a.navbar:active {
    text-decoration: none;
    color: darkblue; /* Blue text */
    font-size: 20px;
    text-align: center;
}

a.navbar:hover {
    text-decoration: underline;
    color: black; /* Red accent on hover */
}

/* Navbar Table */
table.navbar {
    background-color: red; /* Red navbar background */
    width: 100%;
    text-align: center;
}

td.navbar {
    text-align: center;
    color: darkblue; /* Ensure navbar text is blue */
}

/* Centering Tables and Adding Borders */
.table {
    border-collapse: collapse;
    width: auto;
    max-width: 80%;
    margin: 0 auto;
}

/* Stats Table */
.statstable table, th, td {
    border: 1px solid darkblue; /* Blue borders */
    border-collapse: collapse;
}

tr:nth-child(even) {
    background-color: lightblue; /* Light gray background for alternating rows */
}

/* Player Links */
.center a.player-link {
    display: block;
    text-decoration: none;
    color: darkblue; /* Blue text for player links */
}

.center a.player-link:hover {
    color: red; /* Red accent on hover */
}

/* Centering Content */
.center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}

/* Headings */
h2 {
    color: darkblue; /* Blue heading text */
}

/* Buttons */
button.navbar {
    float: left;
    width: 100px;
    height: 30px;
    color: white;
    background-color: red; /* Red button background */
    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

button.navbar:hover {
    background-color: darkred; /* Darker red on hover */
}

/* Table Center Alignment */
table.centered {
    margin: 0 auto;
}
