/* =========================
   ROOT VARIABLES
========================= */
:root {
  /* Colors */
  --slate-900: #1F314F;
  --slate-500: #68778D;
  --slate-300: #D5E1EF;
  --white: #FFFFFF;

  /* Typography */
  --font-primary: 'Outfit', sans-serif;

  --text-preset-1-size: 1.375rem;
  --text-preset-1-line-height: 120%;
  --text-preset-1-spacing: 0px;
  --text-preset-1-weight: 700;

  --text-preset-2-size: 0.9375rem;
  --text-preset-2-line-height: 140%;
  --text-preset-2-spacing: 0.2px;
  --text-preset-2-weight: 400;

  /* Spacing */
  --space-500: 2.5rem;
  --space-300: 1.5rem;
  --space-200: 1rem;

}

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

/* =========================
   BODY
========================= */
body {
  font-family: var(--font-primary);
  background: var(--slate-300);
  color: var(--slate-900);
  padding: 2rem 1rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
    background: var(--white);
    padding: var(--space-200) var(--space-200)  var(--space-500) var(--space-200);
    border-radius:var(--space-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;

    box-shadow: 0 25px 25px rgba(0, 0, 0, 0.05);
}

.card img {
    width: 100%;
    display: block;
    border-radius: var(--space-200);
}

h1 {
    font-size: var(--text-preset-1-size);
    line-height: var(--text-preset-1-line-height);
    letter-spacing: var(--text-preset-1-spacing);
    font-weight: var(--text-preset-1-weight);
    padding: var(--space-200) 0;
    text-align: center;
}

figcaption {
    font-size: var(--text-preset-2-size);
    line-height: var(--text-preset-2-line-height);
    letter-spacing: var(--text-preset-2-spacing);
    font-weight: var(--text-preset-2-weight);
    padding: var(--space-200) 0;
    text-align: center;
}

@media (min-width: 768px) {
  body {
    padding: 5rem 1.5rem;
  }
}
