 body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #1a1a1a;
  color: #ffffff;
}

#main-header {
  background-color: #cc0000;
  color: white;
  text-align: center;
  padding: 25px;
}

#main-header p {
  color: #ffcccc;
  margin: 0;
}

.section {
  background-color: #2a2a2a;
  margin: 20px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #cc0000;
}

.section h2 {
  color: #cc0000;
  margin-top: 0;
}

#cars-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

#cars-table caption {
  font-size: 14px;
  color: #aaaaaa;
  margin-bottom: 8px;
}

#cars-table th {
  background-color: #cc0000;
  color: white;
  padding: 12px;
  border: 1px solid #ff3333;
  text-align: center;
}

#cars-table td {
  padding: 10px 12px;
  border: 1px solid #444444;
  text-align: center;
  color: #ffffff;
}

#cars-table tr:nth-child(even) {
  background-color: #333333;
}

#cars-table tr:nth-child(odd) {
  background-color: #2a2a2a;
}

#brand-cell {
  background-color: #cc0000;
  font-weight: bold;
  color: white;
}

#table-footer {
  background-color: #111111;
  color: #aaaaaa;
  font-size: 13px;
  font-style: italic;
}

#featured-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #cc0000;
}

#image-cell {
  padding: 15px;
  width: 260px;
  vertical-align: top;
}

.car-image {
  width: 100%;
  border-radius: 6px;
  border: 3px solid #cc0000;
}

#text-cell {
  padding: 15px;
  vertical-align: top;
  border-left: 2px solid #cc0000;
}

#text-cell h3 {
  color: #cc0000;
  margin-top: 0;
}

#text-cell p {
  margin: 6px 0;
  font-size: 15px;
}

#tictactoe {
  border-collapse: collapse;
  margin: 10px auto;
}

.ttt-cell {
  width: 80px;
  height: 80px;
  border: 4px solid #cc0000;
  text-align: center;
  vertical-align: middle;
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
  background-color: #333333;
}

#car-form {
  max-width: 500px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #cccccc;
  font-weight: bold;
  font-size: 14px;
}

.form-group input[type="text"],
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #555555;
  border-radius: 4px;
  background-color: #333333;
  color: white;
  font-size: 14px;
  box-sizing: border-box;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}

.checkbox-group label {
  display: inline;
  font-weight: normal;
  color: #ffffff;
}

.form-group input[type="color"] {
  width: 60px;
  height: 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: none;
}

meter {
  width: 200px;
  height: 20px;
}

.meter-label {
  margin: 4px 0 0;
  font-size: 13px;
  color: #aaaaaa;
}

#submit-btn {
  background-color: #cc0000;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  font-weight: bold;
}

#submit-btn:hover {
  background-color: #ff0000;
}

#main-footer {
  background-color: #cc0000;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}