body {
  background-color: #800000;
  color: white;
  font-family: Arial, sans-serif;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  color: #ADD8E6;
  text-decoration: underline;
}

header {
  background-color: #660000;
  padding: 20px;
  text-align: center;
}

nav a {
  margin: 10px;
  padding: 5px 10px;
  border-radius: 5px;
}

nav a:hover {
  background-color: #a00000;
}

main {
  padding: 30px;
  text-align: center;
}

table {
  width: 90%;
  margin: auto;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  border: 1px solid white;
  padding: 10px;
}

form {
  width: 80%;
  margin: auto;
  background-color: #660000;
  padding: 20px;
  border-radius: 10px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  font-weight: bold;
}

input[type="submit"] {
  background-color: white;
  color: #800000;
  cursor: pointer;
}

footer {
  background-color: #660000;
  text-align: center;
  padding: 15px;
}

#wrapper {
  border: 1px solid white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background-color: #660000; 
}

.car-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.car-card, .empty-card {
  width: 30%;
  min-width: 280px;
  max-width: 320px;
  border-radius: 10px;
  background-color: #660000;
  border: 1px solid white;
  padding: 15px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
  text-align: center;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.car-card:hover, .empty-card:hover {
  transform: scale(1.03);
  transition: 0.3s ease;
  box-shadow: 0 0 15px #fff;
}

.empty-card {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  height: 250px;
  background-color: #550000;
  cursor: pointer;
}

.table-wrapper {
  width: 95%;
  margin: auto;
  overflow-x: auto;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 16px;
  background-color: #660000;
  color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.styled-table th, .styled-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid white;
}

.styled-table thead {
  background-color: #990000;
}

.styled-table tbody tr:nth-child(even) {
  background-color: #730000;
}

.styled-table tbody tr:hover {
  background-color: #a00000;
  transition: background-color 0.3s ease;
}
