body {
    color: #495057;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
    text-align: center;
    /*padding-left: 20rem;
    padding-right: 20rem;*/
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
}

div#cntdor-principal{
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

nav#nav-cntdor, article#sec-principal{
    display: flex; 
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
}

ul.contenedor{
    justify-content: center;
    padding-left: 20rem;
    padding-right: 20rem;
    flex-wrap: wrap;
}

div#sec-partners-imgs{
    justify-content: baseline;
    flex-wrap: wrap;
}

.elemento-1{
    flex-grow: 1;
    align-self: center;
}

.elemento-4{
    flex-grow: 4;
    align-self: center;
}

.elemento-6 {
    flex-grow: 6;
    align-self: center;
}

.elemento-8{
    flex-grow: 8;
    align-self: center;
}

.elemento-2{
    flex-grow: 2;
    align-self: center;
}

li {
    list-style-type: none;
    display: inline;
}

nav, article#sec-principal {
    background-image: linear-gradient(to right, #4923b4, #e275ce);
    color: white;
}

article#sec-principal {
    text-align: justify;
    border-radius: 0 0 10rem 0;
    padding-left: 3rem;
    padding-right: 3rem;
    column-gap: 2rem;
/*    padding-top: 3rem;
    padding-bottom: 3rem;*/
}

article#sec-principal > div:nth-child(1) {
    order: 0;
    flex: 1 6 60%;
    align-self: auto;
}

article#sec-principal > div:nth-child(2) {
    order: 0;
    flex: 0 1 30%;
    align-self: auto;
}


img#sec-principal-img {
    width: 20rem;
}

/*article#img-principal > div:nth-child(1){
    flex: 0 1 50%;
}

article#img-principal > div{
    flex: 0 1 auto;
}*/

/* SECCION PARTNERS */

div#sec-partners-imgs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-content: center;
    align-items: stretch;
    column-gap: 20px;
}

div#sec-partners-imgs > img{
    max-width: 12%;
    min-width: 10%;
}

/* SECCION CURSOS */

div#sec-cursos-cntdor {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-content: center;
    align-items: stretch;
    column-gap: 20px;
}

div#sec-cursos-cntdor > div {
    flex: 0 1 auto;
    align-self: auto;
    border-radius: 0.5rem;
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.75);
}

div#sec-cursos-cntdor > div > img {
    max-width: 40%;
    min-width: 100%;
    max-height: 60%;
    min-height: 60%;
    border-radius: 0.5rem;
}

.sec-cursos-contenido{
    padding: 1rem;
    text-align: left;
}

.sec-cursos-tag{
    font-size: 11px;
    display: inline;
    padding: 0.5rem;
    text-align: justify;
    background-color: rgba(128, 128, 128, 0.25);
    border-radius: 0.5rem;
}

/* SECCION SERVICIOS*/

.sec-servicios-row{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-content: center;
    align-items: stretch;
    column-gap: 40px;   
    text-align: justify;
}

/* PIE DE PAGINA */

footer{
    background-color: black;
    color: white;
    padding: 2rem;
    font-size: 11px;
    border-radius: 0 10rem 0 0;
    padding-bottom: 0.5rem;
}

#sec-footer-contenido{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-content: center;
    align-items: stretch;
    column-gap: 40px;   
    text-align: justify;
}

#sec-footer-contenido > div:nth-child(1) {
    order: 0;
    flex: 1 6 100%;
    align-self: 60%;
    margin-right: 10rem;
}

#sec-footer-contenido > div:nth-child(2),
#sec-footer-contenido > div:nth-child(3) {
    order: 0;
    flex: 0 1 12%;
    align-self: auto;
}

#sec-footer-contenido > div:nth-child(4) {
    order: 0;
    flex: 0 1 17%;
    align-self: auto;
}

#sec-footer-contenido > div:nth-child(4) > i{
    font-size: 25px;
}

#sec-footer-derechos{
    margin-top: 2rem;
    margin-bottom: 0rem;
    font-size: 9px;
}