@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

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

header {
    background-image: url(../imagenes/background_360px.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100%;
    max-width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
}

.logodgpcuba {
    max-width: 6em;
    height: auto;
    margin: 5px 20px;
}

h1,
h2,
h3 {
    margin: 0em 1.8em 0.2em 1.8em;
}

nav {
    font-family: "Urbanist", sans-serif;
}

nav ul {
    list-style: none;
    position: relative;
    justify-content: center;
    display: flex;
    margin: 0px 20px;
}

nav ul li {
    padding: 0.2em 0.4em 0.2em 0.4em;
    margin: 0.2em 0.2em;
    background-color: #ffffff;
    box-sizing: border-box;
    border-radius: 16px;
    width: 25%;
    justify-content: center;
    display: flex;
}

nav ul li a {
    font-weight: 500;
    color: #F76B14;
    text-align: center;
    margin: 0em 0.3em 0em 0.3em;
}

nav ul :hover {
    background-color: #7658BF;
}

nav ul li :hover {
    color: #ffffff;
}

#imagenandrealecca figure {
    display: flex;
    justify-content: center;
    margin: 0.6em 0em;
}

#imagenandrealecca figure img {
    width: 200px;
    height: 100%;
}

#presentacion h1 {
    font-family: "Lobster", cursive;
    font-weight: 400;
    color: #7658BF;
    font-size: 2em;
    text-align: center;
}

#presentacion h2 {
    font-family: "Lobster", cursive;
    font-weight: 400;
    color: #333333;
    font-size: 2em;
    text-align: center;
}

#presentacion h3 {
    font-family: "Urbanist", sans-serif;
    font-weight: 500;
    color: #333333;
    font-size: 1em;
    text-align: center;
}

#materias figure {
    display: flex;
    justify-content: center;
    margin: 10px 0px;
}

#ilustracionmaterias img {
    width: 250px;
}

#materias ul {
    justify-content: center;
    padding: 10px 50px;

}

#materias h3 {
    font-family: "Urbanist", sans-serif;
    font-weight: 500;
    color: #7658BF;
    margin: 0em;
}

#materias ul li {
    font-family: "Urbanist", sans-serif;
    font-weight: 400;
    color: #333333;
    font-size: 1em;
    line-height: 1.5em;
    list-style: disc;
    text-align: left;
}

#sobremi h2 {
    font-family: "Lobster", cursive;
    font-weight: 400;
    color: #7658BF;
    font-size: 2em;
    text-align: center;
    margin: 10px 20px;
    padding: 10px 0px 0px 0px;
    border-top: solid 0.2em #7658BF;
}

#sobremi ul {
    justify-content: center;
    font-family: "Lobster", cursive;
    margin: 10px 30px;
    list-style: none;
    text-align: center;
}

#sobremi ul li {
    margin: 1.5em 0em;
}

#sobremi ul li a {
    text-decoration: none;
    font-weight: 400;
    font-size: 1.2em;
    color: #7658BF;
    margin: 10px 0px;
}

#sobremi ul li a:hover {
    color: #310b91;
}

#sobremi figure img {
    width: 150px;
    height: 100%;
    max-width: 100%;
}

#rotulos-integrantes {
    background-color: #D7E7FF;
    background-position: center;
    background-size: 0px 45px;
    margin: 10px 20px;
    padding: 10px 0px;
    border-radius: 30px;
    justify-content: center;
}

#rotulos-integrantes h2 {
    font-family: "Lobster", cursive;
    font-weight: 400;
    color: #7658BF;
    font-size: 2em;
    text-align: center;
    margin: 10px 20px;
    padding: 10px 0px;
}

#rotulos-integrantes ul {
    justify-content: center;
    font-family: "Lobster", cursive;
    margin: 10px 30px;
    list-style: none;
    text-align: center;
}

#rotulos-integrantes ul li a:hover {
    color: #310b91;
}

#rotulos-integrantes figure {
    margin: 10px 0px;
}

#rotulos-integrantes figure img {
    width: 150px;
    height: 100%;
    max-width: 100%;
    border-radius: 30px;
    justify-content: center;
}

#rotulos-integrantes ul li a {
    text-decoration: none;
    font-weight: 400;
    font-size: 1.2em;
    color: #7658BF;
    padding: 10px 30px;
}

#rotulos-integrantes ul li h3 {
    font-weight: 400;
    font-size: 1.2em;
    color: #124d85;
    padding: 0px 30px;
    margin: 0px;
}

#datos-academicos {
    border-top: solid 0.4em #7658BF;
    margin: 20px 30px;
}

.datosuba,
.datosfadu,
.datosdgpc {
    padding: 10px 0px;
}

#logofaduuba img {
    width: 250px;
    height: 100%;
    max-width: 100%;
    margin: 10px 0px;
}

#logouba img {
    width: 100px;
    height: 100%;
    max-width: 100%;
    margin: 10px 0px;
}

#logodgpcfadu img {
    width: 150px;
    height: 100%;
    max-width: 100%;
    margin: 10px 0px;
}

#datos-academicos h4 {
    font-family: "Urbanist", sans-serif;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5em;
}

#datos-academicos p {
    font-family: "Urbanist", sans-serif;
    font-weight: 400;
    color: #333333;
    font-size: 1em;
    line-height: 1.4em;
}

footer {
    font-family: "Urbanist", sans-serif;
    background-color: #C4ADEB;
    background-size: cover;

}

footer p {
    font-weight: 400;
    color: #333333;
    font-size: 1em;
    padding: 40px 0px;
    margin: 0px 30px;
    margin-bottom: 0.2em;
}

/* a partir de los 640px para celulares*/
@media screen and (min-width: 40em) {
    header {
        background-image: url(../imagenes/background_640px.jpg);
    }

    #materias ul {
        text-align: center;
    }

    #materias ul li {
        text-align: center;
        list-style: none;
    }
}

/* a partir de los 800px para tablet*/
@media screen and (min-width: 50em) {
    header {
        background-image: url(../imagenes/background_800px.jpg);
    }

    .contenedor {
        position: relative;
        width: 100%;
        min-height: 100px;
        padding: 50px;
    }

    .navbar {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .contenedor .navbar {
        flex-direction: row;
    }

    .logodgpcuba {
        position: relative;
        max-width: 8em;
        height: auto;
        display: flex;
    }

    nav {
        font-family: "Urbanist", sans-serif;
    }

    nav ul {
        list-style: none;
        position: relative;
        display: flex;
    }

    nav ul li {
        padding: 0.2em 0.5em 0.2em 0.5em;
        margin: 0.2em 0.7em;
    }

    nav ul li a {
        margin-left: 10px;
        margin-right: 10px;
    }

    #imagenandrealecca figure img {
        width: 250px;
    }

    #materias {
        display: flex;
        justify-content: center;
    }

    #ilustracionmaterias {
        display: flex;
        position: relative;
        justify-content: right;
    }

    #ilustracionmaterias img {
        padding: 30px 10px;
        margin: 25px 50px;
        width: 300px;
    }

    #materias ul {
        position: relative;
        justify-content: left;
        padding: 10px 0px;
        margin: 10px 50px;
    }

    #materias ul li {
        text-align: left;
        list-style: disc;
    }

    #materias h3 {
        font-weight: 600;
        text-align: left;
    }

    #sobremi h2 {
        margin: 10px 30px;
    }

    #sobremi ul {
        display: flex;
        margin: 10px 20px;
        flex-direction: row;
    }

    #sobremi ul li {
        margin: 1em 2em;
    }

    #sobremi ul li a {
        margin: 15px 0px;
    }

    #rotulos-integrantes {
        margin: 35px 30px;
    }

    #rotulos-integrantes ul {
        display: flex;
        margin: 10px 30px;
        flex-wrap: wrap;
    }

    #rotulos-integrantes ul li {
        margin-left: 2em;
        margin-right: 2em;
        width: 250px;
    }

    #rotulos-integrantes ul li a {
        padding: 0px
    }

    #rotulos-integrantes figure img {
        width: 200px;
    }
}

/* a partir de los 992px para laptos desktops*/
@media screen and (min-width: 62em) {
    header {
        background-image: url(../imagenes/background_992px.jpg);
        background-position: top;
        background-repeat: no-repeat;
        background-size: 100%;
        max-width: 100%;
        height: auto;
    }

}

/* a partir de los 1200px para laptops y desktops*/
@media screen and (min-width: 70em) {

    header {
        background-image: url(../imagenes/background_1200px.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        max-width: 100%;
        height: auto;
        flex-direction: row;
    }

    #presentacion h1 {
        font-size: 2.5em;
    }

    #presentacion h2 {
        font-size: 2.5em;
    }

    #presentacion h3 {
        font-size: 1.2em;
    }

    #ilustracionmaterias img {
        width: 500px;
    }

    #sobremi h2 {
        font-size: 2.2em;
        margin: 10px 50px;
    }

    #sobremi ul li a {
        font-size: 1.5em;
        margin: 20px 0px;
    }

    #sobremi figure img {
        width: 200px;
    }

    #rotulos-integrantes {
        padding: 0px;
        margin: 35px 50px;
    }

    #rotulos-integrantes h2 {
        font-size: 2.2em;
    }

    #rotulos-integrantes ul {
        flex-flow: nowrap;
    }

    #rotulos-integrantes ul li {
        padding: 0.3em 0.5em 0.3em 0.5em;
        margin: 2em 2em;
    }

    #rotulos-integrantes figure img {
        width: 200px;
        border-radius: 50px;
    }

    #rotulos-integrantes ul li a {
        font-size: 1.5em;
    }

    #rotulos-integrantes ul li h3 {
        font-size: 1.5em;
    }

    #datos-academicos {
        margin: 40px 50px;
    }

    #caja-datos-academicos {
        display: flex;
        flex-direction: row;
        align-items: baseline;
    }

    #logofaduuba,
    #logouba,
    #logodgpcfadu {
        justify-content: start;
        padding: 10px 0px;
        margin: 10px 0px;
    }

    .datos-uba-fadu-dgpc {
        padding: 10px 10px;
        width: 33%;
        align-items: baseline;
    }

    footer p {
        padding: 50px 0px;
        margin: 0px 50px;
    }
}

@media screen and (min-width: 106em) {
    header {
        background-image: url(../imagenes/background_1800px.jpg);
    }
    footer p{
        margin: 0px 80px;
    }
    .navbar{
        padding: 20px 50px;
    }
    #sobremi h2{
        margin: 10px 80px;
    }
    #rotulos-integrantes{   
    margin: 35px 80px;
    }
    #datos-academicos{
        margin: 40px 80px;
    }
}