@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');

/* reglas generales */

* {
    font-family: 'Rubik', 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 {
    text-align: center;
    background-color: #334c74;
    color: white;
    justify-content: center;
    padding: 0.2em; 
    }

header, footer {
    background-color: #334c74;
    padding: 0.8rem;
}

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

h3 {
    color: white;
}

p {
    color: white;
}

.logos:hover{
    background-color: #a5a3aa;
    color: #1a3a6d;
}

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

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

/* 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: #334c74;
    font-weight: bolder;
    padding: .45em .7em;
    text-align: center;
}

header nav ul li a:hover {
    background-color: #a5a3aa;
    color: #1a3a6d;
}

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

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

h3 {
    margin-top: .5em;
}

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

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

article {
    background-color: white;    
    box-shadow:.3em .3em .3em #e6e5e5;
    margin: 1em auto 1em auto;
    padding: 1em;
    width: 25em;
    border-radius:10%;
    text-align: center;
}

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

#ilustraciones img {
    border-radius: 10%;
}

figcaption {
    margin-top: 0.5em;
    color: #a5a3aa;    
}

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

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

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

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

#logobehance:hover, #logoig:hover{
    background-color: #a5a3aa;
    color: #1a3a6d;
}

#video {
    width: 50%;
    height: auto;
}

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

}