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

  /* Font sizes */
  --fs-title: 1.375rem;
  --fs-text: 0.9375rem;

  /* Border radius */
  --radius: 20px;
  --radius-sm: 10px;

  /* Shadow */
  --shadow: 0 25px 25px rgba(0, 0, 0, 0.05);
}

.attribution { font-size: 11px; text-align: center; }
.attribution a { color: var(--dark-blue); }
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  background-color: var(--light-gray);
  font-family: 'Outfit', sans-serif;
}

main {
  width: 100%;
  min-height: 95%;
  justify-content: center;
  display: flex;
}

article.card {
  width: 20rem;
  height: 499px;
  align-self: center;
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1rem 2.5rem;
  gap: 1rem;
  display: grid;
  text-align: center;
  box-shadow: var(--shadow);
}

.container {
  padding: 0 16px;
  gap: 16px;
  display: grid;
}

.title {
  font-weight: 700;
  color: var(--dark-blue);
  font-size: var(--fs-title);
  line-height: 120%;
}

.description {
  font-weight: 400;
  color: hsl(216, 15%, 48%);
  font-size: var(--fs-text);
  letter-spacing: 0.2px;
  line-height: 140%;
}

img {
  border-radius: var(--radius-sm);
  width: 100%;
}

@media (max-width: 320px) {
  article.card {
    width: 80%;
  }
}