@charset "utf-8";


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif, "Roboto";
    text-decoration: none;
    list-style: none;
}

body {
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(237,239,240,1) 100%);
    background-repeat: no-repeat;
    font-family: 'Roboto', sans-serif;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

body main li {
    color: #3399ff;
    margin-bottom: .5em;
    list-style: none;
    font-size: .8em;
}

body main li a{
    color: #3399ff;
    text-decoration: none;

}

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

header {
    display: flex;
    justify-content: flex-start;
    align-content: center;
    flex-direction: column;
    padding: 2em;
    }

header ul {
    list-style: none;
    display: flex;
    padding-top: 1em;
}
    
header ul li {
    width: 100%;
    height: 2em;
    padding-left: .2em;
    display: flex;

}    

header ul li a {
    width: 100%;
    height: 140%;
    background: linear-gradient(to bottom, rgba(183,222,237,1) 0%, rgba(113,206,239,1) 50%, rgba(33,180,226,1) 51%, rgba(183,222,237,1) 100%);;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    } 

main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2em;
} 
    
article {
    max-width: 100%;
    text-align: left;
    margin: auto;
}


h1 {
    font-size: 200%;
    text-align: left;
    font-size: 200%;
    font-weight: 600;
    color: #676767;
    padding-bottom: 1rem;
}
   
    
h2 {
    font-size: 100%;
    font-weight: 500;
    color: #676767;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

section {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    text-align: left;
}

p {
    font-size: 90%;
    text-indent: .5em;
}

a {
    text-decoration: none;
}


#academico {
    font-size: 1em;
    font-weight: 300;
    text-align: left;
    margin-bottom: 1em;
}


.equipo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 2em;

}

.equipo figure {
    width: 50%;
    height: 50vmin;
    position: relative;
    overflow: hidden;
}

.brenda {
    background-image: url(../imagenes/brenda.jpg);
    background-size: cover;
}

.josefina {
    background-image: url(../imagenes/josefina.jpg);
    background-size: cover;
}

.natalia {
    background-image: url(../imagenes/natalia.jpg);
    background-size: cover;
}

.pablo {
    background-image: url(../imagenes/pablo.jpg);
    background-size: cover;
}

.equipo figure:hover figcaption {
    background: linear-gradient(to bottom, rgba(183,222,237,1) 0%, rgba(113,206,239,0.81) 19%, rgba(33,180,226,0.81) 19%, rgba(235,216,183,0) 100%);
    top: 50%;
    transition: all .3s ease;
}
.equipo figcaption {
    background: linear-gradient(to bottom, rgba(183,222,237,1) 0%, rgba(33,180,226,1) 100%);
    color: black;
    font-size: .7em;
    font-weight: 400;
    padding: 0.6em;
    position: absolute;
    height: 100%;
    width: 100%;
    top: calc(100% - 2em);
    transition: all .5s ease;
}

.equipo figcaption span {
    display: block;
    font-size: 1em;
    color: #f0f0f0;
    font-weight: 400;
    margin-top: .5em;
    line-height: normal;
}

.datos2 {
    font-size: .9em;
    font-style: italic;
    font-weight: 300;

}

#mapa {
    display: flex;
    flex-flow: column;
    }


footer {
    background: linear-gradient(to right, rgba(28,196,182,1) 0%, rgba(35,133,237,1) 100%);;
    box-shadow: inset 2px 2px 30px 2px rgba(0,0,0,0.1);
    font-family: "Roboto", sans-serif;
    font-size: .8em;
    padding: 2em;
    color: white;
}


/*
---------------------
14- Mediaquire >640px
---------------------
*/


@media (min-width: 640px) {
    
    body {    
    background-color: #f0f0f0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-content: center;
}
    
    .equipo figure {
    width: 25%;
    height: 30vmin;
    position: relative;
    overflow: hidden;
}
    
    .equipo figcaption {
    font-size: 1em;
}

    
    .equipo {
    flex-direction: row;
    flex-wrap: nowrap;

}   
}





