:root {
    --color-fondo: #f4f4f4;
    --color-fondo-contenedor: #fff;
    --color-texto: #555;
    --color-enlace: #e74c3c;
    --color-titulo: #3498db;
    --color-fondo-lista: #3498db;
    --color-fondo-cabecera: #2980b9;
    --color-texto-tabla: #333;
    --color-fondo-parrafo-especial: #ecf0f1;
    --color-texto-parrafo-especial: #27ae60;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--color-fondo);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: background-color 0.5s, color 0.5s;
}

.container {
    background-color: var(--color-fondo-contenedor);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    max-width: calc(100% - 40px);
    margin-bottom: 20px;
    transition: background-color 0.5s, color 0.5s;
}

h1 {
    text-align: center;
    color: var(--color-titulo);
    margin-bottom: 20px;
}

p {
    color: var(--color-texto);
    font-size: 1.1em;
    line-height: 1.6;
}

.parrafo {
    color: var(--color-texto-parrafo-especial);
    background-color: var(--color-fondo-parrafo-especial);
    padding: 10px;
    border-radius: 5px;
}

ul {
    padding: 0;
    list-style: none;
}

li {
    background-color: var(--color-fondo-lista);
    color: white;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
}

li.highlight {
    background-color: yellow;
}

a {
    color: var(--color-enlace);
    margin-right: 10px;
}

a:hover {
    text-decoration: underline;
}

img {
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th,
td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: var(--color-fondo-cabecera);
    color: white;
}

td {
    color: var(--color-texto-tabla)
}

form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--color-texto)
}

input {
    padding: 10px;
    font-size: 1em;
    margin-bottom: 10px;
    border: 2px solid #bdc3c7;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--color-titulo);
}

button {
    padding: 10px 20px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #27ae60;
}

.highlight {
    background-color: yellow;
    color: black;
}