@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  src: url('./assets/fonts/static/Figtree-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  src: url('./assets/fonts/static/Figtree-ExtraBold.ttf') format('truetype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: hsl(47, 88%, 63%);
    font-family: Figtree, sans-serif;
    display: grid;
    place-content: center;
    min-height: 100vh; 
    padding: 1rem;
}
.card {
    background-color: hsl(0, 0%, 100%);
    padding: 1.5rem;
    border: 1px solid black;
    border-radius: 1.25rem;
    box-shadow: 10px 10px 0 black;
    max-width: 380px;
}
.card-image {
    width: 100%;
    border-radius: 0.75rem;
    display: block;
}
.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.tag {
    background-color: hsl(47, 88%, 63%);
    font-weight: 800;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    align-self: flex-start;
    font-size: 0.875rem;
}
.published-date {
    font-size: 0.875rem;
    font-weight: 500;
}
.card h1 {
    font-size: 1.5rem;
    font-weight: 800;
}
.card h1:hover {
    color: hsl(47, 88%, 63%);
    cursor: pointer;
}
.description {
    color: hsl(0, 0%, 42%);
    font-weight: 500;
    line-height: 1.6;
}
.author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}
.author img {
    width: 32px;
    height: 32px;
}
.attribution {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
}
.attribution a {
    color: hsl(228, 45%, 44%);
}
