.news-container{
    display: flex;
    gap: 3rem;
    margin-bottom: 5rem;
    justify-content: space-around;
    margin-top: 7rem;
    flex-wrap: wrap;
}

.last-news{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    border-radius: 20px;
    background-color: #f8f9fa;
    border: 1px solid #d2d3d7;
    width: 50%;
    padding: 2rem;
}

.all-news{
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    border: 1px solid #d2d3d7;
    padding: 1rem;
    border-radius: 20px;
    overflow-y: scroll;
    width: 38%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}


.list-news {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    margin: 1rem 0;
    max-height: 500px;
    padding: 1rem;
}


.news a {
    display: flex;
    align-items: center;
    gap: 3rem;
    height: 9rem;
    cursor: pointer;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    border-radius: 20px;
    background-color: #f8f9fa;
    border: 1px solid #d2d3d7;
    padding-right: 1rem;
}

.pdf-preview{
    margin-top: 5rem;
    width: 176px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.pdf-preview span{
    color: #878787;
}


#last-pdf-preview{
    width: 100%;
    height: 750px;
    margin-top: 2rem;
}

#news_dialog::backdrop {
    background: rgba(128,128,128, 0.5);
}
#news_dialog {
    width: auto;
    margin: 1rem;
    height: auto;
    border-radius: 20px;
    border: none;
}
#news_dialog[open] {
    display: flex;
    flex-direction: column;
}

.news-resume{
    margin: 2rem;
    font-size: 1.3rem;
    text-align: center;
    width: 60%;
    line-height: 2rem;
    background-color: var(--color-main);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset; 
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 650px) {
    .news-resume {
        margin: 0;
        width: auto;
    }

    .last-news{
        width: 100%;
        padding: 1rem;
    }

    .all-news{
        width: 100%;
    }
}