@charset "utf-8";

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

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f3f6fe;
}

h1,
h2,
h3,
h4,
h5,
h6,
p { margin-bottom: 1em;
}

a { text-decoration: none; }

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

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

header {
    background:linear-gradient(86.63deg, #6EB3BC -14.08%, #7FADCF 44.31%, #5641D9 125.44%);
    color: white;
    padding: 1rem;
}

footer {
    background: linear-gradient(358.4deg, #1C1553 10.41%, #3B3765 98.64%);
    color: white;
    padding: 1rem;
}


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

header nav ul {
    display: none;
}

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

header nav ul li a {
    color: rgb(248, 248, 248);
    font-weight: bold;
    padding: .25em .5em;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.3);
    display: block;
}

header nav ul li a:hover {
    background-color: #ffffff; opacity: 60%;
    outline: whitesmoke;
    border-radius: .96em ;
    color: rgb(104, 98, 182);
}

.menu-boton .boton-linea1 {
    width: 25px;
    height: 4px;
    margin: 5px 0 5px 0;
    background: rgb(255, 255, 255);
    border-radius: .60rem;
}

  .menu-boton .boton-linea2 {
    width: 17px;
    height: 4px;
    margin: 5px 0 5px 0;
    background: rgb(255, 255, 255);
    border-radius: .60rem;
}


#logo {
    background-color: white;
    border-radius: auto;
    padding: auto;
    width: 6em;
}

main { padding: 1em }

section { padding-bottom: 2rem; }

section:first-of-type { font-size: 1.25em }

.contenedora {
    /* max-width: 50rem; */
    margin: auto;
    text-align: center;
}

.contenedora2 {
    display: flex;
    flex-direction: column;
    width: 75%;
    margin: auto;
    text-align: center;
}
/* perfil */
.perfil {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 2em;
    margin-top: 3em;
    padding-bottom: 1em;
    border: .09em solid #E1E1E1
}

#carrera,
#nombre {
    margin: 0.4em
}

.titulo {
    text-align: center;
    font-size: 2em;
    margin-top: 2em;
    margin-bottom: 1.2em;
}

.foto {
    margin-top: 1em;
    border: solid .25em #8bb6f7ce;
    border-radius: 50%;
    width: 200px;
    height: 200px
}
/* termina perfil */

/* bocetos */

.boton {
    align-items: center;
    background-color: #B7C1E3;
    border-radius: 2.5rem;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 2.5em;
    width: 13em;
    padding: .125em 1em;
    text-align: center;
    margin: 20px auto 20px auto;
}

.botones {
    display: flex;
    flex-direction: column;
}

.bocetos{
    display:flex;
    flex-direction: column;
    align-items: center;
    display: block;
}

.bocetos img {
    width: auto;
    height: auto;
    margin: 20px 10px;
}

.boton:hover {
    color: white;
    background-color: #718AE1;
    border-radius: 2.5rem;
}

/* termina bocetos */

/* equipos */

.miembros {
    display:flex;
    flex-direction: column;
    align-items: center;
}

.miembros li {
    background: #FBFCFE;
    border:  1.5px solid #E1E1E1;
    border-radius: 15%;
    line-height: 1.25em;
    padding: 1.4em;
    margin: 1em 1em 1em 1em;
    width: 390px;
}

.miembros li div {
    color: #2c2c2c;
    font-weight: bold;
    margin: 1em;
    font-size: 1.4em;
    white-space: nowrap;
}

/* termina equipos */

/* .academicos > ul > li {
} */

.academicos > ul > li:not(:last-of-type) {
    padding-bottom: 1.5em;
    margin-bottom: 1.5em;
}

.academicos img {
    width: 12em;
    height: auto;
}

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

.academicos h3 { margin-top: 0; }


@media(min-width: 40rem) {
    .menu-boton {
        display: none;
    }
    header nav ul {
        display: flex;
    }
}

@media(min-width: 65rem) {
    .perfil,
    .bocetos,
    .miembros {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: flex-start;
    }

    .titulo {
        text-align: left;
    }
    .botones {
        flex-direction: row;
        justify-content: space-evenly;
    }

}

@media(min-width: 75em) {
    .academicos > ul {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }
    .academicos > ul > li {
        width: calc(33.33% - 2em);
        flex-direction: column;
    }
   
}