@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --back: #24262b;
    --blanco: #ffffff;
    --oscuro: #212121;
    --naranja: #E30D21;
    --naranja-transparente: #ce5864;
    --secundario: #0097a7;
    --gris: #757575;
    --grisclaro: #dfe9f3;
    --primario:#e23939;
    --gris-claro:#b8b8b8;
    --sombras: 0 0 13px 0 rgba(185,185,185, .25);
    --fuenteprin:'Roboto', sans-serif;
    --fuentesec:'Open Sans', sans-serif;
    --fuentehed: 'Staatliches', cursive;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-snap-type: y mandatory;


}

*, *:before, *:after {
    box-sizing: inherit;
  }

body {
    font-size: 18px; /* 1rem=10px*/
    font-family: 'Poppins', sans-serif;
    /* background: #cacaca; */
}

h1, h2, h3, h4, h5 {
    text-align: center;
    margin-bottom: 0;
}
a {
    text-decoration: none;
}

p{
    text-align: justify;
}

.gif-card {
    width: 80px;
    padding: 0;
    margin: 0;
}

.contenedor p {
    padding: 2rem 0 ;
}

.contenedor {
    margin: auto;
    width: 89%;
    max-width: 120rem;
    
    margin-bottom: 5rem;
}

.contenedor-maquinas {
    margin: 0 7rem;
}

.contenedor-maquinas ul {
    margin-bottom: 5rem;
}

.table-mgb {
    margin-top: 5rem;
}

/* Generales */
.titulo {
    font-family: var(--fuentehed);
    font-size: 5.5rem;
}

.titulo-naranja {
    color: var(--naranja);
    font-family: var(--fuentehed);
    font-size: 5.5rem;
}

.titulo-rojo {
    color: var(--naranja);
    font-size: 5.5rem;
    font-family: var(--fuentehed);
}

.titulo-gris {
    color: rgb(105, 96, 96);
    font-family: var(--fuentehed);
    font-size: 5rem;
}

.texto-negritas {
    font-weight: bold;
}

.titulo-apartados {
    font-size: 7rem;
    padding: 5rem  15rem 0 15rem;
}

.titulo-ndm {
    padding-top: 5rem;
}

.contenedor ul, .contenedor ol {
    margin-top: 2rem;
    padding: 0 4rem;
}

.subtitulos {
    color: #000;
    font-size: 3.7rem;
    font-family: var(--fuentehed);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;

}

.texto {
    font-size: 6rem;
}


/* TEXTO RODEANDO DERECHA */

.imagen-flotante-derecha {
    width: 50rem;
    float: right;
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.imagen-kyf {
    width: 15rem;
}

.img-indi {
    width: 30rem;
}

.imagen-100 {
    width: 100%;
    margin: 2rem 0;
}

.imagen-general {
    width: 70rem;
}

/* TEXTO RODEANDO IZQUIERDA */

.imagen-flotante-izquierda {
    width: 50rem;
    float: left;
    margin-right: 2rem;
    margin-bottom: 2rem;
}

/* Scroll */

body::-webkit-scrollbar {
    width: 10px;
    background: #fff;
}

body::-webkit-scrollbar-thumb {
    background: #34495E;
    border-right: 2px solid #34495E;
}

ul {
    list-style-type: none;
}
/* Inicio */

.grid {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    width: 90%;
    max-width: 1100px;
    height: 100%;
    margin: auto;
    gap: 10px;
    overflow: hidden;
    align-items: center;
}

.mission {
    padding: 70px 0;
}
.img-mission {
    grid-column: 1/ 7;
    grid-row: 1/ -1;
}
.textos-mission {
    grid-column: 7/ 13;
    grid-row: 1/ -1;
    margin-bottom: 50px;
    padding-left: 10rem;

}

.parrafo {
    margin-bottom: 1rem;
    text-align: justify;
}

.encabezado {
    height: 550px;

}

.img-hero {
    width: 120%;
    height: auto;
    grid-column: 9/ 13;

}

.heades-img {
    width: 95%;
    max-width: 400px;
}

.texto-hero {
    grid-column: 1/ 7;
    padding-right: 2rem;
    padding-top: 3rem;
}

.texto-hero p {
    text-align: center;
}

.cta {
    width: 130px;
    background: #000;
    color: var(--blanco);
    display: inline-block;
    text-align: center;
    padding: 10px 0;
    text-decoration: none;
}

/* Header */

.service {
    height: 370px;
    background: linear-gradient(180deg, #fff 50%, #000 50%);

}

.items {
    grid-column: 1/ -1;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.item {
    width: 30%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.877);
    overflow: hidden;
    height: 240px;
    padding: 20px 10px;
    text-align: center;

}

.item i {
    font-size: 50px;
    text-align: center;
    color: rgb(255, 94, 0);
}


.titulo-service {
    margin:0;
    font-size: 2.9rem;
    font-family: var(--fuentehed);

}

/* About US */
.about-us {
    background: #000;
    color: var(--blanco);
    height: auto;
    padding-bottom: 6rem;
}

.textos-about-us {
    grid-column: 1/ -1;
    text-align: center;
}

.textos-about-us .parrafo {
    margin-top: 1rem;
    color: #ccc;

}

.numbers {
    grid-column: 1/ -1;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;

}

.number {
    text-align: center;
    font-size: 30px;
    width: 22%;
}

/*Mission*/


.background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.top__title {
    margin-top: 52px;
    color: var(--white);
    text-align: center;
    z-index: 3;
}

.top__title h1 {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -1px;
}

.top__title h3 {
    margin-top: 3px;
    font-size: 20px;
    font-weight: 400;
}

.top__title h4 {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #d01f2a;
}

.top__title--links {
    margin-top: 5px;
}
  
.top__title--links a {
    font-size: 15px;
    font-weight: 400;
    color: var(--a);
}
  
.top__title--links a:nth-child(2) {
    margin-left: 30px;
}
  
.top__title--links a img {
    width: 12px;
}

/* Contacto */
.formulario {
    position: relative;
    z-index: 10;
}

.container {
    margin-top: 10rem;
    z-index: 90;
}

.container ul {
    list-style: none;
}

.contact-form li div {
    margin-bottom: 2em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    margin: 0;
    padding: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 3px solid #000;
    font-family: var(--fuenteprin) ;
    color: #000;
    font-size: 18px;
    transition: ease-in-out 0.25s;
}

.contact-form textarea {
    min-height: 50px;
    max-height: 50px;
    white-space: pre-wrap;
    word-wrap: break-word;
    resize: vertical;
    overflow: hidden;    
}

.contact-form ::-webkit-input-placeholder {
    font-size: 12px;
    color: #000;
    text-transform: uppercase;
    font-weight: 400;
}

.contact-form label {
    font-size: 12px;
    color: #000;
    text-transform: uppercase;
    font-weight: 400;

    
}   

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.contact-form button:focus {
    outline: none;
    resize: none;
    border-bottom: 3px solid #db4d57;
}

.contact-form button {
    color: #000;
    background: rgba( 34,34 ,34 ,0.0 );
    border: 3px solid #db4d57;
    height: 7.4rem;
    width: 20rem;
    float: right;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: ease-in-out 0.25s;

}

.contact-form button span {
    transition: ease-in-out .25s;
}

.contact-form button:hover {
    background: #db4d57;
    color: lightgray;
}

.contact-form button:hover span {
    padding: 10px;
    color: #fff;
}


/* FOOTER */

footer {
    line-height: 1.5;
    
}

.container-footer{
	max-width: 1170px;
	margin:auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
}

.footer{
	background-color: var(--back);
    padding: 70px 0;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
    text-align: left;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
    
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
    
}
.footer-col ul li a{
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}

.social-icon-info {
	display: flex;
	align-items: center;
}

.social-info a{
	text-decoration: none;
	color: #ffffff;
    font-size: 16px;
}

.footer-col .social-links .social-icon-info .social-icon a{
	display: block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links .social-icon-info .social-icon a:hover{
	color: #24262b;
	background-color: #ffffff;
}

/* Nosotros */
.texto-hero-nos {
    margin-top: 6rem;
    margin-left: 11rem;
    margin-right: 11rem;
}

.nos {
    padding: 3rem 15rem;
    text-align: justify;
}

.lista {
    margin: 6rem;
}

/* CATALOGO */
/* CONTENEDOR CAT */
input[type="radio"]{
    display: none;
}

.container-category {
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;

}

.container-category label {
    padding: 6px 40px;
    margin: 10px;
    font-size: 20px;
    background: #e2e2e2;
    border-radius: 5px;
    cursor: pointer;
}

.container-category label:hover {
    opacity: 0.8;
}


.body-catalogo {
    background-color: #fbfbfb;
}

.container-all {
    position: static;
    z-index: 1;
}

.container-post {
    max-width: 1200px;
    margin: auto;

}

.posts {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;

    margin-top: 20px;
    padding: 20px;
}

.posts .post {
    background: #fff;
    box-shadow: 0 0 25px -25px #000;
    border-radius: 6px;
    overflow: hidden;
    padding-bottom: 20px;

}

.posts .post .ctn-img-catalogo {
    width: 100%;
}

.posts .post .ctn-img-catalogo  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.post h2 {
    font-size: 18px;
    margin-top: 20px;
    padding: 0 20px;
}

.ctn-tag-catalog {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-left: 16px;
    margin-top: 10px;
}

.ctn-tag-catalog li {
    list-style: none;
    font-size: 14px;
    margin: 4px;
    padding: 6px 10px;
    background: #e8e8e8;
    cursor: default;
    border-radius: 5px;
}

.post button {
    margin-top: 20px;
    margin-left: 20px;
    padding: 10px 50px;
    font-size: 16px;
    background: #46a2fd;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.post a button {
    text-decoration: none;
    display: block;
    padding: .7rem 14rem;

}

.post button:hover {
    opacity: 0.9;
}

.post span {
    display: block;
    margin-top: 10px;
    padding: 0 20px;
}

/* Sistema de filtrado */
[value="TODOS"]:checked ~  .posts .post[data-category~="TODOS"] {
    display: block;
}


[value="MAQUINAS"]:checked ~  .posts .post:not([data-category~="MAQUINAS"]),
[value="REFACCIONES"]:checked ~  .posts .post:not([data-category~="REFACCIONES"]),
[value="TELAR"]:checked ~  .posts .post:not([data-category~="TELAR"]),
[value="JAQUARD"]:checked ~  .posts .post:not([data-category~="JAQUARD"]),
[value="OTRAS"]:checked ~  .posts .post:not([data-category~="OTRAS"]) {
    display: none;
}

[value="TODOS"]:checked ~ .container-category [for="TODOS"],
[value="MAQUINAS"]:checked ~ .container-category [for="MAQUINAS"],
[value="REFACCIONES"]:checked ~ .container-category [for="REFACCIONES"],
[value="TELAR"]:checked ~ .container-category [for="TELAR"],
[value="JAQUARD"]:checked ~ .container-category [for="JAQUARD"],
[value="OTRAS"]:checked ~ .container-category [for="OTRAS"] {
    background: #46a2fd;
    color: #fff;
}


/* Representados */



.subtitulos-mission-representados {
    text-align: left;
    color: #0072a7;
    font-size: 3.2rem;
    margin-top: 1rem;
    margin-bottom: 2rem;

}

.contenido-representados{
    margin-top: 3rem;
}

.contenido-representados {
    padding: 4rem 15rem;
}

.cita-text-repre {
    color: #db4d57;
    font-weight: bold;
    font-size: 2.3rem;

}

.cita-p-rep {
    font-weight: bold;
    color: #0e0e0e;
    font-size: 2rem;
}


@media screen and (max-width: 1200px) {

    .container-nav{
        max-width: 1200px;
        padding: 2rem 2rem;
    }

    .footer{
        padding: 70px 0;
    }
    .footer-col{
        width: 22%;
        padding: 0 17px;
    }
    
    .textos-mission {
        margin-bottom: 3rem;
        padding-left: 9rem;
    
    }

    .img-mission img {
        width: 94%;
    }

    .item {
        height: 26rem;
    }
    

}


@media screen and (max-width: 992px) {
    
    .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }

    /* BarraNav */
    .logo{
        color: #fff;
        font-size: 2.5rem;
        letter-spacing: 3px;
        line-height: 2rem;
    }

    .nav-link > a{
        line-height: 3rem;
        color: #fff;
        padding: 0 1rem;
        letter-spacing: 1px;
        font-size: 1.7rem;
    }

    .service {
        height: auto;
        margin-top: 20px;

    }

    .item {
        width: 60%;
        margin: 20px 0;
        height: auto;
        padding: 20px;
    }

}

@media screen and (max-width: 768px) {

    .imagen-kyf {
        display: none;
    }

    .contenedor-maquinas {
        margin: 0 2rem;
    }

    .titulo {
        font-family: var(--fuentehed);
        font-size: 5rem;
    }
    
    .titulo-naranja {
        color: var(--naranja);
        font-family: var(--fuentehed);
        font-size: 5rem;
    }
    
    .titulo-gris {
        color: rgb(105, 96, 96);
        font-family: var(--fuentehed);
        font-size: 3.5rem;
    }
    
    .texto-negritas {
        font-weight: bold;
    }
    
    .titulo-apartados {
        font-size: 6rem;
        padding: 3rem  2rem 0 2rem;
    }
    
    .log-sign{
        flex: initial;
        width: 100%;
        padding: 1.5rem 1.9rem;
        justify-content: flex-start;
        opacity: 0;
        transform: translateY(15px);
    }

    .content{
        z-index: -1;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        text-align: center;
    }

    .encabezado {
        height: auto;
        
    }

    .texto-hero {
        padding-top: 15rem;
    }
    /* NOSOTROS */
    .nos {
        padding: 3rem 9rem;
    }
    /* 
    .titulo {
        position: relative;
        z-index: 99;
    } */

    .grid {
        grid-gap: 30px;

    }
    
    .img-hero,
    .texto-hero {
        grid-column: 1/ -1;
    }
    .img-hero {
        text-align: center;
    }
    .texto-hero {
        padding-top: 1rem;
    }

    .service {
        height: auto;
        margin-top: 20px;

    }

    .item {
        width: 60%;
        margin: 40px 0;
        height: auto;
        padding: 40px;
    }

    .img-mission {
        grid-column: 1/-1;
        grid-row: 2/3;
        text-align: center;
    }

    .textos-mission {
        grid-column: 1/-1;
        grid-row: 1/2;
        align-self: center;
    }

    /* CATALOGO */

    .posts {
        grid-template-columns: repeat(2, 1fr);
    }

    .post a button {
        padding: .7rem 12rem;
    
    }

    /* rEPRESENTADOS */

    .contenido-representados {
        padding: 1rem 1rem;
    }

    .header-tabla td {
        padding: .5rem;
    }
    
    .cuerpo-tabla-1 td,
    .cuerpo-tabla-2 td {
        padding: .5rem .5rem;
    }



    /* FOOTER */

    .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }

    .imagen-flotante-derecha,
    .imagen-flotante-izquierda {
        width: 100%;
    }

    .section4 .row{
        flex-direction: column;
    }

    .section4__item {
        flex: auto;
    }

    .texto-hero {
        margin-top: 5rem;
    }

    .table__header h1 {
        font-size: 18px;
    }

    thead th {
        font-size: 13px;
    }

    tbody td {
        font-size: 12px;
    }

    
}

@media screen and (max-width: 576px) {

    *{
        margin: 0;
    }

    .titulo-apartados {
        font-size: 5rem;
        padding: 3rem  2rem 0 2rem;
    }

    .logo{
        font-size: 2rem;
    }
    
    .img {
        max-width: 400px;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(180px));
    }

    .item {
        width: 100%;
        flex-shrink: 0;
    }
    
    .item {
        width: 300px;
        height: 250px;
        padding: 10px 5px;
    
    }

    
    .number {
        width: 55%;
        border-bottom: 1px dotted #fff;
        margin-bottom: 20px;
        padding-bottom: 5px;
    }

    .mission {
        padding: 0;
        padding-top: 4rem;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
    }

    .textos-mission {
        grid-column: 1/ 13;
        grid-row: 1/ -1;
        margin-bottom: 50px;
        padding-left: 0;
    
    }

    .texto-mission {
        margin: 0;
        padding: 0;
        margin-left: 0;
    }

    .texto-mission p {
        text-align: justify;
        
    }

    .texto-mission a {
        margin: 0;
        align-items: center;
        
    }

    /* REPRESENTADOS */
    .contenido-representados {
        padding: 1.2rem 3rem;
    
    }

    .nos {
        padding: 3rem 7rem;

        text-align: justify;
    }

    .lista {
        margin: 1rem;
    }

    /* CATALOGO */

    .posts {
        grid-template-columns: repeat(1, 1fr);
    }

    /* FOOTER */

    .footer-col{
        width: 100%;
    }

    /* REPRESENTADOS */

    .titulo-representados {
        letter-spacing: 0rem;
        font-size: 5rem;
        padding: 0rem  0rem 0 0rem;
    }

    .contenido-tabla table {
        width: 100%;
    }
    
    .contenido-tabla h3 {
        font-size: 20px;
    }
    
    .header-tabla {
        font-weight: normal;
        font-size: .7rem;
        
    }
    
    .cuerpo-tabla-1 td,
    .cuerpo-tabla-2 td {
        font-size: .7rem;
        padding: .1rem;
    }
    .header-tabla td {
        padding: .0rem;
    }
    

    .texto-hero .fifth:after {
        content: '';
        position: absolute;
        display: block;
        top: 0;
        left: 50%;
        -webkit-transform: translateX(-50%);
                transform: translateX(-50%);
        width: 0;
        height: 100%;
        background: #e08709;
        z-index: -1;
        -webkit-transition: width 2s ease-in-out;
        transition: width 150ms ease-in-out;
    }

    .texto-hero .fifth:hover {
        color: #fff;
    }
    
    .texto-hero .fifth:hover:after {
        width: 100%;
    }

    .texto-hero .btn-contact {
        width: 98%;
        font-size: 1.8rem;
        font-weight: 400;
        line-height: 1;
        margin: 2rem 0px;
        text-align: center;
        align-items: center;
        justify-content: center;

        padding: 1em 2.5em;
        text-decoration: none;
        text-align: center;
        text-transform: uppercase;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
    }

    .titulo-gris {
        font-size: 3rem;
    }


    

}

/* Animaciones */

@keyframes moverIzquierda {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moverDerecha {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes arriba {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}




/* ERROR 404 */ 
.error {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Consolas;
}

.error {
    min-height: 100vh;
    background: linear-gradient(0deg, #fff, #03a9f4);
}

.sky {
    position: relative;
    widows: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sky h2 {
    font-size: 16rem;
    color: #fff;
    text-shadow: 15px 15px 0 rgba(0, 0 , 0, 0.1);
}

.sky h2 span {
    display: inline-block;
    animation: animate 2s ease-in-out infinite;

}

.sky h2 span:nth-child(even) {
    animation-delay: -1s;
}

.field {
    padding: 100px;
    height: 40vh;
    background: #6e2308;
    box-shadow: inset 0 20px 10px #51680c;
    text-align: center;

}

.field h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;

}

.field a {
    background: #fff;
    color: #000;
    width: 160px;
    height: 50px;
    line-height: 50px;
    border-radius: 50px;
    display: inline-block;
    text-decoration: none;
    font-size: 20px;
}


.grass {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20px;
    background: url(../img/grass.png);
    background-position: bottom;
    animation: animateGrass .2s linear infinite;
}

@keyframes animateGrass {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 94px 0;
    }
}

@keyframes animate {
    0%,100% {
        transform: translateY(-50px);
    }

    50% {
        transform: translateY(50px);
    }
}

/* BOTONES */


.fifth {
    border-color: #8e44ad;
    border-radius: 0;
    color: #8e44ad;
    position: relative;
    overflow: hidden;
    z-index: 1;
    -webkit-transition: color 3s ease-in-out;
    transition: color 1s ease-in-out;
}
.fifth:after {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    width: 0;
    height: 100%;
    background: var(--naranja);
    z-index: -1;
    -webkit-transition: width 2s ease-in-out;
    transition: width 150ms ease-in-out;
}
.fifth:hover {
    color: #fff;
}
.fifth:hover:after {
    width: 110%;
}

.btn-contact {
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
        appearance: none;
    background-color: transparent;
    border: 2px solid var(--naranja);
    border-radius: 2px;
    color: var(--naranja);
    cursor: pointer;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
        align-self: center;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
    margin: 5px 2px;
    text-align: center;
    align-items: center;
    justify-content: center;

    padding: 1em 2.5em;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.btn-contact:hover, .btn:focus {
    color: #fff;
    outline: 0;
}
/* CATEGORIAS */
.faq {
    max-width: 1000px;
    width: 100%;
    margin: 40px auto;
}
.categorias{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; 
    margin-bottom: 60px;
}

.categoria {
    cursor: pointer;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    font-weight: 700;
    color: var(--gris-claro);
    border: 2px solid transparent;
    transition: .3s ease all;
}

.categoria:hover {
    box-shadow: var(--sombras);
    color: #000;
}

.categoria:hover path{
    fill: var(--primario);
}

.categoria svg{
    width: 64px;
    margin-bottom: 10px;
}

.categoria path{
    fill: var(--gris-claro);
    transition: .3s ease all;
}


.categoria.activa{
    border: 2px solid var(--primario);
    color: #000;
}
.categoria.activa path{
    fill: var(--primario)
}

/* contenedor-preguntas */
.contenedor-preguntas{
    display: none;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contenedor-preguntas.activo{
    display: grid;
}

.contenedor-pregunta{
    background: #fff;
    padding: 40px;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    transition: .3s ease all;
    cursor: pointer;
}

.contenedor-pregunta:hover{
    box-shadow: var(--sombra);
}
.contenedor-pregunta.activa{
    border: 2px solid var(--primario);
}

.pregunta{
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pregunta img{
    width: 14px;
}

.respuesta{
    color:#808080;
    line-height: 30px;
    max-height: 0;
    opacity: 0;
    transition: .3s ease all;
}

.contenedor-pregunta.activa .respuesta{
    opacity: 1;
    margin-top: 20px;
}

.contenedor-pregunta.activa img{
  transform: rotate(45deg);
}
/*TABLA*/

main.table {
    height: 90vh;
    background-color: #fff5;

    backdrop-filter: blur(7px);
    box-shadow: 0 .5rem .9rem #0005;
    border-radius: .8rem;

    overflow: hidden;
}

main.smll-table {
    height: 70vh;

}

main.bby-smll-table {
    height: 40vh;

}

.table__header {
    width: 100%;
    height: 12%;
    background-color: #fff4;
    padding: .8rem 1rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table__header .input-group {
    width: 30%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.137);
    padding: 0 .8rem;
    border-radius: 2rem;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: .2s;
}

.table__header .input-group:hover {
    width: 35%;
    background-color: rgba(0, 0, 0, 0.137);
    box-shadow: 0 .1rem .4rem #0002;
}

.table__header .input-group img {
    width: 1.2rem;
    height: 1.2rem;
}

.table__header .input-group input {
    width: 100%;
    padding: 0 .5rem 0 .3rem;
    background-color: transparent;
    border: none;
    outline: none;
}

.table__header h1 {
    font-size: 23px;
}

thead th {
    font-size: 16.2px;
}

tbody td {
    font-size: 14px;
}

.table__body {
    width: 95%;
    max-height: calc(89% - 1.6rem);
    background-color: #fffb;

    margin: .8rem auto;
    border-radius: .6rem;

    overflow: auto;
    overflow: overlay;
}


.table__body::-webkit-scrollbar{
    width: 0.5rem;
    height: 0.5rem;
}

.table__body::-webkit-scrollbar-thumb{
    border-radius: .5rem;
    background-color: #0004;
    visibility: hidden;
}

.table__body:hover::-webkit-scrollbar-thumb{ 
    visibility: visible;
}


table {
    width: 100%;
}

td img {
    width: 36px;
    height: 36px;
    margin-right: .5rem;
    border-radius: 50%;

    vertical-align: middle;
}

table, th, td {
    border-collapse: collapse;
    padding: 1rem;
    text-align: center;
}

thead th {
    position: sticky;
    top: 0;
    left: 0;
    background-color: var(--secundario);
    cursor: pointer;
    text-transform: capitalize;
}

tbody tr:nth-child(even) {
    background-color: #0000000b;
}

tbody tr {
    --delay: .1s;
    transition: .5s ease-in-out var(--delay), background-color 0s;
}

tbody tr.hide {
    opacity: 0;
    transform: translateX(100%);
}

tbody tr:hover {
    background-color: #fff6 !important;
}

tbody tr td,
tbody tr td p,
tbody tr td img {
    transition: .2s ease-in-out;
}

tbody tr.hide td,
tbody tr.hide td p {
    padding: 0;
    font: 0 / 0 sans-serif;
    transition: .2s ease-in-out .5s;
}

tbody tr.hide td img {
    width: 0;
    height: 0;
    transition: .2s ease-in-out .5s;
}


@media (max-width: 1000px) {
    td:not(:first-of-type) {
        min-width: 12.1rem;
    }
}

thead th span.icon-arrow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1.4px solid transparent;
    
    text-align: center;
    font-size: 1rem;
    
    margin-left: .5rem;
    transition: .2s ease-in-out;
}

thead th:hover span.icon-arrow{
    border: 1.4px solid var(--naranja);
}

thead th:hover {
    color: var(--naranja);
}

thead th.active span.icon-arrow{
    background-color: var(--naranja);
    color: #fff;
}

thead th.asc span.icon-arrow{
    transform: rotate(180deg);
}

thead th.active,tbody td.active {
    color: var(--naranja);
}

.export__file {
    position: relative;
}

.export__file .export__file-btn {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: #fff6 url(img/export.png) center / 80% no-repeat;
    border-radius: 50%;
    transition: .2s ease-in-out;
}

.export__file .export__file-btn:hover { 
    background-color: #fff;
    transform: scale(1.15);
    cursor: pointer;
}

.export__file input {
    display: none;
}

.export__file .export__file-options {
    position: absolute;
    right: 0;
    
    width: 12rem;
    border-radius: .5rem;
    overflow: hidden;
    text-align: center;

    opacity: 0;
    transform: scale(.8);
    transform-origin: top right;
    
    box-shadow: 0 .2rem .5rem #0004;
    
    transition: .2s;
}

.export__file input:checked + .export__file-options {
    opacity: 1;
    transform: scale(1);
    z-index: 100;
}

.export__file .export__file-options label{
    display: block;
    width: 100%;
    padding: .6rem 0;
    background-color: #f2f2f2;
    
    display: flex;
    justify-content: space-around;
    align-items: center;

    transition: .2s ease-in-out;
}

.export__file .export__file-options label:first-of-type{
    padding: 1rem 0;
    background-color: #86e49d !important;
}

.export__file .export__file-options label:hover{
    transform: scale(1.05);
    background-color: #fff;
    cursor: pointer;
}

.export__file .export__file-options img{
    width: 2rem;
    height: auto;
}


.contenedor-maquinas ul {
    list-style-type: disc;
}

.product-imgs {
    max-width: 400px;
    margin: auto;
}


.card-wrapper{
    max-width:1100px;
    margin: 0 auto;
}

img{
    width: 100%;
    display: block;
}
.img-display{
    overflow: hidden;
}
.img-showcase{
    display: flex;
    width: 100%;
    transition: all 0.5s ease;
}
.img-showcase img{
    min-width: 100%;
}
.img-select{
    display: flex;
}
.img-item{
    margin: 0.3rem;
    width: 100px;
}
.img-item:nth-child(1),
.img-item:nth-child(2),
.img-item:nth-child(3){
    margin-right: 0;
}
.img-item:hover{
    opacity: 0.8;
}
.product-content{
    padding: 2rem 1rem;
}
.product-title{
    font-size: 3rem;
    text-transform: capitalize;
    font-weight: 700;
    position: relative;
    color: #12263a;
    margin: 1rem 0;
}
.product-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 80px;
    background: #12263a;
}
.product-link{
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    background: #256eff;
    color: #fff;
    padding: 0 0.3rem;
    transition: all 0.5s ease;
}
.product-link:hover{
    opacity: 0.9;
}
.product-rating{
    color: #ffc107;
}
.product-rating span{
    font-weight: 600;
    color: #252525;
}
.product-price{
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: 700;
}
.product-price span{
    font-weight: 400;
}
.last-price span{
    color: #f64749;
    text-decoration: line-through;
}
.new-price span{
    color: #256eff;
}
.product-detail h2{
    text-transform: capitalize;
    color: #12263a;
    padding-bottom: 0.6rem;
}
.product-detail p{
    font-size: 0.9rem;
    padding: 0.3rem;
    opacity: 0.8;
}
.product-detail ul{
    margin: 1rem 0;
    font-size: 0.9rem;
}
.product-detail ul li{
    margin: 0;
    list-style: none;
    background: url(shoes_images/checked.png) left center no-repeat;
    background-size: 18px;
    padding-left: 1.7rem;
    margin: 0.4rem 0;
    font-weight: 600;
    opacity: 0.9;
}
.product-detail ul li span{
    font-weight: 400;
}
.purchase-info{
    margin: 1.5rem 0;
}
.purchase-info input,
.purchase-info .btn{
    border: 1.5px solid #ddd;
    border-radius: 25px;
    text-align: center;
    padding: 0.45rem 0.8rem;
    outline: 0;
    margin-right: 0.2rem;
    margin-bottom: 1rem;
}
.purchase-info input{
    width: 60px;
}
.purchase-info .btn{
    cursor: pointer;
    color: #fff;
}
.purchase-info .btn:first-of-type{
    background: #256eff;
}
.purchase-info .btn:last-of-type{
    background: #f64749;
}
.purchase-info .btn:hover{
    opacity: 0.9;
}


@media screen and (min-width: 992px){
    .card{
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-gap: 1.5rem;
    }
    .card-wrapper{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .product-imgs{
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 0;
        grid-column: 0/ 1;
    }
    .product-content{
        padding-top: 0;
        grid-column: 2/ 7;
    }

    .card-wrapper{
        max-width: 1100px;
        margin: 0 auto;
    }

    img{
        width: 100%;
        display: block;
    }
    .img-display{
        overflow: hidden;
    }
    .img-showcase{
        display: flex;
        width: 100%;
        transition: all 0.5s ease;
    }
    .img-showcase img{
        min-width: 100%;
    }
    .img-select{
        display: flex;
    }
    .img-item{
        margin: 0.3rem;
        width: 100px;
    }
}

.contenedor-maquinas .imagen-flotante-derecha {
    width: 30rem;
}
