/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
    --White: hsl(0, 0%, 100%);
    --bg-color: hsl(212, 45%, 89%);
    --txt-color: hsl(220, 15%, 55%);
    --title-colour: hsl(218, 44%, 22%);

    --fw-bold: 700;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.938rem;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    text-align: center;
}

.card {
    background-color: var(--White);
    padding: 1rem;
    border-radius: 25px;
    max-width: 20rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

img {
    border-radius: 10px;
}

.text-content {
    padding: 0.5rem;
}

h1 {
    color: var(--title-colour);
    font-size: 1.4rem;
    font-weight: var(--fw-bold);
    line-height: 1.2;
    margin: 1rem 0;
}

p {
    color: var(--txt-color);
    margin-bottom: 1rem;
}