* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family:  'Noto Sans', sans-serif;
}

:root{
    --thin-borders: 1px solid;
    --full-width: 100%;
}

html{
    font-size: 16px;
}

body{
    background-image: url("./images/background.png");
    background-size: 100% 100vh;
    background-repeat: no-repeat;
}


.card-container{
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    align-items: center;
    height: 100vh;
}

.card{
    display: flex;
    flex-direction: column;
    width: 285px;
    height: 420px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: white;
}

.card > .blog-image{
    width: var(--full-width);
    height: 45%;
}

.card > .details{
    width: var(--full-width);
    height: 55%;
    padding: 20px;
    margin: 0;
}

.blog-image > img {
    width: var(--full-width);
    height: 100%;
    border-radius: 10px 10px 0 0;
}

.details > button{
    width: fit-content;
    padding: 4px 10px;
    margin: 0;
    border: none;
    border-radius: 15px;
    box-sizing: border-box;
    font-size: 0.8rem;
    text-transform: uppercase;
    background-color: rgb(249, 115, 22);
    color: white;
}

.details  p:nth-child(2){
    margin-top: 7px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: capitalize;
}

.details  p:nth-child(3){
    margin-top: 7px;
    font-size: 0.9rem;
}


.profile > img{
    position: relative;
    top: 7px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.profile-details{
    display: inline-block;
    margin: 30px 0 0 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.profile-details span{
    font-size: 0.8rem;
    font-weight: 400;
}
