html {
    box-sizing: border-box;
    font-size: 62.5%; /** 1rem = 10px**/
}

*, *:before, *:after {
box-sizing: inherit;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
    line-height: 2;
}

/** Globales **/
.contenedor {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
}

h1,h2,h3.h4 {
    font-family: 'PT Sans',sans-serif;
}

h1 {
    font-size: 4.8rem;
}
h2 {
    font-size: 4rem;
}
h3 {
    font-size: 3.2rem;
}
h4 {
    font-size: 2.8rem;
}

img {
    max-width: 100%;
}

/** utilidades**/
.centrar-texto {
    text-align: center;
}

.no-margin {
    margin: 0;
}

.btn {
    display: block;
    text-align: center;
    padding: 1rem 3rem;
    margin:  2rem 0 ;
    color: #ffffff;
    text-decoration: none;
    font-family: 'PT Sans',sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 2rem;
}

@media (min-width:768px) {
    .btn {
    display: inline-block;
    }
}

/** botones **/
.btn-primario {
background-color: black;
}

.btn-secundario {
background-color: darkgreen;
}

/** barra de busueda**/
.barra-busqueda {
    display: block;
    width: 100%;
}

.input-search{
    font-weight: 400;
    width: calc(95% - 10rem);
    font-family: 'PT Sans',sans-serif;
    font-size: 2rem;
    margin: 1;
    padding: 0.60rem;
}
.btn-search{
    background-color:black;
    color: #d6fc00;
    font-weight: bold;
    text-align: center;
    margin:  0 ;
    padding: 1rem;
}



/** Header **/
@media (min-width:768px) {
    .barra {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
.site-header {
    background-image: url(../img/mainpict.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 60rem;
}

.site-header a {
    color: #ffffff;
    text-decoration: none;
}

.site-header h1 {
    text-align: center;
    font-weight: 300;
}

.site-header h1 span {
    font-weight: 700;
}

/** Navegación **/
.navegacion a {
text-align: center;
display: block;
font-size: 1.8rem;
text-decoration: none;
color: #ffffff;
}
@media (min-width:768px) {
    .navegacion a {
        display: inline;
        margin-right: 2rem;
    }
    .navegacion a :last-of-type {
        margin: 0;
    }
}
/** Heder texto**/
.texto-header {
    color: #ffffff;
    text-align: center;
    margin-top: 5rem;
}

@media (min-width:768px) {
    .texto-header {
    margin-top: 15rem;    }
}

.texto-header p {
    font-size: 2.2rem;
}

/** contenido principal home **/
.contenido-principal {
    display: flex;
    flex-wrap: wrap;
}

.blog,
.cursos {
    /**flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 100%;**/
    flex: 0 0 100%;
}

.cursos {
    order: -1;
}

@media (min-width:768px) {
    .contenido-principal {
        justify-content: space-between;
    }
    .blog{
    flex-basis: 66.6%;  
    }
    .cursos {
        flex-basis: calc(33.3% - 4rem) ;
        order: 2;
    }
}

.entrada-blog {
margin-bottom:  2rem;
border-bottom: 1px solid #afadad;
}

.entrada-blog img {
        width: auto; /* the height will scale proportionally */
 }

.cursos-lista {
    padding: 0;
    list-style: none;
}

.curso {
    padding-bottom: 3rem;
    border-bottom: 1px solid #afadad;
}

.curso :last-of-type {
    border: none;
}

.curso p {
font-family: 'PT Sans',sans-serif;
font-weight: 700;
}

.curso p span {
    font-weight: 400;
}


    /** opconal **/
/**
.entrada-blog {
display: flex;
justify-content: space-between;
}

.entrada-blog .imagen {
    flex: 0 0 40%;
}

.entrada-blog .contenido-blog {
    flex: 0 0 calc(60% - 2rem);
}
**/

/** footer **/
.site-footer{
    background-color: black;
    padding: 3rem;
    margin-top: 4rem;
}

.site-footer p {
color: #ffffff;
font-size: 2rem;
font-weight: 400;
font-family: 'PT Sans', sans-serif;
text-align: center;
}

.site-footer img {
   justify-content: center;
   text-align: center;
   }

.site-footer span {
    font-weight: 700;
} 

.final-copyright p{
    color: #8ef09e;
    font-size: 1.5rem;
    font-weight: 200;
    font-family: 'PT Sans', sans-serif;
    text-align: center; 
}

.respuestas-busquedas{
    display: block;
    font-weight: 400;
    font-family: 'PT Sans', sans-serif;
    text-align: center;
    padding: 1rem;
}