@charset "utf-8";

*{box-sizing:border-box;}


body {font-family: Arial, Helvetica, sans-serif;
     color: hsl(0%,0%,50%);
    margin: 0;
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-width: 100%;
}

main { 
    padding-inline: 1rem;
}

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

p,li {text-wrap: pretty;
text-align: start;
}

h1,h2,h3,h4 {color: midnightblue;
line-height: 1.1;
text-wrap: balance;
text-align: start;}

a {text-decoration: none;
color: blueviolet;
font-weight: bold;}

ul,ol {
 list-style: none;   
  padding: 0;}

header {background-color: powderblue;
color: white;}

footer {
    background-color: powderblue;
    color: midnightblue;
}


header {
    box-shadow: 0 4px 4px 
    hsl(0, 0%, 0% / 20% );
}

#logodgpc {
    display: block;
    border-radius: 0;
    width: 8rem;
    padding: .1rem .1rem;
    background-color: powderblue;
    border: solid 3px hsl(0, 0%, 95%)
}

header nav ul 
{margin-block: 0;
display: flex;
gap: 1rem;
flex-wrap: wrap;
justify-content: flex-end;
}

header nav a
{
color: white;
background-color: midnightblue;
display: block;
width: 7em;
padding-block: 0.25em .5em;
border-radius: 15px;
text-align: center;
transition: background-color 0.7s ease, color 0.3s ease;
margin-right: 50px;
gap: 1rem;
}

header nav ul li {
    width: 5em;
    height: 2em;
    margin-left: .30em;
    margin-right: 50px;
    display: block;
    text-align: center;
    gap: 1rem;
}

header nav {
    padding: 1em;
    border-radius: 1em;
    margin: 1em;
    gap: 3em;
    margin-right: 13px;
}

.titulos {
    border-block-end: 5px solid powderblue;
    padding-block-end: .35rem;
    border-bottom: .1em solid powderblue;
    color: midnightblue;
    text-transform: uppercase;
}

h1 {
    text-align: left;
}

header nav a:hover
header nav a:focus-visible
.index nav li:first-of-type a,
.plan nav li:nth-of-type(2) a,
.mapa nav li:nth-of-type(3) a {
    background-color: aliceblue;
    color: blueviolet;
    outline: none;
}

section.contenedora {
    padding-block: 2em;
}

.contenedora {
    max-width: 65rem;
    margin-inline: auto;
    padding: 1rem;
}

.equipo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.comitente {font-size: 1.25em;}

.comitente figure {
    margin: 0;
    width: clamp(10rem, 8rem + 25vw, 30rem);
    margin-inline-end: 1rem;
}

.comitente img {
    border-radius: .25rem;
    display: flex;
    align-items: center;
}

header h1 {
    background-color: whitesmoke;
    color: midnightblue;
    border: solid 0; color: midnightblue;
    padding: 1em;
    width: 50%;
    box-sizing: border-box;
    border-radius: 1em;
    margin: 1em;
}

.equipo article {
    background-color: aliceblue;
    margin-block: 5em;
    padding: 1em;
    border-radius: .25em;
}

.equipo img {
    background-color: blueviolet;
    width: 300px;
    max-width: 100%;
    margin-right: 20px;
    aspect-ratio: 1;
    border: 5px solid hsl(280, 20%, 44%);
    border-radius: 50%;
    box-shadow: 0 4px 4px hsl(0, 0%, 0% / 20%);
}

.equipo_textos h3 {
    margin-block-start: 0;
}

.equipo_textos a {
    background-color: aliceblue;
    border-radius: 100vw;
    color: blueviolet;
    padding-block: .125em .25em;
    padding-inline: 3em 2em;
    font-size: .85em;
}

.equipo_articulos {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
gap: 1rem;
}

.equipo_articulos article {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 4rem;
}

.equipo_textos {
    display: grid;
    grid-template-rows: auto auto 1fr;
    margin-inline-start: auto;
    gap: 1.25em;
    margin: 0;
}


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

.academicos img {
    display: block;
    margin: 0;
    width: 12em;
    height: auto;
    gap: 3em;
    margin-right: 50px;
}



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

.academicos h3 {
    border-block-end: 5px solid darkslateblue;
    padding-block-end: .35rem;
    border-bottom: .1em solid darkslateblue;
     margin-block-start: 0;
     color:darkslateblue;
}

.logos {
    margin: 0 auto 0em 1em;
}

.logos img {
    text-align: center;
    margin: 1em 1em 1em 0;
}

.logos ul li {
    margin: 0 1em 2em auto;
    padding: 0 0 0 1em;
    border-left: solid;
    border-radius: 0.25em;
}


footer p {margin-block-end: 0;}

body {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr;
}

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

header nav ul {
    display: flex;
    gap: .25em;
    flex-wrap: wrap;
}



h5 { color: black;}

.equipo_textos a {
    margin-inline-start: auto;
}

.academicos > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
    gap: 3em;
}

.academicos > ul > li {
    display: flex;
    flex-wrap: wrap;
    text-align: start;
    gap: 3em;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
}



footer .contenedora p {
    margin-block: 0;
}
