*{
    box-sizing: border-box;
}

/*cuerpo*/
body{
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    margin: 10px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: hsl(0, 0%, 0%); /*color tipografÃ­a*/
}

/*sombreado encabezado*/
header, footer{
    background-color: hsl(127, 51%, 55%);
    box-shadow: 8px 5px 5px hsla(127, 73%, 22%, 0.664);
    border-radius: 20px;
    display: grid;
}

/*encabezado*/
header .contenedora{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 15px;
    text-align: center;
    font-size: 1.15rem;
    border-radius: 20px;
}

.contenedora{
    max-width: 65rem;
    margin-inline: auto;
    width: min(65rem, calc(100% - 3rem));
    width: calc(100% - 3rem);
    padding: 1rem;
}

/*boton menu fuera*/
.menu-btn{ 
    display: none;
}

/*lista items encabezado afuera*/
div nav ul{
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

ul { 
    margin-block-start: 1em;
}

/*sombra cuando acerco el cursor*/
header nav a:hover, header nav a:focus-visible{
    background-color: hsl(128, 76%, 69%);
    color: hsl(128, 62%, 15%);
    border-color: hsl(0, 0%, 100%);
    outline: none;
    border-radius: 20px;
}

/*texto encabezado*/
header a{
    text-decoration: none;
    color: hsl(0, 0%, 100%);
    font-weight: bold;
}

header nav ul{
    margin-block-end: 0;
}

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

.museo{
    font-size: 1.10em;
}

section{
    padding-block-end: 2rem;
}

.unma h1{
    margin-block-start: 0;
    margin-block-end: 20px;
    font-weight: bold;
    font-size: 2em;
}

.titulo{
    border-block-end: 3px solid;
    padding-block-end: 0.50rem;
    line-height: 1.1;
    color: hsl(127, 73%, 22%);
}

.unma img{
    float: left;
    width: 30em;
    margin-inline-end: 1em;
    border-radius: 10px;
}

img{
    max-width: 100%
}

.unma p{
    display: block;
    margin-block-start: 3em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-size: 1rem;
    line-height: 1.75rem;
}

.unma h4{
    font-size: 0.90em;
    font-weight: bold;
    margin-block-end: 0;
    line-height: 1;
}

h4{
    display: block;
    margin-block-start: 2.50em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

/*equipo jt05*/



.equipo h2{
    margin-block-end: 20px;
    font-weight: bold;
    font-size: 2em;
    padding: 1rem;
}

.equipo img{
    width: 6em;
    aspect-ratio: 1;
    border: solid 0.4em hsl(127, 73%, 22%);
    border-radius: 50%;
    box-shadow: 0 4px 2px hsla(127, 73%, 22%, 0.534), 
    0 4px 2px hsla(127, 73%, 22%, 0.534) inset;
    float: left;
    margin: 15px
}



.article{
    margin-block: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1rem;
    text-align: center;
    justify-items: stretch;
    align-items: stretch;

}

.article h3{
    margin-block-start: 3rem;
    color: hsl(0, 0%, 100%);
    text-align: center;
    line-height: 1.1;
    display: grid;
    grid-template-rows: auto 1fr;
}

.article a{
    margin-inline-start: auto;
    background-color: hsl(128, 62%, 15%);
    color: hsl(0, 0%, 100%);
    border-radius: 20px;
    padding-block: 0.50em;
    padding-inline: 1em;
    text-decoration: none;
    font-weight: lighter;
    display: grid;
    grid-template-rows: auto 1fr;
}

.miembros_textos a:hover, .miembros_textos a:focus-visible{
    margin-inline-start: auto;
    background-color: hsl(128, 76%, 69%);
    color: hsl(127, 73%, 22%);
    border-radius: 20px;
    padding-block: 0.50em;
    padding-inline: 1em;
    display: grid;
    grid-template-rows: auto 1fr;
}



.item {
    background-color: hsl(127, 51%, 55%);
    margin-block: 0.15em;
    padding: 1em;
    border-radius: 20px;
}

------

.miembros  {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax (min (20m, 100%) ,1fr) );
    gap: 1rem;
    justify-items: stretch;
    align-items:center; 
 }

 .equipo > div, .academicos > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    gap: 1rem;
}
.contenedora {
    width: min(65rem, calc(100% - 3rem));
    margin-inline: auto;
}

article {
    background-color: hsl(127, 51%, 55%);
    margin-block: 0.15em;
    padding: 1em;
    border-radius: 20px;
}

/*seccion datos academicos*/


/* elementos de lista "descendientes directos"
de listas "descendientes directas"
de la seccion de datos academicos"
MENOS el ultimo */

    /* imagenes SOLO en la seccion academicos */
    .academicos{
        font-size: 1.10rem;
    }
    
    .academicos h2{
        margin-block-end: 20px;
        font-weight: bold;
        font-size: 2em;
    }
    .academicos img {
        display: block;
        width: 8em;
        aspect-ratio: 1;
        background-color: white;
        padding: .5rem;
        border-radius: .25rem;
        box-shadow: 0 4px 4px transparent;
        transition: box-shadow .6s ease;
        }
        
        
        /* -------------------
            componente inferior
            y sus contenidos
            ------------------- */
        
        /* imagenes contenidas en la etiqueta "footer" */
        footer img {
        max-width: 10rem;
        }
        
        /* parrafos contenidos en la etiqueta "footer" */
        footer p {
        /* elimina el margen inferior que viene predeterminado */
        margin-block-end: 0;
        }
        .academicos > ul {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
            gap: 1rem;
        }
        
        .academicos > ul > li {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: flex-start;
            align-content: flex-start;
        }

/*pie de pagina*/
footer .contenedora{
    display: flex;
    align-items: center;
}


footer p{
    display: flex;
    gap: 5rem;
    margin: 0px;
    font-size: 9px;
    text-align: stretch;
    font-weight: lighter;
    color: hsl(0, 0%, 100%);
    align-items: stretch;
}
