* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --White: hsl(0, 0%, 100%);

  --Slate-300: hsl(212, 45%, 89%);
  --Slate-500: hsl(216, 15%, 48%);
  --Slate-900: hsl(218, 44%, 22%);
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--Slate-300);
  color: var(--Slate-900);
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 18rem;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--White);
  border-radius: 1rem;
}

.card-image {
  width: 100%;
}

img {
  width: 100%;
  border-radius: 0.5rem;
}

h1 {
  font-size: 1.25rem;
  max-width: 17rem;
  color: var(--Slate-900);
}

p {
  font-size: 0.85rem;
  max-width: 15rem;
  color: var(--Slate-500);
  margin-bottom: 1.5rem;
}

.attribution {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 1rem;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

@media (max-width: 440px) {
  body {
    padding: 1.5rem;
    height: 100%;
  }
}
