:root {
    --clr-100: hsl(0, 0%, 100%);
    --clr-400: hsl(212, 45%, 89%);
    --clr-500: hsl(220, 15%, 55%);
    --clr-800: hsl(218, 44%, 22%);

    --ff-primary: 'Outfit', sans-serif;

    --ff-body: var(--ff-primary);
    --ff-heading: var(--ff-primary);

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

    --fs-400: 15px;
    --fs-700: 23px;

    --fs-body: var(--fs-400);
    --fs-primary-heading: var(--fs-700)
}

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

/* Remove default margin */
* {
    margin: 0;
    padding: 0;
    font: inherit;
}

/* 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;
}

/* 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;
    }
}

/* Utility classes */
/* color */
.text-clr-100 {
    color: var(--clr-100);
}

.text-clr-400 {
    color: var(--clr-400);
}

.text-clr-500 {
    color: var(--clr-500);
}

.text-clr-800 {
    color: var(--clr-800);
}

.bg-clr-100 {
    background-color: var(--clr-100);
}

.bg-clr-400 {
    background-color: var(--clr-400);
}

.bg-clr-500 {
    background-color: var(--clr-500);
}

.bg-clr-800 {
    background-color: var(--clr-800);
}

/* font */

.fw-bold {
    font-weight: var(--fw-bold);
}

.fw-regular {
    font-weight: var(--fw-regular);
}

.fs-primary-heading {
    font-size: var(--fs-primary-heading);
}

/* general styling  */
body {
    padding: 1em;
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    background-color: var(--clr-400);
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    align-items: center;
}

.container {
    margin-bottom: 1em;
    max-width: 350px;
    background-color: var(--clr-100);
    padding: 1em;
    border-radius: 1em;
}

.text-part {
    padding: 1em;
    display: grid;
    gap: 0.5em;
    text-align: center;
}

img {
    border-radius: 1em;
}