/* styles.css */
body {
  font-family: 'Arial', sans-serif;
  background-color: #eaeaea;
  margin: 0;
  padding: 0;
}

.statistics {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  margin: 10px;
  border-radius: 5px;
}

.leaderboard {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  margin: 10px;
  border-radius: 5px;
}

h2 {
  color: #333;
}

ul#leaderboard-list {
  list-style-type: none;
  padding: 0;
}

ul#leaderboard-list li {
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
}

ul#leaderboard-list li:last-child {
  border-bottom: none;
}

/* Remove margin from loader-container */
.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: absolute; /* Add this to position loader-container */
  top: 0; /* Add this to align loader-container to the top */
  left: 0; /* Add this to align loader-container to the left */
  width: 100%; /* Add this to make loader-container full width */
  pointer-events: none; /* Allow interactions with content beneath */
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
