
body {
    background-color: hsl(47, 88%, 63%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

.card {
    background-color: hsl(0, 0%, 100%);
    height: auto;
    width: 80vw; 
    border-radius: 5%;
    border-style: solid;
    border-width: 1px;
    margin: 15px ;
    box-shadow: 7px 7px black;
    display: flexbox;
    flex-direction: column;
    justify-content: center; /* Center horizontally */
    align-items: center; 
    text-align: left;
    padding: 20px;
    overflow: hidden;
    
}

.card-image {
    height: auto; /* Maintain aspect ratio */
    width: 100%; 
    max-height: 40%;
    border-radius: 8%;
}

.tag {
    background-color: hsl(47, 88%, 63%);
    width: fit-content;
    font-weight: 800;
    border-radius: 8%;
    margin:20px 0px 0px 0px;
    padding: 10px ;
}

.published-date {
    padding-top: 20px;
    font-weight: bold;
}

a {
    color: black;
    font-weight: 800;
    padding-top: 20px;
    text-decoration: none;
}

.card-title :hover {
    color: hsl(47, 48%, 54%);
}

.card-description {
    color: hsl(0, 0%, 50%);
    font-size: 16px;
}

.author {
    display: flex;
    align-items: center;
    padding-top: 10px;
}

.author-photo {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

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

@media (min-width: 768px) {
    .card {
        width: 30%;

    }

}



