/* GENERAL */

* /* elementos hasta el borde */ {
    box-sizing: border-box;
} 

body {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: lighter;
    margin: 0%;
    color: hsl (0%, 0%, 30%);
    background-color:cornsilk;
}

h1, 
h2, 
h3 {
    color:teal;
    line-height: 1.1;
    text-wrap: balance;
    font-weight:600;
    border-radius: 0,1rem;
}

p,
li {
text-wrap: pretty;
}

img /* todas las imagenes, para que no superen el bloque */ {
    max-width: 100%;
} 


/* -----------HEADER--------*/

 header a{  
    text-decoration: none;
    color: beige;
    font-weight: 500;
}

ul,
ol /* todas las listas*/ {
    list-style: none;
    padding: 0;
} 

header div {
    max-width: 65rem;
    margin: auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: justify;
    flex-wrap: wrap;
  } 

  header,
  footer{
      background-color:salmon;
      color: white;
      border-radius: 12px;
  }

.header {
    box-shadow: 0 4px 6px hsl(0,0%, 60%);
}

#logo {
    display: block;
    border-radius: .5rem;
    width: 8rem;
    height: auto;
    padding: .25rem .5em;
    background-color:salmon;
}

/* (los links del HEADER) */ 
header nav ul {
margin-block: 0;
display: flex;
}

header nav a {
color:teal;
background-color: beige;
width: 5rem;
display: block;
padding-block: 0,25em .5em;
border-radius: 30px;
text-align: center;
margin-right: 1rem;
}


header nav ul li a:hover{
    background-color: white;
    color:teal;
}

/* -----------MAIN--------- */

.contenedora{
  padding-block: 1rem;
  max-width: 50rem;
  margin-inline: auto;
}

.comitente img /* fotosol */{
height: auto;
width: 200px;
margin: 0;
border-radius: 3rem ;
margin-inline-end: 1rem;
margin-inline-start: 3rem;
}

.comitente p{
    font-size: 1rem;
    max-width: max-content;
}

.comitente figure {
    margin: 0;
    width: clamp (10rem, 8rem + 25vw, 30rem);
    margin-inline-end: 1rem;
}

.comitente {
    background-color: teal;
    margin-block: .5rem;
    padding: 1em;
    border-radius: .40em;
    display: flex;
    align-items: center;
    border: 5px solid salmon;
}

.comitente h1, p {
    color:white;
}

.titulo /* subrayado abajo de cada título */ {
    border-block-end: 4px solid salmon;
    padding-block-end: .35rem;
}

.materias {
    background-color:bisque;
    margin-block: .5rem;
    padding: 1em;
    border-radius: .40em;
    margin-top: 30px;
}

.cursando {
    background-color:bisque;
    margin-block: .5rem;
    padding: 1em;
    border-radius: .40em;
    margin-top: 30px;
}

.equipo {
    background-color:bisque;
    margin-block: .5rem;
    padding: 1em;
    border-radius: .40em;
    margin-top: 30px;
}

.equipo ul {
   display: flex;
   list-style: none;
   padding: o;
   justify-content: center;
}

.equipo ul li {
    margin-right: 1rem;
}

.equipo ul a {
    text-decoration: none;
    color:white;
    background-color: teal;
    border-radius: 12px;
    padding: 0.25em 0.5em;
}

/* -----------ACADEMICOS + grid--------- */

.datos > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(5rem, 100%), 1fr));
    gap: 1em;
    padding: 0;
    list-style: none;
}

.datos > ul > li {
    background-color:bisque;
    margin: 1em;
    padding: 1em;
    border-left: solid 8px salmon;
    border-radius: 0.25em;
    font-size: small;
    align-items: center;
    gap: 1rem;
}

.datos p {
    color: teal;
}

.datos img{
 width: 100px;
 height: auto;
 flex-shrink: 0;
}


footer p {
    font-size: medium;
    padding: 1rem;
}

