@font-face {
    font-family: 'Figtree';
    src: url('assets/fonts/Figtree-VariableFont_wght.ttf') format('truetype'), 
         url('assets/fonts/static/Figtree-ExtraBold.ttf') format('truetype'),
         url('assets/fonts/static/Figtree-SemiBold.ttf') format('truetype');
    font-weight: 500 800; /* Define el rango de peso */
    font-style: normal;   /* Define el estilo */
}

body {
    background-color: hsl(47, 88%, 63%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    font-family: 'Figtree', sans-serif; /* Incluye una fuente de respaldo */
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.card{
    background-color: white;
    max-width: 230px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid #111;
    border-radius: 10px;
    box-shadow: 5px 5px 0px 0px #111;
}
.card__image{
    width: 100%;
    height: 50%;
    border-radius: 8px;
}

button{
    background-color: hsl(47, 88%, 63%);
    color: #111;
    border: none;
    padding: 10px 30px;
    cursor: pointer;
    margin-top: 10px; 
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 25px;
    font-size: 7px;  
    font-weight: bold;
    margin-bottom: 10px;
    border-radius: 2px ;
    color: hsl(0, 0%, 7%);
    font-weight: 800;
}

h2{
    font-size: 10px;
    margin-bottom: 10px;
    font-weight:500;
    color: hsl(0, 0%, 7%);
}
h1{
    font-size: 15px;
    margin-bottom: 10px;
    color: hsl(0, 0%, 7%);
    font-weight: 800;
}
p{
    font-size: 10px;
    color: hsl(0, 0%, 42%);
}

.autor{
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-weight: 800;
    color: hsl(0, 0%, 7%);
}
.img-autor{
    width: 20px;
    margin-right: 10px;
}