* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: hsl(0, 0%, 0%);
    background-color: hsl(0 0% 95%);
    font-family: Roboto;
  }

.comitente p {
    font-size: medium;
}

main section p {
    margin-top: 0;
    font-size: small;
}



h1 {
    text-decoration: none;
    color: #00875e;
    font-size: 2em;
}

h2 {
    text-decoration: none;
    color: #00875e;
    font-size: 1.5em;
}
h3 {
    text-decoration: none;
    color: #000000;
    font-size: 1em;
}

h4 {
    margin: left;
    margin-top: 0;
    margin-bottom: 0;
}


img {
    max-width: 100%;
}

header div img{
    width: 100px;
    display: block;

}

header,
footer {
    box-shadow: 0 4px  15px hsl(0 0% 0% / 20%);
    background-color: #00875e;
    color: hsl(0, 0%, 0%);
}
footer {
    color: white;
}

header nav ul {
    margin-block: 0;
}

header nav a {
    color: hsl(0 0% 95%);
    background-color: #a7cc15;
    display: block;
    width: 6em;
    padding-block: 0.25em .5em;
    border-radius: 100vw;
    text-align: center;
    outline: solid 1px rgb(255, 255, 255);
}

header nav a:hover,
header nav a:focus-visible,

.index nav li:first-of-type a,
.plan nav li:nth-of-type(2) a,
.mapa nav li:nth-of-type(3) a {
  background-color: hsl(0 0% 95%);
  color: #a7cc15;
}


a {
    text-decoration: none;
    color: hsl(0, 0%, 0%);
    font-weight: bold;
}

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

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

.titulo {
    border-block-end: 4px solid #f56217;
    padding-block-end: .35rem;
}


.equipo article {
    background-color: hsla(279, 36%, 37%, 0.15);
    margin-block: .5em;
    padding: 1em;
    border-radius: .25em;
}
.academicos {
    margin-block: .5em;
    padding: 1em;
    border-radius: .25em;
}
.academicos article {
    background-color: hsla(278, 55%, 74%, 0.15);
    margin-block: .5em;
    padding: 1em;
}

.academicos img {
    width: 150px;
    margin-bottom: 0rem;
    margin-top: 0rem;
}

.equipo img {
    width: 150px;
    border-radius:50%;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

main .equipo article a{
    color: hsl(0 0% 95%);
    background-color: #a7cc15;
    display: block;
    width: 5em;
    padding-block: 0.25em .5em;
    border-radius: 100vw;
    text-align: center;
    outline: solid 1px rgb(255, 255, 255);
}

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


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

header nav ul {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

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


footer .contenedora p {
    margin-block: 0;
}

main div img{
    width: 500px;
}

.comitente div{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    gap: 1rem;
}

main section .equipo article{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    gap: 1rem;
}

.equipo article div{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    
}

.equipo article div a{
    margin-inline-start: auto;
}

