html {
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
}

body {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #eee;
  font-family: Arial, Helvetica, sans-serif;
}
body .wrapper {
  flex: 1;
  width: 90%;
  display: flex;
  max-width: 1000px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
body .wrapper .logo {
  max-width: 300px;
}
body .wrapper h1 {
  font-size: 22px;
  margin: 3em 0 0 0;
}
body .wrapper h2 {
  font-size: 26px;
  margin: 3em 0 0 0;
}
body .wrapper ul.products {
  flex: 1;
  gap: 0.5em;
  padding: 0;
  display: grid;
  flex-wrap: wrap;
  max-width: 1000px;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
}
@media screen and (max-width: 1000px) {
  body .wrapper ul.products {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}
@media screen and (max-width: 768px) {
  body .wrapper ul.products {
    grid-template-columns: repeat(1, minmax(300px, 1fr));
  }
}
body .wrapper ul.products li.product {
  display: flex;
  max-width: 300px;
  list-style: none;
  flex-direction: column;
}
body .wrapper ul.products li.product a {
  gap: 0.5em;
  padding: 10px;
  display: flex;
  border-radius: 12px;
  align-items: center;
  text-decoration: none;
  flex-direction: column;
  transition: background-color 0.2s ease;
}
body .wrapper ul.products li.product a:hover {
  background-color: #f1f9ff;
}
body .wrapper ul.products li.product a img {
  width: 100%;
  margin: 0 auto;
  border-radius: 8px;
}
body .wrapper ul.products li.product a .sold {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 8px;
  align-self: flex-start;
  color: rgb(101, 65, 24);
  background-color: #fff5c8;
}
body .wrapper ul.products li.product a .location {
  margin-top: 0;
  font-size: 12px;
  margin-bottom: -0.25em;
  align-self: flex-start;
  color: rgb(92, 92, 102);
}
body .wrapper ul.products li.product a h3 {
  margin: 0;
  font-size: 16px;
  overflow-wrap: anywhere;
  color: rgb(71, 71, 79);
}
body .wrapper ul.products li.product a .year_milage_price {
  display: flex;
  font-size: 16px;
  margin-top: 0.5em;
  font-weight: 700;
  align-self: stretch;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
}
body .wrapper ul.products li.product a .seller {
  font-size: 12px;
  margin-top: 0.5em;
  margin-bottom: -0.15em;
  align-self: flex-start;
  color: rgb(92, 92, 102);
}
body .wrapper ul.products li.product a .seller_extra {
  font-size: 12px;
  margin-top: -0.5em;
  align-self: flex-start;
  color: rgb(92, 92, 102);
}
body .footer {
  gap: 0.5em;
  display: flex;
  text-align: center;
  padding: 1em 0 2em 0;
  flex-direction: column;
  color: rgb(92, 92, 102);
}
body .footer .small {
  font-size: 12px;
}
body .footer br {
  display: none;
}
@media screen and (max-width: 768px) {
  body .footer br {
    display: block;
  }
}
body a {
  color: #000;
  text-decoration: underline;
}
body a:hover {
  color: #333;
  text-decoration: none;
}
body a:focus {
  border-radius: 4px;
  outline: 2px solid #00f;
}