@import url(https://fonts.googleapis.com/css?family=Cuprum);
@import 'https://fonts.googleapis.com/css?family=Roboto';
@import url('https://fonts.googleapis.com/css?family=Roboto:700');
@import url('https://fonts.googleapis.com/css?family=Roboto:100');

*{
    padding: 0;
    margin: 0;
}

html{
    height: 100%;
    width: 100%;
}

body{
    height: 100%; 
    background-image: url(img/fondo.jpg);
    background-repeat: no-repeat;
    background-size: 120%;   
}

header{
    background-color: #221f22;
    height: 9%;
    width: 100%;
    top: 0;
    left: 0;
}

header .menusup{
    height:100%;
    width:100%;
}

header .menusup .boton20{
    width: 16%;
    margin-right: 0.6rem;
    height: 100%;
    display: inline-block;
}

main{
    height: 80%;
    width: 100%;
    overflow: auto;
}

.tituloPrincipal{
    font-family: Cuprum; 
    font-weight: bolder;
    font-size: 12pt;
    margin-top: 6%; 
    margin-left: 5%;
    color: #E94854;
}

hr{
    width: 90%; 
    margin: 0.2rem 0 0 1rem;
    border: 1px solid; 
    color: #E94854;
}

.flex{
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    margin: 0;
}

section{
    flex-wrap: wrap;
    padding: 2rem 1rem 0 1rem;
    margin-top: 0;
}

button{
    object-position: left;
    text-align: center;
    height: 6.8rem;
    width: 48%;
    margin-top: 0.5rem;
    background-color: #E94854;
    border-radius: 0.3rem;
    justify-content:space-between;
    box-shadow: 2px 2px 3px gray;
    border: none;
    cursor:pointer;
    vertical-align: middle;
}

h2{
    font-size: 12pt;
    font-family: Roboto;
    line-height: 1.1rem;
    color: white;
}

h4{
    margin-top: 0.3rem;
    font-size: 8pt;
    font-family: Roboto;
    font-weight: 500;
    color: white;
}

.recuadroCursos{
    width: 90%; 
    margin-left:5%; 
    position: absolute;
}

footer{
    background-color: #221f22;
    height: 9%;
    position: absolute;
    bottom: 0;
    left: 0;
}

footer .boton20{
    width: 15%;
    margin-left: 0.65rem;
    display: inline-block;
}

.boton20 img{
    width: 100%;
    height: 100%;
    max-height: inherit;
    cursor: pointer; 
}

@media screen{

body footer{
position:fixed;
}
}

*html body{
overflow:hidden;
}