body {
    font-family: Helvetica;
    margin: 0;
    color: rgb(23, 23, 23);
    background-color: #EDF2C9;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    color: #738C16;

}

h1 { font-size: 4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 1rem; }

/*fotos miden max el tamaño del contenedorbloque que las contiene*/
img {
    max-width: 100%;
}

/*vinculos*/
a {
    text-decoration: none;
    color: #9DBF22;
    font-weight: bold;
}

/*pasar el cursor*/
a:hover,
a:focus-visible {
color: rgb(117, 137, 117)
}

/*listas*/
ul,
ol {
    list-style: none;
    padding: 0;
}
/*class contenedora*/
.contenedora {
width: min( 75rem, calc(100% - 2rem) );
margin-inline: auto;
}

figure {
    margin: 0;
}


/*componenete superior*/
header {
    background-color:#738C16;
    color: white;

}

footer {
    background-color:#738C16;
    color: white;
    padding-block: 1rem;
}

header {
    box-shadow: 0 4px 4px hsl(0 0 0 / 25%);
}

#logo img {
    background-color: white;
    padding: .5rem;
    border-radius: .25rem;
    
}

header nav a {

    color: rgb(255, 255, 255);
    display: block;
    width: fit-content;
    padding-block: .5rem;
    padding-inline: 1rem;

}

header nav a:hover,
headernav a:focus-visible {
    background-color:rgb(192, 192, 192);
    color: rgb(66, 80, 70);
    border-radius: .25rem;
}

section {
    padding-block: 2rem;
}


/*comp principal*/

section h1 {
    border-block-end: 3px solid #738C16;
    padding: 1rem;
}

section h2, {
    border-block-end: 3px solid #738C16;
    padding: 1rem;
    
}

.equipo h2 {
    border-block-end: 3px solid #738C16;
    padding: 1rem;
}


/*seccion equipo*/

.equipo article {
  
    padding: 1em;
}

.equipo img {
   /* border: solid .2em hsl(120, 10%, 100%); */
    width: 15em;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius:  5%;
}



.equipo_textos h3 {
    margin-block-start: 0,5;

}



.equipo_textos a,
.academicos a {
padding-block: .25em;
padding-inline: 1em;

    background-color: #FFFFFF;
    border: 1px solid rgb(209,213,219);
    border-radius: .5rem;
    box-sizing: border-box;
    color: #111827;
    line-height: 1.25rem;
 
    text-align: center;
    text-decoration: none #D1D5DB solid;
    text-decoration-thickness: auto;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}
.academicos a {
line-height: 4rem;
}

.equipo_textos a:hover,
.academicos a:hover,
.equipo_textos a:focus-visible,
.academicos a:focus-visible {
    background-color: rgb(249,250,251);
    color: rgb(117, 137, 117);
    border-radius: .25rem;
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: none;
}




/*seccion academicos*/
.academicos > ul > li {
    padding-block-end: 1.5em;
    margin-block-end: 1.5em;
  }

  .academicos img {
    display: block;
    width: 8em;
    aspect-ratio: 16/9;
    background-color: white;
    padding: .5rem;
    border-radius:  5%;
    object-fit: contain;
    

  }

  footer p {
    margin-block: 0;
    padding-block: .5rem;
    padding-inline: 1rem;
  }


  /*grid y flex*/

  body { 
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
  }

  header .contenedora {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  header nav ul {
    display: flex;
    gap: .5rem;
  }
  
  header nav a {
    display: grid;
    place-items: center;
  }

.equipo .contenedora {
 

    display: flex;
    gap: 5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.academicos .contenedora {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(20em, 100%), 1fr));
    gap: 1.5em;
}


/*
PLAN
*/

.plan {
    display: grid;
    grid-template-columns: repeat(2, minmax(auto, 50em));
    gap: 0.1em;
    max-width: 80em;
    margin-inline: auto;
    justify-content: center;

 }

 .plan figure img,
 .empatia figure img{
    border-radius: 1%;
 }
