.white-bg {
    background-color: hsl(0, 0%, 100%);
}

.slate-300-bg {
    background-color: hsl(212, 45%, 89%);
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    text-align: center;
    font-family: outfit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

h1 {
    color: hsl(218, 44%, 22%);
    line-height: 120%;
    font-size: 22px;
    letter-spacing: 0px;
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

p {
    color: hsl(216, 15%, 48%);
    font-size: 15px;
    line-height: 140%;
    letter-spacing: 0.2px;
    margin: 0;
    margin-bottom: 24px;
    font-weight: 400;
}

.card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 320px;
    max-width: 90vw;
    height: fit-content;
    align-items: center;
}
@media (min-width: 90rem) {
    .card {
        width: clamp(20rem, 20vw, 30vw);
    }
}

.card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.attribution { 
    font-size: 11px;
    text-align: center;
    margin-top: 1rem;
}

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