@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

html{
    scroll-behavior: smooth;
}

header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 10000;
}

main{
    margin-top: 300px;
}

/*HEADER SUPERIOR*/

.header__superior{
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.logo img{
    width: 120px;
}

.RC{
    font-size: 44px;
}

/*Buscador*/
.group {
    display: flex;
    line-height: 28px;
    align-items: center;
    position: relative;
    max-width: 190px;
}

.input {
    width: 100%;
    height: 40px;
    line-height: 28px;
    padding: 0 1rem;
    padding-left: 2.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    outline: none;
    background-color: #f3f3f4;
    color: #0d0c22;
    transition: .3s ease;
}

.input::placeholder {
    color: #9e9ea7;
}

.input:focus, input:hover {
    outline: none;
    border-color: rgba(244, 91, 15, 0.4);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(233, 128, 0, 0.1);
}

.icon {
    position: absolute;
    left: 1rem;
    fill: #9e9ea7;
    width: 1rem;
    height: 1rem;
}



/*BARRA MENU*/

.container__menu{
    width: 100%;
    height: 70px;
    background: #e53017;
    padding: 0px 20px;
}

.menu{
    max-width: 1200px;
    margin: auto;
    height: 100%;
}

nav{
    height: 100%;
}

nav > ul{
    height: 100%;
    display: flex;
}

nav ul li{
    height: 100%;
    list-style: none;
    position: relative;
}

nav > ul > li:first-child > a{
    background-image: url(../img/header/home.png);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 20px 40px;
    border-radius: 4px;
}

nav > ul > li:first-child:hover > a{
    background-image: url(../img/header/home.png);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center center; 
}

nav > ul > li > a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 14px;
    color: #fff;
    /*text-transform: uppercase;*/
    font-size: 17px;
    transition: all 300ms ease;
}

nav > ul > li > a:hover{
    transform: scale(1.1);
    background: #e2441a;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    border-radius: 4px;
}

#inicio{
    transform: scale(1.1);
    background-color: #e2441a;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}



/*SUBMENU*/

nav ul li ul{
    width: 200px;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 90px;
    left: -5px;
    padding: 14px 0px;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    z-index: 10;
    transition: all 300ms ease;
}

nav ul li:hover ul{
    visibility: visible;
    opacity: 1;
    top: 70px;
}

nav ul li ul:before{
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #fff;
    position: absolute;
    top: -12px;
    left: 20px;
}

nav ul li ul li a{
    display: block;
    color: #000000;
    padding: 6px;
    padding-left: 14px;
    margin-top: 10px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 300ms ease;
}

nav ul li ul li a:hover{
    background: #e2441a;
    color: #fff;
    transform: scale(1.1);
    padding-left: 30px;
    font-size: 14px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    border-radius: 2px;
}



/*ELEMENTOS RESPONSIVOS*/

.icon__menu{
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    width: 26px;
    height: 100%;
    display: none;
    align-items: center;
}

#etiqueta__check{
    width: 26px;
    height: 100%;
    display: none;
}

#check__menu{
    display: none;
}



/*ARTICULO/LOREMS ETC*/

main{
    background: #f0f0f0;
    margin-top: 185px;
}

*article{
    max-width: 1200px;
    margin: 20px auto;
    padding: 40px;
    background: #fff;
}
                            /*PONER UN LINDO DISEÑO A PARRAO*/
*article p{
    margin-top: 20px;
    font-size: 18px;
    font-weight: 300;
}



/* SLIDER/CARRUCEL */

.banner{
    position: relative;
    width: 100%;
    /*height: calc(100vh - 203px);*/
    height: calc(100vh - 103px);             /*Cambiar el tamaño del slider en el vh 50 se hace mas pequeño etc*/ 
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    transition: all .1ms ease-in-out;
    background-image: url(../img/carrusel-novedades/1.jpg);
    animation: banner 28s infinite linear; /* ANIMACION DEL SLIDER SE HACE GRACIAS AL @KEYFRAMES Y LA ETIQUETA ANIMATION EN EL ELEMENTO PRINCIPAL*/
}

.banner-contenido{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: rgba(0, 5, 23, .15); /*Efecto de color azul en la img*/
    display: flex;
    flex-direction: column;
    justify-content: center;   /*ALINEAR LINEA DE NOVEDADES AL CENTRO*/
    align-items: center;       /*ALINEAR LINEA DE NOVEDADES AL CENTRO*/
    /*font-size: 20px;*/
}

.banner-contenido h2{
    margin: 0;
    padding: 0;
    padding-bottom: 30px;
    font-size: 40px;
    text-align: center;

}

.banner-contenido a{
    color: #fff;
    padding: 9px 20px;
    border: 1px solid #fff;
    text-transform: uppercase;
    border-radius: 2px;
}

.banner-contenido a:hover{
    background: #fff;
    color: #333;
    transition: all 300ms ease-in-out;
}

@keyframes banner{
    0%{
        background-image: url(../img/carrusel-novedades/JOVI.jpg);
    }
    25%{
        background-image: url(../img/carrusel-novedades/JOVI.jpg);
    }
    26%{
        background-image: url(../img/carrusel-novedades/Noble.jpg);
    }
    50%{
        background-image: url(../img/carrusel-novedades/Noble.jpg);
    }
    51%{
        background-image: url(../img/carrusel-novedades/Kores.jpg);
    }
    75%{
        background-image: url(../img/carrusel-novedades/Kores.jpg);
    }
    76%{
        background-image: url(../img/carrusel-novedades/TraxxP.jpg);
    }
    100%{
        background-image: url(../img/carrusel-novedades/TraxxP.jpg);
    }
}



/*TARJETAS PRODUCTOS*/

.title_productos{
    text-align: center;
    font-size: 2.5rem;
    color: #e2441a;
    margin: 5rem 0rem 3.5rem 0rem;
}

.container-box_productos{
    max-width: 100rem;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.box_productos{
    border: 3px solid #ff0000;
    border-radius: 1rem;
    display: block;
    width: 18.75rem;
    height: 26rem;
    margin: 1rem 1.5rem 1rem 1.5rem;
    padding: 0.6rem;
    transition: all 0.3s ease;
}

.box_productos:hover{
    background-color: #ffffff;
    transition: all 500ms ease;
    transform: scale(1.09);
    box-shadow: 0 20px 40px 20px rgba(0, 0, 0, 0.25);
}

.box_productos h2{
    text-align: center;
    padding: 0.5rem 0rem;
    font-size: 1.6rem;
    color: #000;
}


.box_productos p{
    text-align: center;
    font-size: 1rem;
    color: #000;
}


.img-box_productos{
    display: flex;
    margin: 0 auto;
    width: 14rem;
    padding: 0rem;
}



/*SLIDER MARCAS*/

.slider {
    width: 75vw;
    height: auto;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.slider h2{
    font-size: 35px;
    color: #e2441a;
}

.slider .slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(200px * 26);
}

.slider .slide {
    width: 200px;
}

.slider .slide img {
    width: 100%;
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(-200px * 13));
        transform: translateX(calc(-200px * 13));
    }
}

.liston{
    background: #e2441a;
    margin-top: 40px;
    padding: 20px 0px;
}



/*Tarjetas servicios*/

.tarjetas-servicios{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.titulo-servicios{
    display: block;
    text-align: center;
    font-size: 25px;
    color: #e2441a;
    margin: 60px 0px 20px 0px;
}

.carta-cliente {
    background: #ffffff;
    display: block;
    width: 350px;
    height: 450px;
    margin: 32px 48px 32px 48px; /*AQUI PONER LA MEDIDA PARA DESPEGAR LAS CAJAS*/
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
    border: 4px solid #e2441a;
    box-shadow: 0 6px 10px rgba(207, 212, 222, 1);
    border-radius: 10px;
    text-align: center;
    color: #000000;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
}

.carta-cliente:hover{
    transform: scale(1.05);
}

.Foto-servicio img {
    width: 150px;
    fill: currentColor;
}

.Foto-servicio .camion {
    width: 220px;
    margin-top: 25px;
    margin-bottom: 28px;
    fill: currentColor;
}

.nombre-servicio{
    margin: 0;
    margin-top: 20px;
    font-weight: 600;
    font-size: 18px;
}

.nombre-servicio p{
    display: block;

}

.servicios-img a {
    position: relative;
    margin-right: 15px;
    text-decoration: none;
    color: inherit;
}

.servicios-img a:last-child {
    margin-right: 0;
}



.botón-servicios{
    padding: 16px 43px;
    margin-top: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    color: #000;
    background-color: #FFF;
    border-color: #e2441a;
    border-radius: 45px;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
}

.botón-servicios:hover{
    background-color: #e2441a;
    color: #fff;
}


/*TARJETAS SERVICIO HOVER*/

.card-client:hover {
    transform: translateY(-10px);
}



/*ACERCA DE NOSOTROS*/

.acerca-de-nosotros{
    display: flex;
    margin: 40px 70px 40px 70px;
    align-items: center;
}

.texto-nosotros h2{
    font-size: 35px;
    text-align: center;
    color: #e2441a;
}


.texto-nosotros p{
    font-size: 20px;
    margin:20px 80px 20px 10px;
    text-align: center;
}

.acerca-de-nosotros .imagen-cosmos img{
    max-width: 100%;
    width: 4000px;
    border-radius: 10px;
}



/*MAPA*/

.contenedor_mapa{
    position: static;
    padding-bottom: 100px;
}
.contenedor_mapa .texto_ubicación{
    display: flex;
    justify-content: center;
}

.contenedor_mapa .texto_ubicación h2{
    margin-bottom: 20px;
    font-size: 40px;
    color: #e2441a;
}

.contenedor_mapa .texto_ubicación img{
    width: 35px;
    height: 100%;
    margin-left: 10px;
}

.mapa iframe{
    margin-bottom: 70px;
    border-radius: 5px;
}



/*BOTÓN WHATSAPP*/

.contenedor-whatsapp{
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 900;
}

.contenedor-whatsapp img{
    width: 125px;
    padding: 4px;
    background: rgb(0,0,0,0.0);
    cursor: pointer;
    border-radius: 100%;
    transition: all 300ms ease;
}

.contenedor-whatsapp a:hover img{
    background: rgb(0,0,0,.10);
}



/* FOOTER */
footer{
    width: 100%;
    padding: 50px 0px;
    background-image: url("../img/footer/fondofooterf0.jpg");
    background-size: cover;
    background-color: rgb(255, 0, 0);
    -webkit-mask-image: url("../img/footer/fondofooterf0.jpg");
    mask-image: url("../img/footer/fondofooterf0.jpg");
    -webkit-mask-size: cover;
    mask-size: cover;
}

.container__footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    margin-top: 100px;
}

.box__footer{
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.box__footer .logo img{
    width: 180px;
}

.box__footer .terms{
    max-width: 350px;
    margin-top: 20px;
    font-weight: 500;
    color: #fff;
    /*color: #7a7a7a; /*color letras lindo*/
    font-size: 18px;
}

.box__footer h2{
    margin-bottom: 30px;
    color: #fff;
    /*color:  #343434; /*color letras lindo*/
    font-weight: 700;
}

.box__footer a{
    margin-top: 10px;
    color: #fff;
    /*color: #7a7a7a; /*color letras lindo*/
    font-weight: 600;
}

.box__footer a:hover{
    opacity: 0.8;
}

.box__footer a .fab{
    font-size: 20px;
}

.box__copyright{
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 0px 40px;
}

.box__copyright p{
    margin-top: 20px;
    color: #fff;
    /*color: #7a7a7a; /*color letras lindo*/
}

.box__copyright hr{
    border: none;
    height: 1px;
    background-color: #7a7a7a;
}



/* RESPONSIVOS */

@media screen and (max-width: 1400px){
    
    .acerca-de-nosotros{
        display: block;
    }

    .texto-nosotros p{
        padding: 2rem 0rem 2.5rem 0rem;
        
        margin: 0 auto;
    }
}

@media screen and (max-width: 1120px){
    .RC{
        font-size: 38px;
    }
}

@media screen and (max-width: 990px){
    .RC{
        font-size: 33px;
    }
}

@media screen and (max-width: 880px){
    .RC{
        font-size: 30px;
    }
}

@media screen and (max-width: 850px){
    .RC{
        font-size: 24px;
    }
}

@media screen and (max-width: 720px){
    /* MENU RESPONSIVO */
    
    /*.buscador input{
        display: none;
    }

    .group img{
        display: none;
    }*/
    
    .header__superior{
        padding: 10px;
    }

    .logo img{
        width: 110px;
    }

    nav > ul{
        flex-direction: column;
        background-color: #232323;
        position: fixed;
        left: 0;
        top: 158px;
        width: 100%;
        height: 0px;
        transition: all 300ms ease;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
    }

    nav > ul > li > a:hover{
        transform: scale(1);
    }

    nav ul li ul{
        left: 90px;
    }

    nav > ul > li:hover ul{
        top: 50px;
    }

    nav > ul > li:first-child a{
        background-position: 20px;
    }

    #inicio{
        transform: scale(1);
        background-color: #e53017;
    }

    #etiqueta__check{
        display: block;
    }

    .icon__menu{
        display: flex;
    }

    #check__menu:checked ~ nav > ul{
        height: 300px;
        visibility: visible;
        opacity: 1;
    }

    main{
        margin-top: 158px;
    }
    



    /*ACERCA DE NOSOTROS*/

    .acerca-de-nosotros{
        margin: 20px 50px 20px 50px;
    }
    
    .texto-nosotros h2{
        font-size: 35px;
    }
    
    .texto-nosotros p{
        font-size: 18px;
        margin:20px 80px 20px 10px;
        margin: auto;
    }

        /*BURBUJA WHATSAPP*/
        .contenedor-whatsapp img{
            width: 100px;
        }
}

@media screen and (max-width: 660px){
    .RC{
        font-size: 20px;
    }
}

@media screen and (max-width: 570px){
    .RC{
        font-size: 16.7px;
    }
}

@media screen and (max-width: 500px){
    .RC{
        font-size: 14.5px;
    }
}

@media screen and (max-width: 480px){
    /*TARJETAS PRODUCTOS*/
    
    .box_productos:hover{
        background-color: none;
        transition: none;
        transform: none;
        box-shadow: none;
    }



    /*TARJETAS SERVICIOS*/

    .botón-servicios{
        padding: 15px 40px;
        margin-top: 30px;
    }

    .Foto-servicio img{
        width: 140px;
    }

    .Foto-servicio .camion{
        width: 200px;
    }



    /*BURBUJA WHATSAPP*/

    .contenedor-whatsapp{
        bottom: 5px;
        left: 5px;
    }

    .contenedor-whatsapp img{
        width: 70px;
    }



    /*ACERCA E NOSOTROS*/
    
    .acerca-de-nosotros{
        margin: 40px 10px 40px 10px;
    }
    
    .texto-nosotros p{
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
        height: 400px;
        width: 350px;
        padding: 16px 17px 32px 17px;
        margin: 5px 5px 0px 0;
        margin: auto;
    }

    .texto-nosotros p::-webkit-scrollbar {
        width: 8px;
    }
    
    .texto-nosotros p::-webkit-scrollbar-track {
        box-shadow: 0;
        border-radius: 0;
    }
    
    .texto-nosotros p::-webkit-scrollbar-thumb {
        background: #e2441a;
        border-radius: 15px;
    }

    .imagen-cosmos{
        margin-top: 1rem;
    }



    /*MAPA*/

    .contenedor_mapa{
        margin-top: 6rem;
    }

    .texto_ubicación{
        display: block;
    }

    .texto_ubicación h2{
        text-align: center;
        justify-content: center;
        margin: 0 auto;
    }

    .texto_ubicación img{
        display: none;
    }
}   

@media screen and (max-width: 446px){
    .RC{
        font-size: 12.5px;
    }
}

@media screen and (max-width: 403px){
    .RC{
        font-size: 10.4px;
    }
}

@media screen and (max-width: 400px){

    /*BUSCADOR*/

    .group {
        max-width: 150px;
    }



    /*TARJETAS PRODUCTOS*/

    .box_productos p{
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
        height: 11rem;
        padding: 0.4rem;
    }

    .box_productos p::-webkit-scrollbar {
        width: 4px;
    }
    
    .box_productos p::-webkit-scrollbar-track {
        box-shadow: 0;
        border-radius: 0;
    }
    
    .box_productos p::-webkit-scrollbar-thumb {
        background: #e2441a;
        border-radius: 15px;
    }



    /*ACCERCA DE NOSOTROS*/
    
    .texto-nosotros p{
        height: 400px;
        width: 300px;
        padding: 16px 0px 32px 0px;
        margin: 5px 0px 0px 0 auto;
    }

    .imagen-cosmos{
        margin-top: 1rem;
    }
}

@media screen and (max-width: 380px){
    /*TARJETA SERVICIOS*/
    
    .carta-cliente {
        width: 250px;
        height: 450px;
        margin: 15px 48px 15px 48px; /*AQUI PONER LA MEDIDA PARA DESPEGAR LAS CAJAS*/
    }
    
    .Foto-servicio img {
        width: 120px;
        fill: currentColor;
    }
    
    .Foto-servicio .camion {
        width: 180px;
    }
    
    .nombre-servicio {
        margin-top: -6px;
        font-size: 14px;
    }
    
    .carta-cliente p{
        margin-top: 8px;
    }

    .servicios-img{
        margin-top: -8px;
    }


    .botón-servicios{
        padding: 12px 39px;
        margin-top: 20px;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 2.5px;
        font-weight: 500;
        color: #000;
        background-color: #fff;
        border-color: #e2441a;
        border-radius: 45px;
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease 0s;
        cursor: pointer;
        outline: none;
    }

    .texto-nosotros p{
        height: 400px;
        width: 250px;
        padding: 16px 5px 32px 5px;
    }
    
    /*.imagen-cosmos{
        display: none;
    }*/
}

@media screen and (max-width: 320px){
    .acerca-de-nosotros{
        margin: 40px 3px 40px 3px;
    }
    
    .texto-nosotros p{
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
        height: 400px;
        width: 250px;
        padding: 16px 0px 32px 0px;
        margin: 5px 5px 0px 0;
        margin: auto;
    }
}






/*MENU MARCAS*/

/*LOS APARTADOS DEL MENU Y FOOTER ESTAN ARRIBA*/

.main_marcas {
    max-width: 1350px;
    margin: 0 auto;
    margin-top: 187px;
}

.cards_marcas {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cards-item_marcas {
    display: flex;
    padding: 2rem;
    transition: all 400ms ease;
}

.cards-item_marcas:hover{
    transform: scale(1.06);
}

.card-image_marca {
    position: relative;
    max-height: 180px;
}

.card-image_marca img {
    width: 80%;
    display: flex;
    margin: 0 auto;
}


@media (min-width: 40rem) {
    .cards-item_marcas {
        width: 50%;    
    }
}

@media (min-width: 56rem) {
    .cards-item_marcas {
        width: 33.3333%;
    }
}

.card_marca {
    background-color: rgb(255, 255, 255);
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-content_marca {
    position: relative;
    padding: 16px 12px 32px 24px;
    margin: 16px 8px 8px 0;
    max-height: 240px;
    overflow-y: scroll;
}

.card-content_marca::-webkit-scrollbar {
    width: 6px;
}

.card-content_marca::-webkit-scrollbar-track {
    box-shadow: 0;
    border-radius: 0;
}

.card-content_marca::-webkit-scrollbar-thumb {
    background: #e2441a;
    border-radius: 15px;
}

.card-title_marca {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
}

.card-title_marca::after {
    position: absolute;
    display: block;
    width: 50px;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e2441a;
    content: "";
}

.hr_marca {
    margin: 24px auto;
    width: 50px;
    border-top: 2px solid #e2441a;
}

.card-text_marca i {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    text-align: center;
}

.card-text_marca p:last-child {
    margin: 0;
}






/*MENU CONTACTOS*/

.main_contactos{
    max-width: 1500px;
    margin: 0 auto;
    margin-top: 100px;
    scroll-margin-top: 15ex;
}

.mapa_mapa {
    border-radius: 7px;
    position: relative;
    padding: 4px;
    background: #e2441a;
    display: flex;
    justify-content: center;
    margin: auto 0;
}

.content_contacto{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 50px 0px 0px 0px;
}

.content_textcontacto{
    margin: 0 auto;
    margin-top: 9.5rem;
}


.title_contacto{
    text-align: center;
    font-size: 37px;
    color: #e2441a;
    padding: 20px 0px 30px 0px;
}

.hr_contactos{
    border-top: 3px solid #ff3700;
    width: 33rem;
    margin: 0 auto;
    justify-content: center;
    border-radius: 15px;
}

.text_contacto{
    text-align: center;
    font-size: 21px;
    padding: 30px 20px 0px 20px;
    
}



/*DEBAJO DE MAPA*/

.text_text{
    display: flex;
    padding: 5rem 5rem 7rem 5rem;
    max-width: 1800px;
    margin: auto;
    justify-content: center;
    flex-wrap: wrap;
    scroll-margin-top: 50ex;
}

.content_text-contacto{
    margin: 0;
    display: flex;
    scroll-margin-top: 50ex;
}

.img_text{
    width: 8.5rem;
}

.text_content{
    margin: auto;
    padding: 1rem;
}

.text_content h4{
    font-size: 1.7rem;
}

.text_content p{
    font-size: 1.2rem;
}

@media (max-width: 1341px){
    .content_textcontacto{
        margin-top: 0rem;
        padding-bottom: 4rem;
    }
    .content_contacto{
        margin: auto 0;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
}

@media (max-width: 878px){
    .text_text{
        display: block;
        
    }

    .text_content{
        display: block;
        margin: none;
    }
}

@media (max-width: 760px){
    .mapa_mapa{
        width: 500px;
    }
}

@media (max-width: 530px){
    .hr_contactos{
        width: 20rem;
    }

    .mapa_mapa{
        width: 400px;
        height: 400px;
    }



    /*DEBAJO DE MAPA*/

    .img_text{
        width: 8rem;
    }
    
    .text_content{
        margin: auto;
        padding: 1rem;
    }
    
    .text_content h4{
        font-size: 1.3rem;
    }
    
    .text_content p{
        font-size: 1rem;
    }
}

@media (max-width: 450px){
    .img_text{
        width: 7rem;
    }
    .text_text{
        width: 400px;
        padding: 3rem 3rem 5rem 3rem;
    }
}

@media (max-width: 400px){
    .text_contacto{
        padding: 0px;
    }

    .mapa_mapa{
        width: 300px;
        height: 300px;
    }

    .hr_contactos{
        width: 16rem;
    }



    /*DEDAJO DE MAPA*/

    .text_text{
        width: 300px;
        padding: 2rem 0rem;
        margin: auto ;
    }

    .content_text-contacto{
        margin: auto;
    }

    .text_content{
        padding: 0px;
    }

    .text_content h4{
        font-size: 1.5rem;
        align-items: center;
        text-align: center;
    }
    
    .text_content p{
        font-size: 1rem;
    }
    
    .img_text{
        width: 6rem;
        display: flex;
        margin: auto 0;
        align-items: center;
        justify-content: center;
    }

    .img_text img{
        margin: auto 0;
        padding: 0px;
        align-items: center;
        justify-content: center;
    }
}






/*SERVICIOS*/

.group_izquierda{
    padding: 60px 0px 60px 0px;
    scroll-margin-top: 8ex;
}

.group_izquierda p{
    margin: 50px 50px 50px 50px;
    padding: 0px 50px 0px 50px;
    font-size: 1.4rem;
}

.group_izquierda h2{
    margin: 50px 50px 0px 50px;
    padding:50px 50px 0px 50px;
    color: #e2441a;
    font-size: 1.8rem;
}

.group_derecha{
    padding: 60px 0px 60px 0px;
    scroll-margin-top: 8ex;
    text-align: right;
}

.group_derecha p{
    margin: 50px 50px 50px 50px;
    padding: 0px 50px 0px 50px;
    font-size: 1.4rem;
}

.group_derecha h2{
    margin: 50px 50px 0px 50px;
    padding:50px 50px 0px 50px;
    color: #e2441a;
    font-size: 1.8rem;
}

.content-img_agente{
    width: 75%;
    max-width: 1050px;
    min-height: 320px;
    margin: auto;
}

.content-img_agente img{
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 3px 5px rgba(15,15,15,.5);
}

@media (max-width: 600px){
    .group_izquierda{
        padding: 20px 0px 0px 0px;
    }

    .group_derecha{
        padding: 20px 0px 0px 0px;
    }

    .group_izquierda p{
        font-size: 1.3rem;
        max-height: 340px;
        overflow-y: scroll;
        margin: 30px 0px;
        text-align: center;
    }

    .group_izquierda h2{
        font-size: 1.6rem;
        text-align: center;
        text-transform: uppercase;
    }
    
    .group_izquierda p::-webkit-scrollbar {
        width: 6px;
    }
    
    .group_izquierda p::-webkit-scrollbar-track {
        box-shadow: 0;
        border-radius: 0;
    }
    
    .group_izquierda p::-webkit-scrollbar-thumb {
        background: #e2441a;
        border-radius: 15px;
    }

    .group_derecha p{
        font-size: 1.3rem;
        max-height: 340px;
        overflow-y: scroll;
        margin: 30px 0px;
        text-align: center;
    }

    .group_derecha h2{
        font-size: 1.6rem;
        text-align: center;
        text-transform: uppercase;
    }
    
    .group_derecha p::-webkit-scrollbar {
        width: 6px;
    }
    
    .group_derecha p::-webkit-scrollbar-track {
        box-shadow: 0;
        border-radius: 0;
    }
    
    .group_derecha p::-webkit-scrollbar-thumb {
        background: #e2441a;
        border-radius: 15px;
    }
}

@media (max-width: 400px){
    .group_derecha{
        padding: 0px;
    }

    .group_izquierda{
        padding: 0px;
    }

    .group_derecha p{
        font-size: 1.1rem;
    }

    .group_derecha h2{
        font-size: 1.3rem;
    }

    .group_izquierda p{
        font-size: 1.1rem;
    }

    .group_izquierda h2{
        font-size: 1.3rem;
    }
}









/*CATALOGOOOOOOO*/


/*Footer estilo distinto*/

.wrap{
	max-width: 1500px;
	width: 90%;
	margin: auto;
    padding-top: 50px;
}


.store-wrapper{
	display: flex;
	flex-wrap: wrap;
}

.category_list{
	display: flex;
	flex-direction: column;
	width: 16%;
}

.category_list .category_item{
	display: block;
	width: 90%;
	padding: 15px 0;
	margin-bottom: 20px;
	background: #e53017;
    border-radius: 5px;
    transition: all 400ms ease;

	text-align: center;
	text-decoration: none;
	color: #fff;
}

.category_list .category_item:hover{
    transform: scale(1.05);
    background: #2a2a2a;
}

.category_list .ct_item-active{
	background: #2a2a2a;
}

/* PRODUCTOS ============*/

.products-list{
	width: 84%;
	display: flex;
	flex-wrap: wrap;
    
}

.products-list .product-item{
	width: 20%;
    height: 490px;
	margin-left: 3%;
	margin-bottom: 25px;
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.22);
    background: #fff;
    border-radius: 5px;

	display: flex;
	flex-direction: column;
	/*align-items: center;*/
	align-self: flex-start;
}

.product-item h4{
    display: flex   ;
    flex-direction: column;
    align-items: center;
}

.products-list .product-item img{
	width: 100%;
}

.products-list .product-item h4{
	display: block;
	width: 100%;
	padding: 8px 0;
	background: #e2441a;

	color: #fff;
	text-align: center;
	text-decoration: none;
    text-transform: uppercase;
}

.products-list .product-item p{
    padding: 5px;
    text-transform: uppercase;
}

#Fiestayregalos{
    scroll-margin-top: 25ex;
}

#Oficina{
    scroll-margin-top: 25ex;
}

#Escolar{
    scroll-margin-top: 25ex;
}

#Manualidades{
    scroll-margin-top: 25ex;
}


/* RESPONSIVE */

@media screen and (max-width: 1500px){ /*tamaño caja parte blanca*/
	.products-list .product-item{
        height: 465px;
    }
}

@media screen and (max-width: 1410px){
	.products-list .product-item{
		width: 30%;
        height: 510px;
	}
}

@media screen and (max-width: 1250px){ /*tamaño caja parte blanca*/
	.products-list .product-item{
        height: 490px;
    }
}

@media screen and (max-width: 1030px){
	.products-list .product-item{
		width: 40%;
        height: 500px
	}
}

@media screen and (max-width: 900px){
	.category_list,
	.products-list{
		width: 100%;
	}

	.category_list{
		flex-direction: row;
		justify-content: space-between;
	}

	.category_list .category_item{
		align-self: flex-start;
		width: 15%;
		font-size: 14px;
	}

	.products-list .product-item{
		margin-left: 4.5%;
        width: 30%;
        height: 490px;
	}

	.products-list .product-item:nth-child(3n+1){
		margin-left: 0px;
	}

    .products-list .product-item img{
        width: 100%;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
}

@media screen and (max-width: 900px){
	.category_list{
		flex-direction: column;
        margin-bottom: 50px;
	}
	.category_list .category_item{
		width: 100%;
		margin-bottom: 10px;
	}
}

@media screen and (max-width: 600px){

	.products-list .product-item{
		width: 47.5%;
        height: 485px;
	}

	.products-list .product-item:nth-child(3n+1){
		margin-left: 4.5%;
	}

	.products-list .product-item:nth-child(2n+1){
		margin-left: 0px;
	}

}

@media screen and (max-width: 500px){ /*tamaño caja parte blanca*/
	.products-list .product-item{
        height: 450px;
    }
    .products-list .product-item h4{
        font-size: 15px;
    }
    .products-list .product-item p{
        font-size: 15px;
    }
}

@media screen and (max-width: 350px){
	.products-list .product_item{
		width: 100%;
		margin-left: 0px;
        height: 470px;
	}
}

/*CATÁLOGO DESCARGABLE*/

.descargables{
    display: flex;
    justify-content: center;
    margin-top: 175px;
    padding: 100px 0px 50px 0px;
}

.descargables h1{
    display: block;
    font-size: 37px;
    color: #e2441a;
    text-align: center;
}

.caja-descargables{
display: flex;
justify-content: center;
flex-wrap: wrap;
padding-bottom: 150px;
}

.box-descargables{
    display: flex;
    border-radius: 8px;
    margin: 20px;
    padding: 2rem;
    background-color: #fff;
    border: 3px solid #ff0000;
    height: 7rem;
    width: 30rem;
    
}

.box-descargables h1{
    font-size: 30px;
    justify-content: center;
    margin: 0 auto;
    padding-right: 2rem;
    padding-left: 2rem;
    color: #232323;
    margin: 5px;
}

.box-descargables img{
    display: block;
    justify-content: center;
    height: 50px;
    width: 50px;
    margin: 0 auto;
    transition: all 300ms ease;
    margin-left: 100px;
}

.box-descargables img:hover{
    transform: scale(1.3);
}



/*RESPONSIVE DESCARGABLE*/

@media screen and (max-width: 570px){
    .box-descargables{
        height: 10rem;
        width: 20rem;
    }
    .box-descargables img{
        margin-top: 15px;
        margin-left: 0px;
        height: 60px;
        width: 60px;
    }
}

@media screen and (max-width: 500px){
    .descargables h1{
        text-align: center;
    }
    .products-list .product-item{
        height: 435px;
    }
}

@media screen and (max-width: 400px){
    .box-descargables img{
        height: 55px;
        width: 55px;
        margin-top: 17px;
    }
    .box-descargables h1{
        font-size: 29px;
    }

    .products-list .product-item{
        height: 490px;
    }
}

@media screen and (max-width: 299px){
    .products-list .product-item{
        height: 500px;
    }
}