/* Estilos generales */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #ecf0f1; /* Fondo más claro */
    color: #2C3E50; /* Texto oscuro */
    line-height: 1.6;
}

h1, h2, h3 {
    margin-bottom: 15px;
}

/* Encabezado principal */
h1 {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #3498db, #2980b9); /* Gradiente de colores suaves */
    color: white;
    font-size: 3rem;
    border-radius: 8px;
    margin: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Contenedor principal */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Secciones */
.section {
    background-color: #ffffff; /* Fondo blanco para secciones */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-10px); /* Efecto hover en las secciones */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2980b9;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

/* Botones */
button {
    padding: 12px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #2980b9;
    transform: translateY(-3px); /* Efecto hover de elevación */
}

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

/* Entradas */
input, select {
    padding: 12px;
    font-size: 1.1rem;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    background-color: #f4f7fc;
    color: #2C3E50;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #3498db;
}

/* Salida de respuesta */
.response {
    background-color: #ecf0f1; /* Fondo claro para respuestas */
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Código y ejemplos */
code {
    font-size: 1.1rem;
    background-color: #f1f1f1;
    padding: 6px 12px;
    border-radius: 8px;
    color: #e74c3c;
}

pre {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Diseño responsivo */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        padding: 20px 0;
    }
    .container {
        padding: 15px;
    }
    .section-title {
        font-size: 1.6rem;
    }
    button {
        width: 100%;
    }
}

/* Estilos para los iconos */
.material-icons {
    vertical-align: middle;
    margin-right: 10px;
}
