@import url("https://fonts.googleapis.com/css2?family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Quantico, sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 20vh;
  background-color: #bbbbbf;
  background-image: url(image/alex-suprun-AHnhdjyTNGM-unsplash.jpg);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: rgb(235, 225, 134);
  text-shadow: 3px 4px 5px #000000;
  font-size: 3.5rem;
}

#submit-btn {
  background-color: rgb(20, 173, 173);
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.15);
  border-radius: 6px;
  padding: 6px 16px;
  height: 40px;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 1px;
  font-size: 1.1rem;
}

#submit-btn:hover {
  background-color: #0078d4;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(0, 120, 212, 0.22);
}
#car-list {
  list-style: none;
  padding: 0;
}

#car-list li {
  background: rgba(128, 126, 126, 0.5);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 8px 0;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

#car-list h3 {
  font-size: 1.2rem;
  color: rgb(240, 238, 238);
}

#car-list input[type="checkbox"] {
  accent-color: #0078d4;
  width: 20px;
  height: 20px;
}

#car-list button {
  background: maroon;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

#car-list button:hover {
  background: #d11a2a;
}
.car-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.gotten {
  text-decoration: line-through;
  color: #444444;
}
