* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    font-family: Arial, sans-serif;
    color: white;
}

/* TOPBAR */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(to right, #6a00ff, #C71B1B);
}

.topbar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

/* CONTAINER */
.container {
    width: 600px;
    margin: 40px auto;
    text-align: center;
}

.title {
    margin-bottom: 20px;
    font-size: 32px;
}

.xp-leaderboard {
    width: 650px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.xp-row {
    background: linear-gradient(to right, #6a00ff, #C71B1B);
    padding: 18px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    color: white;
    border: 1px solid #2e2e2e;
    transition: 0.25s ease;
}

.xp-row:hover {
    background-color: #2a2a2a;
    transform: translateX(6px);
}

.xp-name {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.xp-value {
    font-size: 18px;
    opacity: 0.85;
}

/* FOOTER */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to right, #6a00ff, #C71B1B);
    color: white;
    text-align: center;
    padding: 10px 0;
}

.xp-row:nth-child(1) {
    background:  gold;
    color:#000;
}

.xp-row:nth-child(2) {
    background:  silver;
    color:#000;
}

.xp-row:nth-child(3) {
    background:  #cd7f32; 
    color:#000;
}

.profile-icon img {
    width: 45px;
    height: 45px;
    border-radius: 50%;     
    object-fit: cover;     
    border: 2px solid #fff; 
    box-shadow: 0 0 5px rgba(0,0,0,0.2); 
}

.your-row {
        background: linear-gradient(to right, #6a00ff, #C71B1B);
    padding: 18px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    color: white;
    border: 1px solid #2e2e2e;
    transition: 0.25s ease;
    margin-top: 40px;
}

/* Hamburger standaard verbergen */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 600px) {

    .hamburger {
        display: block;
        color: white;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: linear-gradient(to right, #6a00ff, #C71B1B);
        margin-top: 10px;
        padding: 10px 0;
        border-radius: 10px;
    }

    .nav-links a {
        padding: 10px;
        display: block;
    }

    /* Actieve menu */
    .nav-links.active {
        display: flex;
    }
}