body{
    box-sizing: border-box;
    margin: auto 0px
}

.container{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: hsl(47, 88%, 63%)
}

.blog-preview-container{
    width: 340px;
    padding: 15px;
    border-radius: 20px;
    background: white;
    z-index: 1;
    border: 1px solid black;
}

.blog-preview-image{
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.blog-preview-topic{
    font-size: 15px;
    padding: 10px 13px;
    background: hsl(47, 88%, 63%);
    color: black;
    font-weight: 800;
    width: max-content;
    border-radius: 5px;
    font-family: "Figtree", sans-serif;
}

.blog-preview-date{
    font-size: 13px;
    font-weight: 580;
    font-family: "Figtree", sans-serif;
}

.title{
    font-size: 23px;
    font-weight: bolder;
    font-family: "Figtree", sans-serif;
    display: block;
    cursor: pointer;
}

.title:active{
    color: hsl(47, 88%, 63%);
}

.subtitle{
    font-size: 16px;
    font-family: "Figtree", sans-serif;
    color: grey;
    line-height: 20px;
}

.blog-preview-user{
    display: flex;
    justify-content: left;
    align-items: center;
    margin-bottom: 7px;
}

.blog-preview-user img{
    width: 38px;
    height: 38px;
    border-radius: 100%;
    object-fit: cover;;
}

.blog-preview-user span{
    font-size: 15.8px;
    font-weight: 800;
    font-family: "Figtree", sans-serif;
    margin-left: 10px;
}

.background-container{
    width: 370px;
    height: 512px;
    background: black;
    border-radius: 20px;
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    margin-top: 7px;
    margin-left: 7px;
}