:root{
    --darkcolor: #1a1b1c;
    --lightcolor: #e5e5e5;

}


html {
    box-sizing: border-box;
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-y: scroll;

}

*, 
*:before, 
*:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;

}

img{
    max-width: 100%;
    
}

body{
    font-size: 1.6rem;
    font-family: 'Nunito Sans', sans-serif;
}

h1, h2{
    text-transform: uppercase;
    padding: 5rem 0;
}

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

.hero{
    text-align: center;
    background-image: url('../img/hero-img-2.jpg');
    height: 60vh;
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;

}

.barra img{

    max-width: 60%;
        
}

@media (max-width: 768px){
    nav{
        display: none;
    }
}


nav li{
    list-style: none;
 
    }

    .barra{
        min-height: 5rem;
        padding: 0 3rem;
        
    }

nav li a{
    color: #e5e5e5;
    text-decoration: none;
    font-size: 1.6rem;
    line-height: 1rem;
    position: relative;
    font-weight: 400;
    
}

.lema{
    margin: 0 auto;
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #E2E2E2;
    font-size: 4rem;
    font-family: 'PT Serif', serif;
    font-style: italic;
    
}


.efecto a {
	color: #e5e5e5;
    padding: 10px 0;
    display: block;
    width: 100%;
    align-items: center;
  
}

.efecto a:before{
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    height: 1.5px;
    width: 100%;
    background: #e5e5e5;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.3s

}
  
.efecto a:hover:before{
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s
    
  
}

.galeria{
    display: grid;
    grid-template-columns: repeat(2, 50%);
    margin: 0 auto;
    line-height: 0;
}

.galeria img{
    transition: all .5s;
}

.galeria img:hover{
    transform: scale(0.9);

}

.lightbox {
	/** Default lightbox to hidden */
	display: none;

	/** Position and style */
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
  
}

.lightbox img {
	/** Pad the lightbox image */
	max-width: 90%;
	max-height: 80%;
    margin-top: 2%;
    
}

.lightbox:target {
	/** Remove default browser outline */
	outline: none;

	/** Unhide lightbox **/
	display: block;
}

.inversión{
    text-align: center;
}

.inversion img{
    max-width: 30%;

}

@media (min-width: 768px){

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

    nav li{
        margin-left: 3rem;
        
     
        }

    nav{
        display: flex;
    }

    .galeria{
        display: grid;
        grid-template-columns: repeat(4, 25%);
        margin: 0 auto;
        line-height: 0;
    }
    
    .parallax2{
    background-image: url(../img/puente01-min.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    max-width: 100%;
    min-height: 50vh;
}


.parallax{
    background-attachment: fixed;

}


   

}

.main{
    padding: 3rem;
}

.area-negocios{
    text-align: center;
    margin: 5rem 0;
   
}

.texto p{
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.6rem;
    line-height: 2.4rem;
}

@media (min-width: 768px){

    .historia{
        display: flex;
        text-align: center;
    }

    .history2{
        flex: calc(6%);
    }

    .history{
        flex: calc(70%);
    }

}

.historia{
    text-align: center;
}

.historia p{
    font-size: 1.6rem;
    line-height: 2.4rem;
    text-align: left;
    padding: 1.6rem;
}

.area-negocios{
    border: 1px solid #E2E2E2;
    border-radius: 20px;
    padding: 4rem;
    /* border-bottom: 5px solid rgba(0, 0, 2, 0.85); */
}


@media (min-width: 768px){

    .area-negocios{
        display: flex;
        justify-content: flex-start;
    }

   
    .reverse{
        flex-direction: row-reverse;
    }

.texto{
    flex: calc(50% - 3rem);
    padding: 3rem;
    text-align: center;
}

.area-img{
    flex: calc(50% - 3rem);
    padding: 0rem;
    margin-top: 3rem;
 
}

}

.area-img{
    margin-top: 3rem;
 
}

.area-img img{
-webkit-box-shadow: 13px 13px 1px 2px rgba(228, 228, 228, 1);
-moz-box-shadow:    13px 13px 1px 2px rgba(228, 228, 228, 1);
box-shadow:         13px 13px 1px 2px rgba(228, 228, 228, 1);


}

.proyectos{
    text-align: center;
    margin: 8rem 0;
    text-transform: uppercase;
}

.items-proyectos {
display: grid;
grid-template-columns: repeat(2, 50%);
margin: 0 auto;
line-height: 0;

    
}



@media (min-width: 768px){

    .items-proyectos {
    display: grid;
    grid-template-columns: repeat(4, 25%);
    margin: 0 auto;
    line-height: 0;

        
    }

   
    
}

.items-proyectos li{
    list-style: none;

    
    
    
}


.items-proyectos img{
    max-width: 100%;
    margin: 1rem;
    transition: all .3s;
    outline-color: #ffffff;
 
}




.items-proyectos img:hover{
    outline: 1rem solid var(--lightcolor);
    transform: scale(1.1);

    
}


.team{
    margin: 12rem 0;
    text-align: center;
}

.team2{
    display: grid;
    grid-template-columns: repeat(1, 80%);
    margin: 0 auto;
    line-height: 2rem;
    text-align: center;
    justify-content: center;
    
        
 }

@media (min-width: 768px){

.team2{
display: grid;
grid-template-columns: repeat(4, 25%);
margin: 0 auto;
line-height: 2rem;

    
}


.team img{
    max-width: 80% !important;
}

footer img{
    max-width: 25%;
}

}

.team2 li{
    list-style: none;
    padding: 0rem;
    text-align: center;
}

.team img{
    border-radius: 50%;
    margin: 2rem 0;
    transition: all .6s;
    max-width: 55%;

   
    
}


.team2 li p{
    transition: all .6s;
}

.team2 li span{
    transition: all .6s;
}
.team2 li:hover img,
.team2 li:hover p,
.team2 li:hover span{
filter: url(filters.svg#grayscale);
  /* Firefox 3.5+ */
  filter: gray;
  /* IE6-9 */
  -webkit-filter: grayscale(1);
  /* Google Chrome & Safari 6+ */
    transform: translateY(-20px);
    z-index: 999;

}


.parallax{
    background-image: url(../img/puente01-min.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    max-width: 100%;
    min-height: 50vh;
}








footer{
    background-color:var(--darkcolor);
    margin: 0 auto;
    max-width: 100%;
    min-height: 300px;
    text-align: center;
    padding: 3rem 0;
  


   
}



footer h3{
    color: var(--lightcolor);
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 3rem;
}

footer p{
    margin: 2rem 0;
    color: var(--lightcolor);
    font-size: 1.2rem;
    font-weight: 300;
}

.testimonios{
    height: 400px;
    position: relative;
    display: grid;

}