@charset "utf-8";

/* reglas generales */

* {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: -webkit-fill-avaible;
}

a {
    text-decoration: none;
}


img {
    max-width: 100%;
    height: auto;
    justify-content: center;
}

ul, ol {
    list-style: none;
}

.titulo {
    display: block;
    margin: 2em 1.5em 1.5em 1.5em;
    padding: 1em;
    color:coral;
    font-weight: bold;
    font-size: 23px;
    border-bottom: .4rem solid #e95531;
    padding-bottom: .5em;
    text-align: center;
}




header, footer {
    background-color: #f18b6b;
    padding: .16em;
}

footer .contenedor {
    font-size: 1em;
    max-width: 70rem;
    margin: auto;
    text-align: center;
}

h3 {
    color: white;
}

p {
    color: white;
}

.logos:hover{
    background-color: #f893fc;
    color: #eca89f;
}

#logoDgpc {
    background-color: white;
    border-radius: 0.5em;
    padding: .35em;
    max-width: 7rem;
}

#logoDgpc:hover{
    background-color: #fabdb5;
}

/* dispostivos moviles */

header .contenedor {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 65rem;
    margin: auto;
}

header nav {
    margin-top: 0.5em;
}

header nav ul {
    display: flex;
    flex-wrap: wrap;
}

header nav ul li {
    min-width: 4em;
    margin: .55em 0 .55em .55em;
}

header nav ul li a {
    display: block;
    background-color: white;
    border-radius: 1em;
    color: #d46d4d;
    font-weight: bolder;
    padding: .45em .7em;
    text-align: center;
}

header nav ul li a:hover {
    background-color: #eeaa7d;
    color: #d34c34;
}

#datosAcademicos {
    font-size: 0.8em;
    display: flex;
    align-content: space-around;
    justify-content: center;
    margin-bottom: 2em;
}

#datosAcademicos ul li {
    display: flex;
    flex-direction: row;
    padding: 1em;
    border-radius: 1em 1em 1em 1em;
}

#datosAcademicos p{
    color: #d34c34;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
}

h3 {
    margin-top: .5em;
    color: coral;
}

.fotoperfil {
    display: flex;
    justify-content: center;
}

.fotoperfil img{
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 50%;
    width: 35%;
}

article {   
    box-shadow:.1em .1em .1em #f3baba;
    margin: 1em auto 1em auto;
    padding: 1em;
    width: 25em;
    border: radius 2px;
    text-align: center;
}

#ilustraciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1em 1em 1em 1em;
}


figcaption {
    margin-top: 0.5em;
    color: coral;    
}

.materias {
    color: #e95531;
    text-align: center;
    margin-top: 4em;
    margin-bottom: 4em;
}

h1 {
    color: #e95531;
    text-align: center;
    margin-top: 0.5em;
}

#behance{
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
}

#vm26{
    display: flex;
    justify-content: center;
    margin-bottom: 8em;
    font-size: 1,7em;
    text-decoration-line: underline
}

#vm26 a{
    color: cornsilk;
    font-weight: bold;
    background-color:coral;
    border-radius: 6em;
}


#logobehance {
    width: 9em;
    max-width: 7rem;
    margin: 1 1 1 1em;
}

#logobehance:hover {
    background-color: #eeaa7d;
    color: #e95531;
}



@media all and (min-width: 500px){
    
    header .contenedor {
    flex-direction: row;
    justify-content: space-between;
}
    
#datosAcademicos ul {
    display: flex;
}  

}