/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */

html{
    box-sizing: border-box;

}
*,*:before,*:after{
    box-sizing: inherit;
}
body{
    background-color: #f2f2f2
}

.contenedor{
    width: 98%;
    margin: 0 auto;
}
@media only screen and (min-width:480px){
    .contenedor{
        width: 95%;
    }
}
@media only screen and (min-width:768px){
    .contenedor{
        width: 90%;
    }
}
@media only screen and (min-width:992px){
    .contenedor{
       max-width: 1100px;
    }
}
h1{
    color: #000000;
    font-family:'Acme', sans-serif;
}

h2{
    font-family: 'Mukta', sans-serif;
    color: #000000;
    font-size: 2em;
    text-transform: uppercase;
    text-align: center;
} 

h2::after{
    content:'';
    margin:0 auto;
    background-image: url(../img/separador.png);
    height: 20px;
    width: 100px;
    display: block;
    background-repeat: no-repeat;
    
}
.seccion{
    padding: 30px 0;
}
.seccion p{
    font-size: 1.2em;
    text-align: center;
}

/*header*/


div.hero{
    background-image: url(../img/Ingenieria2.jpg);
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    
    
}
div.contenido-header{
    padding-top: 40px;
}
nav.redes-sociales{
    text-align: center;
}
nav.redes-sociales a{
    font-size: 2em;
    color:#494ce9;
    margin-right: 20px;
    
}
nav.redes-sociales a:last-child{
    margin-right: 0px;
}
div.empresa img{
    margin-top: 10px;
    margin-bottom: 0;
}
div.empresa{
    text-align: center;
    color:#494ce9;
    margin-bottom: 20px;
}
@media only screen and (min-width:768px){
    div.empresa{
        width: 100%;
        margin: 0 auto;
    }
    div.empresa img{
        width:30%;
    }
}
div.empresa h1{
    font-size: 2.5em;
    line-height: 1;
    color: #101025;

}

@media only screen and (min-width:768px){
    div.empresa h1{
        font-size: 4em;
    }
       
    
}

div.bajo p{
    font-family:'Acme', sans-serif;
    margin: 0 auto;
    
    display: inline-block;
}
p.eslogan{
    font-size: 1.6em;
    color:#494ce9;
    padding: 15px;
    float: left;
   
}
@media only screen and (min-width:768px){
    p.eslogan{
        font-size: 2.5em;
    }
}
p.lugar{
    font-size: 1.2em;
    color: #000000;
    padding: 15px;
    float: right;
    margin-bottom: 20px;
}
div.empresa i{
    color: #ff631b;
    font-size: 1.3em;
}
/* Barra */


div.barra{
    background-color: #494ce9;
    padding: 20px 0;
    
}
div.logo{
    width: 80%;
    
}
div.logo img{
    width: 100%;
}
@media only screen and (min-width:768px){
    div.logo{
        width: 34%;
        float: left;
    }
}

/* navegacion principal*/


nav.navegacion-principal{
    display: none;
}
nav.menu-movil{
    width: 100%;
    
}
nav.menu-movil a{
    font-family: 'Francois One', sans-serif;
    color:#ffffff;
    text-decoration:none;
    text-transform: uppercase;
    font-size: 1.5em;
    transition: all .5s ease;
    width: 100%;
    display: block;
    text-align: center;
}
nav.menu-movil a:hover{
    background-color:#c85b18;
}
nav.menu-movil a:last-child{
    color: #c85b18;
    border: 2px solid #c85b18;
}
nav.menu-movil a:last-child:hover{
    color: #494ce9;
    background-color: #ffffff;
    border: 2px solid #581f04;
}
@media only screen and (min-width:768px){
    nav.navegacion-principal{
        width: 66%;
        float: right;
        text-align: right;
        display: block;
    }
    nav.navegacion-principal a{
        margin-right: 20px;
        padding: 10px 10px;
        line-height: 70px;
        display: inline-block;
    }
    nav.menu-movil{
        display: none;
    }
}
nav.navegacion-principal a{
    font-family: 'Francois One', sans-serif;
    color:#ffffff;
    text-decoration:none;
    text-transform: uppercase;
    font-size: 1.5em;
    transition: all .5s ease;
    
}

nav.navegacion-principal a:hover{
    background-color:#c85b18;
}
nav.navegacion-principal a:last-child{
    color: #c85b18;
    border: 2px solid #c85b18;
}
nav.navegacion-principal a:last-child:hover{
    color: #494ce9;
    background-color: #ffffff;
    border: 2px solid #581f04;
}

/*servicios*/

section.present{
    border: 2px solid #adaefa;
    margin-top:10px;
    margin-bottom: 10px;
    border-radius: 3em;
}
p.info{
    padding: 0 0px;
}
@media only screen and (min-width:480px){
    p.info{
        padding: 0 50px;
        text-align: justify;
    }
}
section.servicios{
    background-color: #adaefa;

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

ul.lista-servicios li{
    padding: 10px;
    float: left;
}
@media only screen and (min-width:480px){
    ul.lista-servicios li{
        width: 50%;
    }
}
@media only screen and (min-width:768px){
    ul.lista-servicios li{
        width: 33.3%;
    }
}
div.servicio{
    position: relative;
    overflow: hidden;
    
}
div.servicio img{
    max-width: 100%;
    filter: gray;
    -webkit-filter: grayscale(1);
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
div.servicio:hover img{
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}
div.servicio a{
    position: absolute;
    bottom:0;
    left:0;
    padding: 15px 10px;
    margin: 0;
    background-color: rgba(0, 0, 0, .55);
    width: 100%;
    font-family: 'Francois One', sans-serif;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
div.servicio:hover a{
    color: #ff631b;
    bottom: 20px;
    background-color:#494ce9;
    padding: 60px 10px;

} 
/* Presupuesto*/

.parallax::before{
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
div.presupuesto{
    position: relative;
    height: auto;

}
div.presupuesto::before {
    background-image: url(../img/Planos.jpg);
    filter: brightness(0.3);
    -webkit-filter: brightness(0.3);
    content: '';
}
div.pres{
    position: relative;
    padding: 120px 0;
}
div.pres p{
    width: 80%;
    text-align: center;
    font-family: 'Francois One', sans-serif;
    font-size: 1.8em;
    float: left;
    color: #ffffff;
}
div.pres h2{
    color: #ffffff;
}
div.pres a{
    background-color: #2a034e;
    color: #f2f2f2;
    float: right;
    font-family: 'Francois One', sans-serif;
    font-size: 2em;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5%;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
div.pres a:hover{
    background-color: #adaefa;
    color:#000000;
    border: 3px solid black;
    -webkit-box-shadow: 25px 20px 17px -1px rgba(0,0,0,0.75);
    box-shadow: 25px 20px 17px -1px rgba(0,0,0,0.75);
}
/* Resumen actividad*/

ul.lista-actividad > li{
    padding: 10px;
}
@media only screen and (min-width:768px){
    ul.lista-actividad > li{
        float: left;
        width: 33.3%;
    }
}

div.tabla-actividad{
    border: 1px solid #adaefa;
    background-color: #ffffff;
    padding: 40px 10px;
    text-align: center;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    min-height: 900px;
    position: relative;
}
div.tabla-actividad:hover{
    transform: scale(1.05);
    border: 1px solid rgb(181, 122, 248);
    box-shadow: 0px 0px 50px #666;
}

div.tabla-actividad img{
    max-width: 100%;
    margin-bottom: 30px;
    
}

div.tabla-actividad ul li{
    font-family: 'Francois One', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
    color: #312626;


}

.button{
    background-color: #adaefa;
    padding: 10px 40px;
    color:#000000;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Francois One', sans-serif;
    text-decoration: none;
    font-size: 1em;
    margin-top: 20px;
    display: inline-block;
    transition: all .3s ease;
    position: absolute;
    bottom: 10px;
    
}
.button:hover{
    background-color: #13158a;
    color:#ffffff;
}

h3{
    font-family: 'Francois One', sans-serif;
    font-weight: bold;
    font-size: 1.5em;

}
/*
div.tabla-actividad ul li:before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-block;
    vertical-align: top;
    padding: 0 5px;
    font-size: 20px;
    color: green;
    -webkit-font-smoothing: antialiased;
    content:"\f00c";
*/

/* Footer*/

footer{
    background-color: #101025;
    padding-top: 40px;
    margin-top: 20px;

}
footer div.contenedor>div{
    color:#ffffff;
    padding: 0px 20px;
    font-size: 12px;
    
}
@media only screen and (min-width:768px){
    footer div.contenedor>div{
        width: 33.3%;
        float: left;
    }
}
footer h3{
    color:#ffffff;
    text-transform: uppercase;
    font-family: 'Francois One', sans-serif;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 20px;
}
footer h3 span{
    color:#404285;
}
footer nav.redes-sociales{
    text-align: left;
}
.footer-informacion p{
    font-family: 'Francois One', sans-serif;
    font-size: 1.4em;
    font-weight: bold;
}

/* Página contacto*/
div.datos-ingenieria{
    margin-bottom: 50px;
    text-align: center;
}

p.bold{
    font-size: 2em;
    font-weight: bold;
}
section.contacto{
    background-color: #101025;
    padding: 20px 10px;
    width: 100%;
}
section.contacto h3{
    font-size: 2em;
    font-family:'Acme', sans-serif;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0;
}
section.contacto p{
    color: #ffffff;
    font-size: 1.5em;
    font-family: 'Francois One', sans-serif;
    
}
section.contacto h2{
    color:#ffffff;
    
}
/*Formulario correo*/

legend.formulario{
    font-size: 1.6em;
    font-family:'Acme', sans-serif;
    color: #ffffff;
    margin-bottom: 50px;
    text-align: center;
}

div.contenedor-campos label{
    font-family: 'Francois One', sans-serif;
    font-size: 1.5em;
    color:#ffffff;
}
form{
    background-color: var(--gris);
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 1rem;
}
form legend{
    text-align: center;
    font-size: 2 rem;
    color:var(--primario);
    margin: 3rem 0;
}
@media(min-width:768px){
    form{
        max-width: 800px;
        margin: 3rem auto;
    }
    .contenedor-campos{
        display:flex;
        justify-content: space-between;
        flex-wrap: wrap;
       
    }
    .campo{
        flex:0 0 calc(50% - 1rem);
    }

}
.campo{
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
}
.campo label{
    flex:0 0 90px;
}
.campo input{
    flex:1;
    height: 4rem;
}
.campo textarea{
    flex:1;
    height: 6rem;

}
.w-100{
    flex: 0 0 100%;

}
.enviar{
    display: flex;
    justify-content: flex-end;

}
.boton{
    background-color: #adaefa;
    padding: 10px 40px;
    color:#000000;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Francois One', sans-serif;
    text-decoration: none;
    font-size: 1em;
    margin-top: 20px;
    display: inline-block;
    transition: all .3s ease;
    
    
}
.boton:hover{
    background-color: #13158a;
    color:#ffffff;
}
/*Pagina renovables*/


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

ul.lista-renov li{
    padding: 10px;
    float: left;
}
ul.lista-renov li p{
    text-align: left;
}
@media only screen and (min-width:480px){
    ul.lista-renov li{
        width: 50%;
    }
}
@media only screen and (min-width:768px){
    ul.lista-renov li{
        width: 33.3%;
    }
}
section.erenov div{
    position: relative;
    overflow: hidden;
    
}
section.erenov div img{
    max-width: 100%;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}
section.erenov div:hover img{
    -webkit-transform: scale(1.3);
    -webkit-filter: grayscale(0);
    transform: scale(1.3);
    filter: grayscale(0);
}
section.erenov div a{
    position: absolute;
    bottom:0;
    left:0;
    padding: 15px 10px;
    margin: 0;
    background-color: rgba(0, 0, 0, .55);
    width: 100%;
    font-family: 'Francois One', sans-serif;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
section.erenov div:hover a{
    color: #ff631b;
    bottom: 20px;
    background-color:#494ce9;
    padding: 60px 10px;

} 
div.renovfondo{
    background-color: #adaefa;
    padding:50px 10px;
}
div.renovtexto{
    border: 2px solid #adaefa;
    padding: 10px;
}

/* Pagina Instalaciones y Actividad*/

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

ul.lista-instalac li{
    padding: 10px;
    float: left;
}
ul.lista-instalac li p{
    text-align: left;
}

@media only screen and (min-width:480px){
    ul.lista-instalac li{
        width: 50%;
    }
    
}
@media only screen and (min-width:768px){
    ul.lista-instalac li.foto{
        width: 33%;
    }
    ul.lista-instalac li{
        width: 64%;
    }
}
section.instalac div{
    position: relative;
    overflow: hidden;
    
}
section.instalac div img{
    max-width: 100%;
    
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
section.instalac div:hover img{
    -webkit-transform: scale(1.3);
    -webkit-filter: grayscale(0);
    transform: scale(1.3);
    filter: grayscale(0);
}
 
div.instalfondo{
    background-color: #adaefa;
    padding:0px 10px;
}
div.instaltexto{
    border: 2px solid #adaefa;
    padding: 25px 10px;
}

/* Pagina eficiencia energética*/

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

ul.lista-eficienc li{
    padding: 10px;
    float: left;
}
ul.lista-eficienc li p{
    text-align: left;
}

@media only screen and (min-width:480px){
    ul.lista-eficienc li{
        width: 50%;
    }
    
}
@media only screen and (min-width:768px){
    ul.lista-eficienc li.foto{
        width: 33%;
    }
    ul.lista-eficienc li{
        width: 64%;
    }
}
section.eficiencia div{
    position: relative;
    overflow: hidden;
    
}
section.eficiencia div img{
    max-width: 100%;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
section.eficiencia div:hover img{
    -webkit-transform: scale(1.3);
    -webkit-filter: grayscale(0);
    transform: scale(1.3);
    filter: grayscale(0);
}
 
div.eficfondo{
    background-color: #adaefa;
    padding:0px 10px;
}
div.efictexto{
    border: 2px solid #adaefa;
    padding: 25px 10px;
}
 /*Pagina ambientales*/

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

ul.lista-ambiental li{
    padding: 10px;
    float: left;
}
ul.lista-ambiental li p{
    text-align: left;
}

@media only screen and (min-width:480px){
    ul.lista-ambiental li{
        width: 50%;
    }
    
}
@media only screen and (min-width:768px){
    ul.lista-ambiental li.foto{
        width: 33%;
    }
    ul.lista-ambiental li{
        width: 64%;
    }
}
section.ambiental div{
    position: relative;
    overflow: hidden;
    
}
section.ambiental div img{
    max-width: 100%;
    
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
section.ambiental div:hover img{
    -webkit-transform: scale(1.3);
    -webkit-filter: grayscale(0);
    transform: scale(1.3);
    filter: grayscale(0);
}
 
div.ambientfondo{
    background-color: #adaefa;
    padding:30px 10px;
}
div.ambienttexto{
    border: 2px solid #adaefa;
    padding: 25px 10px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


