
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --bg-color: #f9f9f9;
  --text-color: #333;
  --primary-color: #2196f3;
  --button-bg: #fff;
}

body.dark {
  --bg-color: #121212;
  --text-color: #eee;
  --primary-color: #0d6efd;
  --button-bg: #333;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  width: 90%;
  max-width: 600px;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

h1 {
  color: var(--text-color);
}

#date-display {
  font-size: 1.5em;
  margin-bottom: 20px;
}

#buttons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.day-button {
  flex: 1 1 30%;
  max-width: 30%;
  margin: 5px;
}

#result {
  font-size: 1.2em;
  margin-top: 20px;
}

#stats {
  margin-top: 30px;
}

#achievements-container {
  margin-top: 30px;
}

.badge {
  display: inline-block;
  margin: 5px;
  padding: 5px 10px;
  border: 1px solid var(--primary-color);
  background-color: var(--button-bg);
  color: var(--primary-color);
  border-radius: 4px;
}

#next-button,
#reset-button,
#theme-toggle,
#explanation-toggle,
#training-mode-toggle,
.link-button {
  margin: 10px 5px;
}
#reset-button {
  margin-left: 10px;
}

.btn {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-flat {
  color: var(--primary-color);
}

@media (max-width: 600px) {
  .day-button {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

