:root {
    --FuenteHeading: 'PT Sans', sans-serif;
    --FuenteParrafos: 'Open Sans', sans-serif;

    --primario: #784D3C;
    --blanco: #ffffff;
    --negro: #000000;
    --fuente: #2c3e50;

}
html {
    box-sizing: border-box; /*para que el borde y padding no afecte el ancho de nuestros elementos*/
    font-size: 62.5%; /*1rem = 10px*/
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: var(--FuenteParrafos);
    font-size: 1.6rem;
    line-height: 2;
}

/*Globales*/
.contenedor {
    max-width: 120rem;
    width: 90%;
    /*width: min(90%, 120rem); ES LO MISMO QUE ARRIBA PERO METODO NUEVO EN CSS*/
    margin: 0 auto;
}
a {
    text-decoration: none;
}

h1, h2, h3, h4 {
    font-family: var(--FuenteHeading);
    color: var(--blanco);
   
}

img {
    max-width: 100%;
}

/*Utilidades*/
.no-margin {
    margin: 0;
}
.no-padding {
    padding: 0;
}

.centrar-texto {
    text-align: center;
}

.header {
    background-image: url(../img/imagenheader.jpg);
    height: 100rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

@media (min-width: 768px) {
    .header {
        height: 40rem;
    }
}

.logo {
    color: var(--blanco);
}
.logo__nombre {
    font-weight: 400;

}
.logo__bold {
    font-weight: 700;
}

@media (min-width: 768px) {
    .barra {
        display: flex;
        justify-content:space-between; /*Para alinear horizontalmente, coloca los elementos un extremo al otro*/
        align-items: center; /*Para alinear verticalmente*/
    }
}

@media (min-width: 768px) {
    .navegacion {
        display: flex;
        gap: 2rem;
    }
}
.navegacion__enlace {
    display: block;
    text-align: center;
    font-size: 1.8rem;
    color: var(--blanco);
}
.servicio__texto {
    color: var(--blanco);
}

@media (min-width: 768px) {
    .servicios {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2rem;
    }
}

.servicios {
    margin-top:2rem;

}
.servicio_heading {
   margin: 0;
}

@media (min-width: 768px) {
    .imagenes {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 2rem;
}
}

.imagenes__index1, .imagenes__index2, .imagenes__index3 {
    height: 25rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-top: 2rem;

}
.imagenes__index1 {
    background-image: url(../img/web.PNG);
    
}
.imagenes__index2 {
    background-image: url(../img/redes.PNG);
}
.imagenes__index3 {
    background-image: url(../img/soporte.PNG);
}


/*----------------contacto--------------*/

.contacto {
    color: var(--negro);
}

@media (min-width: 768px) {
.contacto-bg {
 
    display: flex;
    justify-content: center;
    column-gap: 2rem;
    }
}
.campo__label {
    flex: 0 0 9rem; /* 0 y 0 : no crezca ni tampoco se haga mas pequeño. Valor base 9rem*/
} 

.campo__field {
    flex: 1; /**/

}

.campo {
    display: flex;
    margin-bottom: 2rem;
}

.boton {
    display: inline-block;
    font-family: var(--FuenteHeading);
    color: var(--blanco);
    text-align: center;
    padding: 1rem 3rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    border: none;
}

.boton--primario {
 background-color: var(--negro);   

}

.imagenindex {
    background-image: url(../img/img1.jpg);
    height: 45rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba( 0,0,0, .2 ); /** Anterior **/
    

}
.footer {

    background: #222;
    color: #bfd309;
    /*background-image: url(../img/imagenheader.jpg);
    height: 7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;*/
}

@media (min-width: 768px) {
    .contacto {/*
        display: flex;
        gap: 2rem;
        justify-content: center;
        align-items: center;*/
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
 
.contacto__info {
    color: var(--blanco);
}
}
.footer__texto {
    color: var(--blanco);
}
a{
    text-decoration: none;
    display: block;
    color: var(--blanco);
}

.footer__copy {
    background: #111;
    height: 50px;
    display: grid;
    place-items: center;
}

footer h2{
    color: #CCC;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 15px 0;
}