/* Estilos gerais */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
}

h1, h2 {
    color: #343a40;
    text-align: center;
}

/* Cards de notícias */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.card-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Estilos para formulário */
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

input[type="text"], input[type="password"], textarea, input[type="file"] {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
    width: 100%;
    margin-bottom: 15px;
}

input[type="submit"], button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover, button:hover {
    background-color: #0056b3;
}

/* Estilo do header */
header {
    background-color: #343a40;
    padding: 20px 0;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #007bff;
}

/* Estilos do rodapé */
footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

/* Estilo de mensagens de erro */
.text-danger {
    color: red;
    text-align: center;
}

/* Estilo para a imagem da notícia */
.card-img-top {
    max-height: 250px;
    object-fit: cover;
}

/* Estilo para a paginação */
.pagination {
    justify-content: center;
    margin-top: 20px;
}
