*{
    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;
    background-color: hsl(350, 100%, 90%); /* color fondo*/
    color: hsl(0, 80%, 52%); /*color tipografía*/
}

/*sombreado encabezado*/
header{
    background-color: hsl(350, 100%, 75%);
    box-shadow: 8px 5px 5px hsla(0, 77%, 71%, 0.637);
    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(350, 100%, 83%);
    border-radius: 20px;
    outline: none;
    padding: 5px;
}

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

header nav ul{
    margin-block: 0;
}

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

.portfolio{
    font-size: 1.10em;
}

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

.portfolio h1{
    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
}

.catedra{
    background-color: hsl(350, 100%, 75%);
    border-radius: 20px;
    color: hsla(0, 0%, 100%, 0.822);
    box-shadow: 8px 4px 4px hsla(0, 77%, 71%, 0.637);
    padding: 8px;
    text-align: center;
}

.tp{
    background-color: hsla(0, 0%, 100%, 0.822);
    box-shadow: 8px 4px 4px hsla(0, 77%, 71%, 0.637);
    border-radius: 20px;
    text-align: center;
}

.portfolio img{
    width: 320px;
    margin: 8px;
    box-shadow: 8px 4px 4px hsla(0, 77%, 71%, 0.637);
}

.galeria{
    text-align: center;
}

img{
    max-width: 100%;
}

.portfolio h2{
    text-decoration-line: underline;
}

h2{
    display: block;
    font-size: 1.25em;
    margin-block-start: 0.50em;
    margin-block-end: 0.40em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    line-height: 1.1;
}

/*equipo jt05*/
.equipo{
    font-size: 1.10rem;
}

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

.miembros{
    display: flex;
    background-color: hsl(350, 100%, 75%);
    color: hsla(0, 0%, 100%, 0.822);
    box-shadow: 8px 4px 4px hsla(0, 77%, 71%, 0.637);
    border-radius: 20px;
    padding: 3px;
    margin: 10px 0;
    line-height: 2rem; 
    font-size: 1.15rem;
}

.miembros a:hover, .miembros a:focus-visible{
    background-color: hsl(350, 100%, 83%);
    border-radius: 20px;
    outline: none;
}

.miembros a{
    text-decoration: none;
    color: hsla(0, 0%, 100%, 0.822);
    font-weight: normal;
    padding: 3px;
}

/*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 hsla(0, 77%, 71%, 0.637);
    padding-block-end: 1.5em;
    margin-block-end: 1.5em;
}

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

h4{
    display: block;
    font-size: 0.90em;
}

footer{
    background-color: hsl(350, 100%, 75%);
    color: hsla(0, 0%, 100%, 0.824);
    box-shadow: 8px 4px 4px hsla(0, 77%, 71%, 0.637);
    border-radius: 20px;
}

footer p{
    display: flex;
    margin: 15px;
    font-size: 0.80rem;
    text-align: center;
    font-weight: lighter;
}