:root{
    --primario: #1073BA;
    --secundario: #00DA55;
    --gris: #3B3B3B;
    --blanco: #FFFFFF;
    --negro: #1F1E1E;
    --grisClaro: #e1e1e1;

    --separacion: 5rem;

    --fuentePrincipal: 'Roboto', sans-serif;
    --fuenteSecundaria: 'Lato',sans-serif;
}

html{
    box-sizing: border-box;
    font-size: 62.5%;
}

*, *::before, *::after{
    box-sizing: inherit;
}

body{
    background-color: linear-gradient(to right, #0e377d, #26d3b6);;
    font-family: 'Roboto', 'Santserif';
    font-size: 1.6rem;
    line-height: 1.5;
}

/** Globales **/
.contenedor{
    max-width: 120rem;
    width: 90%;
    margin: 0 auto;
}

h1,h2,h3{
    font-weight: 900;
    font-family: var(--fuenteSecundaria);
    margin: calc( var(--separacion) / 2 ) 0;
}

h1{
    font-size: 4.4rem;
}

h2{
    font-size: 3.6rem;
}

h3{
    font-size: 2.8rem;
}

img{
    max-width: 100%;
    display: block;
    height: auto;
}

.header__container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .header__container{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        
    }
}

.name__company{
    font-size: 4rem;
    padding: 0;
    margin: 0;
    font-weight: 800;
}

.menu__container{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .menu__container{
        flex-direction: row;
        padding: 1rem;
    }
}

.menu__link{
    text-decoration: none;
    color: var(--negro);
    text-align: center;
    background-color: var(--blanco);
    border-color: #497BFD;
    padding: 2rem;
    transition: all .350s ease-in-out;
}

.menu__link:hover{
    cursor: pointer;
    background-color: #497BFD;
    color: var(--blanco);
    border-radius: 0.5rem;
}

.selected{
    border-width: 0 0 0.3rem 0;
    border-style: solid;
    border-color: #497BFD;
    border-radius: 0;
}




.banner__section{
    /* background: linear-gradient(to right, #0e377d, #26d3b6); */
    /* background: linear-gradient(#102E46 40%, rgba(16, 46, 70, 0)); */
    background-color: #497BFD;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.banner__container{
    display: flex;
    flex-direction: row;
}

.banner__information{
    padding: 2rem;
}

@media (min-width: 768px) {
    .banner__information{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.banner__text--title{
    position: relative;
    color: var(--blanco);
    font-weight: 500;
    font-size: 3rem;
    margin-bottom: 0;
    text-align: justify;
}

@media (min-width: 768px) {
    .banner__text--title{
        font-size: 4.8rem;
        text-align: left;
    }
}

.banner__text--title[data-scroll="in"]{
    transform: scaleX(1);
}

.banner__text--title::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:var(--blanco);
    transition: 0.5s;
    transform-origin: right;
    transform: scaleX(1);
}

.banner__text--title[data-scroll="in"]::before{
    transform: scaleX(0);
    transition-delay: 1s;
}

.banner__text--complement{
    color: var(--blanco);
    font-weight: 400;
    margin-top: 0;
    text-align: justify;
}


.buttons__container{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .buttons__container{
        flex-direction: row;
        gap: 3rem;
    }
}

.button{
    padding: 1rem 2rem;
}

.button:hover{
    cursor: pointer;
}

.explore{
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    border-width: 0.2rem;
    border-style: solid;
    border-color: var(--blanco);
    color: var(--blanco);
    transition: all 0.350s ease-in-out;
}

.explore:hover{
    border-color: #2B66FF;
    background-color: #2B66FF;
}

.button a {
    text-decoration: none;
    color: var(--blanco);
    text-transform: capitalize;
}

.contact{
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    border-width: 0.2rem;
    border-style: solid;
    border-color: var(--blanco);
    color: var(--blanco);
    transition: all 0.350s ease-in-out;
}

.contact:hover{
    border-color: #2B66FF;
    background-color: #2B66FF;
}

@media (min-width: 768px) {
    .line1{
        width:1.7rem;
        height: 100vh;
        -webkit-box-shadow:0px 0px 59px 0px rgba(255,255,255,0.88);
        -moz-box-shadow: 0px 0px 59px 0px rgba(255,255,255,0.88);
        box-shadow: 0px 0px 59px 0px rgba(255,255,255,0.88);
        background-color: var(--blanco);
    }
}

.home__nosotros{
    background-color: var(--blanco);
    width: auto;
    min-height: 50vh;
}

.home__nosotros__container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
}

@media (min-width: 1280px) {
    .home__nosotros__container{
        flex-direction: row;
    }
}

.home__nosotros--information{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home__nosotros__title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section__title{
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    font-weight: 700;
    color: #497BFD;
}

@media (min-width: 768px) {
    .section__title{
        font-size: 4.8rem;
    }
}


.section__title[data-scroll="in"]{
    transform: scaleX(1);
}

.section__title::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #497BFD;
    transition: 0.5s;
    transform-origin: right;
    transform: scaleX(1);
}

.section__title[data-scroll="in"]::before{
    transform: scaleX(0);
    transition-delay: 1s;
}

.border{
    width: 120%;
    height: 0.5rem;
    background-color: #497BFD;
    text-align: center;
}

.section__content{
    text-align: justify;
}


.image{
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    min-width: 40rem;
    min-height: 20rem;
    border-radius: 100%, 110rem;
}

.notavif.notwebp .image-{
    background-image: url(../img/soldador.jpg);
}

.wepb .image{
    background-image: url(../img/soldador.webp);
}

.avif .image{
    
    background-image: url(../img/soldador.avif);
}

@media (min-width: 768px) {
    .image{
        width: 40rem;
        height: 40rem;
        border-radius: 100%;
    }
}

.contact__section{
    width: 100%;
    height: max-content;
    background-color: var(--blanco);
    padding: 2rem;
}

.form__container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    
}

@media (min-width: 1280px) {
    .form__container{
        flex-direction: row;
    }
}

.form{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.form__title{
    font-weight: 300;
    font-size: 3.6rem;
    color: var(--negro);
    padding: 0;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

.form__input{
    background-color: #EEECEC;
    border: none;
    padding: 1.5rem;
    font-size: 2rem;
    width: 100%;
}

.form__input--message{
    background-color: #EEECEC;
    border: none;
    padding: 1.5rem;
    font-size: 2rem;
    width: 100%;
    max-height: 26rem;
}

.button__form{
    all: unset;
    text-align: center;
    padding: 1.5rem;
    
    background-color: #739AFF;
    color: var(--blanco);
    text-transform: uppercase;
    font-weight: 700;
    outline: inherit;
    cursor: pointer;
    width: 100%;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    transition: all 0.350s ease-in-out;
}

.button__form:hover{
    background-color: #2B66FF;
}

.gallery__section{
    padding: 2rem;
    background-color: #739AFF;
}

.gallery__container{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow: hidden;
}

.galleryOne{
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 30rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 50%;
}

.notavif.notwebp .galleryOne{
    background-image: url("../img/Trabajo1.jpg");
}

.wepb .galleryOne{
    background-image: url("../img/Trabajo1.webp");
}

.avif .galleryOne{
    
    background-image: url("../img/Trabajo1.avif");
}

.galleryTwo{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 30rem;
    background-repeat: no-repeat;
    background-size: cover;
    object-position: center 65%;
}

.notavif.notwebp .galleryTwo{
    background-image: url("../img/Trabajo2.jpg");
}

.wepb .galleryTwo{
    background-image: url("../img/Trabajo2.webp");
}

.avif .galleryTwo{
 
    background-image: url("../img/Trabajo2.avif");
}

.galleryThree{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 30rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 65%;
}

.notavif.notwebp .galleryThree{
    background-image: url("../img/Trabajo4.jpg");
}

.wepb .galleryThree{
    background-image: url("../img/Trabajo4.webp");
}

.avif .galleryThree{
    
    background-image: url("../img/Trabajo4.avif");
}

.galleryFour{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 30rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 35%;
}

.notavif.notwebp .galleryFour{
    background-image: url("../img/Trabajo5.jpg");
}

.wepb .galleryFour{
    background-image: url("../img/Trabajo5.webp");
}

.avif .galleryFour{
    
    background-image: url("../img/Trabajo5.avif");
}

.galleryFive{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 30rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 65%;
}

.notavif.notwebp .galleryFive{
    background-image: url("../img/Trabajo6.jpg");
}

.wepb .galleryFive{
    background-image: url("../img/Trabajo6.webp");
}

.avif .galleryFive{
    
    background-image: url("../img/Trabajo6.avif");
}

.gallery span{
    font-size: 12rem;
    line-height: 1;
    display: block;
    
}

.gallery p{
    position: absolute;
    color: white;
    font-weight: 900;
    margin: 0;
    text-align: center;
    font-size: 200%;
    width: 100%;
    text-transform: uppercase;
    background-color: rgba(45,52,54,0.8);
    line-height: 1.2;
    transform: translate(-100%);
    transition: 1.2s;
}

@media (min-width: 1280px) {
    .gallery p{
        width: 28rem;
        height: auto;
    }
}

@media (max-width: 1280px) {
    .gallery p[data-scroll="in"]{
        transform: translate(0%);
        transition: 1.2s;
    }
}
/* 
.section__title::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #497BFD;
    transition: 0.5s;
    transform-origin: right;
    transform: scaleX(1);
}



.section__title[data-scroll="in"]::before{
    transform: scaleX(0);
    transition-delay: 1s;
} */



@media (min-width: 1280px) {
    
    .galleryOne:hover > p{
        transform: translate(0%);
        transition: 1.2s;
    }
    
    .galleryTwo:hover > p{
        transform: translate(0%);
        transition: 1.2s;
    }
    
    .galleryThree:hover > p{
        transform: translate(0%);
        transition: 1.2s;
    }
    
    .galleryFour:hover > p{
        transform: translate(0%);
        transition: 1.2s;
    }
    
    .galleryFive:hover > p{
        transform: translate(0%);
        transition: 1.2s;
    }    
}

/* background: linear-gradient(to right, #0e377d, #26d3b6);*/
/*.home__contact{
    width: 100%;
    min-height: 50vh;
    
    background-color: #497BFD;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

@media (min-width: 768px) {
    .home__contact{
        flex-direction: row-reverse;
    }
}
.contact__form{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem;
    min-width: max-content;
    margin: 2rem 0;
    width: 100%;
}

@media (min-width: 1280px) {
    .contact__form{
        flex-direction: row-reverse;
   
    }
}

.form__container{
    padding: 2rem;
    width: 100%;
}

.form__title{
    font-weight: 300;
    font-size: 3.6rem;
    color: var(--blanco);
    padding: 0;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

.form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    
}

.form__input{
    background-color: #EEECEC;
    border: none;
    padding: 1.5rem;
    font-size: 2rem;
    width: 100%;
}

.form__input--message{
    background-color: #EEECEC;
    border: none;
    padding: 1.5rem;
    font-size: 2rem;
    width: 100%;
}

.button__form{
    all: unset;
    text-align: center;
    padding: 1.5rem;
    
    background-color: #739AFF;
    color: var(--blanco);
    text-transform: uppercase;
    font-weight: 700;
    outline: inherit;
    cursor: pointer;
    width: 100%;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    transition: all 0.350s ease-in-out;
}

.button__form:hover{
    background-color: #2B66FF;
}




.contact__information{
    font-weight: 800;
    text-transform: uppercase;
    font-size: 10rem;
    text-align: center;
    color: var(--blanco);
}

.image__contact{
    width: 35rem;
    height: auto;
    align-self: center;
}

.redes__contacto{
    padding: 2rem;
    background-color: var(--blanco);
    border-radius: 0.5rem;
}


.redes__title{
    font-size: 4rem;
    color: var(--negro);
    text-align: center;
}

.red__contacto{
    color: var(--negro);
    font-size: 2rem;
    font-weight: 300;
}*/

/* background-color: #1D4571; */