@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;
    box-sizing: border-box;
    overflow: hidden;
}

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%;
    position: absolute;
    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: 82%;
    width: 100%;
    overflow: auto;
    margin-top:15%;
}

figure{
    margin: 0 0 0 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

figure img{
    width: 100%;
    display: block;
}

figure figcaption{
    position: absolute;
    width: 100%;
    top: calc(100% - 7.6rem);
    right: 0;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
}

h1{
    color: white;
    font-size: 13pt;
    font-family: Cuprum;
}

main .cursos{
    color: #221f22;
    font-size: 12pt;
    font-family: Cuprum;
    margin: 0.8rem 0 0 0.5rem;
}

hr{
    width: 93%;
    color: #221f22;
    margin-left: 0.5rem;
}

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

section{
    flex-wrap: wrap;
    padding: 0 1rem 1.2rem 1rem;
}

article{
    object-position: left;
    text-align: left;
    height: 50%;
    width: 30%;
    margin: 0.3rem 0 0 0;
    background-color: transparent;
    justify-content:space-between;
}

h3{
    font-family: Roboto;
    font-size: 10pt;
    font-weight: 400;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

article img{
    width: 100%;
    position: center;
    border-radius: 0.3rem;
}

main .tendencias{
    color: #221f22;
    font-size: 12pt;
    font-family: Cuprum;
    margin: 0 0 0 0.5rem;
}

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;
}

button{
    border:none;
    cursor:pointer;
}

@media screen{
    
    body header{
    position:fixed;
    }
    
    body footer{
    position:fixed;
    }
}