@charset "utf-8";

/* "reseteo" selector universal */
* {
    /* para que el ancho de las cajas
       se calcule hasta los bordes y NO
       sólo por sus contenidos */
    box-sizing: border-box;
}


/* ****************
   reglas generales
   **************** */

body{
    /* elimina margen predeterminado */
    margin: 0;
    /* cambia la tipografía general del proyecto */
    font-family: "trebuchet ms", helvetica, sans-serif;
    background-color: #F9EDD2;
}


/* selector múltiple */
h1{
    color:#3273CE;
    font-size: 2em;
    font-family: gotham -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
}
h2{
    color: #3273CE;
    font-size: 1em;
    font-family: gotham -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
}

p {  
    /* redefine los márgenes inferiores
    para que midan el tamaño de la tipografía */
    margin-bottom: 1em;
    text-align: center;
}

/* TODOS los vínculos */
a{
    /* elimina los subrayados */
    text-decoration: none;
}


/* TODAS las listas */
ul,
ol{
    /* elimina bullets, números etc. */
    list-style: none;
    /* retira el relleno izquierdo predeterminado */
    padding: 0;
}

/* TODAS las imágenes */
img {
    /* para que NO midan más que la etiqueta que las contiene */
    max-width: 100%;
    /* opcional, evita deformaciones en navegadores antiguos */
    height: auto;
    align-content: center;
}


/* selector clase: grupo de elementos con características comunes */
.contenedora {  
    /* limita el ancho a 800px */
    max-width: 50rem;
    /* centra "la caja" horizontalmente */
    margin: 0 auto;
    /* distancia de los bordes al contenido igual a un renglón */
    padding: 1rem; 
}

header,
footer{
    background-color: #E24B00;
    color: white;
}

header .contenedora {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: justify;
}

#logodgpc{
    background-color: white;
    border-radius: .35em;
    padding: .35em;
    width: 6em;
}

header nav ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* vínculos del menu principal */
header nav ul li{
    min-width: 6em;
    margin: .25em 0 .25em .25em;    
}

/*
header nav ul li{
    min-width: 10em;
    margin: .5em .5em .35em;    
}*/

header nav ul li a{
    background-color: #3273CE;
    border-radius: .25em ;
    color: white;
    font-weight: bold;
    padding: .25em .5em;
    text-align: center;
    font-family: gotham -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 
    /* para que estas etiquetas "a" sean "cajas" */
    display: block;
    text-transform: uppercase;
}
/*
header nav ul li a {
    background-color: #3273CE;
    border-radius: .25em ;
    color: white;
    font-weight: bold;
    padding: .10em .10em;
    text-align: center;
    width: 10em;
    font-family: gotham -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 
    display: block;  
    text-transform: uppercase;
}

/* cuando el cursor se posiciona sobre los vínculos */
header nav ul li a:hover {
    background-color: white;
    color: #3273CE;
}

section {
    padding-bottom: 1em;
}

section:first-of-type {
    font-size: 1em;
    text-align: justify;
}

.titulos{
    color: #E24B00;
    text-transform: uppercase;
    text-align: center;
}


.equipo img {
    border-radius: 2.5%;
    justify-content: center;
    padding-bottom: 1.5em;
    
}

.equipo ol li {
    margin: .5em 0;
    border-radius: .25em;
    text-align: center;
}

.equipo ol li > *:not(p) {
    display: block;
    text-align: center;
    margin: 0 auto;
}

.equipo{
    display: flex;    
    justify-content: center;
    text-align: center;
    background-color: #A5D3F9;
    color: #3273CE;
    width: 100%;
    border-radius: .99em;
    flex-direction: column;
}

.equipo h2{
    width: 100%;
}

.equipo h2 {
    margin-top: .6em;
    margin-bottom: .0em;
    color: #3273CE;
    text-align: center;
}

#integrante {
    display: center;
    background-color: #3273CE;
    border-radius: .25rem;
    color: white;
    font-weight: bold;
    line-height: 1.7em;
    padding: .125em .5em;
    margin: 0 0 .3em;
} 
    
#integrante:hover {
    background-color: white;
    color: #3273CE;
}
    
.academicos > ul > li {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.academicos > ul > li:not(:last-of-type) {
    border-bottom: .2rem solid #E24B00;
    padding-bottom: .9em;
    margin-bottom: .9em;
}

.academicos img {
    width: 12em;
    height: auto;
}

.academicos > ul > li > *:first-child {
    margin-right: 2em;
    width: 12em;
}

.academicos h3 { margin-top: inherit; }

.plan main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.plan main > :not(:first-child) {
    width: 48%;
}

