#newsCards{
    width: 90vw;
}

.newsCard{
    display: grid;
    grid-template-columns: auto 1fr; 
    grid-template-rows: auto 1fr;
    margin-top: 50px;
    overflow: hidden;
    gap: 0 15px;
}

.textCard{
    align-content: center;
}
.title{
    font-size: x-large;
    margin-bottom: 10px;
    font-weight: 600;
}

.newsCard img{
    max-height: 200px;
    max-width: 500px;
    height: auto;
    width: auto;
}

.date{
    grid-column: 1 / -1;
    font-style:oblique;
}

p{
    font-size: larger;
}

@media (max-width: 1200px) {
    .newsCard{
        grid-template-columns: repeat(1, 1fr);

    }
    .newsCard img{
        max-width: 100%;
        height: auto;
    }

    .newsCard img{
        max-height: 300px;
        max-width: 100vw;
    }
}


#data{
    width: 250px;
}

input{
    height: auto;
    width: 70vw;
}
textarea{
    height: 15vh;
    width: 70vw;
}

.botaoEnviarNoticia{
    height: 40px;
    width: 225px;
    border-radius: 10px;
}

/* Estilo dos botões de paginação */
.pagination-btn {
    background-color: #6ab04c; /* Cor verde */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin: 0 10px;
}

.pagination-btn:hover {
    background-color: #58a136; /* Cor verde escuro */
}

.pagination-btn:disabled {
    background-color: #ccc; /* Cor de botão desabilitado */
    cursor: not-allowed;
}

/* Estilo para a mensagem de página centralizada */
.page-message {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    margin: 0 20px;
    text-align: center;
    vertical-align: middle;
}

/* Container de paginação */
.pagination {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    align-self: center;
    justify-content: center;
}
