html {
    box-sizing: border-box;
    font-size: 62.5%; /** Reset para REMS - 62.5% = 10px de 16px **/
    scroll-behavior: smooth;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    padding-top: 0%;

}
.contenedor {
    width: 90%;
    max-width: 120rem; /** = 1200px; **/
    margin: 0 auto;
    padding-top: 18%;
}
.fa-light, .fa-handshake-simple{ 
    color: #000;
    font-size: 2em;
}
/** Header **/

.pleca-logo{
    top: 0px;
    height: 60px;
    width: 100%;
    background-color: white;
    position: fixed;
    box-shadow: 0px 5px 5px rgba(37, 37, 37, 0.315);
    z-index: 103;
}
.logo{
    margin:10px 0 0 10px;
    width: 60px;
    z-index: 104;
}
.logo img{
    width: 80%;
}
.logo-hor{
    display: none;
}
.inicio {
    background-image: url(../img/imgPrimaria.png);
    background-position: center center;
    background-size: cover;
    height: 100vh;
    min-height: 60rem;
}
.titulares{
    color: white;
    margin: 5%;
    padding-top: 70%;
}
.titulo2{
    margin-top: -5%;
}

/** Menú **/

.hamburger{
	position:fixed;
	right:8%;
	top:0;
	height:30px;
	width:30px;
	padding:20px 20px;
	-webkit-transform:translate3d(0, 0, 0);
	transform:translate3d(0, 0, 0);
	-webkit-transition:-webkit-transform 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
	transition:transform 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
	z-index:102;
	cursor:pointer;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none
}
.hamburger.is-active{
  background-color:none;
}
._layer{
	background:#590537;
	margin-bottom:4px;
	border-radius:2px;
	width:28px;
	height:4px;
	opacity:1;
	-webkit-transform:translate3d(0, 0, 0);
	transform:translate3d(0, 0, 0);
	-webkit-transition:all 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
	transition:all 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
}
.hamburger:hover .-top{
	-webkit-transform:translateY(-100%);
	-ms-transform:translateY(-100%);
	transform:translateY(-100%);
}
.hamburger:hover .-bottom{
	-webkit-transform:translateY(50%);
	-ms-transform:translateY(100%);
	transform:translateY(100%);
	}
.hamburger.is-active .-top{
	-webkit-transform:translateY(200%) rotate(45deg) !important;
	-ms-transform:translateY(200%) rotate(45deg) !important;
	transform:translateY(200%) rotate(45deg) !important;
}
.hamburger.is-active .-mid{
	opacity:0;
}
.hamburger.is-active .-bottom{
	-webkit-transform:translateY(-200%) rotate(135deg) !important;
	-ms-transform:translateY(-200%) rotate(135deg) !important;
	transform:translateY(-200%) rotate(135deg) !important;
}

.menuppal.is_active{
  transform: translate3d(0px, 0px, 0px);
}
.menuppal2{
    display: none;
}
.menuppal{
   background-color: rgba(255, 255, 255, 0.95);
    bottom: 0;
    height: 30%;
    right: 0;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    transform: translate3d(0px, -100%, 0px);
    transition: transform 0.35s cubic-bezier(0.05, 1.04, 0.72, 0.98) 0s;
    width: 100%;
    z-index: 100;
}
.menuppal ul{
  margin:0;
  padding: 50px;;
}
.menuppal ul li { 
  list-style: none;
	text-align:center;
	color:#590537;
	font-size:1.5rem;
	line-height:3em;
	height:3em;
  color:#590537;
	text-transform:none;
	font-weight:bold;
}
.menuppal ul li a{
  text-decoration:none;
  color:#590537;
}
.menuppal ul li a:hover{
  text-decoration:none;
  color: #FAA10B;
}
/** Globales **/
.imagenes-seccion img {
    max-width: 80%;
    margin: auto;
}

h1 {
    font-size: 4.8rem;
    line-height: 4.8rem;
    padding-top: 20%;
}
h2 {
    font-size: 3.4rem;
}
h3 {
    font-size: 3.2rem;
    line-height: 1.2;
    color: #590537;
    margin-top: -15px;
    text-align: center;
    padding-top: 8%;
}
h4 {
    font-size: 2.3rem;
    color: #FAA10B;
}

.btn-primario{
    
    margin: 10% auto;
    padding: 15px;
    width: 40%;
    background-color: #FAA10B;
    border: none;
    border: 1px solid #FAA10B;
    border-radius: 25px;
    cursor: pointer;
    color: #fff;
    
}
.btn-secundario{
    margin-top: 5%;
    padding: 15px;
    width: 100%;
    background-color: transparent;
    border: none;
    border: 3px solid #FAA10B;
    border-radius: 15px;
    cursor: pointer;
    color:#FAA10B;
    font-weight: bold;
}

.btn-terciario{
    
    margin: 10% auto;
    padding: 15px;
    width: 50%;
    background-color: #FAA10B;
    border: none;
    border: 1px solid #FAA10B;
    border-radius: 25px;
    cursor: pointer;
    color: #fff;   
}

/** Utilidades **/

.fw-300 {
    font-weight: 300;
}
.centrar-texto {
    text-align: center;
    padding-top: 8%;
}
.centrar-textos {
    text-align: center;
}
.alineacion{
    text-align: center;
}

.contenido-centrado {
    max-width: 800px;
}
.d-btn{
    /*display: flex;*/
    justify-content: center;
}

.d-btns{
    display: flex;
    justify-content: center;
}

/** Nosotros **/
.nosotros{
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

/** Areas **/
.tarjetas{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.tarjeta{
    background-color: white;
    border-radius: 20px;
    box-shadow: 0px 25px 50px 5px #E2E2E2;
    width: 44%;
    margin: 5% 3%;
    text-align: center;
    padding: 8% 3%;
}
.tarjeta img{
    height: 50px;
}
/** Experiencia **/
.experiencia{
    margin-top: 5%;
    padding: 10% 4%;
    background-image:url('../img/fondo2.png');
    background-position: center center;
    background-size: cover;
    height: 50vh;
    width: 100%;
    color: white;
}
.experiencia h3{
    color: white;
}
.datos h4{
    font-size: 3.2rem;
    color: white;
}
.porcentajes{
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
}
.porcentaje i{
    font-size: 5rem;
    margin: 10px;
}
.porcentaje{
    display: flex;
    width: 45%;
}
.porcentaje h4{
    margin-top: -10px;
}
.amarillo{
    color:#FAA10B;
    font-weight: bold;
    margin-top: -45px;
}
.txt-exp{
    margin-top: -20px;
    margin-bottom: 30px;
}
/** Servicios **/
.linea-servicio{
    border: 1px solid #590537;
    border-radius: 20px;
    padding: 10%;
    height: 380px;
}
.linea-servicio h3{
    margin-top: 40px;
    font-size: 2rem;
}
.linea-servicio p{
    margin-top: -20px;
}

.centrar{
    margin-left: 10%;
    margin-bottom: 10%;
    
}
/** Contacto **/
.contacto{
    display: flex;
    flex-wrap: wrap;
}
.contacto img{
    margin-top: 15%;
}

input:not([type="submit"]),
textarea {
    padding: 1rem;
    display: block;
    width: 100%;
    margin-bottom: 2rem;
    border: 1px solid #CB236D;
    border-radius: 1rem;
    color: #590537;
}
input:not([type="submit"])::placeholder,
textarea::placeholder {
    color: #590537;
}

select {
    -webkit-appearance: none;
    appearance: none;
}
textarea {
    height: 20rem;
}
.forma-contacto {
    max-width:30rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/** Footer **/
footer{
    background-image: url(../img/imgPrimaria.png);
    background-position: center center;
    background-size: cover;
    max-height: 62rem;
    text-align: center;
    color: white;
    padding-bottom: 3%;
} 
footer img{
    width: 40%;
    margin-top: 2%;
}
/* Tableta*/
@media screen and (min-width: 768px) {
    
    .imagenes-seccion img  {
        max-width: 45%;
        margin-right: 5%;
        
    }
    .alineacion{
        text-align: left;
    }
    .btn-secundario{
        width: 60%;
    }
    /*Menú*/
    .hamburger{
        display: none;
    }
    .pleca-logo{
        display: flex;
        justify-content:space-between;
        height: 97px;
        align-items: center;
        flex-wrap: nowrap;
    }
    .menuppal{
        display: none;
    }
    .menuppal2{
        display: block;
        width: 80%;
    }
    .menuppal2 ul{
        text-align:right;
        padding: 10px;
        
    }
     .menuppal2 ul li { 
       list-style: none;
       display: inline;
       margin-right: 10%;
         color:#590537;
         font-size:1.5rem;
         line-height:3em;
         height:3em;
       color:#590537;
         font-weight:bold;
     }
     .menuppal2 ul li a{
        text-decoration:none;
        color:#590537;
      }
      .menuppal2 ul li a:hover{
        text-decoration:none;
        color: #FAA10B;
        border-radius: 5%;
      }
    
      .logo-hor{
        display: block;
        margin:0 10px;
        width: 35%;
        z-index: 104;
    }
    .logo-hor img{
        width: 60%;
    }
    .logo{
        display: none;
    }
    .Primario{
        background: #FAA10B;
        padding: 8px 20px;
        border-radius: 25px; 
    }
    .Primario a{
        color: #fff !important;
    }
    .Primario a:hover{
        color:#590537 !important;
    }
    /* Inicio */
    .titulares{
        margin: 5%;
        padding-top: 50%;
    }
    .texto-inicio{
        width: 60%;
    }
    .titulo2{
        margin-top: 0.5%;
    }
    .nosotros{
        flex-wrap: nowrap;
    }
    .d-btn{
        display: block;
        
    }
    .experiencia{
        height: 35vh;
    }

    /** Servicios **/

    /** Contacto **/
    .contacto{
        flex-wrap: nowrap;
        align-items: center;
    }

    footer{
        max-height: 22rem;
        text-align: center;
        color: white;
        padding-bottom: 3%;
        display: flex;
        justify-content: space-around;
        flex-wrap: nowrap;
        align-items: center;
    } 
    .footer-img{
        width: 30%;
    }
    footer img{
        width: 40%;
        margin-top: 2%;
        
    }
    
}

@media screen and (min-width: 1200px) {
    .titulares{
        margin: 5%;
        padding-top: 0%;
    }
    .texto-inicio{
        width: 40%;
    }
    .titulo2{
        margin-top: 0.5%;
    }
    .btn-secundario{
        width: 10%;
    }
    .experiencia{
        height: 70vh;
    }

    .tarjeta{
        width: 30%;
        margin: 5% 1%;
        text-align: center;
        padding: 8% 3%;
    }

    .contacto{
        flex-wrap: nowrap;
        padding-right: 17%;
    }

    /*.tech
    {
        width: 100px;
    }*/

    img.ad1
    {
        width: 100%;
        /*max-height: 180px;*/
    }

    img.ad2
    {
        width: 500%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contenedor{
        padding-top: 8%;
        max-width: 150rem;
        width: 1500px;
    }

    h3
    {
        font-size: 3.2rem;
        line-height: 1.2;
        color: #590537;
        text-align: center;
        padding-top: 2%;
    }

    /*.contenedor {
        width: 90%;
        max-width: 120rem; 
        margin: 0 auto;
        padding-top: 18%;
    }*/

    .centrar-texto {
        text-align: center;
        padding-top: 0%;
    }
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 6%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    /*background-color: white;*/
  }
  
  /* Modal Content */
  .modal-content {
    /*background-color: #fefefe;*/
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    background-color: white;
    /*background-image: radial-gradient(rgba(255, 98, 0, 0.93),rgba(255, 0, 0, 0.707), purple); */
    background-image: radial-gradient(white, rgb(128, 0, 49)); 
    /*background-image: url(../img/Apretondemanos.jpg);*/
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:100% 100%;
    /*background-size: cover;*/
  }
  
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  .imagemodal {
    /*background-image: url("https://www.akamai.com/site/im-demo/perceptual-standard.jpg");*/
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
  }

  #myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  #myImg:hover {opacity: 0.7;}

  .container {
    position: relative;
    width: 100%;
  }
  
  .image {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .overlay {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: #8200ba;
    overflow: hidden;
    width: 100%;
    height:0;
    transition: .5s ease;
  }
  
  .container:hover .overlay {
    bottom: 0;
    height: 100%;
  }
  
  .text {
    color: white;
    font-size: 17px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  a
  {
   text-decoration: none;
  }

 p.ex1
 {
    font-size: 1.8rem;
    color:black;
    margin-top: 5%;
    text-align:center;
}

p.ex2
{
   font-size: 1.8rem;
   color:black;
   margin-top: 5%;
   text-align:center;
}

/*img.ad1
{
    max-width: 522px;
    height: 200px;
}

img.ad2
{
    max-width: 622px;
    height: 230px;
}*/

/*h6 {
    font-size: 1.8 rem;
    color:#590537;
    margin-top: 5%;
    text-align:center;
}

/*a
{
    text-decoration: none;
    font-size: 170px;
}*/