body {
    background-color: #78dfef;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #080061;
}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    src: url("font/GIL_____.TTF");
    src: url("font/GILB____.TTF");
    src: url("font/GILBI___.TTF");
    src: url("font/GILC____.TTF");
    src: url("font/GILI____.TTF");
    src: url("font/GILLUBCD.TTF");
    src: url("font/GILSANUB.TTF");
    src: url("font/GLSNECB.TTF");
}

a {
    text-decoration: none;
}

header {
    background-color: #b2ecf5;
    gap: 1em;
    border-radius: 1em;
}

header img {
    padding: 1.5em 0 1em 1em;
    max-width: 100%;
    height: 7em;
}

.contenedor {
    max-width: 60em;
    margin-inline: auto;
}


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

header #menudeindex {
    text-align: center;
    padding: 0 1em 1em 1em;
    text-decoration: none;
}

header #menudeindex a {
    padding: 3em 0 0 1em;
    font-size: medium;
    font-weight: bolder;
    color: #080061;
}

header #nombres {
    padding: 1.5em 0 0 0;
}


header #nombres a {
    padding: 0 0 0 1em;
    font-size: larger;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #080061;
}

header #nombres .menu ul a {
    padding: 0;
    font-size: medium;
    font-weight: normal;
}

header ul {
    margin: 0;
    padding: 0 0 0 2em;
}

h1 {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 1em 0 1em 0;
    margin-bottom: 0;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

#datosAlumno {
    background-color: #b2ecf5;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    width: auto;
    border-radius: 1em;
    padding: 0 0 1em 0;
}

#datosAlumno div img {
    border-radius: 1em;
    box-shadow: 10px 10px 1em #55bac9;
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;
}

.alumno div {
    padding: 0 1.5em 1em 1.5em;
}

#datosAlumno p {
    text-align: center;
    font-size: 1em;
    padding: 0 2em 0 2em;
}

#datosEquipo {
    background-color: #b2ecf5;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    margin-top: 1em;
    border-radius: 1em;
    padding: 1px 0 1px 0;
}

#datosEquipo a p {
    color: #080061;
    text-align: center;
    text-decoration: none;
}

h2 {
    font-size: 1.5em;
    color: #080061;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h3 {
    text-align: center;
}

p {
    font-size: 1.1em;
}

p.contenedor {
    text-align: center;
}

ul {
    font-size: 15px;
}

#datosEquipo h2 {
    text-align: center;
}

#datosEquipo ul {
    margin-left: 5%;
}

#datosCarrera div {
    margin-top: 1em;

}

#datosCarrera div#materias {
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(min(20em, 100%), 1fr));

}

#datosCarrera article {
    background-color: #b2ecf5;
    border-radius: 1em;
    margin-top: 10px;
    padding: 1em 2em 1em 2em;
    width: 100%;
}

#datosComitente {
    background-color: #b2ecf5;
    margin: 1em 0 0 0;
    border-radius: 1em;
    padding: 5px;
}

#datosComitente h2 {
    text-align: center;
}

#datosComitente h4 {
    text-align: center;
}

#datosEquipo img {
    border-radius: 1em;
    box-shadow: 10px 10px 1em #55bac9;
    max-width: 20em;
    margin-left: auto;
    margin-right: auto;
}

#datosEquipo ul {
    color: #080061;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: medium;
    margin-bottom: 5%;
    margin-top: 3%;
}

footer {
    background-color: #080061;
    border-radius: 1em;
    margin: 1em 0 0 0;
    padding: 1em 1em 1em 1em;
}

footer p {
    color: #b2ecf5;
    font-size: medium;
    text-align: left;
    margin: 0 1em 0 2em;
}

#datosComitente h4 {
    color: #080061;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0.5em 0 1em 1.5em;
}

#datosComitente p {
    font-size: medium;
}

#datosComitente h2 {
    margin: 0.5em 0 0 0.7em;
}

.acumar img {
    max-width: 20em;
    margin-inline: auto;
}

.acumar p.contenedor {
    text-align: left;
    margin: 1em;
}

#datosAcademicos h2 {
    text-align: center;
    padding: 0.5em 0 0.5em 0;
    background-color: #b2ecf5;
    border-radius: 1em;
    margin: 0.6em 0 0.6em 0;
}

.academicos img {
    max-width: 20em;
    padding: 0 0 1em 0;
}

#datosAcademicos {
    background-color: #b2ecf5;
    margin: 1em 0 1em 0;
    border-radius: 1em;
}

#datosAcademicos article h5 {
    margin: 0;
    padding: 0 0 0 1em;
    font-size: small;
}

#datosAcademicos article div {
    margin: 1em 0 0 0;
}

#datosAcademicos article {
    margin: 0 0 0.6em 0;
    padding: 1em;
}

#datosDGPC {
    display: flex;
}

#datosDGPC div {
    padding: 1em 0 0 1em;
}

#datosDGPC img {
    padding: 1em 0 1em 0;
}


#datosPortfolio article.dosImg {
    margin: 1em 0em 1em 0em;
    border-radius: 1em;
    padding: 0 2em 0 2em;
}

#datosPortfolio article.dosImg div {
    padding: 0 0 2em 0;
}

#datosPortfolio article h2 {
    text-align: center;
    padding: 1em 0 0 0;
}

#datosPortfolio article {
    background-color: #b2ecf5;
    border-radius: 1em;
}


#datosPortfolio article p {
    text-align: center;
    padding: 0 3em 1em 3em;
}

#datosPortfolio article.ocho {
    padding: 0 0 1em 0;
}

#datosPortfolio article.revista img {
    box-sizing: border-box;
    padding: 0 2em 1em 2em;
}

#datosPortfolio article.revista p {
    text-align: center;
    padding: 0 3em 2em 3em;
}

@media (min-width: 510px){
header #menudeindex {
    margin-inline-start: auto;
    display: flex;
    flex-direction: column;
}

header #menudeindex a {
    padding: 1em 0 0 0;
    text-align: right;
}
}

@media (min-width: 660px){
    header #menudeindex {
    padding: 2em 1em 0 0;
    flex-direction: row;
    gap: 1em;
    }
}

@media (min-width:960px) {

    header img {
        height: auto;
        padding: 1.5em 0 1em 1em;
    }

    header #menudeindex {
        margin-inline-start: auto;
        display: flex;
        flex-wrap: wrap;
    }

    header .contenedor {
        justify-content: space-between;
    }

    article.dosImg {
        justify-content: center;
        gap: 1em;
        width: 100%;
    }

    #datosPortfolio article article {
        display: flex;
        flex-direction: row;
    }

    #datosPortfolio article.infografia div {
        height: 27em;
        max-width: 60em;
    }

    #datosPortfolio article.infografia div img {
        height: 100%;
        width: auto;
    }

    #datosPortfolio article.revista img {
        box-sizing: border-box;
        padding: 0 0 1em 1em;
    }

    #datosPortfolio article.cuatro {
        margin: 0 2em 0 1em;
    }

    #datosPortfolio article.ocho {
        margin: 0 2em 0 1em;
    }

    #datosCarrera div#materias {
        margin: 1em 0 1em 0;
    }

    #datosEquipo div {
        display: flex;
        justify-content: center;
        padding: 1em 2em 1em 2em;
        gap: 1em;

    }

    #datosEquipo article {
        text-align: center;
    }

    #datosEquipo img {
        max-height: 15em;
        width: 100%;
    }

    h1 {
        font-size: 2em;
    }

    #datosEquipo h2 {
        font-size: 1.9em;
    }

    #datosAcademicos div {
        display: flex;
        gap: 1em; 
    }

    #datosDGPC div {
        display: block;
        padding: 0;
    }

    #datosAcademicos div article {
        flex-grow: 1;
    }
}

@media (min-width:1820px) {
    .contenedor {
        max-width: 80em;
        margin-inline: auto;
    }

    .chicas {
        display: flex;
        gap: 1em;
    }

    .chicas section {
        flex-grow: 1;
    }

    #datosEquipo div {
        flex-direction: column;
    }

    #datosEquipo img {
        max-width: fit-content;
    }

    #datosAlumno.alumno {
        margin: 1em 0 0 0;
        max-width: 110em;
    }

    #datosAlumno p.contenedor {
        padding: 0 5em 0 5em;
        font-size: 150%;
        max-width: 100em;
    }

    .equipo h2 {
        margin: 1.6em 0 0.7em 0;}
    }