@import url("https://fonts.googleapis.com/css2?family=Outfit&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@700&display=swap");

:root {
  --white: hsl(0, 0%, 100%);
  --slate-300: hsl(212, 45%, 89%);
  --slate-500: hsl(216, 15%, 48%);
  --slate-900: hsl(218, 44%, 22%);
}

html {
  box-sizing: border-box;
  font-size: 62.5%; /* 1rem = 10px */
}

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

body {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  font-optical-sizing: auto;
  background-color: var(--slate-300);
  color: var(--slate-900);
}

.container {
  display: grid;
  place-items: center;
  justify-content: center;
  min-height: 100vh;
}

.card {
  background-color: var(--white);
  border-radius: 2rem;
  padding: 1.6rem;
  width: 100%;
  max-width: 32rem;
  text-align: center;
}

.card-image {
  width: 100%;
  border-radius: 1rem;
}

.card-content {
  padding: 1.6rem;

  .card-title {
    font-size: 2.2rem;
    line-height: 120%;
    letter-spacing: 0;
    font-weight: 700;
    margin-block-end: 1.6rem;
  }

  .card-description {
    line-height: 140%;
    letter-spacing: 0.2px;
  }
}

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