@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');



* {
font-family: "Figtree", sans-serif;
margin:0;
padding: 0;
box-sizing: border-box;
font-size: 16px;

}

:root {
    --Yellow: hsl(47, 88%, 63%);
    --White: hsl(0, 0%, 100%);
    --Gray-500: hsl(0, 0%, 42%);
    --Gray-950: hsl(0, 0%, 7%);
}

body{
    background-color: var(--Yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    cursor: pointer;
}


.card{
background-color: var(--White);    
display: flex;
border-radius: 10px;
border: 1px solid black;
flex-direction: column;
gap: 10px;
margin-top: 5px;
margin-bottom: 10px;
padding: 15px;
width:20%;
min-width: 280px;
box-shadow: 5px 5px 0px 0px rgba(0, 0, 0,1);

    img{
      
        border-radius: 10px;
    }

    .tag{
        background-color: var(--Yellow);
        border-radius: 5px;
        width: fit-content;
        padding:2px 8px;
        font-size: .7rem;
        font-weight: 700;
    }

    .date{

        font-size: .7rem;
    }

    .title{font-weight: 800;
    font-size: 1.2rem;

 &:hover{
    color:var(--Yellow);
 }


}
    .description{
        color:var(--Gray-500);
        font-size: .7rem;
        line-height: 1.1rem;
    }

    .profile{
        display: flex;
        align-items: center;
        gap:.5rem;
        
        img{
            width: 25px;
        }
        p{
            font-size: .7rem;
            font-weight: 800;
        }
    }
}



