* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background-color: #39b54a;
    color: white;
    padding: 25px;
    text-align: center;
}

.header h1 {
    font-size: 2em;
    margin-bottom: 8px;
}

.header p {
    font-size: 1.1em;
}

.perfil-section {
    display: flex;
    padding: 30px;
    border-bottom: 3px solid #39b54a;
}

.foto-perfil {
    margin-right: 30px;
}

.foto-perfil img {
    width: 180px;
    height: 180px;
    border-radius: 10px;
    border: 4px solid #39b54a;
}

.info-basica {
    flex: 1;
}

.info-basica h2 {
    color: #2d8a3a;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.dato {
    margin-bottom: 12px;
    font-size: 1.05em;
}

.dato strong {
    color: #2d8a3a;
}

.seccion {
    padding: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.seccion h3 {
    color: #2d8a3a;
    font-size: 1.6em;
    margin-bottom: 20px;
    padding-left: 15px;
}

.contacto-info p {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.materias-lista {
    list-style: none;
}

.materias-lista li {
    background-color: #f0f9f1;
    padding: 12px 18px;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.tabla-notas {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.tabla-notas th {
    background-color: #39b54a;
    color: white;
    padding: 12px;
    text-align: left;
    font-size: 1.1em;
}

.tabla-notas td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.tabla-notas tr:hover {
    background-color: #f0f9f1;
}

.nota {
    font-weight: bold;
    color: #2d8a3a;
}

@media (max-width: 768px) {
    .perfil-section {
        flex-direction: column;
        align-items: center;
    }

    .foto-perfil {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .container {
        margin: 10px;
    }
}