@font-face {
    font-family: 'Figtree Extra Bold';
    src: url(./assets/fonts/static/Figtree-ExtraBold.ttf) format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'Figtree Medium';
    src: url(./assets/fonts/static/Figtree-Medium.ttf) format('truetype');
    font-weight: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Figtree', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #F4D04E;
    flex-direction: column;
    position: relative;
}

h1 {
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0px;
    font-family: 'Figtree Extra Bold', sans-serif;
    font-weight: bold;
    color:#111111;
    transition: color 0.3s ease;
}

h1:hover{
    color: #F4D04E;
    cursor: pointer;
}

p {
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.2px;
    color: #111111;
    font-family: 'Figtree Medium', sans-serif;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 8px 8px 0px #111111;
    max-width: 384px;
    max-height: 522px;
    border: 1px solid #111111;
}

.card div {
    margin-bottom: 24px;
}

.card div:last-child {
    margin-bottom: 0;
}

.image-wrapper {
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    padding: 0; 
    box-sizing: border-box;
    line-height: 0;
}

.blog-image {
    width: 100%;
    display: block;
    margin-top: -1px;
    margin-bottom: -1px;
}

.content{
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items:baseline;
}

.learning{
    padding: 4px 12px;
    background: #F4D04E;
    font-family: 'Figtree Extra Bold', sans-serif;
    font-weight: normal;
    border-radius: 4px ;
    text-align: center;
    max-width: 100px;
}

.text{
    color: #68778D;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0px;
}

.autor {
    display: flex; 
    align-items: center; 
    gap: 12px;
    justify-content: flex-start;
    font-family: 'Figtree Extra Bold', sans-serif;
    font-weight: bold;
}

.avatar-image {
    width: 32px;
    height: 32px;
}

@media (max-width: 375px) {
    .card {
        max-width: 327px;
        max-height: 501px;
    }
    .image-wrapper {
        border: none;
    }
    .learning{
        border: none;
    }
}
