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

body{
    margin: 0;
    padding: 0;
    font-family: "Outfit", sans-serif;
}
.container{
    /* border: 1px solid; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100vw;
    height: 100vh;
    background-color: hsl(47, 88%, 63%);
}

.card{
    border: 1px solid;
    width: 24rem;
    background: #fff;
    padding: 1.4rem;
    border-radius: 1rem;
    box-shadow: 0.8rem 0.5rem #000;
}

.card-img{
    width: 100%;
    border-radius: 0.8rem;
}

.category{
    background-color: hsl(47, 88%, 63%);
    font-weight: 500;
    padding: 0.4rem 0.6rem;
    border-radius: 0.4rem;
    display: inline-block;
    margin-top: 0.8rem;
}
.date-of-publish{
    color: hsl(0, 0%, 7%);
}
.title{
    color: hsl(47, 88%, 63%);
    cursor: pointer;
    font-weight: 800;
}

.desc{
    color: hsl(0, 0%, 42%);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.author{
    display: flex;
    gap: 1rem;
    align-items: center;
}


@media screen and (max-width: 26.6rem) {
    .card{
        width: 75%;
         box-shadow: 0.5rem 0.5rem #000;
         padding: 1.2rem;
    }

    .date-of-publish{
        font-size: 0.9rem;
    }

    .title{
        color: hsl(0, 0%, 7%);
        font-size: 1.4rem;
    }
    .desc{
        font-size: 1rem;
    }

    .author h4{
        font-size: 0.9rem;
    }
}