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


:root {

    --White: hsl(0, 0%, 100%);

    --Slate-300: hsl(212, 45%, 89%);
    --Slate-500: hsl(216, 15%, 48%);
    --Slate-900: hsl(218, 44%, 22%);

    --fontt-family: "Outfit", serif;
    --font-weight-400: 400;
    --font-weight-700: 700;
}

@media screen and (min-width:370px) and (max-width:400px) {
    .card{
        width: 33vh !important;
    }

    .card-body .titulo {
        font-size: 1.4rem !important;
    }
    
    .card-body .descripcion {
        font-size: 1rem !important;
    }
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--fontt-family);
    background: var(--Slate-300);
}

body {
    height: 100vh;
    display: grid;
    place-items: center;
}

.card {
    width: 35vh;
    background: var(--White);
    padding: 20px;
    border-radius: 14px;
}

.card-imagen {
    border-radius: 10px;
    overflow: hidden;
}

.card-imagen img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-body {
    padding: 10px 10px;
    text-align: center;
}

.card-body .titulo {
    font-weight: var(--font-weight-700);
    color: var(--Slate-900);
    font-size: 1.5rem;
}

.card-body .descripcion {
    margin-top: 20px;
    font-weight: var(--font-weight-400);
    color: var(--Slate-500);
    font-size: 1.1rem;
}