@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;700&display=swap');
html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
}

body {
    font-family: sans-serif;
    font-size: 1rem;
    line-height: 2;
    background: #98b6ae;
}


/** Globales **/

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

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.6rem;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.8rem;
}

a {
    color: antiquewhite;
    text-decoration: none;
    margin: 0 1rem 0 0;
}

a:hover {
    color: deepskyblue;
}

li {
    list-style: none;
}

.contenedor {
    width: 95%;
    max-width: 120em;
}


/** Encabezado **/

header {
    background-color: rgba(41, 44, 44, 0.5);
}

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

#logo {
    padding: 1em;
}

#logo img {
    width: 4em;
}

.contenedora h1 {
    font-family: 'ubuntu', sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    color: #ffffff;
    margin: 0;
}

nav {
    position: relative;
}

.menu-btn,
.menu-fondo {
    padding: .75rem;
    width: 3rem;
    height: 3rem;
    position: absolute;
    top: -1.5em;
    right: -1em;
    z-index: 9000;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.menuVisible .menu-fondo {
    background: rgba(98, 119, 110, 0.808);
    width: 150vw;
    height: 120vw;
    right: -100vw;
    top: -10vw;
}

.menu-btn .btn-linea {
    width: 25px;
    height: 3px;
    margin: 4px 0 4px 0;
    background: black;
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 9000;
}

.menuVisible .menu-btn .btn-linea {
    transform: rotate(180deg);
    ;
}

.menuVisible .menu-btn .btn-linea:nth-child(1) {
    transform: rotate(45deg) translate(4px, 6px);
}

.menuVisible .menu-btn .btn-linea:nth-child(2) {
    opacity: 0;
}

.menuVisible .menu-btn .btn-linea:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
}

nav ul {
    position: absolute;
    right: 1rem;
    top: calc(100% + 4rem);
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transition: all .5s ease;
}

.menuVisible ul {
    visibility: visible;
    opacity: 100%;
    transition: all .5s .2s ease;
}

nav ul li a {
    border-bottom: solid 4px transparent;
    color: white;
    display: block;
    font-family: 'lora', serif;
    font-weight: 400;
    font-size: 1.5rem;
    width: min(40vw, 15rem);
    text-align: right;
    padding: .5rem;
    text-decoration: none;
}


/** Cuerpo **/

main {
    display: block;
    margin: auto;
    text-align: center;
}

main>h2 {
    font-family: 'lora', serif;
    font-size: 2em;
    font-weight: 700;
    color: rgb(30, 126, 133);
    text-shadow: .1em .1em .2em #5a5959;
}

#yo {
    max-width: 20em;
    border-radius: 100%;
    border: #333232 solid 0.3rem;
    margin-top: 4rem;
}

main h3 {
    font-family: 'ubuntu', sans-serif;
    font-weight: 400;
    font-size: 1.5em;
    margin-bottom: 2em;
}

span {
    font-family: 'lora', serif;
    font-weight: 700;
    font-style: italic;
}

main article ul h4 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    text-align: left;
    font-size: 1.2em;
    padding-left: 0;
}

.contenedor-info {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.contenedor-info img {
    max-width: 100%;
}

.contenedor-info ul li {
    margin-left: 2em;
}

main article ul li {
    list-style: circle;
    text-align: start;
}

.redes {
    margin-top: 2em;
}

.redes ul li {
    list-style: none;
    text-align: center;
    margin: auto;
}

.redes ul li a:hover {
    color: #425964;
}


/** Datos Academicos **/

.compañera {
    margin-top: 3em;
}

.compañera h4 {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.compañera a img {
    border-radius: 50%;
    border: #da98d1 solid .3em;
    width: 10em;
}

.compañera a p {
    font-family: 'ubuntu', sans-serif;
    color: #f0c098;
    font-size: 1.5em;
    font-weight: 700;
}


/** Datos Academicos **/

section h2 {
    font-family: 'ubuntu', sans-serif;
    font-weight: 700;
    font-size: 2em;
    text-align: center;
}

section ul li a img {
    width: 12em;
}

section ul li h3 {
    font-family: 'ubuntu', sans-serif;
    font-weight: 700;
    font-size: 1.6em;
}

section ul li h4 {
    font-family: 'ubuntu', sans-serif;
    font-weight: 400;
    font-size: 1.6em
}

section ul li p {
    font-family: 'ubuntu', sans-serif;
    font-weight: 400;
    font-size: 1.3em;
}

.borde-datos {
    border-bottom: .4rem solid #2d7a85;
    padding-bottom: .5em;
    margin: 2em auto;
}

.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;
}

.acumar {
    color: rgb(182, 182, 182);
}


/** Pie **/

footer {
    background-color: black;
    margin-top: 3em;
}

.pie {
    display: block;
    max-width: 90%;
    margin: auto;
    padding: 1em;
    color: floralwhite;
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 300;
    font-size: 0.8em;
}

.txt-boceto {
    color: #ffffff;
}


/** ---Cambios a partir de los 640px--- **/

@media(min-width: 40em) {
    .contenedora h1 {
        font-size: 1.7em;
    }
    .menu-btn {
        display: none;
    }
    header nav ul {
        display: flex;
        position: relative;
        opacity: 1;
        visibility: visible;
    }
    header nav ul li {
        min-width: 4em;
        margin: .25em 0 .25em .25em;
    }
    header nav ul li a {
        background-color: #425964;
        border-radius: .10em;
        color: white;
        font-size: 0.8rem;
        width: auto;
        padding: .25em .5em;
        text-align: center;
        display: block;
    }
    header nav ul li a:hover {
        background-color: white;
        color: #009cde;
    }
    /*Cuerpo*/
    .contenedor-info {
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
        margin-bottom: 2em;
    }
    .contenedor-info ul li {
        font-size: .85em;
        font-family: 'lora', serif;
    }
    .redes {
        align-items: center;
        border-top: solid 2px #2d7a85;
        border-bottom: solid 2px #2d7a85;
        padding: 1.5em 0;
        margin-top: 4em;
    }
    .redes ul li {
        font-size: 1.1em;
    }
    #yo {
        width: 30em;
    }
    main>h2 {
        font-size: 2.5em;
        width: 100%;
    }
    main h3 {
        font-size: 2em;
        width: 100%;
        margin-top: 0;
    }
    .contenedor-info img {
        max-width: 50%;
    }
    /*Academicos*/
    .algo {
        display: flex;
        justify-content: space-between;
    }
    .algo a img {
        width: 10em;
    }
    .txt {
        text-align: left;
    }
    .txt h3 {
        font-size: 1.5em;
        line-height: 1.5em;
        margin-bottom: .4em;
    }
    .txt h4 {
        font-size: 1.2em;
        line-height: 1.2em;
        margin-bottom: 1em;
    }
    .txt p {
        font-size: 1em;
        line-height: 1.2em;
    }
    .contenido-algo {
        width: calc(50% - .5em);
    }
}


/** ---Cambios a partir de los 800px--- **/

@media(min-width: 50em) {
    .estado-carrera {
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
    }
    .estado-carrera article {
        width: calc(50% -.5em);
    }
    .contenedor-info {
        flex-direction: column;
        align-content: center;
    }
    .contenedor-info img {
        max-width: 80%;
    }
}