@import 'https://fonts.googleapis.com/css?family=Kanit';


*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
}

body{
    background-color: #F8FBFF;
}

header{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100vw;
    height: 6vh;
    background-color: #7090B2;
    margin: 0;
    padding: 0;
}

header>nav ul{
    display: flex;
    width:100vw;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    background-color: #7090B2;
    }

header>nav ul li{  
    display: flex;
    flex-basis: 20%;
    background-color: #7090B2;
    align-items: center;
    justify-content: center;
}

header>nav ul li a{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    align-items: center;
    background-color: #7090B2;
    text-decoration: none;
    color: #F8FBFF;
    font-weight:bold;
    font-size: 13pt;
}


header>nav ul li a:hover{
    color: black;
}

.encabezado{
    background-color: #A1ABB2;
    color: #F8FBFF;
    max-width: 100vw;
    margin: 0;
}

h1{
    font-family: 'Kanit', sans-serif;
    max-width: 100%;
    margin: auto;
    text-align: center;
    font-size: 1.5em;
}

h4{
    font-family: 'Kanit', sans-serif;
    max-width: 100%;
    font-style: italic;
    font-weight: lighter;
    text-align: center;
    font-size: 1em;
}

h2{
    font-family: 'Kanit', sans-serif;
    font-size: 1.3em;
    color: #7090B2;
    padding: .3em;
    margin: 2em;
}

h3{
    font-family: 'Kanit', sans-serif;
    font-style: italic;
    font-size: 20pt;
    color: #7090B2;
    padding-top: 0.6em;
    margin: auto;
    text-align: center;
}

h5{
   font-family: 'Kanit', sans-serif;
    max-width: 100%;
    margin: auto;
    text-align: center;
    font-size: 1.3em; 
}

p{
  font-family: 'Kanit', sans-serif;
    font-weight: lighter;
    margin: 1em;
}

#perfil{
    display: block;
    height: 50vh;
    border-radius: 50%;
}

aside{
    background-color: #A1ABB2;   
}


footer{
   color: gray;
   margin: auto;
   padding: 0em;
   font-style: italic;
    font-size: 10px;
    text-align: justify;
    background-color: 
}

#logo{
    display: block;
    background-color:  #F8FBFF;
    width: 7em;
    height: 1em auto;
    margin: auto;
    box-shadow: 0px 5px 5px rgba(0,0,0,0.3)
}

.destacado{
    font-weight: bold;
    font-family: 'Kanit', sans-serif;
    margin:1em;
}

.datos{
    font-size: .8em;
    
}

/*::::::max 40em:::::::*/

@media screen and (max-width: 40em){
main{
    width: 100vw;
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    flex-direction: column;
    padding-bottom: 0.5em;
}
    
.encabezado{
    display: flex;
    flex-wrap: wrap;
    width:100vw;
    height: 15vh;
    justify-content: center;
    align-content: center;
    align-content: center;
    }
    
.cuerpo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    list-style: none;
    }
    
.foto{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100vw;
    margin: auto;
    padding: 2em;
}
    
.materias{
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    border-top: dotted 1px;
    margin: 0.5em;
    text-align: center;
    }

main>section>section>nav>ul{
    display: flex;
    flex-direction: column;
    list-style: none;
    text-align: center;
    padding-top: 1em;
    margin: auto;
    font-weight:lighter;
    font-size: 15px;
}

aside{
    display: flex;
    flex-wrap: wrap;
    background-color: #A1ABB2;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.datosencabezado{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100vw;
    height: 6vh;
    background-color: #A1ABB2;   
}

.datos{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    align-content: center;
    width: 100vw;
    background-color: #A1ABB2;   
    margin: auto;
    padding: 0.7em;
}

.datos p{
    font-size: 8.5pt;
    color: black;
    background-color: #A1ABB2;
    font-weight: 200;
    line-height: 2em;
    margin: 0;
    padding: 0;
}

.bloquedatos{
    flex-basis: 100%;
    list-style: none;
    text-align: center;
    width: 30vw;
    background-color: #A1ABB2;
    margin: auto;
    padding: 0;
    border-bottom: dotted 1px;
}

.linkacademico{
    margin-bottom: 0.4em;
}
.linkacademico a{
    text-decoration: none;
    color: black;
    font-weight: 700;
    font-size: 10.5pt;
    background-color: #A1ABB2;
}

.linkacademico a:hover {
    text-decoration: none;
    color: black;
    font-weight: 700;
    font-size: 10.5pt;
    background-color: #A1ABB2;
    font-style: italic;
}

#linkciaa{
    text-decoration: none;
    color: black;
    font-weight: 900;
    background-color: #A1ABB2;
}

#linkciaa:hover{
    font-weight: 900;
    background-color: #A1ABB2;
    color:#ff5818;
}


#logodgpc {
    display: block;
    margin: auto;
    width: 5em;
    box-shadow:  0 10px 10px rgba(0,0,0,0.3);
    background-color: #A1ABB2;
}
    
    
#logodgpc {
    display: block;
    width: 5em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    box-shadow:  0 10px 10px rgba(0,0,0,0.3);
    background-color: #A1ABB2;
}
       

#logofadu {
    display: block;
    width: 5em;
    margin: auto;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    background-color: #A1ABB2;
}

}





/*::::::min 40em:::::::*/

@media screen and (min-width: 40em){
main{
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding-bottom: 0.5em;
}
    
.encabezado{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width:100vw;
    height: 15vh;
    padding: 1em;
    justify-content: center;
    align-content: center;
    align-content: center;
    }
    
.foto{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 50vw;
    margin: 0;
    padding: 2em;
    order: 2;
}
    
.cuerpo{
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    list-style: none;
    padding: 0em;
    margin: 0em;
    }
    
.materias{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1em;
    padding-right: em;
    width:50vw;
    order:1;
    border-right: dotted 1px;
    }

main>section>section>nav>ul{
    display: flex;
    flex-direction: column;
    list-style: none;
    text-align: left;
    padding-top: 1em;
    margin-left: 1em;
    font-weight:lighter;
    font-size: 13px;
}

aside{
    display: flex;
    flex-wrap: wrap;
    background-color: #A1ABB2;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 100vw;
}

.datosencabezado{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100vw;
    height: 6vh;
    background-color: #A1ABB2;   
}

.datos{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
    width: 100vw;
    background-color: #A1ABB2;   
    margin: auto;
    padding: 0.7em;
}
    
.datos p{
    font-size: 8.5pt;
    color: black;
    background-color: #A1ABB2;
    font-weight: 200;
    line-height: 1.5em;
    margin: 0;
    padding: 0;
    text-align: justify;
}

.bloquedatos{
    flex-basis: 33%;
    flex-direction: column;
    list-style: none;
    text-align: left;
    background-color: #A1ABB2;
    margin: 0;
    padding: 0.5em;
    width: 30vw;
}

.linkacademico{
    margin-bottom: 0.4em;
    border-bottom: dotted 1px;
}
.linkacademico a{
    text-decoration: none;
    color: black;
    font-weight: 700;
    font-size: 10.4pt;
    background-color: #A1ABB2;
}

.linkacademico a:hover {
    text-decoration: none;
    color: black;
    font-weight: 700;
    font-size: 10.5pt;
    background-color: #A1ABB2;
    font-style: italic;
}

#linkciaa{
    text-decoration: none;
    color: black;
    font-weight: 900;
    background-color: #A1ABB2;
}

#linkciaa:hover{
    font-weight: 900;
    background-color: #A1ABB2;
    color:#ff5818;
}


#logodgpc {
    display: block;
    margin: auto;
    width: 5em;
    box-shadow:  0 10px 10px rgba(0,0,0,0.3);
    background-color: #A1ABB2;
}
    
    
#logodgpc {
    display: block;
    width: 5em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    box-shadow:  0 10px 10px rgba(0,0,0,0.3);
    background-color: #A1ABB2;
}
       

#logofadu {
    display: block;
    width: 5em;
    margin: auto;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    background-color: #A1ABB2;
}
}

@media screen and (min-width: 48em){    
    main>section>section>nav>ul{
    display: flex;
    flex-direction: column;
    list-style: none;
    text-align: center;
    padding-top: 1em;
    margin-left: 1em;
    font-weight:lighter;
    font-size: 13px;
}
}