@charset "utf-8";

@font-face {
    font-family: 'ubuntubold';
    src: url('ubuntu-b-webfont.eot');
    src: url('ubuntu-b-webfont.eot?#iefix') format('embedded-opentype'),
         url('ubuntu-b-webfont.woff2') format('woff2'),
         url('ubuntu-b-webfont.woff') format('woff'),
         url('ubuntu-b-webfont.ttf') format('truetype'),
         url('ubuntu-b-webfont.svg#ubuntubold') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubuntubold_italic';
    src: url('ubuntu-bi-webfont.eot');
    src: url('ubuntu-bi-webfont.eot?#iefix') format('embedded-opentype'),
         url('ubuntu-bi-webfont.woff2') format('woff2'),
         url('ubuntu-bi-webfont.woff') format('woff'),
         url('ubuntu-bi-webfont.ttf') format('truetype'),
         url('ubuntu-bi-webfont.svg#ubuntubold_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubuntu_condensedregular';
    src: url('ubuntu-c-webfont.eot');
    src: url('ubuntu-c-webfont.eot?#iefix') format('embedded-opentype'),
         url('ubuntu-c-webfont.woff2') format('woff2'),
         url('ubuntu-c-webfont.woff') format('woff'),
         url('ubuntu-c-webfont.ttf') format('truetype'),
         url('ubuntu-c-webfont.svg#ubuntu_condensedregular') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubuntulight';
    src: url('ubuntu-l-webfont.eot');
    src: url('ubuntu-l-webfont.eot?#iefix') format('embedded-opentype'),
         url('ubuntu-l-webfont.woff2') format('woff2'),
         url('ubuntu-l-webfont.woff') format('woff'),
         url('ubuntu-l-webfont.ttf') format('truetype'),
         url('ubuntu-l-webfont.svg#ubuntulight') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubuntulight_italic';
    src: url('ubuntu-li-webfont.eot');
    src: url('ubuntu-li-webfont.eot?#iefix') format('embedded-opentype'),
         url('ubuntu-li-webfont.woff2') format('woff2'),
         url('ubuntu-li-webfont.woff') format('woff'),
         url('ubuntu-li-webfont.ttf') format('truetype'),
         url('ubuntu-li-webfont.svg#ubuntulight_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubuntumedium';
    src: url('ubuntu-m-webfont.eot');
    src: url('ubuntu-m-webfont.eot?#iefix') format('embedded-opentype'),
         url('ubuntu-m-webfont.woff2') format('woff2'),
         url('ubuntu-m-webfont.woff') format('woff'),
         url('ubuntu-m-webfont.ttf') format('truetype'),
         url('ubuntu-m-webfont.svg#ubuntumedium') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubuntumedium_italic';
    src: url('ubuntu-mi-webfont.eot');
    src: url('ubuntu-mi-webfont.eot?#iefix') format('embedded-opentype'),
         url('ubuntu-mi-webfont.woff2') format('woff2'),
         url('ubuntu-mi-webfont.woff') format('woff'),
         url('ubuntu-mi-webfont.ttf') format('truetype'),
         url('ubuntu-mi-webfont.svg#ubuntumedium_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubunturegular';
    src: url('ubuntu-r-webfont.eot');
    src: url('ubuntu-r-webfont.eot?#iefix') format('embedded-opentype'),
         url('ubuntu-r-webfont.woff2') format('woff2'),
         url('ubuntu-r-webfont.woff') format('woff'),
         url('ubuntu-r-webfont.ttf') format('truetype'),
         url('ubuntu-r-webfont.svg#ubunturegular') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
        font-family: 'ubuntuitalic';
    src: url('ubuntu-ri-webfont.eot');
    src: url('ubuntu-ri-webfont.eot?#iefix') format('embedded-opentype'),
         url('ubuntu-ri-webfont.woff2') format('woff2'),
         url('ubuntu-ri-webfont.woff') format('woff'),
         url('ubuntu-ri-webfont.ttf') format('truetype'),
         url('ubuntu-ri-webfont.svg#ubuntuitalic') format('svg');
    font-weight: normal;
    font-style: normal;

}
    
    
    @font-face {
    font-family: 'oswaldbold';
    src: url('oswald-bold-webfont.eot');
    src: url('oswald-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('oswald-bold-webfont.woff2') format('woff2'),
         url('oswald-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}



@font-face {
    font-family: 'oswaldlight';
    src: url('oswald-light-webfont.eot');
    src: url('oswald-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('oswald-light-webfont.woff2') format('woff2'),
         url('oswald-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'oswaldregular';
    src: url('oswald-regular-webfont.eot');
    src: url('oswald-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('oswald-regular-webfont.woff2') format('woff2'),
         url('oswald-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




/*primero mobile*/
Html {
      font-size: 12px;
}

div#pagina { 
      width: 80%;
      margin: auto;
     list-style: none;
}

body { 
    background-color: white;
    margin: 2rem 0 0 0;
    padding: 0;
     list-style: none;
}

header nav ul li a {
    font-family:'oswaldbold';
    font-weight: 200;
    
    color: #ff5800;
    font-size: 1.9rem;
    text-decoration: none;
    display: block;
    
}




nav#botones ul{
    
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: baseline;
    align-content: center;
    
    text-align: center;
    width: 100%;
    margin: 0;
    height: auto;
    line-height: 5rem;
    text-decoration: none;
    list-style: none;
    font-family: 'oswaldbold';
    margin-right: 30rem;


}


nav#botones ul li a{
    font-family:'oswaldlight';
    border-bottom-style: ridge;
    border-bottom-color: black;
    border-bottom-width: thin;
}

nav#botones ul li a:hover{
    background-color: #ff5800;
    color: white;
}

div#nombre h1{
     display: flex;
    flex-wrap: wrap;
    font-family: 'oswaldlight';
    align-content: center;
    font-size: 4rem;
    padding-top: 5rem;
    justify-content:  center;
     text-align: center;
    
}

div#imagen{
   padding-left: 15rem;
    padding-bottom: 10rem;
 align-content: center;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
   
    

}

h4{
    font-family:'oswaldlight';
    font-size: 1.3rem;
     display: flex;
    flex-wrap: wrap;
justify-content:  center;
     text-align: center;
     padding-bottom: 0.5rem;
}

 h3{
    font-family:'oswaldregular';
    font-size: 1.5rem;
    border-bottom-width: thin;
    border-bottom-style: ridge;
    border-bottom-color: black;
     display: flex;
    flex-wrap: wrap;
justify-content:  center;
     text-align: center;
     padding-bottom: 1.5rem;
}



   
div#materias{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    margin: 0rem 0rem 15rem 0rem;
    list-style: none;
}



div#materias ul h2 li {
				display:none;
				position:absolute;
				min-width:140px;
			}



div#materias ul h2 {
    font-family:  'oswaldbold';
    padding-left: 10px;
    font-weight: 300;
    font-size: 1.5rem;
    color: #ff5800;
    background-color: white;
    border-bottom-style: ridge;
    border-bottom-width: thin;
    list-style: none;
    border-bottom-color: black;
    padding-bottom:3px;
    
}


div#materias ul li{
   color: black; 
    font-family:'oswaldlight'; 
    list-style: none;
    font-size: 1.3rem;
  
}




main{
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-top: 35px;
}
main h1{
    padding-left: 60px;
    justify-content: center;
    font-family: 'oswaldbold';
}   
    
}
