/* v1771366866 */

.banner, .banner-main{
    display: flex;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover; /* Zapewnia, że tło będzie wypełniać całą dostępną przestrzeń */
    background-position: center; /* Centruje tło w oknie przeglądarki */
    height: 500px;
    width: 100%;
}
/*default banner*/
.banner-main {
    height: 220px; /* Setting a fixed height for larger screens */
}
/*kontener dla pani*/
.banner .woman{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%; /* More appropriate width for visibility */
    height: 500px; /* Set a fixed height for the woman image */
    overflow: hidden;
}
/*img pani*/
.banner .woman img{
    width: 600px;
    height: 500px;
    object-fit: cover; /* Ensure the image covers the area without distortion */
}
/*div w tekstem*/
.banner-text {
    text-align: left;
    margin: 110px 0 0 280px;
}

.banner-text h1{
    text-align: left;
    font-size: 4rem;
    line-height: 4.5rem;
    margin-bottom: 0;
    height: 140px;
    margin-top: 0;
 }
.banner-text h3{
    font-size: 1.5rem;
    line-height: 2rem;
    color: white;
    height: 70px;
}

.banner-text-main {
     display: flex;
     text-align: center;
     margin: 40px auto 0;

 }

 .banner-text-main h1{
     text-align: center;
     font-size: 4.5rem;
     line-height: 7rem;
     margin-bottom: 3rem;
 }

 @media (max-width: 1700px){
    .banner-main{
        height: 270px;
    }
    .banner-text {
        margin-left: 160px;
    }
    .banner-text-main {
        margin: 90px auto 0;
    }
    .banner-text-main h1{
        font-size: 4.5rem;
        line-height: 5.25rem;
    }
}
@media (max-width: 1450px){
    .banner-text {
        margin-left: 150px;
    }
    .banner-text-main h1{
        font-size: 4.25rem;
        line-height: 5.5rem;
        margin-bottom: 3rem;
    }
}
@media (max-width: 1360px){
     .banner-text {
        margin-left: 110px;
    }
}
@media (max-width: 1240px){
    .banner-text {
        margin-left: 100px;
    }
    .banner-main{
        height: 250px;
    }
    .banner-text-main h1{
        font-size: 4rem;
        line-height: 4.75rem;
    }
}
@media (max-width: 1180px) {
    .banner-text {
        margin-left: 80px;
    }
    .banner-text h1{
        font-size: 3.8rem;
    }
}
@media (max-width: 1080px){
    .banner .woman{
        position: absolute;
        right: 0;
        bottom: 0;
        width: 50%; /* More appropriate width for visibility */
        height: 95%; /* Set a fixed height for the woman image */
        overflow: hidden;
    }
    .banner .woman img{
        width: auto;
        height: 100%;
        object-fit: cover; /* Ensure the image covers the area without distortion */
    }
    .banner-text h1{
        font-size: 3.8rem;
    }
    .banner-text-main h1{
        font-size: 3.75rem;
        line-height: 4.5rem;
    }
}
@media (max-width: 985px){
    .banner-text {
        margin-left: 80px;
    }
}
@media (max-width: 950px){
    .banner-main{
        height: 240px;
    }
    .banner-text-main {
        margin: 95px auto 0;
    }
    .banner-text-main h1{
        font-size: 3.5rem;
        line-height: 4.25rem;
    }
}
@media (max-width: 930px){
    .banner-text {
        margin-left: 60px;
    }
}
@media (max-width: 905px) {
    .banner-text h1 {
        font-size: 3.6rem;
        width: 450px;
    }

    .banner-text h3 {
        font-size: 1.3rem;
        line-height: 1.6rem;
    }

    .banner .woman {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 55%; /* More appropriate width for visibility */
        height: 95%; /* Set a fixed height for the woman image */
        overflow: hidden;
    }

    .banner .woman img {
        width: auto;
        height: 100%;
        object-fit: cover; /* Ensure the image covers the area without distortion */
    }

    .banner-main {
        height: 210px;
    }

    .banner-text-main h1 {
        font-size: 3rem;
        line-height: 3.75rem;
    }
}
@media (max-width: 780px){
    .banner {
        flex-direction: column;
        height: auto; /* Adjust height for mobile devices */
        clip-path: ellipse(100% 98% at 50% 0%); /* Rounded bottom shape */
    }
    .banner .woman {
        width: 100%;
        order: 2; /* Make woman appear below the text */
        position: relative; /* Reset positioning on mobile */
        height: auto;
    }
    .banner .woman img {
        position: relative; /* Reset positioning on mobile */
        width: 100%;
        height: auto; /* Let image scale proportionally */
        object-fit: contain; /* Adjust object-fit if needed */
    }
    .banner-text {
        order: 1;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
        margin-top: 50px;
        padding: 10% 10% 0;
    }
    .banner-text h1 {
        text-align: center;
        font-size: 4rem;
        line-height: 5.5rem;
        width: auto;
        height: 180px;
    }

    .banner-main {
        height: 200px;
    }
    .banner-text-main {
        margin: 85px auto 0;
    }
    .banner-text-main h1 {
        font-size: 3rem;
        line-height: 3.75rem;
    }
    .banner-text h3 {
        font-size: 1.6rem;
        line-height: 2.2rem;
        margin-bottom: 6%;
    }
}