.card {
  width: clamp(10rem, 50%, 24rem);
  padding: 0.5rem 1rem;
  color: white;
  background-color: teal;
}