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

:root {
  font-size: 10px;
  font-family: "Outfit";

  --white-color: hsl(0, 0%, 100%);
  --slate300: rgb(214, 226, 240);
  --slate500: rgb(104, 119, 141);
  --slate900: rgb(31, 50, 81);

  --width-mobile:375px;
  --width-desktop:1440px;
}

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

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  padding: 4rem 1rem;
  
  width: 100dvw;

  background-color: var(--slate300);
}

.card {
  background-color: var(--white-color);

  max-width: min(90%, 275px);

  padding: 1.6rem 1.6rem 3.2rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;

  border-radius: 1.4rem;
}

.card img {
  background-color: var(--slate500);
  
  width: 100%;

  border-radius: 1rem;
}

.card p {
  text-align: center;
}

.card p:nth-of-type(1) {
 font-size: 1.9rem;
 font-weight: 700; 
 color: var(--slate900);
}

.card p:nth-of-type(2) {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--slate500);
}

footer {
  font-size: 1.4rem;
  margin-top: 2rem;

  color: var(--slate900);
}

footer p {
  margin-bottom: 0.3rem;
}

.attribution { font-size: 11px; text-align: center; }

.attribution a { color: hsl(228, 45%, 44%); }