/* REGLAS GENÉRICAS *********************************************/
:root {
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 17px;
    background-color: #fff;
    color:#000;
}

* {
    box-sizing: border-box;
}

body {
    margin:0;
}

h1 {
    color: black;
    font-size: 2.8rem;
    font-weight: 400;
    text-align: center;
    /*alinear verticalmente*/
    align-content: center;
    background-color: #fff8;
}
/****************************************************************/

/* SECCIÓN HEADER/FOOTER ****************************************/
#header, #footer {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
}
#header a, #footer a {
    text-decoration: none;
}
/****************************************************************/

/* SECCIÓN HEADER ***********************************************/
#header {
    background-color: #fff;
    display:grid;
    grid-template-columns: 70px 1fr;
}
#header img {
    width: 100px;
}

#header a {
    color: #333;
}
#header div{
    text-align: right;
    align-content: center;
}

/****************************************************************/

/* SECCIÓN FOOTER ***********************************************/
#footer p {
    text-align: center;
}
#footer #bandaSuperior {
    background-color: #292E31;
    color: #fff;
    height: 350px;
    padding-top: 50px;
}
#footer #bandaSuperior h2 {
    border-bottom: 1px solid #fff;
    text-align: center;
}
#footer #bandaInferior {
    background-color: #22272A;
    padding-top: 20px;
    padding-bottom: 20px;
}
#footer #bandaInferior,
#footer #bandaInferior a {
    color: #d2d2d2;
}
/****************************************************************/
/*SECCION ENCABEZADO********************************************/
#encabezado{
    background-image: url(/img/fondo-cabecera.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    /*alinear verticalmente el contenido*/
    display: grid;    
    grid-template-columns: 1fr;
}
/*SECCION SERVICIOS/TRABAJA CON NOSOTROS********************************************/

#servicios,#primerasmarcas{
padding-top: 50px;
padding-bottom: 50px;

}
#servicios h2,#primerasmarcas h2{
    text-align: center;
    font-size: 1.6rem;
    color: #515151;
}

#servicios hr,#primerasmarcas hr{
    width: 100px;
    background-color: #8d8d8d;
}
#servicios p, #primerasmarcas p{
    text-align: center;
}

/*SECCION SERVICIOS********************************************/
#servicios>div {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 30px;
}
#servicios h3{
    color: #515151;
    text-align: center;

}



/*SECCION PIDE CITA********************************************/
#pidecita {
    background-color: #575757;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
    color: #fff;
    }
#pidecita>p{
    
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;

}
#pidecita>a{
    color: #1b1b1b;
    background-color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
}

/*SECCION PRESENTACION********************************************/

#presentacion>div
    {display: grid; 
        /*hacemos que sea una cuadricula*/
    grid-template-columns: 20% 50% 30%;
    grid-template-columns: 300px 1fr 2fr;
    gap: 20px;}

#presentacion>div{
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 30px;}


#presentacion>div>img
{width: 100%;}

#presentacion>h2{
    text-align: center;
    font-size: 1.85rem;
}

#presentacion {
    color: #fff;
    background-color: #2b2a29;
    padding-top: 50px;
    padding-bottom: 50px;
}
#presentacion>hr{
    color: white;
    width: 300px;
}

/****************************************************************/
/*SECCION PRIMERAS MARCAS********************************************/
#primerasmarcas img{
    height: 130px;
}