@import"../style/retilap.css";
@import"../style/retie.css";
@import"../style/juguetes.css";
@import"../style/pilas.css";
@import"../style/vajillas.css";
@import"../style/sodio.css";
@import"../style/inspeccion.css";
@import"../style/auditoria.css";
@import"../style/ensayos.css";
@import"../style/capacitaciones.css";
@import"../style/contacta.css";
@import"../style/formulario.css";
@import"../style/modal.css";
@import"../style/slider.css";


* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/*Definicion de variables */

:root {

    --colorPrimario: #20353a;
    --primario80: #20353a80;
    --primario60: #20353a60;
    --primario40: #20353a40;
    --primario20: #20353a20;


    --colorSecundario: #2c4a99;
    --secundario80: #2c4a9980;
    --secundario60: #2c4a9960;
    --secundario40: #2c4a9940;
    --secundario20: #2c4a9920;



    --colorTerciario: #61bead;
    --terciario80: #61bead80;
    --terciario60: #61bead60;
    --terciario40: #61bead40;
    --terciario20: #61bead20;

    /* FUENTE PRINCIPAL */
    font-family: 'Poppins', sans-serif;

}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    line-height: 1.4em;
}

header h1 {
    color: var(--FontH1);
    font-family: var(--FontFamilyH1);
}
/* ............Barra informacion contacto......... */
.informacionContacto{
    color: var(--secundario80);
    background-color: #ffffff;
    width: 100%;
    height:auto;
    display: flex;
    justify-content: flex-end;
}
.informacionContacto a{
    color: var(--secundario80);
    text-decoration: none;
    font-size: 0.8em;
    padding: 0.3em 1em;
    height: 3em;
}
.informacionContacto img{
    width: 1.5em;
}
/* .............................................. */

/* ............barra de navegacion............... */
nav {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100px;
    background: white;
}

.logoNavBar {
    background-image: url(../images/logo_vtek.png);
    width: 130px;
    height: 63px;
    position: absolute;
    top: 50%;
    left: 3rem;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}



/* menu navegacion*/
/* Navbar container */

.navbar {
    font-size: 16px;
    display: flex;
    justify-content: center;
    /* margin-top: 2%; */
    overflow: hidden;
    left: -200%;
    margin-left: 0%;
    overflow-y: scroll;
}

/* Links inside the navbar */
.navbar a {
    font-size: 16px;
    float: none;
    color: var(--colorSecundario);
    margin-top: 5px;
    padding: 5px 8px;
    text-decoration: none;
    font-weight: 700;
}

/* The dropdown container */
.dropdown {
    font-size: 16px;
    overflow: hidden;
}

/* Dropdown button */
.dropdown,
.dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: var(--colorSecundario);
    padding: 5px 8px;
    background-color: inherit;
    font-family: inherit;
    font-weight: 700;
    /* Important for vertical align on mobile phones */
    margin: 0;
    /* Important for vertical align on mobile phones */
}

.navbar a:hover,
.dropdown:hover .dropbtn {
    border-bottom: 2px solid var(--colorPrimario);
    padding: 5px 8px;
    color: var(--colorTerciario);
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    /* min-width: -100%; */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    float: none;
    color: var(--colorTerciario);
    padding: 5px 8px;
    display: block;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.link {
    transition: 0.3s ease;
    text-decoration: none;
}

.link:hover {
    color: var(--colorPrimario);
    padding: 12px 8px;
    background-color: var(--terciario40);
}

.checkbtn {
    font-size: 30px;
}

/* ............................................................ */

/* .....................hamburguer menu ........................ */

.drawer {
    font-size: 2rem;
    color: var(--colorTerciario);
    float: left;
    cursor: pointer;
    padding: 0em 2rem;
    display: none;
}

#checkbox {
    display: none;
}

/* ............................................................... */

/* ............................banner 1       ..................... */

.banner1 {
    background: url(../images/bannerIndex1600.jpg);
    background-size: cover;
    background-position: center;
    height: 28em;
    position: static;
}
.contenidoBanner1 {
    width: 100%;
    margin-top: 6em;
    text-align: center;
    color: white;
    position: absolute;
    line-height: 1.5;
}
.tituloBanner1{
    color: var(--colorTerciario);
    font-size: 3em;
}
.subtituloBanner1{
    color: #ffffff;
    font-size: 3em;
    line-height: .8;
}
.parrafoBanner1{
    font-size: 1em;
    color: #ffffff;
}
.ResaltadoBanner1{
    color: var(--colorTerciario);
}

/* ................................................... */

/* .................layout Cotizacion.................. */

.layoutCotizacion {
    width: 100%;
    height: 11vh;
    background-color: var(--colorTerciario);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.text-1 {
    color: #ffffff;
    font-weight: 400;
    font-size: 1.2em;
}

.text-2 {
    font-size: 0.7em;
}

.container-layout2 a {
    text-decoration: none;
    color: #ffffff;
    padding: 0.5rem 3rem;
    border-radius: 15px;
    background-color: var(--colorPrimario);
}

.container-layout2 a:hover {
    border: 2px solid var(--primario20);
}

/* ................................................... */

/* ................Seccion Certificaciones............ */
.seccionCertificaciones {
    text-align: center;
    padding: 1.8rem;
    line-height: 2.2em;
    font-size: larger;
    color: var(--primario);

}

.certiText1 {
    font-size: 1.5em;
}

.certiText2 {
    font-size: 1.2em;
}

.container {
    width: 180px;
    height: 250px;

}

.wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

.container1 img {
    width: 200px;
    height: auto;
    transition: transform .3s;
}

.container1 img:hover {
    transform: scale(1.1)
}

.textContainer {
    color: var(--colorTerciario);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 1.1em;
}

/* ................................................... */

/* ......................layout2...................... */
.layout2 {
    display: table;
    width: 100%;
    height: 80px;
    margin-top: 2rem;
    background-color: var(--colorPrimario);
}

.textLayout2 {
    color: #ffffff;
    display: table-cell;

    text-align: center;
    vertical-align: middle;
}

/* ................................................... */

/* .................carousel 1........................ */
.swiper-container {
    margin: 0 auto;
    margin-top: 2em;
    margin-bottom: 1.5em;
    width: 80%;
    height: 31em;
    padding: 2em 3em 2em 1em;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.swiper-wrapper {
    padding: 0 20px;
    
}

.swiper-slide {
    width: 16em;
    border-radius: 0.5em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    /* -webkit-justify-content: center;
    justify-content: center; */
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide h6 {
    margin: 10px 0;
    color: var(--primario60);
    font-size: 1.5em;
    margin-top: 0.5em;
}

.swiper-slide h4 {
    margin: 10px 0;
    color: var(--colorTerciario);
    font-size: 0.9em;
    text-align: center;
}

.swiper-slide img {
    display: block;
    width: 90%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 0.5em;
}

.swiper-slide p {
    text-align: center;
    max-width: 85%;
    font-size: 0.6em;
    line-height: 22px;
}

/* ................................................... */

/* ......................layout 3...................... */
.layout3 {
    display: table;
    width: 100%;
    height: 80px;
    margin-top: 2rem;
    background-color: var(--colorPrimario);
}
.layout31 {
    display: table;
    width: 100%;
    height: 80px;
    margin-top: -1.1rem;
    background-color: var(--colorPrimario);
}
.container-layout3 {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.container-layout3 a {
    color: #ffffff;
    text-decoration: none;
    background-color: var(--colorTerciario);
    padding: 0.4em 5em;
    border-radius: 0.7em;
}

.container-layout3 a:hover {
    font-size: 105%;
}

/* ................................................... */

/* .................seccion servicios................. */
.tituloServicios{
    text-align: center;
    padding: 1em 0;
    color: var(--primario80);
}

.tituloServicios h2{
    font-size: 1.8em;
}
.tituloServicios h5{
    font-size: 1.2em;
}
.seccionServicios{
    width: 80%;
    margin: 0 auto;
    margin-bottom: 7em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}

.containerServicios{
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    max-width: 1300px;
    width: 100%;
    
}


.blog-post{
    position: relative;
}

.blog-post img{
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 300ms;
    
}
.blog-post img:hover{
    transform: scale(1.08);
    
}

.blog-post .category{
    position: absolute;
    top: 7px;
    left: 10px;
    padding: 10px 15px;
    font-size: 15px; 
    font-weight: 700;
    text-decoration: none;
    line-height: 18px;
    color: var(--colorSecundario);
    border-radius: 5px;
    text-transform: uppercase;
    
    
}
.text-content{
    position: absolute;
    bottom: -30px;
    padding: 20px;
    height: 240px;
    background-color: rgb(255, 255, 255);
    width: calc(100% - 20px);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    box-shadow: .5px .5px 8px var(--primario60);
    padding-top: 50px;
    
}
.text-content h2{
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5em;
    margin: 24px 0 15px 0;
    
}
.tags a{
    color: var(--colorTerciario);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    margin-right: 15px;
    transition: 0.3s ease;
}

.tags a:hover{
    color: var(--secundario80);
    border-bottom: 2px solid var(--secundario80) ;
}





/* .............Informacion de Interes................ */
.containerInformacion h2{
    text-align: center;
    color: var(--primario80);
}
.cardInformacion{
    width: 100%;
    padding: 1em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2.5em 0;
}
.cardI{
    text-align: center;
    width: 20%;
    height: 20em;
    margin: 0 1em;
    /* border: 2px solid var(--colorTerciario); */
    border-radius: 1em;
    margin-bottom: 1em;
}
.cardI img {
    width: 95%;
    height:50%;
    margin: 0 auto;
    margin: 0.5em 0;
    border-radius: 1em;
    transition: transform 300ms;
}
.cardI img:hover {
    transform: scale(1.08);
}
.cardTexto{
    height: 6em;
}
.cardTexto p{
    font-size: 0.8em;
}
.cardI h3{
    font-size: 0.9em;
}
.btnInformacion a{
    text-decoration: none;
    color: #ffffff;
}
.btnInformacion{
    margin: 0 auto;
    background-color: var(--colorTerciario);
    width: 85%;
    padding: 0.2em;
    border-radius: 0.5em;
}
.btnInformacion:hover{
    transform: scale(1.1);
}

/* .............I..........Mapa........................ */
.containerMapa{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: var(--primario20);
}
.datosMapa{
    width: 50%;
    height: auto;
    padding: 5em 0;
    flex: 50%;
}
.datosInternosMapa{
    width: 70%;
    margin: 0 auto;
}
.datosInternosMapa img,h2,p{
    padding: 0.5em 0;
}
.datosInternosMapa,p{
    color: var(--colorPrimario);
    font-size: 1.1em;
}
.textoMapa{
    color: var(--colorTerciario);
}
.mapaPrincipal{
    overflow:hidden;
    padding-bottom:40%;
    position:relative;
    height:0;
    width: 50%;
    height: auto;
}
.mapaPrincipal iframe{
    margin: 0 auto;
    padding: 8%;
    height:100%;
    width:100%;
    position:absolute;
}

/* .........................footer................................ */
footer {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background: var(--colorPrimario);
}
.datosFooter{
    font-size: 0.9em;
    color: #ffffff;
    padding: 5em 3em;
    width: 25%;
    line-height:2em;
}
.datosFooter a{
    color: #ffffff;
    text-decoration: none;
}
.datosFooter a:hover{
    border-bottom: 1px solid #ffffff;
}
.direccionFooter{
    width: 60%;
    height: 50px;
    background-color: var(--colorPrimario);
    margin: 0 auto;
}
.direccionFooter a{
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8em;
    padding: 0.3em 1em;
    height: 3em;

}
/* ................................................... */

/* ..................Responsive....................... */


/* width 1440 */
@media(min-width:1540px) and (max-width:2600px) {
    .content {
        text-align: center;
        padding-top: 20vh;
        color: white;
    }
    /* ......slider 2..... */
    .container-slider{
        width: 75%;
    }
    .s1slide{
        content: url(../images/slide-1-1920.jpg);
    }
    .s2slide{
        content: url(../images/slide-2-1920.jpg);
    }
    .s3slide{
        content: url(../images/slide-3-1920.jpg);
    }
}

/* width 1440 */
@media(max-width:1440px) {
    .content {
        text-align: center;
        padding-top: 20vh;
        color: white;
    }
}/* width 1440 */

/* width 1039 */
@media(max-width:1039px) {
    .logoNavBar {
        left: 4.5rem;
    }

    .navbar {
        justify-content: flex-start;
        margin-top: 3.5em;
    }

    .drawer {
        display: block;
    }

    .navbar {
        background-color: var(--colorPrimario);
        position: fixed;
        width: 70%;
        height: 100%;
        left: -100%;
        display: flex;
        transition: 900ms;
        flex-direction: column;
        align-content: stretch;
    }

    .navbar a{
        margin-left: 40px;
        color: #ffffff;
        padding-left: 2.6rem;
        /* width: fit-content; */
        margin-top: 1em;
    }

    .navbar a:hover {
        color: var(--colorTerciario);
        padding-left: 2rem;
        width: fit-content;
        margin-top: 2rem;
    }
    .dropdown{
        position: relative;
        background-color: #ffffff00;
    }

    .dropdown-content {
        position: relative;
        background-color: #ffffff00;
    }

    .dropdown-content:hover {
        display: block;
        width: 100%;
        text-align: left;
    }

    .dropbtn {
        margin-left: 50px;
        padding-left: 1.5rem;
        width: fit-content;
        margin-top: 2rem;
        color: #ffffff;
    }

    .dropbtn:hover {
        color: var(--colorTerciario);
        padding-right: 1rem;
    }

    .logoRedes {
        display: flex;
        margin-right: 1rem;
    }

    #checkbox:checked~.navbar {
        left: 0;
    }
    .informacionContacto a:nth-of-type(1){
        display: none;
        /* color: #ffffff; */
    }
    .informacionContacto a:nth-of-type(2){
        display: none;
        /* color: #ffffff; */
    }
    .informacionContacto a:nth-of-type(3){
        display: none;
        /* color: #ffffff; */
    }

    /* .........banner principal........ */
    /* .banner1 {
        background: url(../images/Recurso2.jpg);
        background-size: cover;
        background-position: center;
        height: 25em;
    } */

    /* .......layout Cotizacion......... */

    .layoutCotizacion {
        width: 100%;
        height: 100px;
        background-color: var(--colorTerciario);
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .layoutCotizacion {
        height: 6em;
        display: flex;
        flex-wrap: wrap
    }

    .container-layout1 {
        width: 90%;
        text-align: center;
    }

    .text-1 {
        font-size: 1.1em;
    }

    .text-2 {
        font-size: 0.8em;
    }

    .container-layout2 {
        padding: 13px 4px;
    }

    /* ......Seccion Certificaciones..... */
    .certiText1 {
        font-size: 1.1em;
    }

    .certiText2 {
        font-size: 0.8em;
    }

    .container {
        width: 130px;
        height: 230px;

    }

    .container img {
        width: 130px;
        height: auto;
    }

    .textContainer {
        color: var(--colorTerciario);
        font-size: 25px;
        font-weight: 300;
        margin-bottom: 20px;
    }

    /* ................layout 2................ */
    .layout2 {
        display: table;
        height: 80px;
    }

    .textLayout2 {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        font-size: 20px;
    }

    /* ..........seccion servicios............ */
    .containerServicios{
        grid-template-columns: 1fr 1fr;
        grid-row-gap: 60px;
    }
    /* ..........Informacion de Interes............ */
    .cardI{
        text-align: center;
        width: 30%;
        height: 19em;
        margin: 0 0.5em;
    }
    .cardI h3{
        line-height: 1.4em;
        font-size: 0.7em;
    }
    .cardI p{
        font-size: 0.6em;
    }
    /* .........................footer..................... */
    .datosFooter{
        width: 50%;
    }
    /* .........................modal...................... */
    .imagenModal{
        width: 0;
        height: 0;
    }
    .modal{
        width: 50%;
    }
    .contenedorFormulario{
        width: 100%;
    }
}

/* width 768 */
@media(max-width:760px) {
    /* .........banner principal........ */
    /* .banner1 {
        background: url(../images/banner);
        background-size: cover;
        background-position: center;
        height: 25em;
    } */
    .contenidoBanner1 {
        width: 80%;
        margin-top: 12em;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .tituloBanner1{
        font-size: 2em;
    }
    .subtituloBanner1{
        color: #ffffff;
        font-size: 2.5em;
    }
    .parrafoBanner1{
        font-size: .8em;
    }
    /* .......layout Cotizacion......... */
    .layoutCotizacion {
        height: 25vh;
    }

    .container-layout1 {
        width: 90%;
        text-align: center;
    }

    .text-1 {
        font-size: 1.1em;
    }

    .text-2 {
        font-size: 0.8em;
    }

    .container-layout2 {
        padding: 13px 4px;
    }

    /* ......Seccion Certificaciones..... */
    .certiText1 {
        font-size: 1.1em;
    }

    .certiText2 {
        font-size: 0.8em;
    }

    .container {
        width: 100px;
        height: 200px;

    }

    .container img {
        width: 100px;
        height: auto;
    }

    .textContainer {
        color: var(--colorTerciario);
        font-size: 20px;
        font-weight: 300;
        margin-bottom: 20px;
    }

    /* ................layout 2................ */
    .layout2 {
        display: table;
        height: 80px;
        margin-top: 0.1em;
    }

    .textLayout2 {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        font-size: 15px;
    }

    /* .............Informacion de Interes................ */
    .cardI{
        width: 18em;
        height: 23em;
    }
    /* .............I..........Mapa........................ */
    .datosMapa{
        width: 100%;
        height: auto;
        padding: 1em 0;
    }
    .mapaPrincipal{
        width: 100%;
        height: 25em;
    }
    .mapaPrincipal iframe{
        padding: 3%;
        width: 100%;
        height: 25em;
    }
}

/* min-width 325    max-width 600 */
@media(max-width:600px) {
    .navbar a{
        font-size: 0.8em;
        width: 60%;
    }
    .dropdown button{
        font-size: 0.8em;
    }
    

    /* ........banner 1 ... */
    .banner1 {
        /* background: url(../images/banneri); */
        background-size: cover;
        background-position: center;
        height: 18em;
    }
    .contenidoBanner1 {
        width: 80%;
        margin-top: 11.5em;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .tituloBanner1{
        font-size: 1.2em;
    }
    .subtituloBanner1{
        color: #ffffff;
        font-size: 1.5em;
    }
    .parrafoBanner1{
        font-size: .7em;
    }

    /* .......layout Cotizacion......... */
    .layoutCotizacion {
        height: 7em;
    }

    .container-layout1 {
        width: 90%;
        text-align: center;
    }

    .text-1 {
        font-size: 0.9em;
    }

    .text-2 {
        font-size: 0.7em;
    }

    .container-layout2 {
        padding: 13px 4px;
    }

    /* ......Seccion Certificaciones..... */
    .certiText1 {
        font-size: 1.1em;
    }

    .certiText2 {
        font-size: 0.8em;
    }

    .container {
        width: 100px;
        height: 200px;

    }

    .container img {
        width: 100px;
        height: auto;
    }

    .textContainer {
        color: var(--colorTerciario);
        font-size: 20px;
        font-weight: 300;
        margin-bottom: 20px;
    }

    /* ................layout 2................ */
    .layout2 {
        display: table;
        height: 80px;
        margin-top: 0.1em;
    }

    .textLayout2 {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        font-size: 15px;
    }

    /* ................layout 3................ */
    .container-layout3 a {
        padding: 0.3em 3em;
        border-radius: 0.7em;
    }

    /* ..........seccion servicios............ */
    .containerServicios{
        grid-template-columns: 1fr;
        grid-row-gap: 60px;
    }

    /* .............Informacion de Interes................ */
    .cardI{
        width: 19em;
        height: 23em;
    }
    /* ......slider 2..... */
    .container-slider{
        width: 80%;
        height: auto;
    }
    .s1slide{
        content: url(../images/slide-1-600.jpg)
    }
    .s2slide{
        content: url(../images/slide-1-600.jpg);
    }
    .s3slide{
        content: url(../images/slide-3-600.jpg);
    }
    /* .............I..........Mapa........................ */
    .datosMapa{
        width: 100%;
        height: auto;
        padding: 1em 0;
    }
    .mapaPrincipal{
        width: 100%;
        height: 25em;
    }
    .mapaPrincipal iframe{
        padding: 3%;
        width: 100%;
        height: 25em;
    }
    /* .........................footer..................... */
    .datosFooter{
        width: 100%;
    }
    /* .........................modal...................... */
    .imagenModal{
        width: 0;
        height: 0;
    }
    .modal{
        margin-top: -4em;
        width: 90%;
    }
    .contenedorFormulario{
        width: 100%;
    }
     /* .....................banner retilap............. */
}
/* ............................................................... */

