body {
    width: 100%;
    max-width: 1000px;
    max-height: 3000px;
    background-image: url('../img/fondomcentral.jpg'); background-repeat: no-repeat;     background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    margin: auto;
    font-family: 'Work Sans', sans-serif;
}

/*----------------------------- HEADER ---------------------------------*/

.header {
    width: 1000px;
    height: 228px;
    margin: auto;
}

.ban-sub {
    width: 1000px;
    height: 91px;
    margin: auto;

}

.sub-banner {
    display: flex;
    justify-content: space-between;
    width: 1000px;
    height: 34px;
    background: #e9e9e9;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.banner-izq {
    margin: 0;
    padding: 2px 0px 0px 10px ;
    width: 300px;
    height: 34px;

}

.banner-der {
    width: 340px;
    height: 34px;;
}

h3 {
    margin: 0;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
    line-height: 34px;
    color: black;
}

.face {
    margin-top: 2px;
    width: 25px;
    height: 25px;
}

.logo {
    margin: auto;
    width: 1000px;
}

.logomcentral {
    widows: 565px;
    height: 77px;
}

/*----------------------------- MENU NAV---------------------------------*/
nav {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    background: #e9e9e9;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.menu ul {
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.menu li:hover {
    background: #5a6297;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    transition: 0.5s;
}

.menu li a {
    display: block;
    padding: 15px 10px;
    color: #000;
    text-decoration: none;
}

.menu li a:hover {
    color: #fff;
}

/*----------------------------- CONTENEDOR SERVICIOS ---------------------------------*/

#servicios-contenedor {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    height: 1200px;
    width: 1000px;
    background: #fff;
    margin: auto;
    padding-bottom: 100px;
    
}

#titulo-servicios {
    width: 50%;
    height: 35px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    border-radius: 20px;
    color: white;
    
    background: -moz-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: linear-gradient(135deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    
}


#parrafo-servicios {
    text-align: center;
    font-size: 19px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 50px;
}

/*---------------Imagen Neumatico---------------*/

.imagen-neumatico {
    margin: 30px;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    background-image: url('../img/articulos/neumaticos.jpg')
}

.imagen-neumatico h1 {
    position: absolute;
    width: 200px;
    height: 250px;
    margin-top: -30px;
    margin-left: 65px;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
}

#info {
    overflow: hidden;
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    background-color: rgba(31, 31, 31, 0.9);
    -webkit-transition: opacity 0.2s ;
    -moz-transition: opacity 0.2s ;
    -ms-transition: opacity 0.2s ;
    -o-transition: opacity 0.2s ;
    opacity: 0;
}

#titulo-imagen {
    color: white;
    margin-top: 30px;
    -webkit-transition: margin 0.2s ;
    -moz-transition: margin 0.2s ;
    -ms-transition: margin 0.2s ;
    -o-transition: margin 0.2s ;
    webkit: ;
    margin-left: -150px;
    position: absolute;
    font-size: 25px;
}

#info-imagen {
    color: white;
    width: 230px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    margin-top: 320px;
    font-size: 15px;
    -webkit-transition: margin 0.3s;
    -moz-transition: margin 0.3s;
    -ms-transition: margin 0.3s;
    -o-transition: margin 0.3s;
}

.imagen-neumatico:hover h1 {
    opacity: 0;
}

.imagen-neumatico:hover #info {
    opacity: 1;   
}

.imagen-neumatico:hover #info-imagen {
    margin-top: 80px;
}


.imagen-neumatico:hover #titulo-imagen {
    margin-left: 53px;
}

/*---------------Imagen Neumatico---------------*/


/*---------------Imagen Mantencion---------------*/

.imagen-mantencion {
    margin: 30px;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    background-image: url('../img/articulos/mantencion.jpg')
}

.imagen-mantencion h1 {
    position: absolute;
    width: 200px;
    height: 250px;
    margin-top: -30px;
    margin-left: 65px;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
}

.imagen-mantencion:hover h1 {
    opacity: 0;
}

.imagen-mantencion:hover #info {
    opacity: 1;   
}

.imagen-mantencion:hover #titulo-imagen {
    margin-left: 50px;
}

.imagen-mantencion:hover #info-imagen {
    margin-top: 75px;
}

/*---------------Imagen Mantencion---------------*/

/*---------------Imagen Alineacion y Balanceo---------------*/

.imagen-alineacion {
    margin: 30px;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    background-image: url('../img/articulos/alineacion%20y%20balanceo.jpg')
}

.imagen-alineacion h1 {
    position: absolute;
    width: 200px;
    height: 250px;
    margin-top: -50px;
    margin-left: 60px;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
}

.imagen-alineacion:hover h1 {
    opacity: 0;
}

.imagen-alineacion:hover #info {
    opacity: 1;   
}

.imagen-alineacion:hover #titulo-imagen {
    margin-left: 50px;
}

.imagen-alineacion:hover #info-imagen {
    margin-top: 100px;
}

/*---------------Imagen Alineacion y Balanceo---------------*/

/*---------------Imagen Amortiguadores---------------*/

.imagen-amortiguadores {
    margin: 30px;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    background-image: url('../img/articulos/amortiguadores.jpg')
}

.imagen-amortiguadores h1 {
    position: absolute;
    width: 200px;
    height: 250px;
    margin-top: -30px;
    margin-left: 45px;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
}

.imagen-amortiguadores:hover h1 {
    opacity: 0;
}

.imagen-amortiguadores:hover #info {
    opacity: 1;   
}

.imagen-amortiguadores:hover #titulo-imagen {
    margin-left: 25px;
}

.imagen-amortiguadores:hover #info-imagen {
    margin-top: 75px;
}

/*---------------Imagen Amortiguadores---------------*/

/*---------------Imagen Frenos---------------*/

.imagen-frenos {
    margin: 30px;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    background-image: url('../img/articulos/frenos.jpg')
}

.imagen-frenos h1 {
    position: absolute;
    width: 200px;
    height: 250px;
    margin-top: -30px;
    margin-left: 85px;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
}

.imagen-frenos:hover h1 {
    opacity: 0;
}

.imagen-frenos:hover #info {
    opacity: 1;   
}

.imagen-frenos:hover #titulo-imagen {
    margin-left: 80px;
}

.imagen-frenos:hover #info-imagen {
    margin-top: 75px;
}

/*---------------Imagen Frenos---------------*/

/*---------------Imagen Frenos---------------*/

.imagen-accesorios {
    margin: 30px;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    background-image: url('../img/articulos/accesorios.jpg')
}

.imagen-accesorios h1 {
    position: absolute;
    width: 190px;
    height: 250px;
    margin-top: -30px;
    margin-left: 85px;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
}

.imagen-accesorios:hover h1 {
    opacity: 0;
}

.imagen-accesorios:hover #info {
    opacity: 1;   
}

.imagen-accesorios:hover #titulo-imagen {
    margin-left: 60px;
}

.imagen-accesorios:hover #info-imagen {
    margin-top: 75px;
}

/*---------------Imagen Frenos---------------*/

/*---------------Imagen Baterias---------------*/

.imagen-baterias {
    margin: 30px;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    background-image: url('../img/articulos/baterias.jpg')
}

.imagen-baterias h1 {
    position: absolute;
    width: 200px;
    height: 250px;
    margin-top: -30px;
    margin-left: 85px;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
}

.imagen-baterias:hover h1 {
    opacity: 0;
}

.imagen-baterias:hover #info {
    opacity: 1;   
}

.imagen-baterias:hover #titulo-imagen {
    margin-left: 75px;
}

.imagen-baterias:hover #info-imagen {
    margin-top: 75px;
}

/*---------------Imagen Baterias---------------*/

/*---------------Imagen Afinamiento---------------*/

.imagen-afinamiento {
    margin: 30px;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    background-image: url('../img/articulos/afinamiento.jpg')
}

.imagen-afinamiento h1 {
    position: absolute;
    width: 200px;
    height: 250px;
    margin-top: -30px;
    margin-left: 65px;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
}

.imagen-afinamiento:hover h1 {
    opacity: 0;
}

.imagen-afinamiento:hover #info {
    opacity: 1;   
}

.imagen-afinamiento:hover #titulo-imagen {
    margin-left: 50px;
}

.imagen-afinamiento:hover #info-imagen {
    margin-top: 75px;
}

/*---------------Imagen Afinamiento---------------*/

.footer {
    width: 1000px;
    margin: auto;
    margin-top: -13px;
}

/*----------------------------- APLICACIÓN RESPONSIVE ---------------------------------*/

/*------------ APLICACIÓN RESPONSIVE HEADER -------------*/

@media (min-width: 320px) and (max-width: 1000px) {
    body {
        width: 100%;
        height: 100%;
    }
    
    .header {
        width: 100%;
        height: 100%;
        
    }
    
    .ban-sub {
        width: 100%;
        height: 100%;
    }
    
    .ban-sub img {
        width: 100%;
        height: 100%;
    }
    
    .sub-banner {
        position: relative;
        top: -3px;
        width: 100%;
        height: 100%;
    }
    
    .banner-izq {
        text-align: left;
        width: 10%;
    }
    
    .banner-der {
        width: 100%;
    }
    
    h3 {
        text-align: right;
        font-size: 12px;
        padding-right: 10px;
    }
    
    .logo {
        text-align: center;
        width: 100%;
    }
    
    .logomcentral {
        width: 100%;
        height: 100%;
    }
    
/*------------ APLICACIÓN RESPONSIVE HEADER -------------*/
    
    #servicios-contenedor {
        width: 100%;
        max-width: 1000px;
        height: 100%;
        max-height: 2650px;
        
    }
    
    #titulo-servicios {
        text-align: center;
        font-size: 25px;
        height: 30px;
    }
    
    #parrafo-servicios {
        font-size: 15px;
        padding-bottom: 20px
    }
    
}

/*------------ APLICACIÓN RESPONSIVE NAV -------------*/

    @media (max-width:480px) {
        .menu ul {
            display: flex;
            justify-content: center;
            font-size: 14px;    
        }
    }

/*------------ APLICACIÓN RESPONSIVE FOOTER -------------*/
        
    .footer {
        width: 100%;
        max-width: 1000px;
    }
    
    .footer img {
        width: 100%;
        height: auto;
    }