@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

:root {
    --clr-White: hsl(0, 0%, 100%);
    --clr-Slate300: hsl(212, 45%, 89%);
    --clr-Slate500: hsl(216, 15%, 48%);
    --clr-Slate900: hsl(218, 44%, 22%);
    --card-shadow: 2px 4px 25px hsl(211, 21%, 80%);
    --font-size-100: 15px;
    --font-size-200: 1.5rem;
}

body {
    height: 100vh;
    width: 100vw;
    background-color: var(--clr-Slate300);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    width: 340px;
    height: 520px;
    padding: 1rem;
    background-color: var(--clr-White);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    box-shadow: var(--card-shadow);
}
figure {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.description {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.description h1 {
    font-size: var(--font-size-200);
    color: var(--clr-Slate900);
    font-weight: 700;
    text-align: center;
}
.description p {
    font-weight: 400;
    font-size: var(--font-size-100);
    color: var(--clr-Slate500);
    text-align: center;
    max-width: 25ch;
}
