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

* {
    /* font-size: 16px; */
    font-family: "Figtree", sans-serif;
    margin: 0;
    padding: 0;
}

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

#container{
    background-color: var(--White);
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 8px 8px;
    width: 20rem;
    border: 1px solid var(--Gray-950);
}

.banner{
    width: 20rem;
    border-radius: 8px;
    margin-bottom: 10px;
}

span{
    display: block;
}

.category{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    height: 4vh;
    /* padding: 7.5px; */
    border-radius: 5px;
    background-color: var(--Yellow);
    font-weight: 800;
    margin: 10px 0px;
}

.published{
    margin: 1rem 0px;
}

.published span{
    font-weight: 600;
    color: var(--Gray-950);
}

h1{
    /* font-size:larger; */
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 15px;
}

h1 a{
    text-decoration: none;
    color: black;
}

h1 a:hover{
    color: var(--Yellow);
}

p{
    /* font-weight: 100; */
    color: var(--Gray-500);
    font-size: 16px;
    margin: 12px 0px;
}

.details{
    display: flex;
    align-items: center;
    padding: 12px 0px 6px;
}

.details img{
    width: 32px;
    height: 32px;
    padding-right: 15px;
}

.details span{
    font-size: 14px;
    font-weight: 900;
}

@media (max-width: 375px){
    
    #container{
        width: 18rem;
        border: 1px solid var(--Gray-950);
    }

    .banner{
        width: 18rem;
    }

    .published span{
        font-size: 0.80rem;
    }

    h1{
        font-size: 1.30rem;
    }

    p{
        font-size: 0.90rem;
    }
}