html{
    box-sizing: border-box;
    font-size: 62.5%; /**Reset para REMS - 62.5% = 10px de 16px*/
}

*, *:before, *:after{
    box-sizing: inherit;
    text-decoration: none;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem !important;
    line-height: 2;
}

/****Global****/
img{
    max-width: 100%;
}

ul{
    margin: 0;
    list-style: none;
}

.contenedor{
    max-width: 120rem;
    margin: 0 auto;
}

h1{
    font-size: 3.8rem;/*Se define el sistema de medidas de los headings*/
}

h2{
    font-size: 3.4rem;
}

h3{
    font-size: 3rem;
}

h4{
    font-size: 2.6rem;
}

/****Utilidades****/
.seccion{
    margin-bottom: 10rem;
    margin-top: 5rem;
}

.fw-300{
    font-weight: 300;
}

.fw-700{
    font-weight: 700;
}

.centrar-texto{
    text-align: center;
}

.d-block{
    display: block!important;
}

.justificar{
    text-align: justify;
}

.mr-3{
    margin-right: 3rem;
}

.mb-0{
    margin-bottom: 0;
}

.mt-0{
    margin-top: 0;
}

.mt-1{
    margin-top: 1rem;
}

/**** Botones ****/
.boton{
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.8rem;
    padding: 1rem 3rem;
    display: inline-block;
    text-align: center;
    border: none;
}

.boton-secundario{
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 1rem;
    display: inline-block;
    text-align: center;
    border: #ffffff 3px solid;
}

.boton:hover{
    cursor: pointer;
}

.boton-amarillo{
    background-color: #e08709;
}

.boton-verde{
    background-color: #71b100;
}

.boton-azul{
    background-color: #0f1c66;
    border-radius: 1rem;
}

.boton-azul:hover{
    background-color: #ffffff;
    border: #0f1c66 3px solid;
    color: #0f1c66;
}

.whats{
    position: fixed;
    right: 7.7rem;
    bottom: 3rem;
    z-index: 1;
    width: 5rem;
}
/****Header****/
.site-header{
    background-color: #e3e5ee;
    padding: 1rem 0 3rem 0;
}

.site-header.inicio{
    background-image: url("../img/img1.jpg");   
    background-position: center;
    background-size: cover;
    height: 100vh;
    min-height: 60rem;
}

.contenido-header{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.contenido-header h1{
    color: #0f1c66;
    margin-top: 30rem;
    max-width: 40rem;
    line-height: 2;
}

.barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
}

.barra img{
    max-width: 30rem;
}

.logo{
    line-height: 8rem;
    margin-left: 5rem;
    margin-top: 2rem;
    max-width: 20%;
    line-height: 8rem;
}

.navbar{
    display: none;
    height: 9rem;
    width: 100%;
}

.navbar2{
    display: none;
    height: 9rem;
    width: 100%;
}

.navbar ul{
    float: right;
    margin-right: 2rem;
    padding-left: 0;
}

.navbar2 ul{
    float: right;
    margin-right: 2rem;
    padding-left: 0;
}

.navbar ul li{
    display: inline-block;
    line-height: 8rem;
    margin: 0 0.5rem;
}

.navbar2 ul li{
    display: inline-block;
    line-height: 8rem;
    margin: 0 0.5rem;
}

.navbar ul li a{
    color: #ffffff;
    font-size: 1.6rem;
    padding: .7rem 1.3rem;
    border-radius: .3rem;
    text-transform: uppercase;
}
.navbar2 ul li a{
    color: #ffffff;
    font-size: 1.6rem;
    padding: .7rem 1.3rem;
    border-radius: .3rem;
    text-transform: uppercase;
}

.checkbtn{
    font-size: 3rem;
    color: #0f1c66;
    float: right;
    line-height: 8rem;
    margin-right: 4rem;
    cursor: pointer;
    display: none;
}

#check{
    display: none;
}

/****Navegacion****/
.navegacion a{
    color: #1a84af;
    text-decoration: none;
    font-size: 2.2rem !important;  /** = 18px*/
    margin-right: 2rem !important;
}

.navegacion a:hover{
    color: #0f1c66;
}

.navegacion a:last-of-type{
    margin-right: 0 !important;
}

/****Idiomas****/
.idiomas{
    position: fixed;
    right: 7.7rem;
    top: 21.1rem;
    z-index: 2;
}

/****Iconos Servicios****/
.texto-servicios{
    font-size: 2rem;
}

.icono{
    flex-basis: calc(33.3% - 1rem);
    display: flex;
    border: #6d6d6d 1px solid;
    border-radius: 2rem;
    margin-bottom: 4rem;
    background-color: #e7e7e7;
    align-items: center;
    max-height: 15rem;
    text-decoration: none;
    color: #161616;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.3;
}

.icono img{
    padding: 1.5rem 1rem 1rem 2rem;
    max-width: 30%;
}

.icono:hover{
    background-color: #0f1c66;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

/**** Contacto Home ****/
.imagen-nosotros{
    background-image: url(../img/us_gb.jpg);
    background-position: center center;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.imagen-nosotros .contenido-nosotros{
    flex-basis: 55%;
    color: #ffffff;
    padding: 0 4rem;
}

.contenido-nosotros p{
    font-size: 1.8rem;
}

.imagen-nosotros .imagen{
    flex-basis: 45%;
}

.imagen img{
    display: block;
}

/**** Imagen Contacto ****/
.imagen-contacto{
    background-image: url(../img/contacto.png);
    background-position: center center;
    background-size: cover;
    height: 15rem;
}

.contenido-contacto{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.contenido-contacto p{
    font-size: 2.5rem;
    max-width: 70rem;
    font-weight: 500;
}

.services{
    margin-top: 0px;
    height: 500px;
}

.text-justify{
    text-align: justify-all;
}

.text-white{
    color:#ffffff;
}

/**** Footer ****/
.site-footer{
    background-color: #333333;
    margin: 0;
}

.contenedor-footer{
    padding: 3rem 0;
}

.copyright{
    margin: 0;
    color: #ffffff;
}

.copyright a{
    text-decoration: none;
    color: #ffffff;
}

/**** Paginas Internas ****/
/*** Nosotros ***/
.nosotros-content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);/*Sirve para hacer la separacion de los elementos*/
    grid-column-gap: 5rem;
}

.gestoria-content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);/*Sirve para hacer la separacion de los elementos*/
    grid-column-gap: 5rem;
}

.nosotros-content blockquote{
    font-weight: 900;
    font-size: 2rem;
    margin: 0;
    padding: 1rem 0 3rem 0;
}

.valores{
    display: grid;
    grid-template-columns: 20% 80%;
    column-gap: 2rem;
    border: #a7b4fd 1rem double;
    background-color: #f0f0f0;
    border-radius: 2rem;
}

.valores p{
    text-align: justify;
    margin: 0;
    max-width: 90%;
}

.valores img{
    margin-top: 2rem;
    margin-left: 1rem;
    max-height: 10rem;
    
}

/**** Facturación Electrónica ****/
.contenedor-factura{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
}

.texto-factura p{
    margin: 0 0 1rem 0;
    text-align: justify;
    line-height: 2.1;
}

.texto-factura span{
    font-weight: 700;
}

.contenedor-portal{
    display: grid;
    grid-template-columns: 35% 65%;
    column-gap: 5rem;
}

.lista-portal{
    max-width: 90%;
    display: grid;
    grid-template-columns: 5% 95%;
    column-gap: 2rem;
    row-gap: 2rem;
}

.lista-portal p{
    margin: 0;
}

.lista-portal a{
    text-decoration: none;
    color: #161616;
    font-weight: 700;
}

.imagen-lista{
    width: 100%;
    margin-top: 1rem;   
}

.contenido-servicio{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 2rem;
}

.servicio-prueba{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.servicio-prueba .demo{
    flex-basis: calc(20% - 1rem);
}

.demo span{
    font-weight: 700;
}

.servicio-prueba .ventajas{
    flex-basis: calc(80% - 1rem);
}

.lista-ventajas{
    list-style: circle;
}

.timbrado-addenda{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    margin-bottom: 2rem;
}

.timbrado{
    border: #f0f0f0 1px solid;
    background-color: #f5f5f5;
}

.contenido-timbrado{
    width: 80%;
    margin: 0 auto;
} 

.contenido-timbrado h2{
    font-size: 3rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.contenido-timbrado p{
    margin: 0;
}
/**** Contacto ****/
.contenido-contacto2{
    display: grid;
    grid-template-columns: 60% 40%;
    column-gap: 2rem;
    align-items: initial;
}

.contenedor-direcciones{
    color: #161616;
}

.contenedor-direcciones h2{
    font-size: 2.5rem;
}

.direccion{
    display: grid;
    grid-template-columns: 5% 95%;
    column-gap: 2rem;
    row-gap: 1.5rem;
}

.direccion p{
    margin: 0;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.5;
    width: 90%;
}
/***********************/
/**** Media Query ****/
/***********************/
/**** Tablet ****/

@media(max-width: 992px){
    /**** Global ****/
    .contenedor{
        max-width: 70rem;
        margin: 0 auto;
    }

    .idiomas{
        right: 6rem;
    }

    h1{
        margin: 0;
    }

    h2{
        margin: 0;
    }

    .whats{
        bottom: 10rem;
    }

    .site-header{
        background-color: transparent;
    }

    .barra{
        display: none;
    }

    .navbar{
        display: block;
    }
    .navbar2{
        display: block;
    }

    .logo{
        max-width: 35%;
        margin-left: 1rem;
    }

    .checkbtn{
        font-size: 3rem;
        color: #0f1c66;
        float: right;
        line-height: 8rem;
        margin-right: 4rem;
        cursor: pointer;
        margin-top: 1rem;
        font-size: 5rem;
    }

    .navbar ul{
        margin-right: 0;
    }
    .navbar2 ul{
        margin-right: 0;
    }

    .navbar ul li{
        line-height: 8rem;
        margin: 0;
    }

    .navbar2 ul li{
        line-height: 8rem;
        margin: 0;
    }

    .navbar ul li a{
        font-size: 1.4rem;
    }

    .navbar2 ul li a{
        font-size: 1.4rem;
    }

    .contenido-header h1{
        margin-top: 75rem;
        margin-left: 15rem;
    }

    /**** Nosotros ****/
    .nosotros-content{
        column-gap: 2rem;
    }

    .nosotros-content-md{
        grid-template-columns: 100%;
        row-gap: 2rem;
    }

    .nosotros-content blockquote{
        padding: 0;
    }

    .nosotros-content p{
        margin: 0;
        width: 90%;
        text-align: justify;
    }

    .valores:first-of-type{
        margin-top: 2rem;
    }

    .valores:last-of-type{
        margin-bottom: 2rem;
    }

    .valores h2{
        font-size: 3rem;
    }

    .valores p{
        line-height: 1.8;
        margin-bottom: 2rem;
    }
    
    /**** Facturación ****/
    .contenedor-factura{
        grid-template-columns: 100%;
    }

    .texto-factura{
        margin: 1rem 0;
    }

    .contenedor-portal{
        column-gap: 2rem;
    }

    .requisitos p{
        margin-bottom: 0;
    }

    .lista-portal{
        row-gap: 0;
        column-gap: 1.5rem;
        grid-template-columns: 8% 92%;
    }

    .demo p{
        margin: 0;
    }

    .ventajas h3{
        margin: 0;
        line-height: 1;
        font-size: 2.4rem;
    }

    .lista-ventajas{
        margin-top: 1rem;
        margin-bottom: 3rem;
    }
    
    .timbrado-addenda{
        column-gap: 0;
        row-gap: 2rem;
        grid-template-columns: repeat(12, 1fr);
    }

    .timbrado h2{
        font-size: 2.8rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .timbrado p{
        line-height: 1.5;
    }
    

    .imagen-costos{
        grid-column: 3/11;
    }

    .p-1{
        grid-column: 1/7;
    }

    .p-2{
        grid-column: 8/13;
    }

    /**** Contacto ****/
    .contenido-contacto2{
        grid-template-columns: 100%;
    }

    .mapa-google{
        margin: 0 auto;
    }

    .contenedor-direcciones{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 2rem;
        margin: 1.5rem 0;
        background-color: #e7e7e7;
        padding: 1rem 2rem;
        row-gap: 2rem;
    }

    .contenedor-direcciones h2{
        font-size: 2.4rem;
    }

    .direccion{
        align-items: center;
        grid-template-columns: 10% 90%;
    }

    .direccion-1{
        grid-column: 3/6;
    }

    .direccion-2{
        grid-column: 1/3;
    }

    .direccion-3{
        grid-column: 2/4;
    }
}

/**** Celular ****/
@media(max-width:600px){
    /**** Global ****/
    .contenedor{
        max-width: 29rem;
        margin: 0 auto;
    }

    body{
        line-height: 1.2;
    }

    h1{
        font-size: 2.8rem;
    }

    h2{
        font-size: 2.6rem;
    }

    h3{
        font-size: 2.4rem;
    }

    .idiomas{
        right: 2rem;
    }

    .logo{
        max-width: 50%;
    }

    .contenido-header h1{
        margin-left: 1rem;
    }

    .checkbtn{
        margin: 0;
        font-size: 4rem;
    }

    .whats{
        right: 3rem;
        bottom: 5rem;
        width: 3.8rem;
    }

    /**** Nosotros ****/
    .nosotros-content{
        column-gap: 1.5rem;
        grid-template-columns: 100%;
    }

    .nosotros-content blockquote{
        padding: 0;
        font-size: 1.5rem;
        text-align: center;
    }

    .nosotros-content p{
        margin: 1rem 0;
        width: 100%;
        text-align: justify;
    }

    .valores{
        grid-template-columns: 100%;
    }

    .valores img{
        display: none;
    }

    .valores:first-of-type{
        margin-top: 2rem;
    }

    .valores:last-of-type{
        margin-bottom: 2rem;
    }

    .valores h2{
        font-size: 2.6rem;
        margin-top: 1rem;
    }

    .valores p{
        line-height: 1.8;
        margin: 2rem auto;
        font-size: 1.4rem;
    }

    /**** Facturación ****/
    .contenedor-factura{
        grid-template-columns: 100%;
    }

    .texto-factura{
        margin: 1rem 0;
    }

    .texto-factura p{
        line-height: 1.5;
    }

    .contenedor-portal{
        grid-template-columns: 100%;
    }

    .requisitos p{
        margin: 1rem 0;
    }

    .lista-portal{
        row-gap: 1rem;
        grid-template-columns: 8% 92%;
        margin-bottom: 1rem;
    }

    .contenido-servicio{
        grid-template-columns: 100%;
    }

    .servicio-prueba{
        grid-row: 2;
    }

    .demo p{
        margin: 1rem;
    }

    .demo a{
        margin: 1.5rem 0;
    }

    .ventajas h3{
        margin: 0;
        line-height: 1;
        font-size: 2.4rem;
    }

    .lista-ventajas{
        margin-top: 1rem;
        margin-bottom: 3rem;
    }
    
    .timbrado-addenda{
        grid-template-columns: 100%;
    }

    .imagen-costos{
        grid-column: 1;
    }

    .p-2{
        grid-column: 1;
    }

    /**** Contacto ****/
    .contenido-contacto2{
        grid-template-columns: 100%;
    }

    .mapa-google{
        height: min-content;
        width: 100%;
    }

    .contenedor-direcciones{
        display: grid;
        grid-template-columns: 100%;
        margin: 1.5rem 0;
        background-color: #e7e7e7;
        padding: 1rem 2rem;
        row-gap: 2rem;
        border-radius: 2.5rem;
    }

    .contenedor-direcciones h2{
        font-size: 2.4rem;
    }

    .direccion{
        width: 81%;
        align-items: center;
        grid-template-columns: 8% 92%;
    }

    .direccion-2{
        grid-column: 1;
    }

    .direccion-1{
        grid-column: 1;
    }
}

/***Responsive***/


.topnav .icon {
  display: none;
  background-color: transparent;
}


@media screen and (max-width: 800px) {
    .checkbtn{
        display: block;
    }

    .logo{
        width: 50rem;
    }

    .navbar ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 10rem;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }

    .navbar2 ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 10rem;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }

    .navbar ul li{
        display: block;
        margin: 5rem 0;
        line-height: 3rem;
    }

    .navbar2 ul li{
        display: block;
        margin: 5rem 0;
        line-height: 3rem;
    }

    .navbar ul li a{
        font-size: 2rem;

    }
    .navbar2 ul li a{
        font-size: 2rem;

    }

    #check:checked ~ ul{
        left: 0;
    }

    #check:checked ~ .navbar{
        background-color: #6d6d6d;
    }

    #check:checked ~ .navbar2{
        background-color: #6d6d6d;
    }

    .topnav a {display: none;}

    .topnav a.icon {
        float: right;
        display: block;
    }

    a.active:hover,a.active{
        background:none;
        color: #0082e6;
    }

    .topnav {
      background-color: #333;
      overflow: hidden;
    }

    .services{
        height: 700px !important;
    }
/* Style the links inside the navigation bar */
    .topnav a.icon :hover{
      background-color: transparent;
    }

    .topnav {
      background-color: transparent;
      overflow: hidden;
    }
}

@media screen and (max-width: 800px) {
  @media screen and (max-width: 800px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    background: transparent;
    position: absolute;
    right: 0;
    top: 0;
  }

    .respon{
        width: 100%;
        justify-content: flex-start;

    }

  .topnav.responsive a {
    float: none;
    display: block;
        top: 10;
    text-align: center;
  }
  .topnav a {
    background-color: transparent;
      color: #000000;
      text-align: center;
      text-decoration: none;
      font-size: 22px !important;
}
    .topnav a.icon:hover {
      background-color: transparent;
      color: black;
    }
    .topnav a:hover {
      background-color: #ddd;
      color: black;
    }
    .imagen-gestoria{
    margin-left: 0px;
    }

    .boton-servicio{
         margin-left: 24%;
    }

}
    
    .fijar{
    position: absolute !important;
    top:40px;
    left:40px;
    width: 40%;
    }


}

.imagen-gestoria{
    margin-left: 200px;
}
.boton-servicio{
    text-transform: uppercase;
    background-color: rgb(255,255,255,.2); 
    color:white;
    width: 200px;
    height:100px;
    font-size: 1.7rem;
    border-radius: 15px;
    border: 3px solid white;
}

.boton-servicio:hover{
    text-transform: uppercase;
    font-size: 1.7rem;
    color:white;
    background-color: rgb(0,0,0,.4); 

}


