* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #F5713C;
    background-color: #161616;
    font-family: Helvetica, Arial, sans-serif;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr;
  }

h1, h2, h3{
    text-decoration: none;
    color: #F5713C;
    line-height: 1.1;
}

h1{
    font-size: 2rem;
}

h2{
    font-size: 2rem;
    border-bottom: 4px solid #F5713C; 
    padding-bottom: .35rem; 
}

h5{
    color: #161616;
}

img {
    max-width: 100%;
  }

a{
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    color: #000000;
}

p,
li {
  text-wrap: pretty;
  color: #ffffff;

}

/* las listas */
ul,
ol{
    list-style: none;
    padding: 0rem;
}

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


header,
footer {
  background-color:  #5ba8e7;
  color: hsl(0 0% 95%);
}

#logo{
    display: block;
    border-radius: .5rem;
    padding: .35rem;
    max-width: 8rem;
}

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


/*
menu 
*/

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

header nav ul li{
    margin: .45em;    
}

header nav a{
    background-color: #161616;
    border-radius: .25em;
    color: white;
    font-weight: bold;
    padding: .25em .5em;
    text-align: center;
    width: auto; 
    display: inline-block;
}

header nav ul li a:hover{
    background-color: #F5713C;
    color: #000000;
}


section.contenedora {
    padding: 2em;
}
  
.titulo {
    border-block-end: 4px solid  #F5713C;
    padding-block-end: .35rem;
}


/*comitente*/

.comitente {
    font-size: 1.25em;
}
  
.comitente figure {
    float: left; 
    margin: 0;
    width: clamp(10rem, 1rem + 25vw, 30rem);
    margin-inline-end: 1rem;

}
.comitente img {
    border-radius: .30rem;
}

/*equipo datos*/

.equipo_contenedora {
    margin-block: .5em;
    max-width: 90%;
    padding: 5em;
    border-radius: .25em;
    text-align: center;
}


.equipo_textos h3 {
  margin-right: auto;
  color: #161616;
}

.equipo img {
    width: 180px;
    border-radius: 0.25em;
    border: solid 5px#ff8800;
    text-align: center;
}

.equipo img:hover {
    border: solid 5px #ffffff;

}

.equipo_textos h3 {
    margin-block-start: 0; 
    text-align: center;
    font-family: sans-serif;
}

.equipo_textos a {
    background-color: hsl(0, 0%, 100%);
    border-radius: 100vw;
    color: #161616;
    font-size: .85em;
    padding-block: .125em .25em;
    padding-inline: 1em .75em;
}


/*DATOS ACADEMICOS---------------*/

.academicos > ul > li {
    margin: 0em 1em 1em auto;
    padding: 0 0 0 3em;
    border-left: solid 8px #5ba8e7;
    border-radius: 0.25em;
    font-size: small;
}
  
.academicos img {
    display: block;
    width: 15em;
    aspect-ratio: 1;
    object-fit: contain;
}
  
.academicos h4{
    color: #F5713C;
}

/*EQUIPO GRILLA-------------------------------------------*/

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

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

.equipo_articulos article {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 1rem;
    background-color:  #5ba8e7;
    border-radius: 0.25em;
    padding: 20px;

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



/* GRILLA DATOS ACADEMICOS---------------*/


.academicos > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 0em;
}


.academicos > ul > li {
    display: flex;
    flex-wrap: wrap;
    gap: 0em;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
}
  
.academicos h4{
    margin-block-start: 0;
}
  