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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Figtree', sans-serif;
    Font-size:16px; 
    background-color: hsl(47, 88%, 63%);
}

main{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 1.5rem;
}
.card{
    max-width: 24rem;
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 1.5rem;
    border-radius: 1.75rem;
    border: solid 1.5px hsl(0, 0%, 0%);
    box-shadow: 12px 14px 2px rgba(0, 0, 0, 1);
}

.card__img{
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    border-radius: .5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

}

.info{
    background-color:hsl(47, 88%, 63%);
    padding: .5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width:35%;
    border-radius: .5rem;
    text-align: center;
    font-weight: 800;

}

.card__title{
    font-weight: 800;
    font-size: 1.5rem;
    margin-top:1rem ;
    margin-bottom: 1rem;
}

.card__text{
    font-weight: 500;
    color:hsl(0, 0%, 42%);
    margin-bottom: 1rem;
    line-height: 1.5rem;
}

.card__author{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card__author-img{
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}
.card__author-name{
    font-weight: 800;
}