@font-face {
    font-family: 'Figtree-ExtraBold';
    src: url(../fonts/static/Figtree-ExtraBold.ttf);
}

@font-face {
    font-family: 'Figtree-SemiBold';
    src: url(../fonts/static/Figtree-SemiBold.ttf);
}

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

@font-face {
    font-family: 'Figtree-Variable';
    src: url(../fonts/Figtree-VariableFont_wght.ttf);
}

html {
    background-color: hsl(47, 88%, 63%);
    color: hsl(0, 0%, 7%);
}

.main {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1440px;
}

.card {
    width: 384px;
    height: 522px;
    background-color: hsl(0, 0%, 100%);
    border-radius: 20px;
    border-color: black;
    border-width: 1px;
    border-style: solid; 
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);

    display: flex;
    align-items: center; 
    flex-direction: column;
}

.svg-contaiter {
    margin-top: 23px;
}

.blog-image {
    width: 336px;
    height: 201px;
    border-radius: 10px;
    overflow: hidden;  
}

.content, .author {
    width: 336px;
}

.content {
    margin-top: 22px;
}

.category {
    width: 73px;
    height: 20px;
    background-color: hsl(47, 88%, 63%);
    border-radius: 3px;
    padding: 4px;
    text-align: center;

    font-family: 'Figtree-ExtraBold';
    font-size: 14px;
}

.publish-date {
    font-family: 'Figtree-Variable';
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
}

.title {
    font-family: 'Figtree-ExtraBold';
    font-size: 24px;
    font-weight: 500;
    margin-top: 15px;
}

.description {
    font-family: 'Figtree-Variable';
    font-size: 16px;
    font-weight: 300;
    color: hsl(0, 0%, 42%);
    margin-top: 15px;
    line-height: 1.5;
}

.author {
    display: flex;
    align-items: center;
    margin-top: 10px;

}

.avatar {
    height: 50%;
    width: auto; 
}

.author-name {
    margin-left: 10px;
    font-family: 'Figtree-ExtraBold';
    font-size: 14px;
    color: hsl(0, 0%, 7%);
}

.title:hover{
    color:hsl(47, 88%, 63%);
}

@media (max-width: 375px) {

    .card {
        width: 327px;
        height: 501px;
    }

    .blog-image { 
        width: 279px;
        height: 200px;  
    }

    .image {
        transform: translateX(-9%);
    }

    .content, .author {
        width: 279px;
    }
    
    .category {
        font-size: 12px;
        width: 65px;
        height: 18px;

    }

    .publish-date {
        font-size: 12px;
    }

    .title {
        font-size: 20px;
    }

    .description {
        font-size: 14px;
    }

    .author-name {
        font: 12px;
    }
}