/*------------------------------ generales------------------------ */

*{
    font-family: "PT+sans", sans-serif;
    
}

body {
    background-color: #fcfbf7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* -------------------------barra de menú------------------------ */


header .contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav {
    background-color: rgba(239,244,248,1);
}

header nav a,
header nav label {
    color: rgba(255,255,255,.75);
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #a7a6a2;
}

header nav a:hover,
header nav label:hover {
    background-color: rgba(105,135,249,1);
    color: white;
}

header nav label {
    background: none;
    cursor: pointer;
    padding: 1em;
}

header nav ul {
    display: none;
}

span {
    color: #4a4947;
    font-weight: 600;
}
li span:hover {
    color: white;
}

li {
    list-style-type: none;
}

/* ----------------------sección principal ----------------------*/

main {
    flex-grow: 1;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

a {
    text-decoration: none;
}
.tarjeta{
    display: flex;
    align-items: center;
    flex-direction: column
    
}

/*----------------------perfil de usuario------------------------*/
#avatar {
    font: "Raleway", sans-serif;
    font-weight: 900;
    font-size: 1em;
    letter-spacing: 0.3em;
    text-align: center;
    display: flex;
    margin-top: 3em;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    color: #4a4947;
}

#imgperfil {
    max-width: 200px;
    border-radius: 50%;
    border-style:solid;
    border-color: #6987f9;
    border-width: 11px;
}


/*----------------------- información personal-----------------------*/

.text {
    max-width: 50%;
    text-align:left;
    line-height: 22px;
    margin-top: 2em;
    margin-bottom: 4em;
    padding: 3em;
    background-color: #eef3f7;
    display: flex;
    flex-direction: column;
    color: #4a4947;
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
    align-items: center
}


/* -------------------------información cursada----------------------*/



#materiasaprobadas {
    max-width: 50%;
    margin-top: 1em;
    margin-bottom: 2em;
    padding: 3em;
    background-color: #eeedfc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #4a4947;
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
    align-items: center;
    text-decoration: none;
}

#materias {
    list-style-type: none;
    line-height: 23px;
}

/* -----------------------información académica--------------------------------*/
.webcatedra {
        list-style-type: none;
        text-decoration: none;
}

#pertenencia{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content:flex-start;
    background-color: white;
}

.infoacademica {
    margin: 2em, 2em;
    margin-top: 1em;
    padding: 3em;
    box-sizing: content-box;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    list-style-type: none;
    background-color: white;
    justify-content: flex-start;
}

#encabezado, #mapa {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 1.5em;
    color: #4a4947;
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: center;
}

.titular1 {
    color: #4a4947;
}


.titular2 {
    margin-top: 3em;
    color: #4a4947;
}

.titular3{
    margin-top: 1em;
    color: #4a4947;
}

#detalle {
    display: flex;
    align-content: flex-start;
    list-style-type: none;
    line-height: 23px;
    flex-direction: column;
    font-size: 11px;
    color: #4a4947;
}



/* -----------------------------------footer------------------------- */

footer p {
    font-family: "Raleway", sans-serif;
    font-weight: 100;
    font-size: 1em;
    text-align: justify;
    padding: 3em;
    background-color: #f5f4ef;
    color: #4a4947;
    
}


/* ---------------------responsive - mediaqueries ---------------------*/

@media (min-width:35em) {
    header nav label {
        display: none;
    }        
    
    header nav ul {
        display: flex;
        flex-wrap: wrap;
        flex-basis: 25%;
    }
    
    figure img {
        max-width: 100%;
        height: auto;
    }
    
    
}













