/* COMPONENTES GENERALES */

*{
    padding:0;
    margin: 0;
    box-sizing: border-box;
}

body{
    background-color: #FFFFEB;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    color:#282828;
}

h1,
h2,
h3{
    color: #BB61FF;
    line-height: 1.1;
}




img{
    max-width: 100%;
    height: auto;
}

a{
    text-decoration: none;
    color:#BB61FF;
    font-weight: bold;
}

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

.contenedora{
    max-width: 80rem;
    margin-inline:auto;
    padding: 2rem;
}


/* COMPONENTE SUPERIOR Y SUS CONTENIDOS */


header,
footer{
    width: 100;
    color: #FFFFEB;
}

header{
    background:linear-gradient(#2CDBFF, #FFFFEB);
}

footer{
    background:linear-gradient(#FFFFEB,#2CDBFF );
}

#logo a{
    display: block;
    width: 5rem;
} 

#logo a:hover,
#logo a:focus-visible{
    border:solid 3px #FFFFEB;
    box-shadow: 5px 5px 15px #BB61FF;

}

/*.menu-btn {
    border:solid 3px #f2f7f5;
    border: none;
    outline: none;
    width: 3rem;
    aspect-ratio: 1;
    border-radius: 50%;
    cursor: pointer;
  }

.menu-btn .btn-linea{
    width: 1.5em;
    height: 3px;
    margin: 4px auto;
    background-color: #FFFFEB;
    transition: all 0.3s ease-out;
  }*/

header nav ul{
    margin-block:0 ;  
     /* display: none; visualizacion celular */
} 

header nav a{
    display: block;
    width: 7em;
    padding-block: .25em .5em;
    text-align: center;
}

nav ul li a{
    text-decoration: none;
     color: #BB61FF;
     font-weight: bold;
}

header nav a:hover,
header nav a:focus-visible{
    border: solid 3px #FFFFEB;
    color:#282828;
    outline: none;
}


/* COMITENTE CENTRAL Y SUS CONTENIDOS */


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


/* SECCION DATOS PERSONALES CONTENEDORA */

.datos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
    align-items: center;
    margin-top: 5rem;
    margin-block-end: 5rem;

}

.navegacion{
    margin-top: 5rem;
    display: flex;
    gap:2.5rem;
    
}

.navegacion > a{
    border: solid#2CDBFF;
    padding: 0.5rem 0.5rem;
    font-weight: 1000;
}

.navegacion a:hover{
    background: linear-gradient(#BB61FF, #FFFFEB);
    color:#282828;
    width: 7em;
    text-align: center;
    border:transparent
    
}
.contenido{
    margin: auto;
    max-width: 25em;
    display: block;
}

.titulo{
    font-size: 22px;
    margin-block-end: 2rem;
    border-block-end: 4px solid rgb(44, 219, 255, 0.3);
    padding: 0.5rem;
    padding-block-end: 1rem;
}

.contenido > h1{
    border-block-end: none;
    font-size: 3rem;
}

.datos h1{
    margin-block-start: 0;
}

.datos img{
    aspect-ratio: 1;
    border-radius: 25% 0;
    border: solid 4px #FFFFEB;
    box-shadow: 0 -3px 9px  #BB61FF;
    
    
}


/* SECCION MATERIAS APROBADAS*/

.cursada{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));  
    text-align: center;
}

.cursada > article{
    padding: 3em;
    margin: 2em;
    aspect-ratio: 1;
    width: 15rem;
    border-radius: 50%;
    border: solid 4px rgb(187, 97, 255, 0.2);
    box-shadow: 0 3px 9px  rgb(44, 219, 255, 0.3);
}


.cursada article > h3{
    margin-block-end: 0.7rem;
    color:rgb(44, 219, 255);
}

/* SECCION EQUIPO */

.equipo article{
    margin-block:  0.5em;
    padding: 1em;
 }

 .equipo_articulos{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
    align-items: center;
    gap: 1rem;
}

.equipo_articulos > article > h3{
    color:#2CDBFF;
    
}

.equipo img{
    width: 12em;
    aspect-ratio: 1;
    border-radius: 25% 0;
    box-shadow: 0 10px 10px transparent;
    transition: box-shadow .8s ease;
    border: solid 2px #FFFFEB;
    box-shadow:3px 5px rgb(187, 97, 255, 0.5);
 }

.equipo a:hover img{
    transition: box-shadow .3s ease;
    box-shadow: 0 4px 2px rgb(61, 52, 139, .8);
 }


 /*SECCION DATOS ACADEMICOS*/


.academicos img{
    display: block;
    width: 7em;
    padding: .5rem;
}

.academicos a:hover img{
    transition: box-shadow .3s ease;
    border: solid rgb(187, 97, 255, 0.5);;
    box-shadow: 0 4px 2px rgb(61, 52, 139, .8);
    border-radius: 50%;
 }


/* FOTTER */


footer img{
    max-width: 10rem;
    border-radius: .5em;
}

footer p{
    margin-block-start: 1em;
    margin-block-end: 0;
}


/* ----- display: flex-grid -----*/


body{
min-height: 100dvh;
display:grid;
grid-template-rows: auto 1fr;
}

.menu-btn{
display: none;
}

header .contenedora{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

header .menu{
    display: flex;
    gap:2.5rem;
}

#logo a{
    display: grid;
    place-items: center;
    padding-block: 0.125em;
}

.equipo_articulos{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
    
}

.equipo_articulos article{
    align-items:flex-end;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
}

.equipo_textos{
    align-self: stretch;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1.25rem
}

.equipo_textos > *{
    margin-block: 0;
}

.equipo_textos h3{
    margin-block-start: 0;
}
/*boton "rotulo" no esta en mi index*/
.equipo_texto a{
    margin-inline-start: auto;
}
/*------------------------------*/

.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;
    margin: 0;
}

footer .contenedora a{
    display: flex;
    justify-content: flex-start;
}

/* portafolio */

.portafolio ul img{
    margin-top: 1em;
    margin-block-end: 1em;
}

.portafolio ul h3{
    margin-top: 4em;
}

