body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #3498db;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header button {
    background-color: #2980b9;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

header button:hover {
    background-color: #1f618d;
}

#progreso {
    font-weight: bold;
    font-size: 18px;
}

main {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.temas {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.temas button {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

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

#ejercicio {
    background-color: white;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    text-align: center;
}

select, input, button {
    padding: 12px 20px;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

#retroalimentacion {
    margin-top: 20px;
    font-weight: bold;
    font-size: 18px;
}

nav {
    background-color: #f0f0f0;
    padding: 10px;
    text-align: left;
}

nav a {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
    font-size: 16px;
}

.login-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-container label {
    display: block;
    margin-bottom: 5px;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.login-container button {
    background-color: #3498db;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.captcha {
    margin-bottom: 15px;
}

.captcha p {
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
}

#mensaje {
    text-align: center;
    margin-top: 15px;
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    text-align: center;
    margin-top: 30px;
    color: #3498db;
}

.perfil-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 30px auto;
    max-width: 600px;
}

.perfil-container p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.perfil-container strong {
    font-weight: bold;
    color: #2c3e50;
}

a {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

a:hover {
    background-color: #2980b9;
}