*{
    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;
}

/*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;
    padding: 1rem;
}

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

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

/*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-radius: 20px;
    padding: 3px 8px;
    outline: none;
}

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

header nav ul{
    margin-block: 0;
}

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

.museo{
    font-size: 1.10em;
}

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

.museo 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%);
}

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

img{
    max-width: 100%
}

.museo 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;
    text-align: justify;
}

.museo 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{
    font-size: 1.10rem;
}

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

.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;
}

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

.miembros{
    display: grid;
    grid-template-columns: repeat(3, minmax(min(5rem, 100%), 1fr));
    gap: 1rem;
}

.miembros_textos{
    margin-block: 0;
    align-self: stretch;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1rem;
    text-align: center;
}

.miembros_textos h3{
    margin-block-start: 3rem;
    color: hsl(0, 0%, 100%);
    text-align: center;
    line-height: 1.1;
}

.miembros_textos 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;
}

.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;
}

/*datos academicos*/
.academicos{
    font-size: 1.10rem;
}

.academicos h2{
    margin-block-end: 20px;
    font-weight: bold;
    font-size: 2em;
}

.academicos p{
    display: block;
    font-size: 0.90em;
}

.academicos img{
    display: block;
    width: 8em;
    background-color: hsl(0, 0%, 100%);
    padding: 0.35rem;
    border-radius: 0.50rem;
    aspect-ratio: 1;
    box-shadow: 0 4px 4px transparent;
    transition: box-shadow .6s ease;
}

.academicos div{
    line-height: 1.35em;
    border-block-end: 0.50px solid;
    padding-block-end: 1rem;
}


.academicos > ul > li:not(:last-of-type){
    border-bottom: solid 1px hsl(280 29% 44% / .15);
    padding-block-end: 1.5em;
    margin-block-end: 1.5em;
}


h3{
    display: block;
    font-size: 1em;
    margin-block-start: 0.50em;
    margin-block-end: 0.25em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    line-height: 2.5;
}

/*pie de pagina*/
footer .contenedora{
    display: grid;
    grid-template-columns: 10rem 1fr;
    gap: 1rem;
    align-items: center;
}

footer img{
    display: block;
    width: 8em;
    box-shadow: 0 4px 4px transparent;
    transition: box-shadow .6s ease;
    float: right;
}

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