/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

h1 {
    text-align: center;
    color: #444;
    margin-top: 20px;
}

/* Contenedor principal */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Formulario */
form {
    display: flex;
    flex-direction: column;
}

form label {
    font-weight: bold;
    margin-top: 10px;
}

form input[type="text"], 
form textarea, 
form input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    margin-top: 20px;
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3;
}

/* Artículos */
.article {
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 20px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

.article h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.article p {
    margin: 10px 0;
}

.article .meta {
    font-size: 0.9rem;
    color: #666;
}

.article .actions {
    margin-top: 15px;
}

.article .actions a {
    text-decoration: none;
    color: #007bff;
    margin-right: 10px;
    font-weight: bold;
}

.article .actions a:hover {
    color: #0056b3;
    text-decoration: underline;
}


/* nuevo*/

/* Imagen responsiva */
.article img {
    max-width: 100%; /* La imagen no será más grande que el contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
    display: block; /* Elimina espacios blancos inferiores en imágenes */
    margin: 10px 0; /* Espaciado vertical alrededor de la imagen */
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra ligera para resaltar */
}

/* Estilos generales del artículo */
.article {
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 20px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article h2 {
    font-size: 1.5rem;
    color: #333;
}

.article p {
    margin: 10px 0;
    line-height: 1.6;
}

.article .meta {
    font-size: 0.9rem;
    color: #666;
}

.article .actions {
    margin-top: 15px;
}

.article .actions a {
    text-decoration: none;
    color: #007bff;
    margin-right: 10px;
    font-weight: bold;
}

.article .actions a:hover {
    color: #0056b3;
    text-decoration: underline;
}





