* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: segoe UI, Tahoma,Verdana, Geneva, Tahoma, sans-serif;
    background-color: #f4d04e;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.card {
    background-color: #fff;
    border-radius: 15px;
    max-width: 380px;
    padding: 1.5rem;
    box-shadow: 8px 8px 0px #000;
    transition: transform 0.2s ease;
}
.card::hover {
    transform: scale(1.02);
}
.card-image {
    background-image: url(img/card-img.png);
    background-size: cover;
    background-position: center;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 1rem;
}
.tag {
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
}
.date {
    font-size: 0.8rem;
    margin: 0.5rem 0;
}
.title {
    font-size: 1.5rem;
    margin: 0.5rem;
    color: #111;
}
.description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}
.author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.author span {
    font-weight: bold;
    font-size: 0.9rem;
}
/* Responsive Design*/
@media (max-width: 500px){
    .card {
        max-width: 90%;
        padding: 1rem;
    }
    .title {
        font-size: 1.3rem;
    }
    .description {
        font-size: 0.85rem;
    }
}