@font-face {
    font-family: "Catamaran-Light";
    src: url(fuentes/Catamaran-Light.ttf);
}

@font-face {
    font-family: "Catamaran-Medium";
    src: url(fuentes/Catamaran-Medium.ttf);
}

@font-face {
    font-family: "Catamaran-Regular";
    src: url(fuentes/Catamaran-Regular.ttf);
}

@font-face {
    font-family: "Catamaran-Semibold";
    src: url(fuentes/Catamaran-SemiBold.ttf);
}

@font-face {
    font-family: "Catamaran-Bold";
    src: url(fuentes/Catamaran-Bold.ttf);
}

@font-face {
    font-family: "Buda";
    src: url(fuentes/Buda-Light.ttf);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0;
}

 :root {
    --color-textos: hsl(0, 0%, 0%);
    --color-textos-2:  hsl(0, 0%, 100%);
    --color-textos-3:  hsl(60, 6%, 29%);
    --color-textos-4: hsl(39, 86%, 72%);
    --color-textos-5: hsl(201, 40%, 11%);
    --color-textos-alfa: rgba(98, 98, 98, 0.527);
    --color-fondos: hsl(180, 2%, 87%); 
    --color-fondos-2: hsl(201, 40%, 11%, 54%);
    --color-fondos-3: hsl(199, 41%, 11%);
    --color-fondos-4: hsl(201, 40%, 11%);
    --color-1: hsl(201, 40%, 11%);
    --color-2: hsl(201, 40%, 11%, 54%);
    --color-3: hsl(0, 0%, 100%, 54%);

    --sombras:
    0
    4px
    2px
    var(--color-textos-alfa);
}

/** BODY **/
body {
    background-color: var(--color-fondos);
    font-family: "Catamaran-Regular";
}

h1 {
    font-family: "Catamaran-Bold";
    color: var(--color-textos-3);
}

h2 {
    font-family: "Catamaran-Semibold";
    color: var(--color-textos-2);
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

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

section,
article {
    padding-bottom: 2rem;
}


/** HEADER **/
header {
    background: linear-gradient(to bottom, var(--color-1), var(--color-2));
    padding-top: .7em;
    padding-bottom: .7em;
}

header .contenedora {
    width: 80%;
    margin-inline: auto;
}

header nav {
    justify-content: center;
    min-width: 80%;
}

header nav ul {
    margin-block: 0;
    display: none;
}

header nav a {
    font-family: "Catamaran-Regular";
    text-transform: uppercase;
    color: var(--color-textos-2);
    /** box-shadow: var(--sombras); **/
    display: block;
    width: 5.7em;
    text-align: center;
}

header nav a:hover {
    background-color: var(--color-textos-4);
}


/** MENU **/
.menu-btn {
    background-color: var(--color-fondos-3);
}

.menu-btn,
.menu-fondo {
    border-radius: 25%;
    padding: .4rem;
    padding-left: .5rem;
    width: 2.8rem;
    height: 2.8rem;
    cursor: pointer;
}

.menu-btn .btn-linea {
    width: 1.8em;
    height: 3px;
    margin-block: .4em; 
    background-color: var(--color-textos-2);
    transition: all 0.3s ease-out;   
}

.btn-index, .btn-plan, .btn-mapa {
    border-right: solid 1px var(--color-3);
}


/** CAMILA **/
.camila {
    width: 80%;
    margin-inline: auto;
    text-align: center;
    margin-top: 2.5em;
}

.camila img {
    border-radius: 50%;
    aspect-ratio: 1/1;
    box-shadow: var(--sombras);
    max-width: 15em;
    max-height: 15em;
    align-content: center;
    margin-bottom: 1.5em;
}

h1 {
    font-size: 2em;
    margin-bottom: .7em;
}

.camila a {
    color: var(--color-textos-3);
}

.camila p {
    text-align: left;
    font-size: 1.1em;
}

/** CARRERA **/
.carrera h2 {
    color: var(--color-textos-2);
    font-size: 1.7em;
    background-color: var(--color-fondos-2);
    text-align: center;
    padding-top: .3em;
    padding-bottom: .3em;
    width: 100%;
}

.materias {
    width: 80%;
    margin-inline: auto;
    margin-top: 2em;
}

.materias li {
    font-size: 1.1em;
}

.niveles {
    margin-top: 2em;
    margin-bottom: 1em;
}

.encurso {
    margin-top: 2em;
    margin-bottom: 1em;
}

.encurso h3 {
    margin-bottom: 1.2em;
}

.carrera h3 {
    font-size: 1.5em;
    margin-top: 2em;
}

.carrera h4 {
    font-size: 1.3em;
    font-family: "Catamaran-Medium";
}


/** TESIS **/
.tesis {
    background-color: var(--color-fondos-3);
    color: var(--color-textos-4);
    text-align: center;
}

.tesis h3 {
    font-family: "Catamaran-Medium";
    text-transform: uppercase;
    font-size: 1.7em;
    padding-top: .5em;
    padding-bottom: .2em;
    width: 80%;
    margin-inline: auto;
    border-bottom: solid 1px var(--color-textos-4);
}

.crescence img {
    width: 20em;
    margin-inline: auto;
    margin-top: 2.5em;
    margin-bottom: 1.7em;
}

.tituloylogline p {
    font-family: "Catamaran-Light";
    font-size: 1.1em;
    width: 80%;
    margin-inline: auto;
}

.portada img {
    margin-top: 3em;
    margin-bottom: 3em;
}

.secondtitleeilusion p {
    text-transform: uppercase;
    font-family: "Buda";
}

.secondtitleeilusion img {
    width: 10em;
    margin-top: 2em;
}


/** DATA **/
.data {
    width: 80%;
    margin-inline: auto;
    margin-top: 3em;
}

.data h2 {
    color: var(--color-textos-5);
    font-family: "Catamaran-Medium";
    font-size: 1.7em;
    text-align: center;
    margin-top: 1em;
    margin-bottom: .5em;
}

.data a {
    color: var(--color-textos-2);
    font-family: "Catamaran-Light";
    font-size: 1.3em;
    background-color: var(--color-fondos-2);
    padding-top: .2em;
    padding-bottom: .2em;
    padding-left: .5em;
    padding-right: .5em;
    border-radius: .2em;
    box-shadow: var(--sombras);
}

.data li {
    margin-top: 1em;
    margin-bottom: .5em;
}


/** EQUIPO **/
.equipo {
    border-bottom: solid 1px var(--color-1);
}

.equipo ul {
    display: flex;
    justify-content: space-around;
}


/** BOCETOS **/

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


/** ACADEMICOS **/
.academicos {
    font-family: "Catamaran-Regular";
}

.academicos h2 {
    color: var(--color-textos-2);
    font-size: 1.7em;
    background-color: var(--color-fondos-2);
    text-align: center;
    padding-top: .3em;
    padding-bottom: .3em;
    width: 100%;
}

.academicos > ul {
    width: 80%;
    margin-inline: auto;
    margin-top: 2em;
}

.academicos > ul > li:not(:last-of-type) {
    border-bottom: solid 1px var(--color-fondos-3);
    padding-block-end: 1.5em;
    margin-block-end: 1.5em;
}

.academicos h3 {
    color: var(--color-textos-5);
    font-family: "Catamaran-Bold";
    margin-top: 1em;
    margin-bottom: 1em;
}

.academicos img {
    width: 8em;
}

.uba img {
    border-radius: 50%;
    width: 8em;
    min-width: 8em;
}


/** FOOTER **/
footer {
    background-color: var(--color-fondos-4);
    color: var(--color-textos-2);
    font-family: "Catamaran-Regular";
    font-size: .6em;
}

footer p {
    width: 80%;
    margin-inline: auto;
    padding-top: 2em;
    padding-bottom: 2em;
}


/** A PARTIR DE 480 **/
@media (min-width:30em) {

    /** ACADEMICOS **/
        .uba {
            display: flex;
            align-items: center;
        }

        .uba {
            display: flex;
            flex-wrap: wrap;
            gap: 1em;
        }

        .uba .titulo {
            order: -1;
            width: 100%;
        }

        .uba img {
            margin-right: 1em;
        }


    /** MENU **/
    .menu-btn {
        display: none;
    }

    /** HEADER **/
    header {
        padding-top: 1em;
        padding-bottom: 1em;
    }

    header nav,
    header nav ul {
        display: flex;
        gap: 1em;
    }
}


/** A PARTIR DE 640 **/
@media (min-width:40em) {

    /** BOCETOS **/
    .boceto ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }


    /** CARRERA **/
    .materias {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .materias h3 {
        width: 100%;
        margin-top: 1em;
    }

    .niveles {
        width: 40%;
    }

    .niveles:not(:last-of-type) {
        margin-right: 1em;
    }

    .encurso {
        margin-top: 1em;
        width: 100%;
    }


    /** ACADEMICOS **/
    .fadu {
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
    }

    .fadu .titulo {
        order: -1;
        width: 100%;
    }

    .fadu ul {
        margin-left: 1em;
    }

    .dgpc {
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
    }

    .dgpc .titulo {
        order: -1;
        width: 100%;
    }

    .dgpc ul {
        margin-left: 1em;
    }


    /** FOOTER **/
    footer {
        font-size: .7em;
    }
}



/** A PARTIR DE 880 **/
@media (min-width:55em) {

    /** CAMILA **/
    .camila {
        display: flex;
        width: 65%;
        margin-inline: auto;
        align-items: center;
    }

    .usuario {
        margin-left: 2em;
    }

    h1 {
        text-align: left;
    }

    .materias {
        width: 65%;
        margin-inline: auto;
    }

    /** TESIS **/
    .crescence img {
        width: 25em;
    }

    .secondtitleeilusion p {
        font-size: 1.2em;
    }

    .tesis h3 {
        width: 65%;
        margin-inline: auto;
    }

    .tituloylogline p {
        width: 65%;
        margin-inline: auto;
    }

    .portada img {
        margin-top: 4em;
        margin-bottom: 5em;
    }

    .secondtitleeilusion img {
        width: 13em;
        margin-bottom: 2em;
    }


    /** DATA **/ 
    .data {
        width: 65%;
        margin-inline: auto;
    }


    /** ACADEMICOS **/ 
    .academicos ul {
        width: 65%;
        margin-inline: auto;
    }


    /** FOOTER **/ 
    footer p {
        width: 65%;
        margin-inline: auto;
    }
}



/** A PARTIR DE 1120 **/
@media (min-width:70em) {

    /** HEADER **/
    header {
        padding-top: 1.3em;
        padding-bottom: 1.3em;
    }

    header .contenedora {
        width: 65%;
        margin-inline: auto;
    }


    /** CARRERA **/
    .niveles {
        width: 30%;
    }

    .encurso {
        margin-top: 0;
    }


    /** DATA **/
    .data {
        display: flex;
        align-items: center;
        margin-left: 6em;
        margin-right: 6em;
        width: 65%;
        margin-inline: auto;
        justify-content: space-around;
        align-items: flex-start;
        gap: 2em;
    }

    .equipo {
        border-bottom: 0;
    }

    .equipo ul {
        text-align: center;
        flex-wrap: wrap;
        gap: 1em;
    }

    .boceto ul {
        flex-wrap: wrap;
        gap: 1em;
    }


    /** ACADEMICOS **/
    .academicos > ul {
        display: flex;
        justify-content: space-between;
        width: 65%;
    }

    .academicos li {
        font-size: 1em;
    }

    .academicos .titulo {
        font-size: 1.3em;
    }

    .academicos h2 {
        font-size: 1.7em;
    }

    .uba {
        width: 30%;
    }

    .uba ul {
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .uba a {
        order: -2;
    }

    .fadu {
        width: 30%;
    }

    .fadu img {
        width: 11em;
    }

    .fadu a {
        order: -2;
    }

    .fadu ul {
        display: flex;
        flex-direction: column;
        margin-left: 0;
    }
 
    .dgpc {
        width: 30%;
    }

    .dgpc ul {
        display: flex;
        flex-direction: column;
        margin-left: 0;
    }

    .dgpc a {
        order: -2;
    }

    .academicos > ul > li:not(:last-of-type) {
        border-bottom: none;
    }

    .academicos h3 {
        margin-top: .1em;
        margin-bottom: .1em;
    }


    /** FOOTER **/
    footer {
        font-size: .8em;
    }
}




@media (min-width: 90em) {

    /** CARRERA **/
    .niveles {
        width: 22%;
    }


    /** TESIS **/

    .tituloylogline p {
        font-size: 1.3em;
    }

    .tituloylogline img {
        width: 30em;
    }

    .portada img {
        margin-bottom: 7em;
    }

    .secondtitleeilusion p {
        font-size: 1.5em;
    }

    .secondtitleeilusion img {
        margin-bottom: 5em;
        width: 15em;
    }
}