@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&family=Poppins:wght@100;200;300;400;500;600;700&display=swap');


:root{
    --background: #b6b6b665;
    --colorbar: linear-gradient(to right, #002efd 0%, #00fff2 100%);
    --solid-1: #353441;
    --solid-2: #3a3947;
    --Dark:rgb(34, 34, 34);
    --Light: rgb(235, 235, 235);
    --diferent: rgb(218, 117, 3);

}

html, body{
    font-family: 'Poppins', sans-serif;
    height: 100%;  
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    perspective-origin: 25% 50%;
    perspective: 800px;
    background: var(--background);
}

nav, main {
    transition: transform 150ms ease-out;
}

nav {
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0 ;
    width: 16em;
    background-color: var(--solid-1);
    transform: translateX(-16em);
}

nav.menu-active {
    transform:translateX(0) ;
}
nav.menu-hover {
    transform: translateX(-15em);
}

nav i{
    z-index: 100;
    display: block;
    position: absolute;
    top: 1em;
    right: -10em;
    padding: 0.8em 1.3em;
    text-align: center;
    line-height: 60px;
    font-size: 1.2em;
    font-weight: 300;
    color: white;
    background-color: transparent;
    border-color: #fff;        
    cursor: pointer;
}

nav i:hover{
    color: rgb(2, 0, 71);
    background: white;
}
nav i::after{
    color: white;
    background-color: transparent ;
}
    
nav ul{
    margin: 0;
    padding: 0;
}

nav li{
    display: inline-block;
    text-align: center;
    
    padding: 0 1em;
    width: 100%;
    height: 60px;
    color: var(--Light);
    line-height: 60px;
    background-color: var(--solid-1);
    transition: all 0.5s ease-in;  
}
nav li:nth-of-type(2n){
    background-color:var(--solid-2);
}

nav li:hover{
    background: var(--diferent);
    color: white;
    cursor: pointer;
    
}

main{
    z-index: 0;
    position: absolute;    
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    align-items: center;
    background-image: url(Edificios-1.png);
    background-origin: 0% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

main:after{
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, transparent, rgba(33,33,45,.5));
    visibility: hidden;
    opacity: 0;
    transition: opacity 150ms ease-out, visibility 0s 150ms;
}

main.menu-active{
    border-radius: 0.001px;
    transform: translateX(16em) rotateY(15deg);

}
main.menu-active:after{
    visibility: visible;
    opacity: 1;
    transition: opacity 150ms ease-out, visibility 0s;
}
/*   issue  */
main.menu-hover{
    border-radius: 0.001px;
    transform: translateX(1em) rotateY(1deg);
}




.header__stick{
    align-self: center;
    z-index: 100;
    box-sizing: content-box;
    max-width: 100%;
    height: 0.2em;
    background-image:var(--colorbar);
    display: block;
    position: sticky;
    top: 0;

    
}
header.header{
    display: inline;
    height: 300px ;
    max-width: 100%;
}

.img__content{
    text-align: center;
    padding: 1em 0 0 0;
}
.principal__img{
    max-width: 7%;
    
    height: auto;
    width: 500px;
    
}

.searchbox{
    font-size: 1em;
    top: 1em;
    right: 0;
    
    color: var(--Light);
    text-align: right;
    margin-right: 20%;
    position: absolute;
    

    

}
.searchbox i{
    z-index: 100;
    top: 1em;
    padding: 0.9em 1.3em;
    line-height: 1em;
    font-size: 1.2em;
    color: white;
    background-color: transparent;
    cursor: pointer;
}
.searchbox i:hover{
    background-color: white;
    color: rgba(72, 157, 253, 0.712);
}

    


.hero{
    text-align: center;
    align-items: center;
}
.main__title{
    padding-top: 10%;
    color: #fff;
    font-size: 4.6em;
    font-weight: 400;
    line-height: 60px;
}
.main__subtitle{
    color: #fff;
    font-size: 2em;
    font-weight: 300;
}





section.stock{
    margin-top: 10em;
    background: #fff;
    width: 100%;
    text-align: center;
    align-items: center;        
}

.left__stock{
    padding: 1em;
    display: inline-block;
    text-align: end;
    margin-left: -10%;
    cursor: pointer;
    
}

.LS1{
    font-weight: 500;
    font-size: 1.2em;
    text-transform: uppercase;
    line-height: 0px;
    color: rgb(22, 22, 139);
    line-height: 0%;
    cursor: pointer;
    
}

.LS2{
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8em;
    line-height: 0px;
    color: rgb(50, 100, 158);
    line-height: 0%;
    cursor: pointer;
}

.middle__stock{
    padding: 1em;
    display: inline-block;
    color: darkslategrey;
    align-items: center;
    line-height: 1em;
    cursor: pointer;

}
.right__stock{
    display: inline-block;
    color: rgb(14, 204, 14);
    text-align: start;
    cursor: pointer;
}



section.news{
    padding-top: 100px;
    background-color: transparent;
    align-items: center;
    text-align: center;
    display: block;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.news__title{
    color: #fff;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.452);
    
    position: relative;
    z-index: 1;
    font-size: 2.6em;
    font-weight: 400;
    line-height: 60px;    
}

.container-grid{
    text-align: center;
    align-items: center;
    display: block;
    position: relative; 
    max-width: 100%;
    width: 100%;   
    
}
.news__grid{
    display: grid;
    
    height: 700px;
    max-height: 600px;
    grid-template-areas: 
    "article2 article1 article4"
    "article3 article1 article5";
    gap: 10px;
    overflow: hidden;
    align-items: center;
    justify-items: center;
    vertical-align: middle;  
    padding: 0 0 ;      
}

.article{
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.37);
    display: block;
    position: relative;    
    overflow: hidden;  
    background-color: var(--Light);
    width: 80%;
    max-height: 100%;
    height: 100%;
}

.main__article{
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.37);
    display: block;
    top: 79%;
    background-color: #fff;
    width: 100%;
    max-height: 800px;    
    overflow: hidden;
    position: relative;
    
}

article img{
    position: relative;
    display: block;
    max-width: 100%;  
    object-fit: cover;
    background-size: contain;
    cursor: pointer;
}
.article:nth-of-type(1){
    grid-area: article1;
}
.article:nth-of-type(2){
    grid-area: article2;
}
.article:nth-of-type(3){
    grid-area: article3;
}
.article:nth-of-type(4){
    grid-area: article4;
}
.article:nth-of-type(5){
    grid-area: article5;
}

.principal__subtitle{
    font-weight: 600;
    padding: 20px;
    font-size: 2em;
    cursor: pointer;
}
.principal__subtitle:hover{
    color: #000000;
    text-decoration: underline;
}
.subtitle{
    text-align: start;
    line-height: 18px;
    padding: 12px 12px;
    font-weight: 400;
    font-size: 1em;
    cursor: pointer;
    
}
.subtitle:hover{
    color: #000000;
    text-decoration: underline;
}
.date{
    font-size: 0.6em;
    line-height: 12px;
    color: #3a3947;
}
.date:hover{
    color: #000000;
    text-decoration: underline;
}
.news__copy{
    font-size: 0.8em;
    text-align: start;
    padding: 10px 20px 20px 20px;
    overflow: hidden;
    
}


.labour{
    max-width: 100%;
    height: 400px;
    margin-top: 7em;
    margin-bottom: 2em;
    position: relative;
    display: block;
}
.labour__image{
    background-image: url(./ingeniero-1.jpg);
    position: absolute;
    max-width: 1200px;
    width: 80%;
    max-height: 600px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 10% 0 10%;
    border-radius: 20px;    
}

.labour__column{
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.5);
    background-color: var(--Light);
    line-height: 1.8em;
    font-size: 0.9em;
    position: absolute;
    margin: 3% 0 0 53%;
    max-width: 40%;
    width: 100%;
    padding: 20px 20px 25px 25px;
    text-align: center;
}

.title{
    font-size: 2em;
    line-height: 2em;
    text-transform: uppercase;
    cursor: pointer;
}


.cta{
    background-color: #1675c2;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    border-color: transparent;
    padding: 0.5em 0.9em;
    margin-top: 20px;
    border-radius: 5px;   
    cursor: pointer;
}


.services{
    max-width: 100%;
    height: 400px;
    margin-top: 7em;
    margin-bottom: 2em;
    position: relative;
    display: block;
}
.services__image{
    background-image: url(./barco.jpg);
    position: absolute;
    max-width: 1200px;
    width: 80%;
    max-height: 600px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 0 0 10%;
    border-radius: 20px;    
}
.service__column{
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.37);
    background-color: var(--Light);
    line-height: 1.8em;
    font-size: 0.9em;
    position: absolute;
    margin: 3% 0 0 7%;
    max-width: 40%;
    width: 100%;
    padding: 20px 20px 25px 25px;
    text-align: center;
}

.relations{
    max-width: 100%;
    height: 400px;
    margin-top: 7em;
    margin-bottom: 2em;
    position: relative;
    display: block;
}
.relations__image{
    background-image: url(./socios.jpg);
    position: absolute;
    max-width: 1200px;
    width: 80%;
    max-height: 600px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 0 0 10%;
    border-radius: 20px;    
}

.relations__column{
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.37);
    background-color: var(--Light);
    line-height: 1.8em;
    font-size: 0.9em;
    position: absolute;
    margin: 3% 0 0 53%;
    max-width: 40%;
    width: 100%;
    padding: 20px 20px 25px 25px;
    text-align: center;
}




.footer{
    background-color: rgb(175, 175, 175);
    align-items: center;
}

.topics{
    align-items: stretch;
    
    max-width: 100%;
    width: 100%;
    padding: 3% 10% 2% 10% ;
    display: grid;
    grid-template-areas: 
    "ul7 ul7 ul1 ul2"
    "ul3 ul4 ul5 ul6";
    gap: 10px;
}

.f__title{
    text-shadow: -1px 1px 1px rgba(0, 0, 0, 0.397);
    font-weight: 400;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
    line-height: 1em;
    color: rgb(43, 43, 43);
    font-size: 1em;
}
.f__title:hover{
    cursor: pointer;
    text-decoration: underline;
    color: #000000;
}

.f__column{
    
    position: relative;
    
    width: 100%;
    list-style: none;
}

.f__column:nth-of-type(1){
    grid-area: ul1;
}
.f__column:nth-of-type(2){
    grid-area: ul2;
}
.f__column:nth-of-type(3){
    grid-area: ul3;
}
.f__column:nth-of-type(4){
    grid-area: ul4;
}
.f__column:nth-of-type(5){
    grid-area: ul5;
}
.f__column:nth-of-type(6){
    grid-area: ul6;
}  
.f__column:nth-of-type(7){
    grid-area: ul7;
}  
.brands{
    display: block;
    text-align: center;
    position: absolute;
    margin-top: 7%;
    margin-left: 10%;
    font-size: 2em;
}
.fa-instagram:hover{
    color: #ff0eff;
}
.fa-youtube:hover{
    color: #fd0000;
}
.fa-twitter:hover{
    color: #00ccff;
}
.fa-facebook-f:hover{
    color: #143beb;
}
.fa-linkedin:hover{
    color: #0a2080;
}

.items{
    font-size: 0.8em;
}
.items:hover{
    color: #000000;
    cursor: pointer;
    text-decoration: underline;
}

.divisor{
    max-width: 100%;
    max-height: 25px;
    height: 5px;
    margin-bottom: 10px ;
    background-image:var(--colorbar);
}

.pie{
    text-align: center;
    font-size: 0.8em;
    margin-bottom: 1em;
    line-height: 2em;
    gap: 7px;

}
.pie spam{
    font-size: 0.8em;
    padding: 20px 20px 20px 20px;
}
.pie spam:hover{
    background-color: #c4c3c9;
    cursor: pointer;
}

.pie p{
    font-size: 0.8em;
}











@media screen and ( max-width: 820px){

    
body{
    perspective-origin: 25% 50%;
    perspective: 800px;
    background: var(--background);
}

nav, main {
    transition: transform 150ms ease-out;
}

nav {
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0 ;
    width: 16em;
    background-color: var(--solid-1);
    transform: translateX(-16em);
}

nav.menu-active {
    transform:translateX(0) ;
}
nav.menu-hover {
    transform: translateX(-15em);
}

nav i{
    z-index: 100;
    display: block;
    position: absolute;
    top: 1em;
    right: -7em;
    padding: 0.8em 1.3em;
    text-align: center;
    line-height: 60px;
    font-size: 1.2em;
    font-weight: 300;
    color: white;
    background-color: transparent;
    border-color: #fff;
    
        
    cursor: pointer;
}

nav i:hover{
    color: rgb(2, 0, 71);
    background: white;
    
    transition: 3000ms;    
}
nav i::after{
    transform: translateX(4em);
}
    
nav ul{
    margin: 0;
    padding: 0;
}

nav li{
    display: inline-block;
    text-align: center;
    
    padding: 0 1em;
    width: 100%;
    height: 60px;
    color: var(--Light);
    line-height: 60px;
    background-color: var(--solid-1);
    transition: all 0.5s ease-in;
    cursor: pointer;

}
nav li:nth-of-type(2n){
    background-color:var(--solid-2);
}

nav li:hover{
    background: var(--diferent);
    color: white;    
}

main{
    z-index: 0;
    position: absolute;    
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    align-items: center;
    background-image: url(Edificios-1.png);
    background-origin: 0% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

main:after{
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, transparent, rgba(33,33,45,.5));
    visibility: hidden;
    opacity: 0;
    transition: opacity 150ms ease-out, visibility 0s 150ms;
}

main.menu-active{
    border-radius: 0.001px;
    transform: translateX(16em) rotateY(15deg);

}
main.menu-active:after{
    visibility: visible;
    opacity: 1;
    transition: opacity 150ms ease-out, visibility 0s;
}
/*   issue  */
main.menu-hover{
    border-radius: 0.001px;
    transform: translateX(1em) rotateY(1deg);
}




.header__stick{
    align-self: center;
    z-index: 100;
    box-sizing: content-box;
    max-width: 100%;
    height: 0.2em;
    background-image:var(--colorbar);
    display: block;
    position: sticky;
    top: 0;

    
}
header.header{
    display: inline;
    height: 300px ;
    max-width: 100%;
}

.img__content{
    text-align: center;
    padding: 1em 0 0 0;
}
.principal__img{
    max-width: 7%;
    
    height: auto;
    width: 500px;
    cursor: pointer;
}

.searchbox{
    font-size: 1em;
    top: 1em;
    right: 0;
    
    color: var(--Light);
    text-align: right;
    margin-right: 20%;
    position: absolute;
    

    

}
.searchbox i{
    z-index: 100;
    top: 1em;
    padding: 0.9em 1.3em;
    line-height: 1em;
    font-size: 1.2em;
    color: white;
    background-color: transparent;
    cursor: pointer;
}
.searchbox i:hover{
    background-color: white;
    color: rgba(72, 157, 253, 0.712);
}

    


.hero{
    text-align: center;
    align-items: center;
}
.main__title{
    padding-top: 10%;
    color: #fff;
    font-size: 3em;
    font-weight: 400;
    line-height: 60px;
    padding: 10% 10%;
}
.main__subtitle{
    color: #fff;
    font-size: 2em;
    font-weight: 300;
}





section.stock{
    margin-top: 10em;
    background: #fff;
    width: 100%;
    text-align: center;
    align-items: center; 
    justify-content: center; 
    
    
}

.left__stock{
    max-height: 100%;
    width: 30%;
    height: 100%;
    padding: 0.5em;
    display: inline-block;

    margin-left: -10%;
    justify-content: center;    
    justify-items: center;
    
}

.LS1{
    visibility: hidden;
    font-weight: 500;
    font-size: .6em;

    text-transform: uppercase;
    line-height: 0px;
    color: rgb(22, 22, 139);
    line-height: 0px;
    cursor: pointer;

}

.LS2{

    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    font-size: 0.5em;
    line-height: 0px;
    color: rgb(50, 100, 158);
    line-height: 0%;
    cursor: pointer;
}

.middle__stock{

    max-height: 100%;
    width: 20%;
    padding: 1.5em 0em;
    display: inline-block;
    color: darkslategrey;
    align-items: center;
    line-height: 1em;
    justify-content: center;
    justify-items: center;
    cursor: pointer;
}
.right__stock{
    width: 40%;
    display: inline-block;
    color: rgb(14, 204, 14);
    text-align: start;
    cursor: pointer;
}



section.news{
    padding-top: 100px;
    background-color: transparent;
    align-items: center;
    text-align: center;
    display: block;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.news__title{
    color: #fff;
    position: relative;
    z-index: 1;
    font-size: 2.6em;
    font-weight: 400;
    line-height: 60px;    
}

.container-grid{
    text-align: center;
    align-items: center;
    display: block;
    position: relative; 
    max-width: 100%;
    width: 100%;   
    
}
.news__grid{
    display: grid;
    
    height: 700px;
    max-height: 600px;
    grid-template-areas: 
    "article2 article1 article4"
    "article3 article1 article5";
    gap: 10px;
    overflow: hidden;
    align-items: center;
    justify-items: center;
    vertical-align: middle;  
    padding: 0 0 ;      
}

.article{

    display: block;
    position: relative;    
    overflow: hidden;  
    background-color: var(--Light);
    width: 80%;
    max-height: 100%;
    height: 100%;
}

.main__article{
    display: block;
    top: 79%;
    background-color: #fff;
    width: 100%;
    max-height: 800px;    
    overflow: hidden;
    position: relative;
    
}

article img{
    position: relative;
    display: block;
    max-width: 100%;  
    object-fit: cover;
    background-size: contain;
    cursor: pointer;

}
.article:nth-of-type(1){
    grid-area: article1;
}
.article:nth-of-type(2){
    grid-area: article2;
}
.article:nth-of-type(3){
    grid-area: article3;
}
.article:nth-of-type(4){
    grid-area: article4;
}
.article:nth-of-type(5){
    grid-area: article5;
}

.principal__subtitle{
    cursor: pointer;
    font-weight: 600;
    padding: 20px;
    font-size: 2em;
    cursor: pointer;
}
.principal__subtitle:hover{
    text-decoration: underline;
}
.subtitle{
    text-align: start;
    line-height: 18px;
    padding: 12px 12px;
    font-weight: 400;
    font-size: 1em;
    cursor: pointer;
}
.subtitle:hover{
    text-decoration: underline;
}
.date{
    font-size: 0.6em;
    line-height: 12px;
    color: #3a3947;
    cursor: pointer;
}
.date:hover{
    color: #282731;
}
.news__copy{
    font-size: 0.8em;
    text-align: start;
    padding: 10px 20px 20px 20px;
    overflow: hidden;
    
}


.labour{
    max-width: 100%;
    height: 400px;
    margin-top: 7em;
    margin-bottom: 2em;
    position: relative;
    display: block;
    overflow: hidden;
}
.labour__image{
    background-image: url(./ingeniero-1.jpg);
    position: absolute;
    max-width: 1200px;
    width: 80%;
    max-height: 600px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 0 0 5%;
    border-radius: 20px;    
}

.labour__column{
    background-color: var(--Light);
    line-height: 1.8em;
    font-size: 0.9em;
    position: absolute;
    margin: 3% 0 0 53%;
    max-width: 40%;
    width: 100%;
    padding: 20px 20px 25px 25px;
    text-align: center;
}

.title{
    cursor: pointer;
    
    font-size: 2em;
    line-height: 2em;
    text-transform: uppercase;
    cursor: pointer;
}
.title:hover{
    text-decoration: overline;
}
.cta{
    background-color: #1675c2;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    border-color: transparent;
    padding: 0.5em 0.9em;
    margin-top: 20px;
    border-radius: 5px;   
}

.services{
    max-width: 100%;
    height: 400px;
    margin-top: 7em;
    margin-bottom: 2em;
    position: relative;
    display: block;
    overflow: hidden;
}
.services__image{
    background-image: url(./barco.jpg);
    position: absolute;
    max-width: 1200px;
    width: 80%;
    max-height: 600px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 0 0 10%;
    border-radius: 20px;    
}
.service__column{
    background-color: var(--Light);
    line-height: 1.8em;
    font-size: 0.9em;
    position: absolute;
    margin: 3% 0 0 7%;
    max-width: 40%;
    width: 100%;
    padding: 20px 20px 25px 25px;
    text-align: center;
}

.relations{
    max-width: 100%;
    height: 400px;
    margin-top: 7em;
    margin-bottom: 2em;
    position: relative;
    display: block;
    overflow: hidden;
}
.relations__image{
    background-image: url(./socios.jpg);
    position: absolute;
    max-width: 1200px;
    width: 80%;
    max-height: 600px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 0 0 10%;
    border-radius: 20px;    
}

.relations__column{
    background-color: var(--Light);
    line-height: 1.8em;
    font-size: 0.9em;
    position: absolute;
    margin: 3% 0 0 53%;
    max-width: 40%;
    width: 100%;
    padding: 20px 20px 25px 25px;
    text-align: center;
}




.footer{
    background-color: rgb(175, 175, 175);
    align-items: center;
}

.topics{
    align-items: stretch;
    
    max-width: 100%;
    width: 100%;
    padding: 3% 5% 2% 5% ;
    display: grid;
    grid-template-areas: 
    "ul1 ul1 ul3 ul4"
    "ul5 ul2 ul6 ul7";
    gap: 10px;
}

.f__title{
    font-weight: 400;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
    line-height: 1em;
    color: rgb(43, 43, 43);
    font-size: 1em;
    cursor: pointer;
}
.f__title:hover{
    color: #000000;
    text-decoration: underline;
}

.f__column{
    
    position: relative;
    
    width: 100%;
    list-style: none;
}
.f__column:hover{
    color: #000000;
    text-decoration: underline;
}

.f__column:nth-of-type(1){
    grid-area: ul3;
}
.f__column:nth-of-type(2){
    grid-area: ul4;
}
.f__column:nth-of-type(3){
    grid-area: ul5;
}
.f__column:nth-of-type(4){
    grid-area: ul2;
}
.f__column:nth-of-type(5){
    grid-area: ul6;
}
.f__column:nth-of-type(6){
    grid-area: ul7;
}  
.f__column:nth-of-type(7){
    grid-area: ul1;
}  

.brands{
    position: relative;
    text-align: center;
    font-size: 1.5em;
    padding-top: 40%;
}
.fa-instagram:hover{
    color: #ff0eff;
}
.fa-youtube:hover{
    color: #fd0000;
}
.fa-twitter:hover{
    color: #00ccff;
}
.fa-facebook-f:hover{
    color: #143beb;
}
.fa-linkedin:hover{
    color: #0a2080;
}

.items{
    font-size: 0.8em;
}

.divisor{
    max-width: 100%;
    max-height: 25px;
    height: 5px;
    margin-bottom: 10px ;
    background-image:var(--colorbar);
}

.pie{
    text-align: center;
    font-size: 0.8em;
    margin-bottom: 1em;
    line-height: 2em;
    gap: 7px;

}
.pie spam{
    font-size: 0.8em;
    padding: 20px 20px 20px 20px;
}
.pie p{
    font-size: 0.8em;
}























}

@media screen and ( max-width: 500px ){
    

section.news{
    padding-top: 100px;
    background-color: transparent;
    align-items: center;
    text-align: center;
    display: block;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.news__title{
    color: #fff;
    position: relative;
    z-index: 1;
    font-size: 2.6em;
    font-weight: 400;
    line-height: 60px;  
    overflow: hidden;  
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
            line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.container-grid{
    display: block;
    padding: 0 20px;
    text-align: center;
    align-items: center;
    display: block;
    position: relative; 
    max-width: 100%;
    width: 100%;   
    
}
.news__grid{   
    max-height: min-content ;
    overflow: hidden;
    display: block;
    padding: 0 0 ;     
}

.article{
    width: 95%;
    border-radius: 10px;
    display: block;
    margin: 10px 10px;
    position: relative;    
    overflow: hidden;  
    background-color: var(--Light);
    height: 180px;
}

.main__article{
    width: 95%;
    border-radius: 10px;
    margin: 10px 10px;
    display: block;
    top: 0;
    background-color: #fff;
    max-height: 400px;    
    overflow: hidden;
    position: relative;
    
    
}

article img{
    position: relative;
    display: block;
    max-width: 100%;
    width: 100%;  
    height: 100px;
    object-fit: cover;
    background-size: contain;
    overflow: hidden;
}

.principal__subtitle{
    font-weight: 600;
    padding: 20px;
    font-size: 2em;
    overflow: hidden; 
    line-height: 79%; 
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines to show */
            line-clamp: 2; 
    -webkit-box-orient: vertical;
}
.subtitle{
    text-align: start;
    line-height: 18px;
    padding: 22px 12px;
    font-weight: 400;
    font-size: 1em;
    overflow: hidden;  
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines to show */
            line-clamp: 1; 
    -webkit-box-orient: vertical;

}
.date{
    font-size: 0.6em;
    line-height: 12px;
    color: #3a3947;
}
.news__copy{

    font-size: 0.8em;
    text-align: start;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
            line-clamp: 2; 
    -webkit-box-orient: vertical;
 }
    



.labour{
    max-width: 100%;
    height: 400px;
    margin-top: 4em;
    position: relative;
    display: block;
    overflow: hidden;
}
.labour__image{
    background-image: url(./ingeniero-1.jpg);
    background-position-x: 80%;
    position: absolute;
    max-width: 1200px;
    width: 90%;
    max-height: 600px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0% 0 0 5%;
    border-radius: 20px;    
}

.labour__column{
    background-color: var(--Light);
    line-height: 1.2em;
    font-size: 0.9em;
    position: absolute;
    margin: 3% 0 0 43%;
    max-width: 60%;
    width: 100%;
    padding: 20px 20px 25px 25px;
    text-align: center;
    
}
.copy{
    overflow: hidden;

    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 12;
            line-clamp: 2;
    -webkit-box-orient: vertical;

}

.title{
    font-size: 2em;
    line-height: 1.5em;
    text-transform: uppercase;
}

.cta{
    background-color: #1675c2;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    border-color: transparent;
    padding: 0.5em 0.9em;
    margin-top: 20px;
    border-radius: 5px;   
}

.services{
    max-width: 100%;
    height: 400px;
    margin-top: 4em;

    position: relative;
    display: block;
    overflow: hidden;
}
.services__image{
    background-image: url(./barco.jpg);
    position: absolute;
    max-width: 1200px;
    width: 80%;
    max-height: 600px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 0 0 10%;
    border-radius: 20px;    
}
.service__column{
    background-color: var(--Light);
    line-height: 1.2em;
    font-size: 0.9em;
    position: absolute;
    margin: 3% 0 0 7%;
    max-width: 70%;
    width: 100%;
    padding: 20px 20px 25px 25px;
    text-align: center;
}

.relations{
    max-width: 100%;
    height: 400px;
    margin-top: 4em;
    margin-bottom: 2em;
    position: relative;
    display: block;
    overflow: hidden;
}
.relations__image{
    background-image: url(./socios.jpg);
    background-position-x: 80%;
    position: absolute;
    max-width: 1200px;
    width: 80%;
    max-height: 600px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 0 0 10%;
    border-radius: 20px;    
}

.relations__column{
    background-color: var(--Light);
    line-height: 1.2em;
    font-size: 0.9em;
    position: absolute;
    margin: 3% 0 0 33%;
    max-width: 60%;
    width: 100%;
    padding: 20px 20px 25px 25px;
    text-align: center;
}
.relations .title{
    font-size: 1.4em;
    line-height: 1.5em;
    text-transform: uppercase;
}




.footer{
    background-color: rgb(175, 175, 175);
    align-items: center;
}

.topics{
    display: grid;
    grid-template-areas: 
    "f1 f2"
    "f3 f4"
    "f5 f6"
    "f7 f7";
    align-items: stretch;
    max-width: 100%;
    width: 100%;
    padding: 3% 5% 2% 5% ;   
    gap: 10px;
}

.f__title{
    font-weight: 400;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
    line-height: 1em;
    color: rgb(43, 43, 43);
    font-size: 1em;
}

.f__column{
    position: block;  
    width: 100%;
    height: 100%;
    list-style: none;
}
.f__column:nth-of-type(1){
    grid-area: f3;
}
.f__column:nth-of-type(2){
    grid-area: f4;
}
.f__column:nth-of-type(3){
    display: none;
}
.f__column:nth-of-type(4){
    grid-area: f5;
}
.f__column:nth-of-type(5){
    grid-area: f6;
}
.f__column:nth-of-type(6){
    grid-area: f2;
}
.brands{
    position: relative;
    font-size: 1.5em;
    text-align: center;
    margin-top: 0%;
}

.fa-instagram:hover{
    color: #ff0eff;
}
.fa-youtube:hover{
    color: #fd0000;
}
.fa-twitter:hover{
    color: #00ccff;
}
.fa-facebook-f:hover{
    color: #143beb;
}
.fa-linkedin:hover{
    color: #0a2080;
}


.items{
    font-size: 0.8em;
}

.divisor{
    max-width: 100%;
    max-height: 25px;
    height: 5px;
    margin-bottom: 10px ;
    background-image:var(--colorbar);
}

.pie{
    text-align: center;
    font-size: 0.8em;
    margin-bottom: 1em;
    line-height: 2em;
    gap: 7px;

}
.pie spam{
    font-size: 0.8em;

    padding: 20px 20px 20px 20px;
}
.pie p{
    font-size: 0.8em;

}

}
