@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", system-ui;
    text-decoration: none;
    list-style: none;
}

html{
    scroll-behavior: smooth;
}

main{
    box-sizing: border-box;
}

.home{
    min-height: 100vh;
    background: url(../images/background-gp-integral.jpeg) no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
}

/*============REUSABLE CSS CLASSES===========*/

.container{
    max-width: 1120px;
    box-sizing: border-box;
    margin: 0 auto;
}

.grid{
    display: grid;
    gap: 1.2rem;
}

.section{
    padding-block: 5rem 1rem;
    margin: 0 auto;
}

.section__title, .section__subtitle, .section{
    text-align: center;
}

.section__title{
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.section__subtitle{
    color: #fea814;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 500;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    /*background: rgba(0, 0, 0, .4);*/
    /*backdrop-filter: blur(20px);*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(20px);
    z-index: -1;
}

.header::after{
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    transition: .5s;
}

.header:hover::after{
    left: 100%;
}

.logo__image{
    height: 4rem;
    border: solid 4px rgba(0, 0, 0, .1);
    border-radius: 8px;
}

.navbar a{
    font-size: 1.4rem;
    color: white;
    text-decoration: none;
    font-weight: 400;
    margin-left: 2.5rem;
}

#check{
    display: none;
}

.icons{
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: #fff;
    cursor: pointer;
    display: none;
}



/* .home{
    position: fixed;
    top: 25%;
    left: 8%;
} */


.home__img-1, .home__img-2{
    width: 200px;
}

.home__container{
    position: relative;
    row-gap: 3rem;
    padding-block: 2rem 6rem;
}

.home__content{
    row-gap: 2.5rem;
    background-color: rgba(0, 0, 0, .4);
    margin-top: 1rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
    border-radius: 10px;
    width: 100%;
    padding:2rem;
}

.home__data, .home__info{
    text-align: center;
    width: 65%;
}

.home__tittle, .home__description{
    color: #fff;
    text-shadow: 3px 3px 2px rgba(0, 0, 0, .5);
}

.home__tittle{
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 6%;
}

.home__description{
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.home__buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: .5rem;
}


.button__productos, .button__services{
    height: 5rem;
    padding: 1rem 2rem;
}

.button__services, .button{
    color: #fff;
    /* padding: 1rem 2.8rem; */
    font-size: 1.4rem;
    background: linear-gradient(45deg, #dc6504, #dc7704, #fea814);
}

/* .button__services:hover{
    padding: .9rem 2.9rem;
    font-size: 1.35rem;
    transition: .3s;
} */

.button__productos{
    /* padding: 1rem 2rem; */
    background: black;
    /* padding-left: 1.8rem; */
    font-size: 1.4rem;
    color: #dc6504;
    display: flex;
    align-items: center;
    gap: .2rem;
}

.button__productos:hover i{
   transform: translateX(.35rem);
   transition: .3s;
}

/* .button__productos:hover{
    font-size: 1.5rem;
    transition: .3s;
} */

.bx-right-arrow-alt{
    font-size: 1.8rem;
}

.home__info {
    display: flex;
    justify-content: center;
    column-gap: 4.5rem;
    margin-bottom: 1rem;
}

.home__info-tittle{
    color: #fea814;
    font-size: 3rem;
    margin-bottom: .5rem;
    font-weight: 600;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .8);
    text-align: center;
}

.home__info-description{
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .8);
}

.home__images{
   position: relative;
   justify-self: center;
}

.home__img-1{
    width: 350px;
    margin-left: 3.5rem;
}

.home__img-2{
    width: 200px;
    border: 5px solid black;
    position: absolute;
    left: -.87rem;
    bottom: -3.2rem;
}

/* https://www.youtube.com/watch?v=IOyZO_l94ME&list=PL07efmqYWHZ_cxA1GvuXQMA-VYk8dhuiv */

/* ============= ABOUT =========== */
.about{
    background: #fff;
}

.about__container{
    row-gap: 4rem;
    margin: 0 auto;
}

.about__data{
    text-align: center;
}

.about__description{
    margin: 2rem;
}

.about__list{
    text-align: initial;
    grid-template-columns: repeat(2, 200px);
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.about__list-item{
    display: flex;
    row-gap: .5rem;
}

.about__list-item i{
    font-size: 1.25rem;
    color: #dc6504;
    margin-right: .5rem;
}

.button-about{
    padding: .5rem 1.5rem;
    font-weight: 500;
}

.about__image{
    justify-content: center;
}

.about__img{
    width: 80%;
    border: solid 5px black;
    border-radius: 5px;
}

/* ============ CONTACT =========== */

.contact{
    background: #fff;
}

.contact__container{
    row-gap: 3rem;
    padding-block: 1.5rem 3rem;
}

.contact__data{
    grid-template-columns: 350px;
    justify-content: center;
    row-gap: 1.5rem;
}

.contact__card{
    background-color: #fff;
    border: 2px solid rgb(179, 177, 177);
    padding: 1.5rem 2rem;
    text-align: center;
    transition: border-color .4s;
}

.contact__card:hover{
    border-color: #dc6504;
}

.contact__icon{
    width: 48px;
    height: 48px;
    background-color: black;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
}

.contact__title{
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: .5rem;
}

.contact__info{
    font-style: normal;
}

.contact__social{
    display: flex;
    justify-content: center;
    column-gap: 1rem;
}

.contact__social-link{
    font-size: 1.5rem;
    color: #dc6504;
    transition: transform .4s;
}

.contact__social-link:hover{
    transform: translateY(-.25rem);
}

/* =========== FOOTER ========= */

.footer{
    background: #000;
    padding-block: 3.5rem 2rem;
    color: #FDFDFD;
    padding-left: 1.5rem;
}

.footer__container{
    row-gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid black;
}

.footer__logo{
    display: inline-flex;
    flex-direction: column;
    align-items: initial;
    column-gap: .25rem;
}

.footer__logo-img{
    width: 300px;
    border-radius: 5px;
}

.footer__description{
    margin-block: 1rem;
}

.footer__email, .footer__info{
    font-style: normal;
}

.footer__content{
    grid-template-columns: repeat(2, max-content);
    gap: 4rem 3rem;
}

/* .footer__logo, .footer__empresa, .footer__informacion{
    margin-bottom: 1rem;
} */

.footer__title{
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.footer__links, .footer__list{
    display: grid;
    row-gap: .5rem;
}

.footer__link{
    color: #FDFDFD;
}

.footer__link:hover{
    color: #dc6504;
}

.footer__social{
    display: flex;
    column-gap: 1rem;
}

.footer__social-link{
    font-size: 1.7rem;
    color: #dc6504;
    transition: transform .4s;
}

.footer__social-link:hover{
    transform: translateY(-.25rem);
}

.footer__copy{
    display: block;
    text-align: center;
    font-size: .9rem;
}

/*========= BREAKPOINTS ==========*/

@media screen and (max-width: 539px){
    .grid{
        display: block;
    }

    .container{
        padding: 0 auto;
    }
    .section{
        padding-block: 2rem 1rem;
    }
    .section__title{
        font-size: 1.25rem;
    }
    .home{
        padding-top: 5rem;
    }
    .home__content{
        margin-top: 0;
    }
    .home__tittle{
        font-size: 1.6rem;
        color: #fff;
    }
    .home__description{
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .home__data, .home__info{
        margin: 0 auto;
    }

    .home__buttons{
        flex-direction: column;
    }

    .button__services{
        font-size: 1.3rem;
        width: 250px;
    }
    .button__productos{
        width: 250px;
    }
    .home__info-tittle{
        font-size: 2rem;
    }
    .home__img-1{
        width: 220px;
    }
    .home__img-2{
        width: 160px;
    }
    .about__data{
        padding: .5rem 1.5rem;
    }
    .about__list{
        grid-template-columns: repeat(1, 200px);
    }
    .about__image{
        margin-top:1.5rem
    }
    .about__img{
        width: 80%;
    }
    .contact{
        padding-top: 1rem;
    }
    .contact__card{
        margin: 1.5rem;
    }
    .footer__content{
        grid-template-columns: repeat(1, max-content);
    }
    .footer__title{
        margin-bottom: .5rem;
    }
    .footer__logo, .footer__empresa, .footer__informacion{
        margin-bottom: 2.5rem;
    }
}

@media screen and (min-width: 540px){
    .home__container, .about__container, .contact__container{
        grid-template-columns: 450px;
        justify-content: center;
    }
    .home__content{
        width: 100%;
    }
    .footer__content{
        grid-template-columns: repeat(3, max-content);
    }
    .home__tittle{
        font-size: 2rem;
        color: #fff;
    }
    .home__data, .home__info{
        margin: 0 auto;
    }
    .home__info-tittle{
        font-size: 2.5rem;
    }
    /* .home__img-1{
        font-size: 220px;
    }
    .home__img-2{
        font-size: 120px;
    } */
    .footer__content{
        display: flex;
        flex-direction: column;
    }
}
@media screen and (min-width: 768px) {
    .home__data, .home__info{
        margin: 0 auto;
    }
    .about__img{
        width: 70%;
        border: solid 5px black;
        border-left: solid 40px black;
        border-right: solid 40px black;
        border-radius: 5px;
    }
    .contact__data{
    grid-template-columns: repeat(2, 240px);
   }
   .footer__container{
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
   }

}
@media (max-width: 768px){
    .home__data, .home__info{
        width: 90%;
        margin: 0 auto;
    }
    .icons{
        display: inline-flex
    }

    #check:checked~.icons #menu__icons{
        display: none;
    }

    .icons #close__icons{
        display: none;
    }

    #check:checked~.icons #close__icons{
        display: block;
    }

    .navbar{
        position: absolute;
        top:100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0, 0, 0, .6);
        backdrop-filter: blur(40px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: .3s ease;
    }

    #check:checked~.navbar{
        height: 17.7rem;
    }

    .navbar a{
        display: block;
        font-size: 1.3rem;
        text-shadow: 1.5px 1.5px 2px rgb(0, 0, 0);
        margin: 1.5rem 0;
        text-align: center;
        opacity: 0;
        transform: translateY(-50px);
        transition: .3s ease;
    }

    #check:checked~.navbar a{
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.10s * (var(--i)));
    }
}
@media (max-width: 992px){
    .header{
        padding: 1.3rem 5%;
    }
    .home__data, .home__info{
        width: 80%;
    }
}
@media screen and (min-width: 1150px){
    .container{
        margin-inline: auto;
    }
    .section{
        padding-block: 4rem 2rem;
    }
    .section__title{
        font-size: 2.3rem;
    }
    .section__subtitle{
        font-size: 2rem;
    }
    .home__container{
        grid-template-columns: 475px 550px;
        column-gap: 8rem;
        align-items: flex-start;
        padding-top: 5.5rem;
    }
    .home__content{
        margin-top: 0;
        width: 550px;
    }
    .home__data{
        width: 100%;
    }
    .home__images{
        margin-top: 5rem;
    }
    .home__img-1{
        width: 500px;
    }
    .home__img-2{
        width: 250px;
    }
    .about{
        margin-top: 2rem;
    }
    .about__description{
        font-size: 1.5rem;
    }
    .about__list-item i{
        font-size: 2rem;
    }
    .about__list-item span{
        font-size: 1.5rem;
    }

    .button-about{
        padding: .5rem 2.5rem;
        font-weight: 500;
    }

}
/* ============SCROLL BAR========= */
::-webkit-scrollbar{
    width: .8rem;
    background-color: hsl(168, 5%, 59%);

}

::-webkit-scrollbar-thumb{
    width: .6rem;
    background-color: hsl(165, 2%, 35%);
}

::-webkit-scrollbar-thumb:hover{
    width: .6rem;
    background-color: hsl(165, 2%, 25%);
}
.header{
    width: 100%;
}
/*============= PRODUCTS =============*/
.product__card-1{
    background-image: url(../images/corporativa-img.jpeg);
    width: 20%;
    border: 5px solid black;
}