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

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

    /* Typography */
    --font-family: 'Outfit', serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-slate-300);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    flex-direction: column;
    background-color: white;
    width: 320px;
    border-radius: 20px;
    padding: 16px 16px 40px 16px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.1);
}

.card__image {
    border-radius: 10px;
}

.card__content {
    padding-left: 16px;
    padding-right: 16px;
}

.card__title {
    margin-top: 24px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    color: var(--color-slate-900);
}

.card__description {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.2px;
    text-align: center;
    color: var(--color-slate-500);
}

.attribution {
    font-size: 11px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

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