html{
    font-size: 62.5%;
}
body{
    background-color: hsl(47, 88%, 63%);
    font-family: "Figtree",sans-serif;
}
main{
    margin: 20px;
    background-color: hsl(0, 0%, 100%);
    border: 1.5px solid black;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 10px 10px 0 0 hsl(0, 0%, 7%);
}
.illustration{
    border-radius: 1rem;
}

.btn{
    margin: 20px 0 0 0;
    background-color: hsl(47, 88%, 63%);
    border: none;
    border-radius: .5rem;
    width: 100px;
    padding:1rem .5rem;
    color: hsl(0, 0%, 7%);
    font-weight: 800;
}
.blog-card{
    display: flex;
    flex-direction: column;
}
.publish__date{
    font-size:1.5rem ;
    font-weight: 500;
    margin-bottom: 0;
    color: hsl(0, 0%, 7%)
}

.title{
    font-weight: 800;
    color:hsl(0, 0%, 7%);
    margin-bottom: 0;
}
.description{
font-size: 1.6rem;
line-height: 2.5rem;
}
.author{
    display:flex;
}
.photo{
    height:30px
}
.author__name{
    font-weight: 800;
    margin-left: 10px;
    margin-top: 5px;
    font-size: 1.5rem;
}

@media screen and (min-width:375px){
    main{
        max-width: 300px;
    }
    body{
        display: flex;
        justify-content: center;
        align-items:center;
    };
    
}

/* ## Colors

Yellow: hsl(47, 88%, 63%)

- White: hsl(0, 0%, 100%)

- Gray 500: hsl(0, 0%, 42%)
- Gray 950: hsl(0, 0%, 7%) */

@font-face {
    font-family: 'Figtree-ExtraBold';
    src: url(/fonts/Figtree-ExtraBold.ttf);
}
@font-face {
    font-family: "Figtree-Bold";
    src: url(/fonts/Figtree-SemiBold.ttf);
}
@font-face {
    font-family: "Figtree-Italic";
    src: url(/fonts/Figtree-Italic-VariableFont_wght.ttf);
}
@font-face {
    font-family: "Figtree-Regular";
    src: url(/fonts/Figtree-VariableFont_wght.ttf);
}