
* {
    box-sizing: border-box;
    width: 100%;
}

body {
    background: linear-gradient(#FCFCC9, #0052A9);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

header,
footer {
    background-color:#0052A9;
    color: #000000;
    font-size: .6em;
    align-items: center;
}

header, footer, p {
    margin: .5em;
    font-size: .8em;
    width: 100%;
}


.uba img {
    max-width: auto;
    height: auto;
 }


.dgpc img {
   
    width: 100%;
    max-width: 100px;
    height: auto; 
    margin-right: 20px;
}


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

.contenedor,
main > section {
    max-width: 100%;
    margin: auto;
    padding:.2rem;
    
}


.micontenedor {
    
    max-width: 100%;
    margin: auto;
    margin-left: none;
    font-family: 'Rubik', sans-serif;

}


.micontenedor nav {
    color: #1E98BF;
}

.micontenedor nav ul li a {
    background-color: white;
    color: black;
    display:flex;
    margin: 3px;
    text-align: center;
}


header > div.contenedor {
    display: flex;
    align-items: center;
    font-family: 'Rubik', sans-serif
}

nav {
    width: 100%;
}

nav ul {
   
    list-style: none;
    margin: 0;
padding: .50em 1em;
    display:flex;
    justify-content: space-between;
    width: 100%;
    border-radius: 11em;
    text-align: center;
}



nav ul li a {
    background-color: #1E98BF;
    color: #FCFCC9;
    font-weight: bold;
    font-size: 1.6em;
    text-decoration: none;
    padding: .2em .2em;
    border-radius: 7em;
    text-align: center;
}

nav ul li a:hover {
    background-color: darkblue;
    color: #000000;
    margin-left: auto;
    margin-right: auto;
}





main {
    flex-grow: 0;
    width: 100%;
}

main > section {
    margin-top: 1em;
    margin-bottom: 1em;
    
    
}

ul {
    list-style: none;
    list-style-position: inside;
    padding: 0em;
    
}

.paginas ul { 
    margin: 0;
    padding: .50em 1em;
    list-style: none;
    display: flex;
    background-color: #FCFCC9;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.125);
    font-size: 22px;
    text-decoration: none;
    text-align: center;
}


.paginas ul li {

    padding: .50em 1em;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    
    }


#yo img {
    margin: 1em;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6em;
    max-width: 600px;
    box-shadow: 0 4px 9px 2px rgba(0, 0, 0, 0.35);
}

/* ----------- main/equipo ----------- */

#equipo ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #1E98BF;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.125);
    
}

#equipo ul li {
    margin: 1em;
    background-color: #AAF5F1; 
    padding: .50em 1em;
    border-radius: 9em;
    text-align: center;
    
}

#equipo ul li a {
    color: black;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: center;
}

#equipo h3 {
    color: darkgrey;
    font-size: 1em;
}


/* ----------- main/pertenencia ----------- */

#pertenencia > ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    background-color: #AAF5F1;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.125);
}

#pertenencia > ul > li {
    border: solid 1px rgba(255, 0, 0, 0.69);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    margin-top: 1em;
    padding: 1em;
}


.uba ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
    
}

.uba ul li {
    margin: .1em;
    padding: .50em 1em;
        
}

.uba a img {
    max-height: 3em;
    display: block;
    margin-left: auto;
    margin-right: auto;
    
    
}


/* ----------- H ----------- */
h1,h2, h3, h4 {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-family: 'Rubik', sans-serif;
}
h1{
    color: black;
    padding: .2em;
}

h2 {
    color: black;
    font-size: 1em;
    font-weight: 100;
}
h3{
    color:#0052A9;
    text-align: center;
}

h4 {
    color: white;
    font-size: 20px;
    font-weight: 400;
    
}

h5 {
    color: black;
}
p {
    font-family: 'Rubik', sans-serif;
}
li {
    font-family: 'Rubik', sans-serif;
    font-size: .7em;
}
.uba li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
/* ----------- yo ----------- */

#materias { 
    list-style: none;
    justify-content: center;
    text-align: center;
    background-color: #4ACFE6;

    
    
}

#mat li {
    color:black;
    max-height: auto;
    padding: .4em;
    font-weight: 700;
    font-size: .8em;
    margin-left: auto;
    margin-right: auto;
}

#mat h3 {
    padding: .01em;
    
}



.galeria {
    padding: .3em;
    background-color:#FCFCC9;
    box-shadow: 0 2px 5px 2px rgba(41, 41, 41, 0.2);
    margin-left: auto;
    margin-right: auto;
}

.galeria h4 {
    font-family: 'Rubik', sans-serif;
    padding-left: 0.5em;
    margin: 1em;
    text-align: center;
    color: black;
    font-size: 22px;
}

.galeria a img {
    max-width: 200px;
    padding: 0.3em;
    margin: 0.3em;
    margin-left: auto;
    margin-right: auto; 
    text-align: center;
    margin-left: 70px;
}

.videos {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ----------- mapa ----------- */

.info .mapa img {
    margin: 1em;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    height: 100%; 
    width: 100%;
    max-width: 500px;
}

/* ----------- plan ----------- */

#objetivo p {
    color: azure;
    font-size: 1em;
    font-family: 'Rubik', sans-serif;
}

.plan {
    margin: 20px;
    color: black;
    font-size: 18px;
    text-align: center;
    margin-top: 50px;
    width: 100%;
    max-width: 85%;
}

/* ----------- responsive - */

@media (max-width: 40em) {
	#materias ul, #integrantes ul, {
		display: none;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
}

@media (max-width: 35em) {
    
    #materias, #integrantes ul, #obligatorios ul, nav ul  {
        display: none;
        display: flex;
        flex-wrap: wrap;
        flex-basis: 25%;
    }
}

@media (max-width: 23em) {
    
    #materias, #integrantes ul, #obligatorios ul, footer > p  {
        display: none;
        display: flex;
        flex-wrap: wrap;
        flex-basis: 15%;
    }
}

.videos h5 {
    font-size: 22px;
    text-align: center;
    color: white;
    padding: 0;
    margin: 0;
    padding-bottom: 20px;
}

.galeria h5 {
    font-size: 22px;
    text-align: center;
    color: aliceblue;
    padding: 0;
    margin: 0;
}

.galeria h6 {
    font-size: 16px;
    text-align: center;
    color: darkblue;
    padding: 0;
    margin: 0;
}

.pertenencia h3 {
    color: white;
    padding-bottom: 30px;
}

.pertenencia img {
    width: auto;
}

footer p {
    max-width: 100%;
}