body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #e8e6e3;
    background-color: #181a1b;
    transform-origin: top left;
}

.navbar .logout {
    color: white;
    background: #732929;
}

.navbar .login {
    float: right;
    display: flex;
    align-items: center;
    padding: 10px;
    height: 28px;
    background-color: #40532e;
}

.navbar .login:hover {
    background-color: #ddd;
    color: black;
}

.login-image {
    width: auto; /* Adjust the width as needed */
    height: 28px; /* Maintain aspect ratio */
    margin-right: 12px;
}

.navbar {
    background-color: #333;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 48px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    height: 20px;
    font-size: 15px;
    font-weight: normal;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

.navbar .right {
    float: right;
    display: flex;
    align-items: center;
}

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.content {
    max-width: 900px;
    width: 100%;
    padding: 16px;
    margin-top: 80px;
    background-color: #242424;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 23px;
}

.content-wide {
    max-width: 1300px;
    width: 100%;
    padding: 16px;
    margin-top: 80px;
    background-color: #242424;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 23px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid black;
    border-color: rgb(140, 130, 115);
}

th, td {
    padding: 5px;
    text-align: left;
}

th {
    background-color: rgb(31, 34, 35);
    cursor: pointer;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 20%;
    cursor: pointer;
    margin-left: 10px;
}

.rank-image {
    width: 50px; /* Set the width you want */
    height: auto; /* Maintain aspect ratio */
}

.container a {
    color: #cecece;
    font-weight: bold;
    text-decoration: underline;
}

.container a:visited {
    color: #cecece;
    font-weight: bold;
    text-decoration: underline;
}

.profile-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-right: 20px;
}

.profile-info {
    flex-grow: 1;
}

.profile-info h1 {
    margin-top: 0;
    margin-bottom: 10px;
}

.profile-info p {
    margin: 5px 0;
}

.content-homepage {
    height: 150px;
}