:root{
    --fuenteheading: 'PT Sans', sans-serif;
    --fuenteparrafos: 'Open Sans', sans-serif;

    --primario: #784D3C;
    --gris: #e1e1e1;
    --blanco: #fff;
    --negro: #000;
    
}
html{
    box-sizing: border-box;
    font-size: 62.5%; /* 1 rem = 10px - siemrpre tiene que ir en todos los proyectos*/
}
*,*:before, *:after{
    box-sizing: inherit;
}
body{
    font-family: var(--fuenteparrafos);
    font-size:  1.6rem;
    line-height: 2;
}
/** GLOBALES **/
.contenedor{
    max-width: 120rem; /*maximo tamaño de la pagina*/
    width: 90%;  /*el maximo tambien que no llegue a los bordes en formato movil*/
    margin: 0 auto;  /*centra el contenido en la pantalla*/

}
a{
    text-decoration: none;
}
h1,h2,h3,h4{
    font-family: var(--fuenteheading);
    line-height:1.2 ;
}
h1{
    font-family: 'Pinyon Script', cursive;
    font-size:  3.8rem ;
}
h2{
    font-size:  4rem ;
}
h3{
    font-size:  3.2rem ;
}
h4{
    font-size:  2.8rem ;
}
img{
    max-width: 100%; /*para que sean responsive todas las imagenes*/
}

/**Utilidades**/
.no-margin{
    margin: 0;
}
.no-padding{
    padding: 0;
}
.centrar-texto{
    text-align: center;
}
/*de aca para arriba siempre tiene que estar esto para empezar -----------------------------------------   */


/*HEADER*/
.header {
    background-image: url(../img/Vino.webp) ;
    height: 30rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center; /*centra horizontal y verticalmente*/
}
.header-texto{
    text-align: center;
    color: var(--blanco);
    
}
@media (min-width: 768px) {
    .header-texto{
        margin-top: 15rem;
        
    }   
}
    

.barra{
    padding-top: 4rem;
}
@media (min-width: 768px) {
    .barra{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
}
.logo{
    color: var(--blanco);

}
.logo--nombre{
    margin-top: 5rem;
    font-weight: 400;

}
.logo--negrita{
    font-weight: 700;

}


@media (min-width:768px ) {
    .navegacion{
        display: flex;
        gap: 2rem;
        color: var(--blanco);
        
    }
    
}


.navegacion--enlace{
    display: block; /*los enlaces uno encima del otro*/
    text-align: center;
    font-size: 1.8rem;
    color: var(--blanco);
}

.icono{
    width: 3rem;
}
.icono1{
    margin-top: 0rem;
    margin-left: 23rem;
    width: 3rem;
}
.iconos{
    display: flex;
    gap: 2rem;
}
.entrada{
    border-bottom:1px solid var(--gris) ;   /*Linea de separacion entre los 3 blogs de texto*/
    margin-bottom: 2rem;
}
.entrada:last-of-type{  /*se usa para seleccionar la ultima entrada del blog*/
    margin-bottom: 0;

}
.navegacion--enlace{
    text-align: center;
    font-size: 1.8rem;
    color: var(--negro);
}
.boton{
    display: block;
    font-family: var(--fuenteheading);
    color: var(--blanco);
    text-align: center;
    padding: 1rem 3rem; /*1 para arriba y abajo y 3 a cada costado*/
    font-size: 1.8rem;;
    text-transform: uppercase; /*texto pasa a mayuscula*/
    font-weight: 700; /*negrita para el texto*/
    margin-bottom: 2rem;
    border: none;
}
@media (min-width: 768px) {
    .boton{
        display: inline-block;
    }
    
}
.boton--primario{
    background-color: var(--negro);
}
.boton--secundario{
    background-color: var(--primario);
}
.boton:hover {
    cursor: pointer; /*para que salga la mano al seleccionar*/
}
.cursos {
    list-style: none;
}
.widget-curso{
    border-bottom: 1px solid var(--gris);
    margin-bottom: 2rem;
}
.widget-curso:last-of-type{  /*quiitar la ultima linea*/
    border: none;
    margin-bottom: 0;
}
.widget-curso__label{
    font-family: var(--fuenteheading);
    font-weight: bold;

}
.widget-curso__info{
    font-weight: normal;
}
.widget-curso__label,
.widget-curso__info{
    font-size: 2rem;
}

.footer{
    background-color: var(--negro);
    padding: 3rem 0rem;
    padding-bottom: 3rem;
    margin-top: 4rem;
}
/**sobre nosotros**/
@media (min-width: 768px) {
    .sobre-nosotros{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        column-gap:2rem;
    } 
    .curso{

        padding:3rem 0;
        border-bottom: 1px solid var(--gris);
    }      
}    

.servicio{
    font-size:  2.5rem;
}
.servicio-ayuda{
    font-size:  2rem;
    margin-top: 4rem;
}
.typing-demo{
    width: 16ch;
    animation: typing 3s steps(14),
 blink .5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;     
}

@keyframes typing {
    from{
        width: 0;
    }
} 

@keyframes blink {
    50%{
        border-color: transparent;
    }
}