/* public_html/css/alumno.css */

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    padding: 40px; 
    background-color: #f4f4f9;
    color: #333;
    max-width: 1000px; 
    margin: 0 auto;
}

/* Encabezados */
h1 { color: #2c3e50; border-bottom: 2px solid #ddd; padding-bottom: 10px; }
h2 { 
    margin-top: 50px; 
    font-size: 1.2rem; 
    color: #555; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 5px;
}

/* La Grilla */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 25px; 
    margin-top: 20px;
}

/* Tarjetas */
.card { 
    background: white;
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* --- CÓDIGOS DE COLOR (Borde Izquierdo) --- */
.html5    { border-left: 5px solid #e34c26; } /* Naranja HTML */
.php      { border-left: 5px solid #8892bf; } /* Morado PHP (NUEVO) */
.flask    { border-left: 5px solid #333333; } /* Gris Oscuro Flask */
.fastapi  { border-left: 5px solid #009688; } /* Teal FastAPI */
.rails    { border-left: 5px solid #CC0000; } /* Rojo Rails */
.iot      { border-left: 5px solid #E67E22; } /* Naranja IoT */

/* Textos */
h3 { margin-top: 0; font-size: 1.1rem; color: #2c3e50; }
p { font-size: 0.9rem; color: #666; margin-bottom: 15px; flex-grow: 1; }

/* Botones */
a.btn { 
    display: inline-block;
    text-decoration: none; 
    font-weight: bold; 
    font-size: 0.9rem;
    color: #007bff; 
    padding: 5px 0;
    margin-top: auto; 
}
a.btn:hover { text-decoration: underline; color: #0056b3; }

/* Footer */
footer { 
    margin-top: 60px; 
    text-align: center; 
    font-size: 0.85rem; 
    color: #aaa; 
    padding-bottom: 20px; 
    border-top: 1px solid #eee;
    padding-top: 20px;
}
