/* Fondo oscuro y letras blancas */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #2c2c2c;
    color: #f0f0f0;
    line-height: 2.6;
    margin: 0;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Estilos para los títulos */
h1, h2, h3 {
    color: #ffffff;
    border-bottom: 2px solid #4caf50; /* Línea debajo de títulos */
    padding-bottom: 0.3em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

/* Párrafos */
p {
    font-size: 1.1rem;
    margin-bottom: 1.5em;
}

/* Listas */
ul, ol {
    margin-left: 20px;
}

ul li, ol li {
    margin-bottom: 0.5em;
}

/* Tablas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}

th, td {
    border: 1px solid #f0f0f0;
    padding: 0.75em;
    text-align: left;
}

th {
    background-color: #4caf50;
    color: #ffffff;
}

td {
    background-color: #3c3c3c;
}

/* Enlaces */
a {
    color: #4caf50;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Estilos para bloques de código y citas */
blockquote {
    border-left: 4px solid #4caf50;
    padding-left: 1em;
    color: #dcdcdc;
    background-color: #333;
}

code {
    background-color: #333;
    color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Estilos para el header */
header {
    background-color: #4CAF50;
    color: white;
    padding: 20px 10px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

/* Estilos para el contenedor */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Estilos para la sección de módulos */
.modules-section {
    background-color: #2c2c2c;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modules-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.modules-section ul {
    list-style-type: none;
    padding: 0;
}

.modules-section ul li {
    margin: 10px 0;
    font-size: 1.2em;
}

.modules-section ul li a {
    text-decoration: none;
    color: #4CAF50;
    padding: 10px;
    display: block;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.modules-section ul li a:hover {
    background-color: #4CAF50;
    color: white;
}

/* Estilos para el footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header h1 {
        font-size: 2em;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .container {
        padding: 0 10px;
    }

    .modules-section ul li {
        font-size: 1em;
    }

    .modules-section ul li a {
        padding: 8px;
    }

    footer {
        padding: 5px;
    }
}

/* Media Queries para tabletas */
@media (min-width: 769px) and (max-width: 1024px) {
    body {
        padding: 15px;
    }

    header h1 {
        font-size: 2.25em;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    h3 {
        font-size: 1.625rem;
    }

    p {
        font-size: 1.05rem;
    }

    .container {
        padding: 0 15px;
    }

    .modules-section ul li {
        font-size: 1.1em;
    }

    .modules-section ul li a {
        padding: 9px;
    }

    footer {
        padding: 7px;
    }
}