* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5d04e;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Figtree Medium", sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 400px;
    background-color: aliceblue;
    border-radius: 20px;
    padding: 20px;
    gap: 20px;
    border: 2px solid #333;
    box-shadow: 8px 8px 0px #333;
    transition: all 0.3s ease;
}

#cover-img {
    width: 100%;
    border-radius: 15px;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.tag {
    font-family: "Figtree Medium";
    background-color: #f5d04e;
    color: #333;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    width: fit-content;
}

.date {
    font-family: "Figtree Light";
    font-size: 12px;
    color: #666;
}

.title {
    font-family: "Figtree ExtraBold";
    font-size: 16px;
    color: #222;
}

.description {
    font-family: "Figtree Light";
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.user {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.user img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 2px solid #dedede;
}

.username {
    font-family: "Figtree Medium";
    font-size: 14px;
    font-weight: 700;
}

@font-face {
    font-family: 'Figtree ExtraBold';
    src: url('../assets/fonts/static/Figtree-ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Figtree Light';
    src: url('../assets/fonts/Figtree-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Figtree Medium';
    src: url('../assets/fonts/static/Figtree-Medium.ttf') format('truetype');
}

@media screen and (width < 375px) { 
    .container {
        
        width: 300px;  
        transform: scale(0.9);  
    }
    body {
        padding-inline: 20px;  
    }
}


@media screen and (width < 600px) { 
    .container {
        
        width: 300px;  
        transform: scale(0.9);  
    }
    body {
        padding-inline: 20px;  
    }
}

