:root {
  --clr-white: hsl(0, 0%, 100%);
  --clr-light-gray: hsl(212, 45%, 89%);
  --clr-grayish-blue: hsl(220, 15%, 55%);
  --clr-dark-blue: hsl(218, 44%, 22%);

  --ff-outfit: 'Outfit', sans-serif;

  --fw-regular: 400;
  --fw-bold: 700;
}

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

body {
  font-family: var(--ff-outfit);
  background-color: var(--clr-light-gray);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

p {
  font-size: 15px;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card {
  width: 300px;
  background-color: var(--clr-white);
  padding: 1em;
  border-radius: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 1.3em;
  align-items: center;
  box-shadow: 3px 3px 25px 1px rgba(0, 0, 0, 0.267);
}

.card img {
  border-radius: 0.7em;
}

.card p {
  text-align: center;
  width: 90%;
}

.card p:first-of-type {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--clr-dark-blue);
}

.card p:last-of-type {
  color: var(--clr-grayish-blue);
  margin-bottom: 1em;
}

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
