* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Figtree'; 
  src: url('./assets/fonts/Figtree-VariableFont_wght.ttf') format('truetype'); /* Assicurati che il percorso al file .ttf sia corretto */
  font-weight: 300 900; 
  font-style: normal;
}

body {
    background-color: hsl(47, 88%, 63%);
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-items: center;
    height: 100vh;
    padding: 1rem;
    margin: 0;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.card {
    background-color: white;
    border: 1px solid hsl(0, 0%, 7%) ;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: left;
    max-width: 384px;
    transition: box-shadow 300ms ease-in-out;
}

.card:hover {
    box-shadow: 8px 8px 0px hsl(0, 0%, 7%);
}
.thumbnail {
    width: 100%;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.chip {
    padding: 1rem;
    background-color:hsl(47, 88%, 63%);
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.chip p {
    font-size: 14px;
    font-weight: 800;
    color: hsl(0, 0%, 7%);
    margin: 0;
}

.date {
    color: hsl(0, 0%, 7%);
    font-size: 14px;
    margin-bottom: 10px;
}

h2 {
    color: hsl(0, 0%, 7%);
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 16px;
    cursor: pointer;
}

h2:hover {
    color: hsl(47, 88%, 63%);
}

p {
    color: hsl(0, 0%, 7%);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.author {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    border-radius: 50%;
    margin-right: 12px;
}

.author span {
    color: hsl(0, 0%, 7%);
    font-weight: 800;
}