@charset "utf-8";

* {
    box-sizing: border-box;
}

/*esto no se lee. Ayuda a orgnaizarse*/ 
/* ----- Generales -----------*/

body {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
    background-color: rgb(255, 255, 255);
    margin: 0;
}

header img {
    width: 15%;
}

img {
    max-width: 100%;
}

p,
li {
    text-wrap: pretty;
    color: rgb(66, 7, 71);
}

h1,
h2,
h3,
h4,
h5 {
    color: rgb(66, 7, 71);
    text-wrap: balance;
    line-height: 1.1;
}


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

a {
    color: rgb(66, 7, 71);
    text-decoration-line: none; 
}

header,
footer {
    background-color: rgba(249, 204, 48, 1);
    color: rgb(66, 7, 71);
}

.contenedora {
    font-size: .75em;
    max-width: 55rem;
    margin-inline: auto;
    padding: 1rem;
}

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

header nav ul {
    margin-block: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem
}

header nav a {
    background-color: rgba(249, 204, 48, 1); ;
    color: rgb(66, 7, 71);
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-style: normal;
    display: block;
    padding-block: 0.25em .5em;
    width: 5em;
    text-align: center;
}

a:hover {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: normal;
    
}  



/* ----- Seccion > Titulo y foto -----------*/

section {
    padding: 1rem;
}

h1 {
    padding-left: 1rem;
    color: rgb(66, 7, 71);
    text-transform: uppercase ;
    font-weight: 900;
    font-size: 4em;
}

h2 {
    font-weight: 700
}

h3 {
    font-weight: 500
}

.barra {
    padding-left: 1rem;
    display:flex;
    gap: .25em;
    margin: 0;    
}

.comun {
    text-transform: uppercase;
    font-style: italic;
    font-weight: 100;
}

#comun {
    font-style: italic;
    font-weight: 300;
}

.titulos {
    margin-top: 0;
}

.nombre {
    margin-inline: auto;
}


.listas {
    display: grid;
    grid-template-rows: 20% 40% auto;
    gap: 1rem;
}

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



#volver {
    margin: 1rem;
}

#volver:hover {
    font-weight: 700;
}

.info-personal {
    display: grid;
    gap: 2rem;
}

.materia {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.catedra {
    font-style: italic;
    font-weight: 100;
}

/*-----Trabajos -------*/

.trabajos {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    overflow-x: scroll;
    gap: 1.5em;
}


.trabajos img {
    display: block;
    width: auto;
}

/* ----- Redes ----------*/

.img-redes {
    display: grid;
    grid-template-columns: repeat(8, 35%);
    gap: 1.5rem;
    width: 8rem;
}


/* ----- Datos Academicos -----------*/

.datos-uba ul {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
gap: 1.5em;
}

.datos-uba ul li {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: .5em;
}

.datos-uba img {
    display: block;
    width: 8rem;
    aspect-ratio: 1;
    padding: 1rem;
    object-fit: contain;

}

footer p {
    margin-block-end: 0;
}

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