@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/static/Figtree-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/static/Figtree-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/Figtree-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
}
/* Si tienes más pesos, repite la regla cambiando font-weight y el archivo */




*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Figtree", Arial, sans-serif;
    background-color: hsl(47, 88%, 63%);
}


body .container{
    padding: 2rem;
    min-height: 100vh;
    background-color: hsl(47, 88%, 63%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.card{
    box-sizing: border-box;
    background-color: hsl(0, 0%, 100%);
    height: 520px;
    width: 380px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    border-radius: 15px;
    box-shadow: 8px 8px 0 0  #000;
    border: solid 0.5px #000;
    padding: 24px;
    gap: 20px;
}

.photo{
    max-width: 336px;
    width: 100%;
    border-radius: 15px;
    display: block;
    margin-bottom: 8px;
}


.info .title{
    font-family: "Figtree";
    font-weight: 800;
    color: hsl(0, 0%, 7%);
    background-color: hsl(47, 88%, 63%);
    width: 70px;
    text-align: center;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

.info .date{
    font-family: "Figtree";
    font-size: 12px;
    font-weight: 400;
    color: hsl(0, 0%, 7%);
}

.content h1{
    font-family: "Figtree";
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 2px;
    color: hsl(0, 0%, 7%);
    transition: all 0.3s ease;
}


.content h1:hover,
.content h1:focus{
    color: hsl(47, 88%, 63%);
    cursor: pointer;
}

.card:hover{
cursor: default;
}

.text{
    font-family: "Figtree";
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: hsl(0, 0%, 42%);
}

.avatar{
    width: 100%;
    max-width: 336px;
    display: flex;
    flex-direction: row; 
    justify-content: flex-start;
    align-items: center; 
    gap: 10px;

}

.wr{
    width: 36px;
    height: 36px;
}

.avatar .name{
    font-family: "Figtree ";
    font-weight: 800;
}

.photo, .info, .content{
    width: 100%;
    max-width: 336px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    align-items: flex-start;
}

.attribution { font-size: 11px; text-align: center; margin-bottom: 5px; }
    .attribution a { color: hsl(228, 45%, 44%); }



    @media (max-width: 400px) {
        .card{
            width: 90vw;
            height: auto;
            padding: 16px;
        }
    }