:root {
    --fuenteHeading: 'PT Sans', sans-serif;
    --fuenteParrafos: 'Open Sans', sans-serif;

    --primario: #784D3C;
    --gris: #e1e1e1;
    --blanco: #ffffff;
    --negro: #000000;
}

html {
    box-sizing: border-box;
    font-size: 62.5%; /* 1 rem = 10px */
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-size: 1.6rem;
    line-height: 1.5;
    background-image: linear-gradient(to top, #f4faff 0%, var(--blanco) 100%);
    
}

/** Globales **/
.contenedor {
    max-width: 120rem; /* 1200 px tamaño de la pagina */ 
    width: 90%;
    width: min(90%, 120rem); /* tama;o del conetenedor, nuevo codigo */
    margin: 0 auto; /* centrar por si mismo la pagina */
    
}

a {
    text-decoration: none; /* elimina el subrayado en los hipervinculos */
}

/* h1, h2, h3, h4 {
    font-family: font-family: 'Playfair Display', serif;
} */

h1 {
    font-size: 4.8rem;
}
h2 {
    font-size: 4rem;
}
h3 {
    font-size: 3.2rem;
}
h4 {
    font-size: 2.8rem;
}

img {
    max-width: 100%;
}
/** Utilidades **/
.no-margin {
    margin: 0;
}
.no-padding {
    padding: 0;
}
.centrar-texto {
    text-align: center;
}
/* Header*/
.logo {
    margin: 0 15px;
}


/** Banner **/
.baner {
    position: relative;
    width: 100%;
    height: calc(100vh - 50px);
    background-color: #F5F5F5;
    background-size: cover;
    background-position: center;
    transition: all .1s ease-in-out;
    background-image: url(../img/sliderdinamica.webp);
    animation: baner 30s infinite linear;
}
.baner-content {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #FFF;
    background-color: rgb(0, 22, 40, .6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.baner-content h1{
    margin: 0;
    padding: 0;
    padding-bottom: 30px;
    font-size: 30px;
    text-align: center;
}
@media (min-width: 768px) {
    .baner-content h1{
        font-size: 60px;
    }
}
.baner-content a{
    text-decoration: none;
    color: #fff;
    padding: 9px 20px;
    border: 1px solid #FFF;
    border-radius: 15px;
    text-transform: uppercase;
    transition: all .3s ease-in-out;
}
.baner-content a:hover{
    background-color: #fff;
    color: #333;
}
@keyframes baner {
    0%{
        background-image: url(../img/sliderdinamica.webp);
    }
    20%{
        background-image: url(../img/sliderdinamica.webp);
    }
    21%{
        background-image: url(../img/sliderdinamica3.webp);
    }
    40%{
        background-image: url(../img/sliderdinamica3.webp);
    }
    41%{
        background-image: url(../img/sliderdinamica4.webp);
    }
    60%{
        background-image: url(../img/sliderdinamica4.webp);
    }
    61%{
        background-image: url(../img/sliderdinamica2.webp);
    }
    80%{
        background-image: url(../img/sliderdinamica2.webp);
    }
    81%{
        background-image: url(../img/sliderdinamica5.webp);
    }
    100%{
        background-image: url(../img/sliderdinamica5.webp);
    }
}




.titulo-producto {
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 300;
    margin-top: 2rem;
    padding: 1rem;
    font-size: 2rem;
    font-family: 'Raleway', sans-serif;
}
.subtitulos {
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
    padding: 1rem;
    font-style: italic;
    display: inline-block;
    border-bottom: 1px solid #f0f0f0;
    
}
.subtitulos span {
    font-weight: 100;
}

.proveedor {
    margin-top: 5rem;
    text-align: center;
}
.grupo--proveedor {
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 2rem 2rem;
        font-size: 5rem;
    }

.imagen--proveedor{
        width: 120px;
        height: 80px;
}
.imagen--proveedor:hover {
    box-shadow: 0px 5px 15px 0px rgb(112 112 112 / 20%);
    border-bottom: 3px solid #ee0000;
}

.main {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--blanco);
    box-shadow: 0px 5px 15px 0px rgb(112 112 112 / 20%);
    border-radius: 5px;
    text-align: center;
  
}

.proveedor h1 {
    text-transform: uppercase;
    display: inline-block;

    border-bottom: 1px solid #f0f0f0;
    font-weight: 300;
    margin-top: 2rem;
    padding: 3rem;
    font-size: 2rem;
    font-family: 'Raleway', sans-serif;
    
    
}
.galeria {
   
    padding: 2rem 0;
    margin-top: 4rem;    
}
.lista-galeria {
    border-radius: 10px;
    box-shadow: 0px 5px 15px 0px rgb(112 112 112 / 54%);
    
}
.hidden {
    transform: scale(0.8);
    opacity: 0;
    transition: all .2s ease-out;
}
.mostrar {
    transform: scale(0.8);
    opacity: 1;
}

.lista-galeria h6 {
    height: 50px;
    text-align: center;
    display: block;
    color: #000000;
    padding: 2rem;
    font-family:'raleway', sans-serif; ;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 0;
    border-radius: 10px;
    background-color: rgb(241 241 241);

}

.lista-galeria h6:hover{
    border-radius: 10px;
    background-color: #ee0000;
    color: #ffffff;
    
}

@media (min-width: 768px) {
    
    .galeria {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2rem;
        
    }
}


/** Footer **/
.site-footer {
    background-color: #222;
    /* margin-top: 5rem; */
    /*margin: 5rem 5rem;*/
    padding-top: 5rem;
    font-size: 2rem;
    color: var(--blanco);
    
}    
.lista-footer ol{
    list-style: none;
    
}
.lista-centrar {
 padding: 2rem;
}
.grid-footer {
   padding-bottom: 4rem;
   font-size: 1.5rem;
}
.lista-iconos {
    margin: 0px 10px;
}
.color-mapa {
    color: var(--blanco);
}
.color-mapa:hover {
    color: #d9534f;
}

@media (min-width: 768px) {
    .grid-footer {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5rem;
    }
   
}
.redes-footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 2rem;
    gap: 1rem;
    text-align: justify;
    margin: 0 auto;
}
.horario {
    margin-top: 2rem ;
}
.footer-iconos {
    height: 3rem;
    width: 3rem;
   margin-bottom: 1rem;
  
}
.derechos {
    background-color: #333;
    color: var(--blanco);
    font-size: 0.9rem;
    margin: 1rem auto;
    padding: 0 0.5rem;

}

/** Icono Whatsapp **/
.container-boton{
    background-color: #e0f1de;
    border: 1px solid #fff;
    position: fixed;
    z-index: 999;
    border-radius: 50%;
    bottom: 20px;
    right: 25px;
    padding: 25px;
    transition: ease 0.3s;
    animation: efecto 1.2s infinite;
}

.container-boton:hover{
    transform: scale(1.1);
    transition: 0.3s;
}

.boton{
    width: 40px;
    transition: ease 1s;
}

@keyframes efecto{
    0%{
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85);
    }
    100%{
        box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
    }
}


/** Nosotros **/

.logo-nosotros {
    background-image: url(../img/dinamica\ nosotros\ .webp);
    height: 30rem;
    width: 40rem;
    background-size: cover;
    background-position: center;
}
@media (min-width: 768px) {
    .logo-nosotros {
        height: 70rem;
        width: 90rem;
    }

}



.main-nosotros {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 4rem;
    padding-top: 4rem;
    padding-bottom: 6rem;
    border-bottom: 1px solid #e1e1e1;

}
.texto-nosotros {
    margin: 0 auto;
    padding: 2rem;
    color: #706a6a;
    text-align: center;
    font-size: 1.3rem;
    font-family: 'Raleway', sans-serif;
   
}
.titulo-acerca h4{
    text-transform: uppercase;
    color:#333 ;
    font-weight: 300;
    font-family: 'Raleway', sans-serif;
    display: inline-block;
    font-size: 2.4rem;
    margin-bottom:6rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #c2c2c2;
}

.texto-nosotros p{   
    margin-top: 5rem;
}

@media (min-width: 768px) {
    .icon-nostros {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 2rem;    
    }
}
.icons {
    margin: 0 auto;
    width: 170px;
    height:170px ;
    border-radius: 50%;
    line-height: 10;
    border: 1.5px solid #777777;
    
}

.mision-vision {
    text-align: center;
    padding-top: 5rem;
}
.texto-mv p {
    font-size: 1.3rem;
    color:#706a6a;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;
}
.titulo-mv {
    text-transform: uppercase;
    color: #333;
    font-weight: 500;
    font-family: 'raleway', sans-serif;
    font-size: 1.5rem;
    padding: 3rem 0;
}

/** Productos **/
.contenedor-productos {
    text-align: center;
}
.titulo-productos {
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    color: #444444;
    font-weight: 100;
    font-size: 2.7rem;
    margin-top: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e8e8e8;
}
.descripcion-producto p {
    text-align: justify;
    margin: 3rem;
    line-height: 2;
    font-size: 1.6rem;
    font-weight: 100;
    font-family: 'Raleway', sans-serif;
    color:#444444; ;
    
}
.contenedor-productos span{
    color:#ee0000;
    font-size: 3rem;
    
}
.titulo-lista{
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    color: #444444;
    font-weight: 100;
    font-size: 2.7rem;
    margin-top: 10rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e8e8e8;
}
.lista-productos{
    margin-top: 3rem;
}
.lista-productos img{
    margin: 1rem;
    border-radius: 10px;
    box-shadow: 0px 5px 15px 0px rgb(112 112 112 / 54%);
}
@media (min-width: 768px) {
    .lista-productos {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2rem;
    }
}

@media (min-width: 768px) {
    .descripcion-producto {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

    }

}
@media (min-width: 768px) {
    .imagen-zoom {
        transition: all 1s ease;
    }
}
@media (min-width: 768px) {
    .imagen-zoom:hover{
        transform: scale(1);
        cursor: pointer;
    }
}


.cotizar a{
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
    background-color: #ee0000;
    font-size: 1.4rem;
    color: white;
    position: fixed;
    z-index: 999;
    border-radius: 15px;
    bottom: 20px;
    left: 25px;
    padding: 1.4rem;
    font-family: 'Raleway', sans-serif;
    transition: ease 0.3s;
    animation: efecto 1.2s infinite;
    font-weight: 700;
}
.cotizar a:hover{
    background-color: #000000;
    color: #ee0000;
}
.eaton .titulo-eaton{
    text-transform: uppercase;
    color: #ee0000;
    font-weight: 700;
    font-size: 2rem;
}

/* Formulario */

.formulario {
    max-width: 60rem;
    margin: 0 auto;
}
.formulario fieldset {
   border-radius: 5px;
   box-shadow: 0px 5px 15px 0px rgb(112 112 112 / 20%);
}



.formulario legend {
    background-color: #dc3545;
    width: 100%;
    text-align: center;
    color: #FFF;
    text-transform: uppercase;
    font-weight: 900;
    padding: 1rem;
    margin-bottom: 4rem;

}


.campo {
    display: flex;
    margin: 2rem 2rem;
    margin-bottom: 2rem;
}
.campo label {
    flex-basis: 10rem;
} 
.campo input:not([type="radio"]),
.campo textarea,
.campo select  {
    flex: 1;
    border: 1px solid #e1e1e1;
    box-shadow: 0px 5px 15px 0px rgb(112 112 112 / 20%);
    padding: 1rem;
    border-radius: 5px;
    max-width: 100%;
    width: 100%;
}


.btn {
    background-color: #dc3545;
    display: block;
    color: #FFF;
    text-transform: uppercase;
    font-weight: 900;
    padding: 1rem;
    transition: background-color .3s ease-out ;
    text-align: center;
    border: none;
    width: 100%;
    
}
.btn:hover {
    background-color: #ee0000;
    cursor: pointer;
    color: #FFF;
}
@media (min-width: 768px) { 
    .btn {
        width: auto;
    }
}




@media (min-width: 768px) {
    .logo-envio {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        background-color: #dc3545;
        color: var(--blanco);
    }
}
.logo-envio {
    background-color: #dc3545;
}
.logo-envio img {
    margin: 0 auto;
}
@media (min-width: 768px) {
    .texto-envio  {
        display: flex;
        flex-direction: column;
        margin: 6rem 0;
        font-size: 4rem;
        color: var(--blanco);
        line-height: 1;
        font-family: 'Raleway', sans-serif;
        font-style: italic;
     }
}
.texto-envio {
    color: var(--blanco);
    color: var(--blanco);
    line-height: 1;
    font-family: 'Raleway', sans-serif;
    font-style: italic;
}
.texto1 {
    font-weight:100;
}
@media (min-width: 768px) {
    .texto-envio p{
        display: flex;
    }
}
