.bgFirstSection {
    height: 960px;
    width: 100%;
    background-size: cover;
    background-image: url(http://hliwapodroze.pl/wp-content/uploads/2024/11/bg-onas.webp);
    background-position: center;
}

.firstSection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -850px;
    position: relative;

    h1 {
        font-size: 89px;
        color: #fff;
        font-weight: 800;
        margin: 0px;
        text-shadow: 0px 0px 8px rgba(0,0,0,0.4);
    }

    .line {
        display: block;
        height: 5px;
        background-color: #FFA434;
        width: 300px;
        border-radius: 5px;
        margin-top: 10px;
    }

    .contentOnas {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 1200px;
        width: 100%;
        gap: 30px;
        margin-top: 70px;

        .box1 {
            display: flex;
            gap: 30px;
            z-index: 1;
            max-width: 1200px;
            width: 100%;
            
            .text {
                display: flex;
                flex-direction: column;
                width: 100%;
                max-width: 770px;
                background-color: #F8F8F8;
                gap: 20px;
                padding: 20px;
                box-shadow: 0px 4px 13px rgba(0,0,0,0.5);

                h2 {
                    font-size: 34px;
                    margin: 0px;
                    display: flex;
                    gap: 10px;

                    span {
                        display: block;
                        color: #FFA434;
                        font-size: 34px;
                    }
                }
                p {
                    font-size: 21px;
                    text-align: left !important;
                    margin: 0px;
                    line-height: 25px;
                }
            }
            img {
                max-width: 370px;
                width: 100%;
                box-shadow: 0px 4px 13px rgba(0,0,0,0.5);
            }
        }

        .box2 {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 30px;
            z-index: 1;
            max-width: 1200px;
            width: 100%;

            .img {
                box-shadow: 0px 4px 13px rgba(0,0,0,0.5);
                background-position: center;
                background-size: cover;
                background-repeat: no-repeat;
                width: 100%;
                max-width: 380px;
                height: 450px;
            }
        }
    }

    img.gradient {
        width: 100%;
        position: absolute;
        top: 600px;
    }
}

#offers-section {
    padding-top: 60px;
}
.titleOffers {
    text-align: center;
    color: #474747;
    font-size: 34px;
    font-weight: 800;
    margin-top: 50px;
}

@media (max-width: 1200px) {
    .firstSection {
        .contentOnas {
            gap: 0px;

            .box1 {
                flex-direction: column;
                justify-content: center;
                align-items: center;
                padding: 20px;

                img {
                    max-width: 770px;
                    width: 100%;
                }
            }
            .box2 {
                padding: 20px;
                img {
                    max-width: 770px;
                    width: 100%;
                }
            }
        }
    }
}

@media (max-width: 1024px) {
    .firstSection {
        margin-top: -950px;

        img.gradient {
            top: 500px;
            height: 500px;
        }

        h1 {
            font-size: 50px;
        }

        .contentOnas {
            gap: 0px;

            .box1 {
                img {
                    max-width: 100%;
                    width: 100%;
                }
                .text {
                    h2 {
                        font-size: 21px;

                        span {
                            font-size: 21px;
                        }
                    }
                    p {
                        font-size: 17px;
                    }
                }
            }
            .box2 {
                .img, .img2 {
                    max-width: 100%;
                    height: 250px;
                }
            }
        }
    }

    .titleOffers {
        padding-left: 30px;
        padding-right: 30px;
    }
    #offers-section-mobile {
        padding-top: 0px;

        .offers-grid {
            margin-top: 0px;
        }
    }
}