/* sekcja pierwsza */

#homePegeSection1{
    z-index: 1;
}

#homePegeSection1 .slide{
    position: relative;
    background-position-y: center;
}

#homePegeSection1 .slide::before{
    content: "";
    background-color: rgba(0, 0, 0, 0) !important;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
}

#homePegeSection1  .banner{
    z-index: 100;
}

#homePegeSection1 .slide{
    min-height: 610px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position-x: center;
}

#homePegeSection1 h1{
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 0 10px #212121;
    z-index: 100;
}

#homePegeSection1.buttonsBanner a:hover{
    text-decoration: none;
}

#homePegeSection1 h1 span{
    color: #e30613;
}

#homePegeSection1 .buttonsBanner{
    margin-top: 60px;
}

#homePegeSection1 .buttonsBanner a{
    border: 2px solid #fff;
    color: #fff;
    font-size: 16px;
    padding: 8px 55px;
    border-radius: 50px;
    margin-right: 30px;
    z-index: 100;
}

/* sekcja druga */

#homePegeSection2{
    padding: 90px 0;
}

#homePegeSection2 h2{
    font-weight: 700;
    font-size: 50px;
}

#homePegeSection2 p{
    font-size: 16px;
}

#homePegeSection2 .textsHomePegeSection2{
    padding: 10px 0 40px;
}

#homePegeSection2 .threeImages{
    padding-bottom: 5px;
}

#homePegeSection2 .readMore{
    color: #e30613;
    text-decoration: underline;
}

/* sekcja trzecia */


#homePageSection3{
    background-color: #eef1f3;
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
}

#homePageSection3 .imageHomePageSection3{
    position: inherit;
}

#homePageSection3 .imageHomePageSection3 img{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 50%;
    object-fit: cover;
}

#homePageSection3 .buttonsBanner a{
    color: #e30613;
    border: 2px solid #e30613;
    font-size: 16px;
    padding: 8px 55px;
    border-radius: 50px;
    margin-right: 30px;
    font-weight: 700;
}

#homePageSection3 .buttonsBanner a:hover{
    text-decoration: none;
}

#homePageSection3 .buttonsBanner{
    margin: 60px 0 30px;
}

#homePageSection3 h2{
    font-weight: 700;
    font-size: 50px;
}

#homePageSection3 .textHomePageSection3 p{
    width: 80%;
}

#homePageSection3 .flexTextHomePageSection3{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* sekcja czwarta */

#homePageSection4{
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
}

#homePageSection4 .imageHomePageSection3{
    position: inherit;
}

#homePageSection4 .imageHomePageSection3 img{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 50%;
    object-fit: cover;
}

#homePageSection4 .buttonsBanner a{
    color: #e30613;
    border: 2px solid #e30613;
    font-size: 16px;
    padding: 8px 55px;
    border-radius: 50px;
    margin-right: 30px;
    font-weight: 700;
}

#homePageSection4 .buttonsBanner a:hover{
    text-decoration: none;
}

#homePageSection4 .buttonsBanner{
    margin: 60px 0 30px;
}

#homePageSection4 h2{
    font-weight: 700;
    font-size: 50px;
}

#homePageSection4 .textHomePageSection3 p{
    width: 80%;
}

#homePageSection4 .flexTextHomePageSection3{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* sekcja piata */

#homePageSection5{
    margin: 80px 0 70px;
}

#homePageSection5 h2{
    font-weight: 700;
    font-size: 50px;
}

#homePageSection5 .informationHPS5{
    text-align: center;
}

#homePageSection5 .informationHPS5 img{
    margin-bottom: 20px;
}

#homePageSection5 .informationHPS5 h4{
    font-weight: 700;
    font-size: 16px;
    padding-bottom: 20px;
}

#homePageSection5 .informationHPS5 p{
    margin-bottom: 40px;
}

#homePageSection5 .informationHPS5 .readMore{
    color: #e30613;
    text-decoration: underline;
    font-weight: 500;
}

#homePageSection5 .informationHPS5 .lio{
    padding: 0 20px;
}


/* MOBILE */

@media (max-width: 768px) {
    #homePageSection5 h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {

    /* sekcja pierwsza */

   /* #homePegeSection1{
        padding: 0 10px;
    }*/

    #homePegeSection1 h1{
        font-size: 40px;
    }

    #homePegeSection1 .buttonsBanner {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }

    #homePegeSection1 .buttonsBanner a{
        margin-bottom: 20px;
    }

    #homePegeSection1 .banner{
        width: 100%;
    }

    /* sekcja druga */

    #homePegeSection2 .threeImages .centerThreeImages{
        text-align: center;
        padding-bottom: 20px;
    }

    /* sekcja trzecia */

    #homePageSection3 .textHomePageSection3{
        min-height: 700px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #homePageSection3 .columnReverse{
        flex-direction: column-reverse;
    }

    #homePageSection3 .imageHomePageSection3{
        position: relative;
        min-height: 700px;
    }

    #homePageSection3 .imageHomePageSection3 img{
        width: 100%;
    }

    #homePageSection3 .buttonsBanner{
        text-align: center;
    }

    #homePageSection3 .buttonsBanner a{
        margin-right: 0;
    }

    /* sekcja czwarta */

    #homePageSection4 .textHomePageSection3{
        min-height: 700px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #homePageSection4 .columnReverse{
        flex-direction: column-reverse;
    }

    #homePageSection4 .imageHomePageSection3{
        position: relative;
        min-height: 700px;
    }

    #homePageSection4 .imageHomePageSection3 img{
        width: 100%;
    }

    #homePageSection4 .buttonsBanner{
        text-align: center;
    }

    #homePageSection4 .buttonsBanner a{
        margin-right: 0;
    }

    /* sekcja piąta */

    #homePageSection5 .informationHPS5{
        padding-top: 25px;
        padding-bottom: 25px;
    }

    #homePageSection5 .informationHPS5 p{
        width: 70%;
        margin: 0 auto 40px;
    }

}