* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Figtree", sans-serif;
}

body {
    background-color: #F4D04E;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    font-size: 16px;
}

.card {
    background-color: #fff;
    width: 384px;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #111;
    box-shadow: 8px 8px black;
    display: flex;
    flex-direction: column;
    gap: 24px;
    cursor: pointer;
    transition: 600ms ease;
}

.card:hover {
    box-shadow: 12px 12px black;
}

@media (max-width: 767px) {
    .card {
        width: 320px;
        padding: 16px;
    }
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category {
    display: inline-block;
    background-color: #F4D04E;
    color: #111;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    width: fit-content;
}

.publish-date {
    color: #111;
    font-size: 14px;
}

.title {
    color: #111;
    font-size: 24px;
    font-weight: 800;
    transition: 600ms ease;
}

.card:hover .title {
    color: #F4D04E;
}

.description {
    color: #6e6e6e;
    font-size: 16px;
    line-height: 1.5;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.userpic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.authorname {
    color: #111;
    font-size: 14px;
    font-weight: 800;
    vertical-align: middle;
}