@font-face {
  font-family: comic-sans-gooder;
  src: url('comicsans-font/Ldfcomicsans-jj7l.ttf') format('truetype'),
	url('comicsans-font/Ldfcomicsansbold-zgma.ttf') format('truetype'), 
	url('comicsans-font/Ldfcomicsanshairline-5PmL.ttf') format('truetype'),
	url('comicsans-font/Ldfcomicsanslight-6dZo.ttf') format('truetype');
  font-weight: normal;
}

* {
  box-sizing: border-box;
  font-family: comic-sans-gooder;
  font-weight: bold;
}

body {
  margin: 0;
  background-color: #fff;
  color: #000;
  transition: background-color 0.3s, color 0.3s;
}

/* Disclaimer */
.disclaimer {
  background-color: #290000; /* dark red */
  color: #ff4d4d;
  text-align: center;
  font-weight: bold;
  padding: 12px;
  font-size: 1rem;
}


/* Header */
header {
  background: linear-gradient(180deg, #7ec0ee, #4a90e2); /* Lighter baby blue gradient */
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 2px solid rgba(0,0,0,0.1);
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.header-top-left {
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.small-logo {
  height: 50px;
  margin-right: 10px;
}

.header-title {
  margin-top: 10px;
}

/* Navigation */
.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #333;
  display: flex;
  align-items: center;
}

.topnav li {
  display: inline;
}

.topnav a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
}

.topnav a:hover {
  background-color: #4da6ff;
}

.topnav a.active {
  background-color: #4caf50;
}

.topnav .right {
  margin-left: auto;
}

#modeToggle {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 14px 20px;
  transition: background-color 0.3s;
}

#modeToggle:hover {
  background-color: #4da6ff;
  border-radius: 5px;
}

/* Main Content */
main {
  padding: 20px;
}

.flex-container {
  display: flex;
  gap: 20px;
  margin: 20px;
}

.left-column,
.right-column {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
}

.left-column {
  flex: 1;
}

.right-column {
  flex: 2;
}

.about-image,
.about-fill-image {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 10px;
}

.image-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  background-color: #4da6ff;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #0073e6;
}

.btn.disabled {
  background-color: #888;
  cursor: not-allowed;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px 0;
}

/* Dark Mode */
.dark-mode {
  background-color: #121212;
  color: #f0f0f0;
}

.dark-mode header {
  background-color: #1e1e1e;
}

.dark-mode .topnav {
  background-color: #111;
}

.dark-mode .topnav a {
  color: #ddd;
}

.dark-mode .topnav a:hover {
  background-color: #444;
}

body.dark-mode .left-column,
body.dark-mode .right-column {
    background-color: #1e293b; /* same as games page car color */
    color: #ccc;
}

.dark-mode footer {
  background-color: #111;
}
