:root{
    --FuentePrincipal: 'Neuton', serif;
    --Negro: black;
    --Blanco:#ffff;
    --Gris:#e1e1e1;
    --Primario:#784d3c;
}

html{
    box-sizing: border-box;
    font-size: 62.5%;
}

*,*:after,*::before{
    box-sizing: inherit;
}

body{
    font-family: var(--FuentePrincipal);
    font-size: 1.6rem;
    line-height:2 ;
}

.contenedor{
    max-width: 120rem;
    width: 90%;
    margin: 0 auto;
}

a{
    text-decoration: none;
}

h1,h2,h3,h4{
    font-family: var(--FuentePrincipal);
    line-height: 2;
}

h1{
 font-size: 4.8rem;
}

h2{
 font-size: 4rem ;
}

h3{
    font-size: 3.2rem;
}
h4{
    font-size: 2.8rem;
}

/* Utilidades */

.noPading{
    padding: 0;
}

.centrarTexto{
    text-align: center;
}

.noMargen{
    margin: 0;
}
/* Header */
.webp .header{
    background-image: url(../Img/banner.webp);
}

.no-webp .header{
    background-image: url(../Img/banner.jpg);
}
.header{
    
    height: 60rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.header__Texto{
    text-align: center;
    color: var(--Blanco);
    margin-top: 5rem;
}

@media(min-width:768px){
    .header__Texto{
        
        margin-top: 15rem;
    }
}

@media(min-width:768px){
    .barra{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.logo{
    color:var(--Blanco);
}

.logo__nombre{
    font-weight:400;
}

.logo__bold{
    font-weight: 700;
}

@media(min-width:768px){
 .navegacion{
    display: flex;
    
    gap: 2rem;
    
 }
}

.navegacion__enlaces{
    display: block;
    text-align: center;
    font-size: 1.8rem;
    color: var(--Blanco);
}

.navegacion a:hover{
    cursor: pointer;
    color: red;
}

/* Blog */

@media(min-width: 768px){
    .contenidoP{
        display: grid;
        grid-template-columns:2fr 1fr ;
        column-gap: 4rem;
    }
}

.entrada{
    border-bottom: 1px solid var(--Gris);
}

.entrada:last-of-type{
    border: none;
    margin-bottom: 0;
}

.boton{
    display: block;
    font-family: var(--FuentePrincipal);
    color: var(--Blanco);
    padding: 1rem 3rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    border: none;
}

.boton:hover{
    cursor: pointer;
    color: red
}

@media(min-width:768px){
    .boton{
        display: inline-block;
    }
}

.boton--Primario{
    background-color:var(--Negro);
    
}
.boton--Secundario{
    background-color:var(--Negro);
    
}

img{
    max-width: 100%;
}

.cursos{
    list-style: none;
}

.widget-cursos{
    border-bottom: 1px solid var(--Gris);
    margin-bottom: 2rem;
}

.widget-cursos:last-of-type{
    border-bottom: none;
}

.widget-cursos_Elemento{
    font-family: var(--FuentePrincipal);
    font-weight: bold;
}

.widget-cursos_info{
    font-weight: normal;
}

.widget-cursos_info,
.widget-cursos_Elemento{
    font-size: 2rem;
}

.Footer{
    background-color: var(--Negro);
    margin: 0 auto;
}

/* Sobre Nosotros */

@media(min-width:768px){ 
 .Sobre_Nosotros{
     display: grid;
     grid-template-columns: repeat(2,1fr);
     column-gap: 2rem;
     margin-bottom: 2rem;
} 
}


@media(min-width:768px){

    .Nuestro_cursos{
        display: grid;
        grid-template-columns: 1fr 2fr;
        column-gap: 2rem;
        
    }

    
}


.imagen_cursos{
    
    margin-top: 2rem;
    max-width: 100%;
    
    
    margin-bottom: 2rem;
    
}

.parrafo_curso p{

    font-size: 1.8rem;
    font-weight: normal;

}

.grid{
    display:  grid;
    justify-items: center;
}
.imagen_Entrada{
    max-width: 70%;
    margin-top: 1px;
}

/* Contacto */
.imagesFondo{
    background: url(../Img/contacto.jpg);
    width: 100%;
    height: 40rem;
    background-size: cover;
    
    
}

/* Fomulario Contacto */

.formulario{
    background-color: var(--Blanco);
    margin: -5rem 0 auto;
    width: 95%;
}

.Campo{
    display: flex;
    margin-bottom: 2rem;
}

.Campo__Label{
    flex: 0 0 9rem;
    text-align: center;
    padding-right: 2rem;
}

.CampoTexto{
    flex: 1;
    border: 1px solid var(--Gris);
}

.CampoTexto--textarea{
    height: 200px;
}