*{ 
    box-sizing: border-box;
    font-family: sans-serif;
    

}

header,footer{
    background-color:hsl(253, 69%, 75%);
    padding: 1rem;
    width: 100%;
    margin: 0;
    
}

header{
    display: grid;
    grid-template-columns: 10rem 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    
}

header nav ul{
    max-width: 30rem;
  /* width: min (100%, 28rem);*/
    margin-inline-start: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;

}
h1{
    font-size: 1.5rem;
    color: hsl(253, 51%, 23%);
}

h3{
    background-color: hsl(253, 51%, 23%); ;
    border-radius: 2rem;
    padding: 0.7rem;
    width: 100%;
    color: hsl(44,100%,90%);
}

body{
    background-color: hsl(253, 52%, 80%);
    color: hsl(0, 0%, 4%);
    font-family: monospace;
    margin: 0;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr;
}
main{
    max-width: 60rem;
    margin-inline: auto;
    width: calc(100% - 3rem);
    display: block;

}

figure{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
    color: hsl(253, 51%, 23%);
}

nav ul a{
    color: hsl(253, 51%, 23%);
    background: hsla(46, 89%, 72%, 0.849);
    border-radius: 0.5rem;
    border:none;
    padding: 0.5rem;
    border-radius: 1rem;
    transition: 0.7s all;
    cursor:pointer;
    font-size: 1rem;
    text-align: center;
    
        
    
}
    
nav ul a:hover{
    transform: scale(1.05); 
    color: hsl(44,100%,90%);
    background:  hsl(253, 51%, 23%);
}

a img{
    background-color: hsla(253, 51%, 23%, 0.637);
    border-radius: 1em;
    padding: 0.5rem;
}

a img:hover{
    background-color: hsl(253, 51%, 23%);
}

.redes{
    display: grid;
    justify-content: center;
    
}

.btn-equipo{
    color: hsl(253, 51%, 23%);
    background: hsla(46, 89%, 72%, 0.849);
    border-radius: 0.5rem;
    border:none;
    padding: 0.5rem;
    border-radius: 1rem;
    transition: 0.7s all;
    cursor:pointer;
    font-size: 1rem;
    text-align: center;

}

.btn-equipo:hover{
    transform: scale(1.05); 
    color: hsl(44,100%,90%);
    background:  hsl(253, 51%, 23%);
}

.dgpc{
    padding: 1rem;
    
  }
.info-principal{
    text-align: center;
 
}
img{
    max-width: 50%;
}
.avatar{
    border-radius: 50%;
    margin: auto 20%; 
    
}

/*
button{
    color: hsl(253, 51%, 23%);
    background: hsla(46, 89%, 72%, 0.849);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem;
    border:none;
    border-radius: 2rem;
    transition: 0.7s all;
    cursor:pointer;
    font-size: 1rem;
    box-shadow: 3px 3px 3px #3411326d;
   
    
}

button:hover{
    transform: scale(1.05); 
    color: hsl(44,100%,90%);
    background:  hsl(253, 51%, 23%);
}


*/


.contenedora-sobre-mi{
   /* width: min(65rem, calc(100% - 3rem));
    margin-inline: auto;*/
    display: grid;
    padding-top: 3rem;
}

.redes{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(10rem,100%),1fr));
    justify-items: center;
    margin-inline: auto;
    width: 50%;
}
/*
.btn-icon{
    border-radius: 5rem;
    padding: 0;

    background:  hsl(253, 51%, 23%);
}

.btn-icon:hover{
    transform: scale(1.05); 
    background:  hsl(252, 60%, 18%);
}
*/
.contenedor-materias{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    
}

/*interior de las columnas*/
.columna-materias{
    display: grid;
    background-color: hsla(46, 89%, 72%, 0.849);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem;
    text-align:center;
    vertical-align: top;
    justify-items: center;
    box-shadow: 3px 3px 3px #3411326d;

}




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



.rotulo-individual{
    display: grid;
    grid-template-rows: 2fr;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2rem;
}

.imagen-equipo{
    margin-left: 7.5em; /*esto centra a la img*/
    width: 80%;
    border-radius: 50%;
    
}


.contenedora-datos-academicos{
   
    line-height: 1.5rem;
    padding-bottom: 3rem;
   
    
}
.contenedora{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
    gap: 0.5rem;
    margin-inline: auto;
}

.uba{
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 1rem;
    
    
}

/*
.fadu{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin: 1rem;
}
*/
.imagen-fadu{
    margin-left: 2rem;
}

.title{
    border-block-end: 3px solid hsl(253, 51%, 23%);
}