/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212; /* Dark background */
  color: #E0E0E0; /* Light text */
  transition: background-color 0.3s, color 0.3s; /* Smooth transition */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #1E1E1E;
  color: #BB86FC;
  padding: 20px;
  border-bottom: 1px solid #333;
}

header h1 {
  margin-bottom: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav ul li a {
  color: #BB86FC;
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #3700B3;
}

main {
  flex: 1;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.overview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background-color: #1F1B24;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  text-align: center;
  font-weight: bold;
  font-size: 1.3em;
  color: #BB86FC;
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s;
  user-select: none;
}

.card:hover {
  background-color: #3700B3;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
}

.charts {
  background-color: #1F1B24;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

footer {
  background-color: #1E1E1E;
  color: #BB86FC;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
  font-size: 0.9em;
}

header {
  /* Use flexbox on the header to align items */
  display: flex;
  justify-content: space-between; /* Pushes h1 to the left and nav to the right */
  align-items: center; /* Vertically centers the items */
}

header nav ul {
  list-style: none; /* Removes bullet points */
  padding: 0;
  margin: 0;
  display: flex; /* Makes the list items a flex container */
  justify-content: center; /* Centers the links horizontally */
  gap: 20px; /* Adds space between the links */
}