@charset "utf-8";



@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@500;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');



* { box-sizing: border-box; }

main { 
    padding: 1em 
}

body {
    background-color: white;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
}

#puente {
    display: flex;
}

h1, h2, h3, h4{
    font-family: 'Ubuntu', sans-serif;
    color:#298cee;
}

a { text-decoration: none; 
    
}

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

img {
    max-width: 100%;
    height: auto;
}

.contenedora {
    max-width: 50rem;
    margin: auto;
}

.redes ul{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.redes img{
    padding-right: 0.8em;
    width: 4em;
}


header{
    padding: 1rem;
}

footer {
    background-color: rgba(224, 243, 252,100);
    padding: 1em;
    font-size: 0.8em;
    display: flex;
    color: #298cee;
    text-align: left;
}


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

#logo {
    border-radius: .35em;
    padding: .35em;
    width: 6em;
}


/* ---------nav--------- */


header nav ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

header nav ul li {
    min-width: 4em;
    margin: .25em 0 .25em .25em;
}

header nav ul li a {
    background-color: #298cee;
    border-radius: .25em ;
    color: white;
    font-weight: bold;
    padding: .25em .5em;
    text-align: center;
    display: block;
}

header nav ul li a:hover {
    background-color: white;
    color: #298cee;
}

section { padding-bottom: 2rem; 
}


/* ---------nav--------- */

/* ---------equipo--------- */


.equipo ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.equipo img {
/*    margin-right: auto;*/
/*    padding: 5px;*/
    border: solid 1.5px #298cee;
    border-radius: 50%;
    padding: 5px;
    width: 60%;
}

.equipo ol li {
    background-color: rgba(224, 243, 252, 0.5);
    margin: .5em 0;
    padding: 1em;
    width: 49%;
    border-radius: .25em;
    display: flex;
    flex-direction: column;
}

.equipo ol li > *:not(p) {
    display: block;
    text-align: center;
    margin: 0 auto;
}

.equipo ol li h2 { 
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-size: 1em;
}

.equipo ol li a {
    background-color: rgba(200, 195, 193);
    border-radius: .25rem;
    color: #298cee;
    line-height: 1.25em;
    padding: .125em 1em;
    margin-top: auto;
}

.equipo ol li a:hover {
    color: white;
    background-color: #298cee;
}
/* ---------equipo--------- */


/* ---------academicos--------- */
.academicos p{
    font-size: 0.8em;
}

.academicos ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.academicos  ul  li:not(:last-of-type) {
    border-bottom: solid 1px rgba(0, 0, 0, 0.2);
    padding-bottom: 1.5em;
    margin-bottom: 1.5em;
    text-align: center;
}

.academicos img {
    width: 12em;
    height: auto;
    justify-content: center;
}

.academicos ul li *:first-child {
    margin-right: 1em;
    width: 12em;
    text-align: center;
}

.academicos h3 { 
    margin-top: 0; 
}



 
/* ---------academicos--------- */


/*Dispositivos desde 968px de ancho*/
@media screen and (min-width: 968px){
    .portadapuente img {
       width: 900px;
        max-width: 900px;
        align-content: center;
        margin: 0 auto;
    
    }
    
    .equipo {
        width: 60%;
    }
    .equipo ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
}







/*Dispositivos desde 1200px de ancho*/
@media screen and (min-width: 1200px){
    .portadapuente img {
        width: 1000px;
        max-width: 1000px;
        height: auto;
        align-content: center;
        margin: 0 auto;
    
    }
    
    .equipo {
        width: 60%;
        flex-direction: row;
        
    }
    .equipo ol {
    display: flex;
    flex-direction: row;
    width: 100%;
}
    .equipo ol li {
    background-color: rgba(224, 243, 252, 0.5);
    margin: .5em 0;
    padding: 1em;
    width: 49%;
    border-radius: .25em;
    display: flex;
    flex-direction: column;
}