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

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

body {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: hsl(212, 45%, 89%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    height: 100vh;
    /* Full viewport height */
    margin: 0;

    /* Add this to ensure proper spacing */
    position: relative;

}

.card {
    border-radius: 16px;
    padding: 16px;

    width: 320px;
    height: auto;
    max-height: 480px;

    background-color: white;

    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center elements horizontally */
    text-align: center;
    /* Add subtle shadow */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

h3 {
    margin: 15px 0;

    /* Limit width for better text margins */
    width: 90%;
    font-size: 18px;
    font-weight: 700;
    color: hsl(218, 44%, 22%);
}

p {
    color: hsl(216, 15%, 48%);
    /* Limit width for better text margins */
    width: 85%;
    font-size: 15px;
    line-height: 1.4;

}

.footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.footer p {
    /* Override the width constraint from the general p selector */
    width: 100%;
    color: hsl(216, 15%, 48%);
}


/* Responsive */

@media screen and (max-width: 400px) {
    .card {
        width: 300px;
        padding: 14px;
    }

    h3 {
        font-size: 16px;
    }

    p {
        font-size: 14px;
    }
}

