:root{
    --Yellow: hsl(47, 88%, 63%);
    --White: hsl(0, 0%, 100%);
    --Grey: hsl(0, 0%, 50%);
    --Black: hsl(0, 0%, 7%);     
}

@font-face {
    font-family: 'Figtree';
    src: url(assets/fonts/Figtree-Italic-VariableFont_wght.ttf );
    src: url(assets/fonts/Figtree-VariableFont_wght.ttf);
}

*{
    margin: 0%;
    padding: 0%;
    font-family: Figtree, system-ui;
}

.container-parent{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    height: 100vh;
    background-color: var(--Yellow);
}

.container-card{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 375px;
    height: 500px;
    background-color: var(--White);
    border: 1.5px solid var(--Grey);
    border-radius: 18px;
    box-shadow: 7.5px 7.5px var(--Black);
}

.header-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    height: 200px;
    border-radius: 25px;
}

.primary-image{
    width: 350px;
    height: 225px;
    border-radius: 25px;
}

.center{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 350px;   
    gap: 10px;
}

.niche {
    background-color: var(--Yellow);
    font-size: 15.5px;
    font-weight: 800;
    padding: 5px 10px;
    margin: 0px 2.5px;
    border-radius: 5px;
}

.publish-date{
    font-weight: 600;
    font-size: 15px;
}

.desc{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 350px;
    gap: 15px;
}

.heading{
    text-decoration: none;
    color: var(--Black);
    font-weight: 800;
    font-size: 22px;
    transition: 0.1s;
}

.heading:hover{
    cursor: pointer;
}

.heading:active{
    cursor: pointer;
    color: var(--Yellow);
}

.desc-info{
    color: var(--Grey);
    font-size: 16px;
}

.profile{
    display: flex;
    align-items: center;
    gap: 7.5px;
}

.display-picture .dp{
    width: 40px;
    height: 40px;
}

.name{
    font-size: 16px;
    font-weight: 800;
}

.attribution{ 
    font-size: 15px; 
    font-weight: 600;
    text-align: center; 
}
.attribution a { 
    text-decoration: none;
    color: hsl(228, 45%, 44%); 
}