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

    --font-main: 'Outfit', sans-serif;

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

}


/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
  }
  /* 2. Remove default margin */
  * {
    margin: 0;
  }
  /* 3. Enable keyword animations */
  @media (prefers-reduced-motion: no-preference) {
    html {
      interpolate-size: allow-keywords;
    }
  }
  body {
    /* 4. Add accessible line-height */
    line-height: 1.7;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
  }
  /* 6. Improve media defaults */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }
  /* 7. Inherit fonts for form controls */
  input, button, textarea, select {
    font: inherit;
  }
  /* 8. Avoid text overflows */
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }
  /* 9. Improve line wrapping */
  p {
    text-wrap: pretty;
  }
  h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
  }


  body {
    font-family: var(--font-main);
    font-weight: var(--fw-regular);
    display: grid;
    min-height: 100vh;
    place-content: center;
    margin: 1rem;
    font-size: 15px;

    background-color: var(--slate-300)
  }

  .container {
    --container-padding: 1.2rem;
    
    display: grid;
    background-color: var(--primary-color);
    padding: var(--container-padding);
    border-radius: 1.3rem;
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
  }

.qr-img img {
    border-radius: 0.6rem;
    width: 100%;
}

.text {
    padding: 20px;
    width: 100;
}

h2 {
    line-height: 1.2;
    padding-bottom: 20px;
    padding-top: 10px;
    color: var(--slate-900);
}

p {
    color: var(--slate-500);
    line-height: 1.3;
}

 