* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 60px;
    grid-template-areas:
        "content"
        "footer";

    height: 100vh;
}

body {
    
    background-image: url("images/bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

main {
    grid-area: content;
}

.cards {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    
}

.card {
    background: #f0ecec;
    padding: 40px 30px;
    border-radius: 12px;
    max-width: 500px;        
    width: 90%;              
    text-align: center;
    line-height: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.20);
    color: #4b4747;
    margin-top: 50px;
}

.container main section article img {
    width: 350px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 1px solid #4b4747;
}

.footer {
    grid-area: footer;
    text-align: center;
    padding: 20px;
    color: #d4cbcb;
    border-top: 1px solid #d4cbcb;
}

@media (max-width: 600px) {
    body {
        height: auto;              
        min-height: 100vh;        
        padding: 40px 0;             
        display: flex;
        flex-direction: column;
        justify-content: center;    
        align-items: center;
    }

    .card {
        width: 100%;          
        padding: 30px 20px;
    }

    .card img {
        width: 180px;      
        margin-top: 10px;
    }
}