*{
    box-sizing: border-box;
}

/*items fuera encabezado*/
div nav ul{
    display: flex;
    list-style: none;
    gap: 1rem; 
}

/*sombra cuando acerco el cursor*/
header nav a:hover, header nav a:focus-visible{
    background-color: hsla(118, 50%, 43%, 0.822);
    outline: none;
}

/*boton menu fuera*/
.menu-btn{ 
    display: none;
}
/*encabezado*/
header .contenedora{
    background-color: hsl(132, 75%, 21%);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8rem;
    text-align: center;
    font-size: 1.15rem;
    border-radius: 20px;
}

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

/*cuerpo*/
body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: hsla(118, 50%, 43%, 0.822);
    background-color: hsl(0, 0%, 98%);
    display: grid;
    padding: 20px;
    margin: 5px;
}


/*mi nombre*/
.titulo_personal{
    color: hsla(118, 50%, 43%, 0.822);
    text-decoration-line: underline;
    font-weight: bold;
    font-size: 2em;
}
.texto_personal{
    display: block;
    font-size: 1.10rem;
    line-height: 1.75rem;
}

/*portfolio*/
.boton{
    display: flex;
    align-items: start;
}
#portfolio{
    background-color: hsla(126, 73%, 20%, 0.84);
    border-radius: .25rem;
    color:hsla(128, 53%, 63%, 0.863); 
    padding-block: .25em;
    padding-inline: 1em;
    }
  /* cuando el cursor sobre el enlace "portfolio" o cuando se selecciona con el teclado */
.equipo_texto a:hover,
.equipo_texto a:focus-visible {
color: hsl(0, 0%, 100%);
background-color:  hsla(128, 53%, 63%, 0.863);
outline: none;
}
  


/*materias*/
.columna{
    padding: 15px;
    background-color: hsla(118, 50%, 43%, 0.822);
    color: hsla(0, 0%, 100%, 0.822);
    border-radius: 20px;
    font-weight: lighter;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
       gap: 1rem;
}
.columna >
 ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    gap: 1rem;
}
.materias{
    display: grid;
    grid-template-columns: repeat(4, minmax(min(20rem, 100%), 1fr));
    gap: 1rem;    
}
.h4{
    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;
    padding: 1.25px;
    text-align: justify;
}
.titulo_equipo{
    color: hsl(127, 73%, 22%);
    text-decoration-line: underline;
    font-weight: bold;  
}

seccion equipo
/* componente con todos los datos de cada integrante */
/* TODAS las secciones */


.equipo article {
/* color de fondo */
background-color: hsla(126, 73%, 20%, 0.84);
/* distancia vertical entre los integrantes */
margin-block: .5em;
/* "relleno" (distancia entre contenido y borde) */
padding: 1em;
/* borde redondeado */
border-radius: .25em;
}


/* nombre de integrante del equipo */
.equipo_texto  h3 {
margin-block-start: 0;
}

/* enlace etiqueta rotulo individual" */
.equipo_texto a {
background-color: hsla(126, 73%, 20%, 0.84);
border-radius: .25rem;
color:hsla(128, 53%, 63%, 0.863); 
padding-block: .25em;
padding-inline: 1em;
}

/* cuando el cursor sobre el enlace "rotulo individual" o cuando se selecciona con el teclado */
.equipo_texto a:hover,
.equipo_texto a:focus-visible {
color: hsl(0, 0%, 100%);
background-color:  hsla(128, 53%, 63%, 0.863);
outline: none;
}


/*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 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{
    background-color: hsl(132, 75%, 21%);
    color: hsla(0, 0%, 100%, 0.822);
    padding: 6px;
    margin: 0px;
    display: flex;
    gap: 5rem;
    text-align: center;
    font-size: 0.75rem;
    border-radius: 20px;
    text-align: center;
}