/* 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;
}
/****************************************************************/


/* SECCIÓN  ENCABEZADO ***********************************************/

#encabezado {
background-image: url(/img/fondo-cabecera.jpg);
background-repeat: no-repeat;
background-size: cover;
min-height: 400px;
 /****************Alinear verticalmente************************************************/
display: grid;
grid-template-columns: 1fr;
}

/* SECCIÓN PIDE CITA***********************************************/

#pideCita {
    background-color: #575757;
    color: white;
    padding-top: 40px;
    padding-bottom: 40px;
    color: white;
 }

 #pideCita {

font-size: 1.75rem;
font-weight: 700;
text-align: center;
 }

 #pideCita a {
    color: #1b1b1b;
    background-color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 20px;
    padding-right: 20px;
 }


/* SECCIÓN PRESENTACIÓN ***********************************************/


#presentacion {
    color: white;
    background-color: #2B2B29;
    padding-top: 50px;
    padding-bottom: 50px;
}

#presentacion h2 {
    text-align: center;
    font-size: 1.85rem;
}

#presentacion hr {
    color: white;
    width: 300px;
}
#presentacion div {
    display: grid; /*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%;
}

/* 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: 300px;
    background-color: #8D8D8D;
}

#servicios p {
    text-align: center;
}

/* SECCIÓN SERVICIOS ***********************************************/
#servicios div {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 30px;

}

#servicios h3 {
    color: #515151;
    text-align: center;
}
/* PRIMERAS MARCAS ***********************************************/

#primerasMarcas img {
    height: 130px;
}