body {
  font-family: Playwrite DK Loopet, sans-serif;
  font-weight: 400;
  background-color: #09090b;
  color: #ea580c;
  margin: 0;
  padding: 2rem;
}

header {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h1 {
  color: #fafafa;
  font-size: 5rem;
}

.search-input {
  padding: 0.5rem;
  font-size: 1rem;
  width: 100%;
  max-width: 600px;
  height: 3rem;
  border: 1px solid rgb(109, 60, 34);
  border-radius: 8px;
  background-color: #0c0a09;
  color: #ea580c;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: start;
}

.form-group label {
  font-family: "Noto Sans", sans-serif;
  font-size: 0.85rem;
  color: #fafafa;
}

.form-input {
  padding: 0.5rem;
  font-size: 1rem;
  width: 100%;
  max-width: 600px;
  height: 3rem;
  border: 1px solid rgb(109, 60, 34);
  border-radius: 8px;
  background-color: #0c0a09;
  color: #ea580c;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.card {
  background: #0c0a09;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #444;
  text-decoration: none;
}

.card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  border-radius: 4px;
  display: block;
  margin-bottom: 0.75rem;
  object-fit: cover;
  object-position: top;
}

.card-title {
  font-family: "Noto Sans", sans-serif;
  font-size: 0.9rem;
  color: #ea580c;
  overflow-wrap: break-word;
  margin-bottom: 0.2rem;
}

.card-subtitle {
  font-family: "Noto Sans", sans-serif;
  font-size: 0.8rem;
  color: #a8a29e;
}

.add-form {
  display: flex;
  gap: 0.5rem;
  align-items: end;
}

button {
  background-color: #ea580c;
  color: #fafafa;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  white-space: nowrap;
  height: 48px;
}

.sub-header {
  margin-top: 2rem;
}

@media screen and (max-width: 768px) {
  .add-form {
    flex-direction: column;
  }
}
