/* General Styles */
html, body {
  height: 100%;
  width: 100%;
  background-color: #dedede;
  color: black;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  transition: background-color 0.5s ease, color 0.5s ease;
}

header {
  width: 100%;
  height: 70px;
  padding: 10px 0;
  background-color: #c8c8c8;
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.5s ease, color 0.5s ease;
}

#darkModeToggle {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.divider {
  width: 100%;
  height: 2px;
  background-color: #7d7d7d;
  position: fixed;
  top: 70px;
  z-index: 9;
}

main {
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main .content {
  width: 100%;
  max-width: 800px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.5s ease, color 0.5s ease;
}

.darkLightText {
  color: #646464;
}

/* Common & Simple Styles */
.orbitron {
  font-family: 'Orbitron', sans-serif;
}
.hidden {
  display: none;
}
.center {
  align-self: center;
  text-align: center;
  align-items: center;
  vertical-align: middle;
}
.centerForcefully { /* Use only when .center doesn't work, avoid frequent use to prevent issues. */
  display: flex;
  align-items: center;
  justify-content: center;
}
.scrollable {
  overflow-y: auto;
}

/* Dark Mode Styles */
html.dark-mode, body.dark-mode {
  background-color: #1e1e1e;
  color: white;
}

header.dark-mode {
  background-color: #282828;
  color: white;
}

main .content.dark-mode {
  background-color: #323232;
  color: white;
}

.divider.dark-mode {
  background-color: #afafaf;
}

.previousRaces.dark-mode {
  background-color: #282828;
  color: white;
}

/* Add your styles here */
.optionRow {
  border: 2px solid #7d7d7d;
}

.centerCanvas {
  display: block;
  margin: 20px auto;
  border: 2px solid #7d7d7d;
}

.btn {
  margin: 10px;
}

.previousRaces {
  width: 100%;
  max-width: 800px;
  margin: 20px 0;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.previousRaces ul {
  list-style-type: none;
  padding: 0;
}

.previousRaces li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
