@charset "utf-8";
*{
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth
}
body {
    font-family: sans-serif;
    color: rgba(0, 0, 0, 0.836);
    background-color: rgba(97, 136, 158, 0.493);
   margin: 0;
   min-height: 100dvh;
   display:grid;

}

main{
display: block;
}
.comitente img{
    max-width: 100%;
    margin: 0em;
    border-radius: 20%;
    border: solid .4em rgba(37, 72, 105, 0.986) ;
    box-shadow: 0px 4px 4px 4px;
    color: rgba(0, 0, 0, 0.171);
    
}
p,li {
    text-wrap: pretty;
    margin: 1em;

}
.portfolio nav{
    display: flex;
    gap: .25rem;
    flex-wrap: wrap;
    margin-block: 0;

}
.portfolio a{
    background-color:rgba(37, 72, 105, 0.986) ;
    margin-block: .5em;
    padding: .5em;
    border-radius: .25em;
    width: fit-content;
    box-shadow: 10px 10px 10px hsl(0 0% 0% / 20%);
}

h1, h2, h3, h4, h5 {
    text-wrap: balance;
    line-height: 1.1;
    color: rgb(0, 0, 0)
}
a{ 
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
}
ul,ol{
    list-style: none;
    padding:0
}
header, footer{
    background-color:rgba(37, 72, 105, 0.986) ;
    padding: 0.5em;
}
header nav a {
    color: white;
    background-color:rgba(29, 95, 216, 0.493) ;
    display: block;
    width: 5em;
    padding-block: 0.5em;
    border-radius: 100vw;
    text-align: center;
}

nav ul {
   font-family:'Courier New', Courier, monospace
    color rgb(255, 255, 255);
    list-style: none;
    padding: 0;
}


header .contenedora {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    
}
h1 {
    color: rgb(0, 0, 0);
    padding: 1em;
    width:auto;
    border-bottom: 5px solid rgba(37, 72, 105, 0.986) ;
    }
header nav ul{
    display: flex;
    gap: .25rem;
    flex-wrap: wrap;
    margin-block: 0;
    color:  rgba(37, 72, 105, 0.986) ;;
}
footer p {
    margin: 0;
    text-wrap: pretty;
    color: azure;
}
.equipo_textos {
    color: rgb(255, 255, 255);
    display: grid; 
    grid-template-rows: auto auto 1fr;
    gap:2rem;
    justify-items: center;
}
.equipo_textos > * {
    margin: 0;  
}
.equipo_articulos article {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: space-between;
}

div.equipo_articulos{
    display: grid;
    align-items: center;
    justify-content: space-between;

}
.equipo article {
    background-color:rgba(37, 72, 105, 0.986) ;
    margin-block: .5em;
    padding: 1em;
    border-radius: .25em;
    width: fit-content;
    box-shadow: 10px 10px 10px hsl(0 0% 0% / 20%);
}
.equipo_articulos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    gap: 1rem;
}
section.contenedora {
    padding-block: 2em;
}
.comitente{
    font-size: 1.25em;
}
h2 {
    border-bottom: 5px solid rgba(37, 72, 105, 0.986) ;
    padding: .5em ;
    width: auto;
}

.equipo_textos h3,h5 {
    color: aliceblue;
}

.equipo_textos a {
    display: grid;
    justify-items: end;
    background-color:rgba(49, 104, 175, 0.986);
    border-radius: 100vw;
    color: hsl(0, 0%, 97%);
    text-decoration: none;
    font-size: 0.85em;
    padding-block: .125em .25em;
    padding-inline:1em .75em;
    margin-inline-start: auto;
}
.contenedora {
    margin-inline: auto;
    padding-block: 1rem;
    max-width: 65rem;
}
.equipo img {
    max-width: 100%;
    margin: 1em;
    background: hsl(231, 100%, 47%);
    width: 10em;
    aspect-ratio: 1;
    border: solid .4em rgba(49, 104, 175, 0.986);
    border-radius: 20%;
    box-shadow: 0 4px 4px hsl(0 0% 0% / 20%);
}

.academicos > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    gap: 1em;
  }
.academicos > ul > li {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
  }
.academicos h3 {
    margin-block-start: 0;
  }
.academicos img{
        max-width: 100%;
        border: solid .4em rgb(20, 132, 197);
        border-radius: 20%;
    }
header nav li :hover,
header nav li :focus-visible,
.plan nav li:nth-of-type(2) a,
.mapa nav li:nth-of-type(3) a 
{
    background-color: rgb(255, 255, 255);
    color: rgba(37, 72, 105, 0.986) ;
    outline: none;
}
.equipo_textos a:hover,
.equipo_textos a:focus-visible {
  color: rgba(37, 72, 105, 0.986) ;
  background-color: hsl(0, 0%, 100%);
  outline: none;
}
.portfolio a:hover,
.portfolio a:focus-visible {
  color:rgba(37, 72, 105, 0.986) ;
  background-color: hsl(0, 0%, 100%);
  outline: none;
}
p{
    text-wrap: balance;
}

@media (min-width:50em){
    .imagen-texto{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        gap: 4em;
        align-items: initial;
    }
    
}
 @media (min-width:60em){
    p{
        
    }
} 