body {
  margin:0;
  font-family: 'Fredoka One', sans-serif;
  background-color: #313131;
  background-image: radial-gradient(rgba(255,255,255,0.171) 2px, transparent 0);
  background-size: 30px 30px;
}

header {
  padding: 1rem;
  text-align: center;
  color: white;
}

header input {
  padding: 0.5rem;
  border-radius: 8px;
  border: none;
  width: 90%;
  max-width: 400px;
  margin-top: 0.5rem;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 1rem;
  padding: 1rem;
}

.card {
  background-color: black;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
}

.card .image {
  width: 100%;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #222;
  border-radius: 8px;
}

.card .image img {
  max-width: 100%;
  max-height: 100%;
}

.card .title {
  color: white;
  font-weight: bold;
  text-align: center;
}

.card .action {
  display: flex;
  justify-content: center;
}

.card .action button, .card .action a {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  background-color: #00a3fe;
  color: black;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.card .action button:hover, .card .action a:hover {
  background-color: #0080c0;
}
