* {
    box-sizing: border-box;
}

body {
    background-color: #f2f7f5;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    color: #475d5b;
}

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

h1,
h2, 
h3 {
    color: #00473e;
    line-height: 1.1;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #00473e;
    font-weight: bold;
}

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

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

/* COMPONENTE SUPERIOR Y SUS CONTENIDOS */

header,
footer {
    background: #fa5246;
    width: 100%;
    color: #f2f7f5;
}

header {
    box-shadow: 0 4px 4px;
    color: #c2c2c2;

}

#logo a {
    display: block;
    border-radius: 50%;
    width: 6rem;
    aspect-ratio: 1;
    text-align: center;
    font-size: 1.75rem;
    background-color: #f2f7f5;
    border: solid 4px #faae2b; 
}

#logo a:hover,
#logo a:focus-visible {
    background-color: #faae2b;
    border: solid 4px #f2f7f5; 
}

#logo a {
    display: grid;
    place-items: center;
}


.menu-btn {
    background-color: #faae2b;
    border: none;
    outline: none;
    width: 3rem;
    aspect-ratio: 1;
    border-radius: 50%;
    cursor: pointer;
}

.menu-btn .btn-linea {
    width: 1.5rem;
    height: 3px;
    margin: 4px auto;
    background-color: #f2f7f5;
    transition: all 0.3s ease-out;
}

header nav ul {
    margin-block: 0;
    display: none;
}

header nav a {
    color: #f2f7f5;
    background-color: #faae2b;
    display: block;
    width: 5em;
    padding-block: .25em;
    border-radius: 0.25em;
    text-align: center;
}
nav ul li a{
    text-decoration: none;
    font-weight: bold;
}

header nav a:hover,
header nav a:focus-visible {
    background-color: #f2f7f5;
    color: #faae2b;
    outline: none;
}

.menu-btn {
    display: none;
}

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

header .menu {
    display: flex;
    gap: 0.25em;
    
}

/*ACA TERMINA EL HEADER */

/* COMPONENTE CENTRAL Y SUS CONTENIDOS */

section {
    padding-block-end: 2rem;
}

/* SECCION COMITENTE */

.comitente {
    font-size: 1.25rem;
}

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

.comitente h4 {
margin-block-end: 0;
font-size: smaller;
font-weight: normal;
line-height: 1;
}

.comitente h1 {
    margin-block-start: 0;
}


/*SECCION EQUIPO */

.equipo a{

    list-style: none;
    text-decoration:solid;
    color: #fa5246;
}

.equipo article {
    background-color: rgb(255, 168, 186, .5);
    margin-block: .5em;
    padding: 1em;
    border-radius: .5em;
}

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

.equipo_articulos article {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.equipo_articulos article {
    margin-block-start: 0;
}

.equipo_textos {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
}

.equipo img {
    width: 20em;
    aspect-ratio: 1;
    border-radius: 10%;
    box-shadow: 0 4px 2px transparent;
    transition: box-shadow .6s ease;
}

.equipo a:hover img {
    box-shadow: 0 4px 2px rgb(250, 83, 71, .5);
    transition: box-shadow .3s ease;
}

/*SECCION ACADEMICOS */

.academicos img {
    display: block;
    width: 8em;
    background-color: white;
    padding: .5rem;
    border-radius: .25rem;
    box-shadow: 0 4px 4px transparent;
    transition: box-shadow .6s ease;
}

.academicos a:hover img {
    box-shadow: 0 4px 4px #475d5b;
    transition: box-shadow .3s ease;
}

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

.academicos ul li{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    align-content: flex-start;
    margin: 0;
}

/*FOOTER */

footer img {
    max-width: 10rem;
    border-radius: .5em;
}

footer .contenedora a{
    display: flex;
    justify-content: center;
}

footer p {
    margin-block-start: 1em;
    margin-block-end: 0;
    text-align: center;
}