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

.personal{
    font-size: 1.10em;
}

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

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

.personal img{
    float: left;
    margin-inline-end: 1rem;
    border-radius: 50%;
    width: 8em;
    border: solid 0.4em hsl(350, 100%, 75%);
    box-shadow: 0 4px 2px hsla(0, 77%, 71%, 0.637), 
    0 4px 2px hsla(0, 77%, 71%, 0.637) inset;
}

img{
    max-width: 100%
}

.personal p{
    display: block;
    margin-block-start: 2.5em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-size: 1rem;
    line-height: 1.75rem;
    text-align: left;
}

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


/*materias aprobadas*/
.materias{
    display: grid;
    grid-template-columns: repeat(3, minmax(min(10rem, 100%), 1fr));
    gap: 1rem;    
}

.columna{
    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;
    text-align: center;
    font-weight: normal;
    padding: 15px;
}

.aprobado{
    list-style: none;
    padding: 2px;
    margin: 1.15px;
    text-align: center;
    line-height: 1.40rem;
}

/*portfolio*/
.boton{
    display: flex;
    align-items: start;
}

#portfolio{
    text-decoration: none;
    background-color: hsla(0, 0%, 100%, 0.822);
    color: hsl(0, 80%, 52%);
    box-shadow: 4px 4px 4px hsla(0, 77%, 71%, 0.637);
    border-radius: 20px;
    padding: 0.25rem 0.25rem;
    font-size: 15px;
    font-weight: lighter;
}

/*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 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: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    line-height: 2.5;
}

h4{
    display: block;
    font-size: 0.90em;
    margin-block-start: 0.50em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

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;
    gap: 5rem;
    margin: 15px;
    font-size: 0.80rem;
    text-align: center;
    font-weight: lighter;
}