@import url(./assets/fonts/font.css);

@media(max-width: 375px){
    .main-container{
        max-width: 100%;
        
    }
    .card-body{
        max-width: 327px;
        
    }
}

*{
    font-family: "Figtree", sans-serif;
}
body{
    margin: 0;
    background-color: #F4D04E;
}

.main-container{
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    max-width: 1440px;
    min-height:960px ;
    margin: auto;
}

.card-body{
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 8px 8px 0px #000000;
    width: 384px;
    height: 522px;
    gap: 24px;
    padding: 24px;
}

.img-container{

    width: 100%;
    height: 200px;
    border-radius: 10px;
    background-image: url(./assets/images/illustration-article.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.text{
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-height: 194px;
    gap: 12px;
}

.text button{
    background-color: #F4D04E;
    width: 82px;
    height: 29px;
    padding: 4px 12px;
    border-radius:4px ;
    border-style: none;
    font-size: 14px;
    font-weight: bold;
    color: #111111;
    
}

.text .date{
    font-size: 14px;
    color: #111111;

}

.text h1{
    font-size: 24px;
    font-weight: bold;
    color: #111111;
    cursor: pointer;
}

.text h1:hover{
    color: #F4D04E
}

.text .pharagrap{
    font-size: 16px;
    color: #6B6B6B;
}

span{
    display: flex;
    box-sizing: border-box;
    align-items: center;
    gap: 12px;
    width: 132px;
    height: 32px;
    margin: 25px 0;
}

span p{
    font-size: 14px;
    color: #111111;
}
span img {
height: 32px;
width: 32px;
}