body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

header {
  background-color: #333;
  color: white;
  padding: 10px 0;
  text-align: center;
}

nav ul {
  list-style-type: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin: 0 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

section {
  margin: 20px;
}

.car-listing {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.car {
  background-color: white;
  padding: 15px;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 250px;
  text-align: center;
}

.car img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.car-details h3 {
  font-size: 1.2em;
  margin: 10px 0;
}

button {
  padding: 10px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #555;
}

#sell-form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
}

#sell-form label,
#sell-form input,
#sell-form select {
  margin-bottom: 10px;
}

#sell-form input,
#sell-form select {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#sell-form button {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

#sell-form button:hover {
  background-color: #555;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 60%;
  text-align: center;
}

.close-btn {
  color: #aaa;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

video {
  width: 100%;
  border-radius: 8px;
  margin-top: 15px;
}
