/* ----------- reglas generales y módulos ----------- */

* {
    box-sizing: border-box;
}

body {
    background: rgb(176,3,119);
background: linear-gradient(0deg, rgb(60, 21, 21) 0%, rgb(198, 0, 0) 100%);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

header,
footer {
    background-color: black;
    color: #ffffff;
    font-size: .6em;
    align-items: center;
    padding: .4em;
}

.contenedor,
main > section {
    max-width: 50rem;
    margin: 0 auto;
    padding: 1rem;
    
}


/* ----------- header ----------- */

header > div.contenedor {
    display: flex;
    align-items: center;
}

nav {
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

nav ul {
    list-style: none;
    margin: 1em;;
    padding: .8em;
    background-color: rgba(255, 0, 0, 0.78);
    display:flex;
    justify-content: space-between;
    border-radius: 2em;
}

nav ul li {
    flex-basis: 24.5%;
    padding: .3em;
    
}

nav ul li a {
    background-color: rgba(0, 0, 0, 0.67);
    color: white;
    font-weight: bold;
    font-size: 2em;
    text-decoration: none;
    display: block;
    text-align: center;
    padding: .5em 1em;
    border-radius: .4em;
    font-family: 'Nunito', sans-serif;
}

#bot1  {
  background-color:darkgreen;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
    float: left;

}

#bot2 {
  background-color:deepskyblue;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
    float: left;

}

#bot2:hover
{
  background-color: azure; /* Green */
  color: black;
}

#bot1:hover
{
  background-color: azure; /* Green */
  color: black;
}

button:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

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

main {
    flex-grow: 0;
}

main > section {
    background-color: rgb(245, 245, 245);
    border-radius: 1rem;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.125);
    margin-top: 1em;
    margin-bottom: 1em;
    width: calc( 100% - 2rem );
}

main > section > h1,
main > section > h2 {
    
    margin-top: 0;
    padding-bottom: .25em;
}

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

/* ----------- main/comitente ----------- */

#comitente {
    font-size: 1.5em;
}

#munro {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    height: 6em;
}

/* ----------- direccion ----------- */
#direccion h2  {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
        
}

#direccion p {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
/* ----------- direccion ----------- */
.red  li  a {
    display: flex;
    justify-content: center;
    text-decoration: none;
    color: red;
    font-size: .9em;
    max-height:  1em;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    
    

}

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

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

#equipo ul li {
    margin: 1em;
    background-color: #c60000; 
    padding: .50em 1em;
    border-radius: 9em;
    align-items: center;
    font-size: .88em;
    
}

#equipo ul li a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    flex-direction: column;
    align-items: center;
    font-family: 'Nunito', sans-serif;
    
}

#equipo ul li a:hover {
    color: #000000;
    text-decoration: underline;
}


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


#pertenencia > ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    background-color: rgb(245, 245, 245);
    border-radius: 1rem;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.125);
}

#pertenencia > ul > li {
    border: solid 1px rgba(255, 0, 0, 0.69);
    border-radius: .5em;
    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 {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

p {
    font-family: 'Nunito', sans-serif;
}
h1, h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    
}

h1 {
    font-size: .7em;
    font-weight: 700;
}

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

{
    display: flex;
    justify-content: center;
    text-decoration: none;
    
}




#comitente p {
    font-size: .5em;
}
/* ----------- imagenes ----------- */
.uba img {
    max-width: 15em;
    height: auto;
 }


.dgpc img {
    
    max-height:  5em;
    height: auto; 
}

/* ----------- dato acaemico ----------- */

.uba , #academia a h3 {
    
    
    font-size: .7em;
    
}






/* ----------- mapa ----------- */
.mapa img {
    max-height: 100%;
    height: 22em;
   justify-content: center;
     display: flex;
    margin-left: auto;
    margin-right: auto;
    
}

.pantallas img {
    max-height: 100%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    height: 30em;
}




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


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

@media (min-width:250px) {
    
    #integrantes ul, #obligatorios ul, nav ul  {
        display: none;
        display: flex;
        flex-wrap: wrap;
        flex-basis: 25%;
    }
}

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













