/* leaderboard.css */

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    /*padding: 20px;*/
    text-align: center;
}


h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

table {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

th, td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #ff5733;
    color: #fff;
    font-size: 1.2rem;
}

tr:hover {
    background-color: #f1f1f1;
}

td {
    font-size: 1rem;
    color: #555;
}

/* Navigation bar */
nav {
    width: 100%;
    height: auto;
    background-color: #ff5733; /* Vibrant orange for the nav */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

nav h1 {
    font-size: 2rem;
    color: white;
    margin: 0;
}

#logoutButton {
    border: none;
    background: transparent; /* Match the rest of the navbar */
    font-size: 1rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.profile-icon{
    width: 70px;
    height: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
}

a {
    text-decoration: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ddd; /* Light hover effect */
}