*, ::before,::after{
    box-sizing: border-box;
}
body{
    margin: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif, 'open-sans';
}
header{
    width: 100%;
    height: 70px;
    background-attachment: fixed;
    background-size:cover;
}
main{
    background-attachment: fixed;
    background-size:cover;  
}
#btn-menu{
    display: none;
}
main #btn-menu{
    display: none;
}
main .img-menu{
    display: none;
}
.menu label:hover{
    cursor: pointer;
    height: 70px;
    background: rgba(0, 0, 0, 0.3);
}
.menu{
    background: rgba(255, 255, 255,0.5);
    height: 70px;
}
.img-menu label img{
    position: absolute;
    float: right;
}
.menu .ul1{ 
    margin: 0;
    list-style: none;
    position: absolute;
}
.menu .ul2{
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    position: relative;
}
.menu .ul2 li:hover{
    background: rgba(0, 0, 0, 0.3);
    height: 70px;
}
.menu .ul1 li a{
    margin-left: 0;
    text-decoration: none;
}
.menu .ul2 li a{
    display: block;
    padding: 45px 15px 20px;
    color: rgb(23, 35, 102);
    font-weight: 800;
    text-decoration: none;
}
.fixed{
    position: fixed;
    width: 100%;
    top: 0;
    left: -40px;
}
/*Contenedor pagina principal*/
.contenedor{
    padding: 70px 0;
    width: 90%;
    margin: auto;
    color: rgb(23, 35, 102);
}
.titulo{
    color: rgb(23, 35, 102);
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
}
.textos-header{
    width: 100%;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.4), hsla(204, 8%, 76%, 0.4)), url(../img/portada.jpeg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.4), hsla(204, 8%, 76%, 0.4)), url(../img/portada.jpeg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-attachment: fixed;
    background-size:cover;
}
.textos-header h1{
    font-size: 50px;
    color: #fff;
    text-align: center;
}
.textos-header h2{
    font-size: 30px;
    font-weight: 300;
    color: #fff;
    text-align: center;
}
.wave{
    display: flex;
    position: absolute;
    bottom: -140px;
    width: 100%;
}
/*Encabezado acerca de*/
.acercade{
    width: 100%;
    height: 400px;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.4), hsla(204, 8%, 76%, 0.4)), url(../img/trabajadorsoldando.jpg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.4), hsla(204, 8%, 76%, 0.4)), url(../img/trabajadorsoldando.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    font-family: 'open sans';
}
/* About us */
.contenedor-sobre-nosotros {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}
.contenedor-sobre-nosotros img{
    width: 50%;
    height: 50%;
    position:static;
}
.sobrenosotros .imagen-about-us{
    width: 40%;
    margin: 10px;
    justify-content: space-evenly;
    text-align: center;
}
.sobre-nosotros .contenido-textos{
    width: 40%;
}
.contenido-textos h3{
    margin-bottom: 15px;
}
.contenido-textos h3 span{
    background: rgb(23, 35, 102);
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    margin-right: 10px;
}
.contenido-textos p{
    margin-top: 20px;
    padding: 30px 0px 30px 15px;
    font-weight: 10;
    text-align: justify;
    text-decoration: rgb(255, 255, 255);
}
/* Galeria portafolio */
.portafolio{
    background: #f2f2f2;
}
.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.imagen-port{
    width: 21%;
    margin-bottom: 10px;
    height: 120px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}
.imagen-port > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hover-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(0, 0%, 79%, 0.6);
    transition: .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.hover-galeria img{
    width: 50px;
}
.hover-galeria p{
    color: rgb(8, 3, 75);
}
.imagen-port:hover .hover-galeria{
    transform: scale(1);
}
/*Clientes*/
.cards{
    display: flex;
    justify-content: space-evenly;
}
.cards .card{
    background:hsla(0, 0%, 79%, 0.7);
    display: flex;
    width: 40%;
    height: 0px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .6);
}
.cards .card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;
}
.cards .card > .contenido-textos-card{
    width: 60%;
    color: #fff;
}
.cards .card > .contenido-textos-card p{
    font-weight: 200px;
    padding-top: 2px;
}
/* Our team*/
.about-services{
    background: #f2f2f2;
    width: 100%;
}
.about-services img{
    width: 100%;
}
.servicio-cont{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}
.servicio-ind{
    width: 28%;
    height: 80%;    
    text-align: center;
}
.servicio-ind img{
    width: 90%;
    height: 100%;
    align-items: center;
    align-content: center;
}
.servicio-ind h3{
    margin: 10px 0;
    color: rgb(23, 35, 102);
    font-weight: bold;
    font-size: 20px;
}
.servicio-ind p{
    padding: 10px;
    font-weight: 300;
    text-align: center;
    color: rgb(23, 35, 102);
}
.servicio-ind h3:hover{
    text-decoration: underline;
}
.servicio-ind p:hover{
    text-decoration: underline;
}

/* Footer*/
footer{
    background: #646464;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
    position: relative;
}
.contenedor-footer{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 1px solid #ccc;
}
.content-foo h4{
    color: #fff;
    border-bottom: 3px solid #172366;
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-align: center;
}
.content-foo p{
    color: #ccc;
    text-align: center;
    padding: 20px 20px;
}
.titulo-final{
    text-align: center;
    font-size: 24px;
    margin: 20px 0 0 0;
    color: #9e9797;
}
/*Mision y Vision*/
.acerca .acerca-mision-vision{
    width: 100%;
    justify-content: space-evenly;
    text-align: center;
}
.acerca-mision-vision h3{
    padding: 50px;
    font-size: 18px;
    text-align: justify;
}
/*Recursos Humanos*/
.cards1{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-block: 20px;
}
.card1{
    background:hsla(240, 0%, 54%, 0.671);
    display: flex;
    width: 90%;
    height: 300px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 20px;
    box-shadow: 0 0 6px 0 rgba(174, 174, 179, 0.6);
}
.card1 img{
    width: 30%;
    height: auto;
    object-fit: cover;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    border-radius: 10%;
    display: block;
}
.contenido-texto-card1 li{
    width: 70%;
    color: rgb(8, 3, 75);
    margin-left: 60px;  
}
.contenido-texto-card2 li{
    width: 50%;
    color: rgb(92, 92, 92);
    padding-left: 10px;
    margin-left: 100px;
}
.servicio-cont1{
    justify-content: center;
    flex-direction: column;
}
.servicio-ind1{
    width: 100%;
    text-align: center;
}
/*Estilos del modal*/
.modal{
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.5);
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
    font-size: 20px;
    transition: transform .3s ease-in-out;
}
.modal img{
    width: 70vw;
    max-height: 100vh;
}
.modal:target{
    transform: scale(1);
}
.cerrar{
    display: block;
    position: absolute;
    top: 40px;
    right: 40px;
    background: #172366;
    color: #fff;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    font-family: 'Open-Sans';
}
.next{
    display: block;
    background: hsla(231, 23%, 38%, 0.794);
    color: #fff;
    font-weight: bold;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-decoration: none;
    text-align: center;   
}

/*Menú de Servicios*/
.encab-servicios{
    width: 100%;
    height: 300px;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/portada.jpeg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/portada.jpeg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    display: flex;
    justify-content: left;
    align-items: center;
}
.encab-servicios .cajonh3{
    width: 20%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif; 
    margin-left: 30px;
    top: 160px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(233, 4%, 48%, 0.4);
    /* flex-direction: column; */
    /* justify-content: center; */
    position: absolute;
    text-align: left;    
}
.cajones .ul{
 padding: 0;
 margin: 0;
 list-style-type: none;
}
.cajones .li{
position: relative;
float: left;
width: 320px;
height: 100px;
overflow: hidden;
margin: 0 15px 15px 0;
}
.cajones h3{
margin: 0;
padding: 0;
line-height: 3px;   
}
.mecanica{
    width: 100%;
    height: 870px;
    padding: 85px;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/ingeneria-mecanica.jpg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/ingeneria-mecanica.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}
.mecanica .cajon1h4{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif; 
    margin-left: 1%;
    top: 60px;
    font-size: 15px;  
    color: #ffffff; 
    background:hsla(231, 62%, 23%, 0.4);
    flex-direction: column;
    justify-content: center;
    position: absolute;
    text-align: left;    
}
.mecanica .cajon2h4{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif;
    margin-left: 60%;
    top: 140px;
    font-size: 15px; 
    color: #ffffff; 
    background:hsla(231, 62%, 23%, 0.4);
    flex-direction: column;
    justify-content: center; 
    position: absolute;
    text-align: left;
}
.mecanica .cajon3h4{
    width: 45%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif;
    margin-left: 5%;
    top: 530px;
    font-size: 15px; 
    color: #ffffff; 
    background:hsla(231, 62%, 23%, 0.4);
    flex-direction: column;
    justify-content: center; 
    position: absolute;
    text-align: left;
}
.mecanica .tituloh1{
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: center;
}
.mecanica li{
    margin-left: 20%;
}
.mecanica h3{
    padding-top: 20px;
}
.electrica{
    width: 100%;
    height: 850px;
    padding: 70px;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/ingenieriaelectrica.jpg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/ingenieriaelectrica.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}
.electrica .cajon1h5{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif; 
    margin-left: 10px;
    top: 60px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(233, 4%, 48%, 0.4);
    flex-direction: column;
    justify-content: center;
    position: absolute;
    text-align: left;    
}
.electrica .cajon2h5{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif;
    margin-left: 60%;
    top: 150px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(233, 4%, 48%, 0.4);
    flex-direction: column;
    justify-content: center; 
    position: absolute;
    text-align: left;
}
.electrica .cajon3h5{
    width: 50%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif;
    margin-left: 25%;
    top: 570px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(233, 4%, 48%, 0.4);
    flex-direction: column;
    justify-content: center; 
    position: absolute;
    text-align: justify;
}
.electrica .tituloh1{
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: center;
}
.electrica li{
    margin-left: 20%;
}
.electrica h3{
    padding-top: 20px;
}
.civil{
    width: 100%;
    height: 700px;
    padding: 70px;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/ingenieriacivil.jpg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/ingenieriacivil.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}
.civil .cajon1h6{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif; 
    margin-left: 10%;
    top: 70px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(231, 62%, 23%, 0.4);
    flex-direction: column;
    justify-content: center;
    position: absolute;
    text-align: left;    
}
.civil .cajon2h6{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif;
    margin-left: 60%;
    top: 370px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(231, 62%, 23%, 0.4);
    flex-direction: column;
    justify-content: center; 
    position: absolute;
    text-align: left;
}
.civil .tituloh1{
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: center;
}
.civil li{
    margin-left: 20%;
}
.civil h3{
    padding-top: 20px;
}
.arquitectura{
    width: 100%;
    height: 700px;
    padding: 70px;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/arquitectura.jpg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/arquitectura.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}
.arquitectura .cajon1h7{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif;
    margin-left: 60%;
    top: 100px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(233, 4%, 48%, 0.4);
    flex-direction: column;
    justify-content: center; 
    position: absolute;
    text-align: left;
}
.arquitectura .tituloh1{
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: center;
}
.arquitectura li{
    margin-left: 20%;
}
.arquitectura h3{
    padding-top: 30px;
}
.automatizacion{
    width: 100%;
    height: 700px;
    padding: 70px;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/automatizacion.jpg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/automatizacion.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}
.automatizacion .cajon1h8{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif; 
    margin-left: 5px;
    top: 50px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(231, 62%, 23%, 0.4);
    flex-direction: column;
    justify-content: center;
    position: absolute;
    text-align: left;    
}
.automatizacion .cajon2h8{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif;
    margin-left: 50%;
    top: 250px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(231, 62%, 23%, 0.4);
    flex-direction: column;
    justify-content: center; 
    position: absolute;
    text-align: left;
}
.automatizacion .tituloh1{
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: center;
}
.automatizacion li{
    margin-left: 20%;
}
.automatizacion h3{
    padding-top: 20px;
}
.sistemas{
    width: 100%;
    height: 700px;
    padding: 70px;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/tecnologiasinformacion.jpg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/tecnologiasinformacion.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}
.sistemas .cajon1h9{
    width: 45%;
    padding: 5px 5px 5px 5px;
    font-family: sans-serif;
    margin-left: 5%;
    top: 50px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(233, 4%, 48%, 0.4);
    flex-direction: column;
    justify-content: center; 
    position: absolute;
    text-align: left;
}
.sistemas .cajon2h9{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif;
    margin-left: 65%;
    top: 200px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(233, 4%, 48%, 0.4);
    flex-direction: column;
    justify-content: center; 
    position: absolute;
    text-align: left;
}
.sistemas .cajon3h9{
    width: 30%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif;
    margin-left: 40%;
    top: 400px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(233, 4%, 48%, 0.4);
    flex-direction: column;
    justify-content: center; 
    position: absolute;
    text-align: left;
}
.sistemas .tituloh1{
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: center;
}
.sistemas li{
    margin-left: 20%;
}
.sistemas h3{
    padding-top: 30px;
}
.instrumentacion{
    width: 100%;
    height: 700px;
    padding: 70px;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/instrumentacion.jpg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/instrumentacion.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}
.instrumentacion .cajon1h10{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif; 
    margin-left: 5px;
    top: 150px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(231, 62%, 23%, 0.4);
    flex-direction: column;
    justify-content: center;
    position: absolute;
    text-align: left;    
}
.instrumentacion .cajon2h10{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif; 
    margin-left: 55%;
    top: 250px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(231, 62%, 23%, 0.4);
    flex-direction: column;
    justify-content: center;
    position: absolute;
    text-align: left;    
}
.instrumentacion .tituloh1{
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: center;
}
.instrumentacion li{
    margin-left: 20%;
}
.instrumentacion h3{
    padding-top: 20px;
}
.maquinados{
    width: 100%;
    height: 700px;
    padding: 70px;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/maquinadostorno.jpg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.603), hsla(204, 8%, 76%, 0.4)), url(../img/servicios/maquinadostorno.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}
.maquinados .cajon1h11{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif;
    margin-left: 10%;
    top: 100px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(233, 4%, 48%, 0.4);
    flex-direction: column;
    justify-content: center; 
    position: absolute;
    text-align: left;
}
.maquinados .cajon2h11{
    width: 40%;
    padding: 0 20px 20px 20px;
    font-family: sans-serif;
    margin-left: 60%;
    top: 200px;
    font-size: 15px; 
    font-weight: 400; 
    color: #ffffff; 
    background:hsla(233, 4%, 48%, 0.4);
    flex-direction: column;
    justify-content: center; 
    position: absolute;
    text-align: left;
}
.maquinados .tituloh1{
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: center;
}
.maquinados li{
    margin-left: 20%;
}
.maquinados h3{
    padding-top: 30px;
}
/*Pagina de contacto*/
:root{
    --colortextos: hsla(228, 75%, 32%, 0.76);
}
.pagcontacto{
    height: 70px;
}
.contacto{
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.4), hsla(204, 8%, 76%, 0.4)), url(../img/portada.jpeg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.4), hsla(204, 8%, 76%, 0.4)), url(../img/portada.jpeg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    width: 100%;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.form h1{
    text-align: center;
    margin: 10px 0;
    font-weight: 800;
}
form{
    background: hsla(0, 0%, 100%, 0.829);
    width: 40%;
    color: #172366;
    padding: 10px 0px;
    border-radius: 10px;
    box-shadow: 0 0 6px 0 rgba(255, 255, 255, 0.8);
    justify-content: center;
    align-items: center;
}
.form{
    width: 100%;
    margin: 10px;
    justify-content: center;
    align-items: center;
}
.form .grupo{
    margin: 25px;
    position: relative;
}
.grupo input, .grupo textarea{
    background: none;
    color: #181757;
    font-size: 16px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--colortextos);
    resize: none;
}
.grupo input:focus,.grupo textarea:focus{
    outline: none;
    color: #181757;
}
.grupo input:focus~label, 
.grupo input:valid~label,
.grupo textarea:focus~label, .grupo textarea:valid~label{
    position: absolute;
    top: -14px;
    font-size: 12px;
    color: #2196F3;
}
.grupo label{
    color: var(--colortextos);
    font-size: 16px;
    position: absolute;
    left: 5px;
    top: 10px;
    transition: 0.5s ease all;
    pointer-events: none;
}
.barra{
    display: block;
    width: 100%;
}
.grupo input:focus~.barra::before,.grupo textarea:focus~.barra::before{
    width: 100%;
}
.barra::before{
    content: '';
    height: 2px;
    width: 0;
    bottom: 0;
    position: absolute;
    background: linear-gradient(to right,  hsl(211, 30%, 24%), hsl(204, 8%, 76%));
    transition: 0.3s ease all;
    left: 0%;
}
#btnSend{
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.603),  hsl(211, 30%, 24%), hsl(204, 8%, 76%));  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right,  hsl(211, 30%, 24%), hsl(204, 8%, 76%));/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    display: block;
    width: 100px;
    height: 40px;
    border: none;
    color: rgb(8, 3, 75);
    font-weight: 20px;
    border-radius: 4px;
    font-size: 13px;
    margin: 10px auto;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}
#btnSend:hover{
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.603),  hsl(211, 30%, 24%), hsl(204, 8%, 76%));  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsl(204, 8%, 76%),hsl(211, 30%, 24%));/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    display: block;
    width: 100px;
    height: 40px;
    border: none;
    color: rgb(8, 3, 75);
    font-weight: 20px;
    border-radius: 4px;
    font-size: 13px;
    margin: 10px auto;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}
/* Ventana de errores*/
.modal_wrap{
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.mensaje_modal{
    background: #fff;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    width: 400px;
    padding: 30px 20px 15px;
}

.mensaje_modal h3{
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.mensaje_modal h3::after{
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #c5c5c5;
    margin: 10px 0px 10px;
}
.mensaje_modal p{
    font-size: 14px;
    color: #606060;
}

.mensaje_modal p:before{
    content: '\f00d'; 
    font-family: 'FontAwesome';
    display: inline-block;
    color: #e25151;
    margin-right: 8px;
}
#btnClose{
    display: inline-block;
	padding: 3px 10px;
	margin-top: 5px;
	background: #E25151;
	color: #fff;
	border: 2px solid #B14141;
	cursor: pointer;
	float: right;
}
.gracias{
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(211, 30%, 24%, 0.4), hsla(204, 8%, 76%, 0.4)), url(../img/portada.jpeg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(211, 30%, 24%, 0.4), hsla(204, 8%, 76%, 0.4)), url(../img/portada.jpeg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */    
}
.gracias h1{
    color: #fff;
}
.gracias h3{
    color: #fff;
}

@media screen and (max-width:1100px){
    .servicio-ind h3{
        font-size: 15px;
    }
    .servicio-ind p{
        font-size: 13px;
    }
    .encab-servicios .cajonh3{
        width: 70%;
    }
}

@media screen and (max-width:900px){
    header{
        background-position: center;  
        display: flex; 
    }
    .textos-header h1{
        font-size: 40px;
        color: #fff;
    }
    .textos-header h2{
        font-size: 30px;
        font-weight: 300;
        color: #fff;
    }
    .encab-servicios .cajonh3{
        width: 70%;
        left: 30px;
        background-size: cover;
    }
    .contenedor h2{
        position: relative;
    }
    .contenedor-sobre-nosotros{
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 600px;
    }
    .contenedor-sobre-nosotros img{
    width: 50%;
    height: 50%;
    position:static;
    }
    .sobre-nosotros .contenido-textos{
        width: 90%;
    }
    .sobre-nosotros{
    width: 100%;
    justify-content: space-evenly;
    height: 800px;
    }
    /*Galeria*/
    .imagen-port{
        width: 30%;
    }
    /*Clientes*/
    .card{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .cards .card{
        width: 90%;
    }
    .card .card:first-child{
        margin-bottom: 30px;
    }
    /*Servicios*/
    .servicio-cont{
        justify-content: center;
        font-size: 11px;
    }
    .servicio-cont h3{
        font-size: 13px;
    }
    .servicio-ind{
        width: 60%;
        text-align: center;
    }
    .servicio-ind:nth-child(1) .servicio-ind:nth-child(2){
        margin-bottom: 60px;
    }
    .servicio-ind{
        width: 90%;
    }
    .servicio-ind1 img{
        width:100%;
    }
    .about-services{
        flex-direction: column;
    }
/*Acerca de*/
    .cards1 .card1{
    height: 400px;
    width: 80%;
    text-align: justify;
    }
    .cards1 .card1 img{
        align-items: center;
        width: 30%;
        margin-left: 30px;
    }
/*Cajones Servicios*/
    .mecanica .cajon1h4{
        width: 45%;
        margin-left: 3%;
        top: 60px;
        font-size: 12px; 
    }
    .mecanica .cajon2h4{
        width: 45%;
        margin-left: 60%;
        top: 170px;
        font-size: 12px;  
    }
    .mecanica .cajon3h4{
        width: 45%;
        margin-left: 1%;
        top: 590px;
        font-size: 12px; 
    }
    .electrica .cajon1h5{
        width: 45%;
        margin-left: 3%;
        top: 60px;
        font-size: 12px; 
    }
    .electrica .cajon2h5{
        width: 45%;
        margin-left: 60%;
        top: 250px;
        font-size: 12px;  
    }
    .electrica .cajon3h5{
        width: 35%;
        margin-left: 15%;
        top: 480px;
        font-size: 12px; 
    }
    .civil .cajon1h6{
        width: 40%;
        margin-left: 10%;
        top: 70px;
        font-size: 12px;  
    }
    .civil .cajon2h6{
        width: 40%;
        margin-left: 60%;
        top: 370px;
        font-size: 12px; 
    }
    .arquitectura .cajon1h7{
        width: 40%;
        margin-left: 60%;
        top: 100px;
        font-size: 12px; 
    }
    .automatizacion .cajon1h8{
        width: 40%;
        margin-left: 50%;
        top: 50px;
        font-size: 12px;    
    }
    .automatizacion .cajon2h8{
        width: 40%;
        margin-left: 60%;
        top: 300px;
        font-size: 12px; 
    }
    .sistemas .cajon1h9{
        width: 45%;
        margin-left: 1%;
        top: 50px;
        font-size: 12px;
    }
    .sistemas .cajon2h9{
        width: 45%;
        margin-left: 60%;
        top: 150px;
        font-size: 12px; 
    }
    .sistemas .cajon3h9{
        width: 40%;
        margin-left: 40%;
        top: 400px;
        font-size: 12px; 
    }
    .instrumentacion .cajon1h10{
        width: 40%;
        margin-left: 5%;
        top: 100px;
        font-size: 12px; 
    }
    .maquinados .cajon1h11{
        width: 40%;
        margin-left: 5%;
        top: 100px;
        font-size: 12px; 
    }
    .maquinados .cajon2h11{
        width: 40%;
        margin-left: 65%;
        top: 200px;
        font-size: 12px; 
    }
}


@media (max-width:768px) {
    .grupo label{
        display: block;
    }
    
    .menu{
        position: absolute;
        width: 40%;
        margin-top: -100%;
        transition: all .5s;
        margin-right: 20px;
        float: right;
    }
    .menu .ul1 img{
        display: none;
    }
    .menu .ul2{
        flex-direction: column;
    }
    .menu .ul2 li{
        /* border-top: 1px solid #fff; */
        width: 100%;
        left: 0;
    }
    .menu .ul2 li a{
        padding: 5px 5px 20px 15px;
        background: rgb(70, 79, 129);
        color: #fff;        
    }
    .menu .ul2 li:hover{
    /* padding: 5px 5px 5px 15px; */
    background: rgb(70, 79, 129);
    }
    #btn-menu:checked ~ .menu {
        margin: 30px;
        position: fixed;
    }
    header .fixed{
    position: fixed;
    width: 50%;
    top: 0;
    left: -70px;
    }
}
@media screen and (max-width:500px){
    .header1 img{
        align-items: center;
    }
    .wave{
    display: flex;
    position: absolute;
    bottom: -220px;
    height: 200px;
    }
    .contenedor{
        font-size: 14px;
    }
    .textos-header h1{
        font-size: 40px;
        font-weight: 1000;
    }
    .textos-header h2{
        font-size: 20px;
    }
    /*About-us*/
    .contenedor-sobre-nosotros{
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 600px;
    }
    .contenedor .titulo{
        position: relative;
    }
    .sobre-nosotros .contenido-textos{
        width: 90%;
    }
    .sobre-nosotros{
    width: 100%;
    justify-content: space-evenly;
    height: 750px;
    }
    main .sobre-nosotros{
        padding: 10px 0 30px 0;
        height: 1000px;
    }
    .imagen-about-us{
    	margin-bottom: 60px;
    	width: 100%;
    }
    .imagen-about-us img{
      	width: 100px;
      	height: 100px;
    	align-items: bottom;
    }
    .modal{
        align-items: center;
    }
    .cerrar{
    display: block;
    width: 100px;
    height: 100px;
    margin: auto;
    padding: 15px;
    border-radius: 50%;
    line-height: 150px;
    font-weight: bold;
    }
    .contenedor-sobre-nosotros .contenido-textos{
        width: 95%;
    }
    /* Galeria */
    .contenedor .galeria-port .imagen-port{
        width: 90%;
    }
    .hover-galeria img{
        width: 20%;
        justify-items: center;
        justify-content: center;
    }
    .modal .next .cerrar{
    background: #172366;
    color: #fff;
    width: 10px;
    height: 10px;
    text-align: center;
    justify-items: center;
    justify-content: center;
    line-height: 20px;
    }   
    .cerrar{
    justify-items: center;
    justify-content: center;
    font-size: 20px;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 36px;
    text-align: center;
    line-height: 10px;
    }
    /*Clientes*/
    .cards .card{
        height: 450px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .cards .card{
        width: 90px;
        height: 90px;
    }
    /*Footer*/
    .contenedor-footer{
        flex-direction: column;
        border: none;
    }
    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }
    .content-foo h4{
        border: none;
    }
    .content-foo p{
        color: #ccc;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }
    .titulo-final{
        font-size: 20px;
    }
    /*Cajones Servicios*/
    .encab-servicios{
        /* height: 700px; */
        /* position: absolute; */
        background-size:auto;
        background-attachment: fixed;
        justify-content: center;
    }
    .encab-servicios .cajonh3{
        width: 60%;
        position: absolute;
        margin: 0;
        margin-left: 1px;
        
    }
        .arquitectura{
        background-size: cover;
        background-attachment: fixed;
    }
    .mecanica{
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .mecanica .cajon1h4{
        width: 50%;
        padding: 2px;
        top: 70px;
        font-size: 10px; 
    }
    .mecanica .cajon2h4{
        width: 42%;
        margin-left: 55%;
        top: 150px;
        font-size: 10px;  
    }
    .mecanica .cajon3h4{
        width: 90%;
        top: 640px;
        margin-left: 15px;
        font-size: 10px; 
    }
    .electrica{
        width: 100%;
        margin: 0;
        padding: 5px;
    }
    .electrica .cajon1h5{
        width: 45%;
        top: 60px;
        font-size: 10px; 
    }
    .electrica .cajon2h5{
        width: 40%;
        top: 200px;
        font-size: 10px;  
    }
    .electrica .cajon3h5{
        width: 80%;
        top: 550px;
        font-size: 10px; 
    }
    .civil{
        width: 100%;
        margin: 0;
        padding: 5px;
    }
    .civil .cajon1h6{
        width: 60%;
        margin-left: 1%;
        font-size: 10px;  
    }
    .civil .cajon2h6{
        width: 50%;
        margin-left: 50%;
        font-size: 10px; 
    }
    .arquitectura{
        width: 100%;
        margin: 0;
        padding: 5px;
    }
    .arquitectura .cajon1h7{
        width: 50%;
        margin-left: 45%;
        font-size: 10px; 
    }
    .automatizacion{
        width: 100%;
        margin: 0;
        padding: 5px;
    }    
    .automatizacion .cajon1h8{
        width: 60%;
        margin-left: 1%;
        top: 120px;
        font-size: 10px;    
    }
    .automatizacion .cajon2h8{
        width: 55%;
        margin-left: 45%;
        top: 340px;
        font-size: 10px; 
    }
    .sistemas{
        width: 100%;
        margin: 0;
        padding: 5px;
    }        
    .sistemas .cajon1h9{
        width: 60%;
        margin-left: 1%;
        padding: 0;
        top: 40px;
        font-size: 10px;
    }
    .sistemas .cajon2h9{
        width: 70%;
        margin-left: 25%;
        top: 440px;
        font-size: 10px; 
    }
    .instrumentacion{
        width: 100%;
        margin: 0;
        padding: 5px;
    }  
    .instrumentacion .cajon1h10{
        width: 70%;
        margin-left: 1%;
        top: 100px;
        font-size: 10px; 
    }
    .instrumentacion .cajon2h10{
        width: 70%;
        margin-left: 30%;
        top: 400px;
        font-size: 10px; 
    }
    .maquinados{
        width: 100%;
        margin: 0;
        padding: 5px;
    }  
    .maquinados .cajon1h11{
        width: 40%;
        margin-left: 10%;
        top: 100px;
        font-size: 10px; 
    }
    .maquinados .cajon2h11{
        width: 60%;
        margin-left: 40%;
        top: 300px;
        font-size: 11px; 
    }
    /*Recursos Humanos*/
    .cards1{
    width: 100%;
    margin-block: 5px;
    }
    .rh-contenedor .card1{
    width: 90%;
    height: 500px;
    }
    .card1{
    width: 95%;
    flex-direction: column;
    }
    .cards1 .card1 img{
    width: 40%;
    height: auto;
    border: 2px solid #fff;
    border-radius: 10%;
    display: block;
    }
    .contenido-texto-card1 li{
    width: 70%;
    margin-left: 50px;  
    padding-left: 2px;
    font-size: 15px;
    }
    .contenido-texto-card2 li{
    width: 90%;
    font-size: 14px;
    padding-left: 0px;
    margin-left: 75px;
    }
    .servicio-cont1{
    justify-content: center;
    flex-direction: column;
    }
    .servicio-ind1{
    width: 100%;
    text-align: center;
    }
    .servicio-cont{
        width: 70%;
        flex-direction: column;
        align-items: center;
        justify-items: center;
    }    
    .servicio-cont h3{
        font-size: 20px;
    }
    .servicio-cont p{
        font-size: 14px;
        padding: 20px;
    }
    .servicio-cont img{
        align-items: center;
    }
    .contenedor p{
        text-align: justify;
    }
}
@media screen and (max-width:1100px){
form{
    width: 40%;
}
}

@media screen and (max-width:600px){
form{
    width: 90%;
}
}

@media screen and (max-width:450px){
form{
    width: 90%;
}
}

@media screen and (max-width:300px){
form {
    width: 90%;
    font-size: 12px;
}
}