@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,500,700,700i,900&display=swap');
</style>
*{
    box-sizing: border-box;
  }



header ul {
    background-color: rgba(227, 6, 19, 0.9);
    color: white;
}

header nav a,
header nav label {
    color: white;
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-weight: 700;
}

header nav a:hover,
header nav label:hover {
    color: #043959;
}


span {
    color: #043959;
    font-weight: 600;
}

.material-icons{
    font-size: 2.5em;
        color: #043959;
}



/*--------botones que muestran ocultan el menu-----------*/

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    display: none;
}

header nav label{
    cursor: pointer;
    padding: .5em;
    position: relative;
    z-index: 9999;
    }

/*que boton se muestra*/
#menu-toggle:not(:checked) + #llamamenu,
#menu-toggle:checked + #llamamenu + #ocultamenu {
    display: flex;
}
/*que boton se oculta*/
#menu-toggle:checked + #llamamenu,
#menu-toggle:not(:checked) + #llamamenu + #ocultamenu {
    display: none;
}


header nav ul {
    position: fixed;
    left: 100%;
    top: 0;
    height: 50vh;
    width: 50%;
    z-index: 9990;
    padding-top: 5em;
    transition: all .1s ease;
}

#menu-toggle:checked + #llamamenu + #ocultamenu + ul {
    left: 50%;
    transition: all .25s ease;
}


/* ------------------------------cuerpo----------------*/

body{
    font-family: Raleway;
    background-color: whitesmoke;
        
}


/*----------------titular------------------------------*/

.titular {
    display: flex;
    
    justify-content: center;
}
/*-----------------------general-----------------------*/
#perfiles{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: center;
    
}
.avatar {
    border-radius: 50%;
}

h2 {
    display: flex;
    justify-content: center;
    color: #e30613;
    
    background-color: rgba(4, 57, 89, 0.13);
    padding: .5em 1em;
    max-width: 100%;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    align-content: space-between;    
    
}
/*
nav ul li {
    margin-left: 1rem;
    margin-right: 1rem;
    
    
} */
.titulares {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.afiche img {
    max-width: 100%;
}

/*-----------------------------pertenencia-----------------------------*/
.infoacademica{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    background-color: whitesmoke;
    padding: 2em 1em;
}

.infoacademica li img { 
max-width: 60%}

.infoacademica li {
    list-style: none;
    line-height: 1.5em;
}



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

footer p {
    font-family: "Raleway", sans-serif;
    font-weight: 100;
    line-height: 1.5em;
    font-size:.89em;
    text-align: justify;
    padding: 1em;
    background-color: rgba(4, 57, 89, 0.11);
    color: #e30613;
    
}
/* ---------------------responsive - mediaqueries ---------------------*/
   @media (min-width: 35em) {
    #menu-toggle,
    #menu-toggle:checked + #llamamenu,
    #menu-toggle:not(:checked) + #llamamenu,
    #menu-toggle:checked + #llamamenu + #ocultamenu,
    #menu-toggle:not(checked) + #llamamenu + #ocultamenu {
        display: none;
    }
    
    #menu-toggle:not(:checked) + #llamamenu + #ocultamenu + ul,
    #menu-toggle:checked + #llamamenu + #ocultamenu + ul {
        display: flex;
        flex-wrap: wrap;
        background-color: #e30613;
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        width: 100%;
        padding-top: 0;
    }
        header nav ul {
        flex-basis: 25%;
    }    
       

}