/* <!-- TEXT-SECTION    TEXT-SECTION    TEXT-SECTION    TEXT-SECTION    TEXT-SECTION    TEXT-SECTION    TEXT-SECTION     */


.text-section {
    width: 100%;
    background-color: #fff;
    padding-top: 100px;
}

.about-me-section-text-wrapper,
.text-section-wrapper {
    width: 1042px;
    margin: 0 auto;
}

.about-me-section-text-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-section h2,
.text-section p.text,
.text-section p.quote,
.video-text-section h3 {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
}

.text-section h2,
.video-text-section h3 {
    font-size: 48px;
    line-height: 58px;
    color: #7F8C8D;
    padding-bottom: 5px;
}

.about-me-section-text-wrapper p.text,
.text-section-wrapper p.text,
.text-section p.text {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.05em;
    color: #505050;
}

.about-me-section-text-wrapper h3,
.text-section-wrapper h3,
.text-section h3,
.gallery-section p.text {
    font-family: 'Playfair display';
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 37px;
    text-align: center;
    letter-spacing: 0.15em;
    color: #505050;
    text-transform: uppercase;
}

.text-section p.quote {
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    letter-spacing: 0.05em;
    color: #505050;
}

.text-section p.text,
.text-section h3,
.text-section p.quote {
    padding-top: 12px;
    padding-bottom: 12px;
}

.offer-text p.offer {
    margin: 0 auto;
    width: 180px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
}

.offer-text p.offer a {
    display: block;
    text-decoration: none;
    color: #535252;
    width: 180px;
    transition: 0.3s;
}

.offer-text p.offer a:hover {
    color: #7F8C8D;
    text-decoration: underline;
}


/* PORTFOLIO*/
.portfolio-section-wrapper {
    width: auto;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 24px;
}

.portfolio-section-wrapper img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    padding-bottom: 8px;
}


.blog-section {
    /* padding-top: 70px; */
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background-color: #fff;
    /* height: 1100px; */
    padding-bottom: 10px;
}

.blog-section-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
}

.blog-section .title,
.blog-section .offer-text {
    padding-top: 48px;
    /* padding-bottom: 36px; */
}

.blog-section .title {
    font-family: 'Playfair display';
    font-weight: 300;
    font-size: 28px;
    line-height: 41px;
    text-align: center;
    letter-spacing: 0.15em;
    color: #535252;
    text-transform: uppercase;
}

.img-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 1042px;
    margin: 12px auto;
}

.blog-img {
    margin-top: 24px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 331px;
    height: 419px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-img .blog-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 331px;
    height: 419px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    /* background-color: rgba(0, 0, 0, .4); */
    z-index: 1;
    transition: 0.5s;
}

.blog-section a:nth-child(1) .blog-img {
    background-image: url(../img/sesja-rodzinna-i-noworodkowa/blog/Rectangle\ 12.jpg);
}

.blog-section a:nth-child(2) .blog-img {
    background-image: url(../img/sesja-rodzinna-i-noworodkowa/blog/Rectangle\ 11.jpg);
}

.blog-section a:nth-child(3) .blog-img {
    background-image: url(../img/sesja-rodzinna-i-noworodkowa/blog/Rectangle\ 13.jpg);
}


.blog-section a {
    text-decoration: none;
}

.blog-img .blog-title {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    transition: 0.2s;
    z-index: 2;
    margin-top: 250px;
    transition: 0.3s;
}

.blog-img .blog-title .subtitle {
    text-align: center;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    letter-spacing: 2.4px;
    text-transform: lowercase;
}


.blog-section a:hover .blog-bg {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
    /* background-color: rgba(0, 0, 0, 0.5) */
}

.blog-section a:hover .blog-title {
    display: none;
}

/* SLIDER-REVIEWS-SECTION  SLIDER-REVIEWS-SECTION SLIDER-REVIEWS-SECTION    SLIDER-REVIEWS-SECTION*/
.slider-reviews-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.slider {
    display: block;
    position: relative;
    width: 100%;
    background-color: white;
    overflow: hidden;
    height: 615px;
}

.slider__slides {
    width: 100%;
    padding-top: 66%;
}

.slider__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 1s;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    transform: scale(1);
    z-index: 1;
}

.slider__slide-shadow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 2;
}

.slider__slide .text {
    width: 80%;
    margin: 0 auto;
    color: #fff;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 3;
}

.slider__slide .title {
    font-family: 'Playfair display';
    font-weight: 300;
    font-size: 28px;
    line-height: 41px;
    padding-bottom: 20px;
}

.slider__slide .name {
    padding-top: 20px;
    font-size: 20px;
    line-height: 24px;
}

.slider__slide.active {
    opacity: 1;
}

.slider__slide:nth-child(1) {
    background-image: url(../img/main/slider-reviews/slider1.jpg);
    background-position: top;
}

.slider__slide:nth-child(2) {
    background-image: url(../img/main/slider-reviews/slider3.jpg);
}

.slider__slide:nth-child(3) {
    background-image: url(../img/main/slider-reviews/slider5.jpg);
}

.slider__nav-button {
    position: absolute;
    height: 30px;
    width: 30px;
    background-color: transparent;
    opacity: .8;
    cursor: pointer;
    z-index: 3;
}

#nav-button--prev {
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    z-index: 3;
}

#nav-button--next {
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    z-index: 3;
}

#nav-button--prev::after,
#nav-button--next::after {
    content: "";
    position: absolute;
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    width: 40%;
    height: 40%;
    z-index: 3;
}

#nav-button--next::after {
    top: 50%;
    right: 50%;
    transform: translate(25%, -50%) rotate(-45deg);
}

#nav-button--prev::after {
    top: 50%;
    right: 50%;
    transform: translate(75%, -50%) rotate(135deg);
}

.slider__nav {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
}

.slider__navlink {
    display: inline-block;
    height: 13px;
    width: 13px;
    border-radius: 50%;
    border: 2px #fff solid;
    background-color: transparent;
    opacity: .8;
    margin: 0 1px 0 1px;
    cursor: pointer;
    z-index: 3;
}

.slider__navlink.active {
    background-color: #fff;
    border: 2px #fff solid;
    z-index: 3;
}





@media (max-width: 601px) {

   

    /* HEADER HERO-IMG     HEADER HERO-IMG     HEADER HERO-IMG     HEADER HERO-IMG     HEADER HERO-IMG */
    .hero-img-wrapper {
        height: 560px;
    }

    .hero-img-header .hero-img {
        background-size: cover;
        background-position: 60% bottom;
        background-repeat: no-repeat;
    }

    .hero-text p.upper {
        font-size: 40px;
        height: 48px;
    }

    .hero-text p.lower {
        font-size: 24px;
    }

    .hero-text {
        top: 60%;
        right: 17%;
    }

    .hero-img-header .hero-img::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to left, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
        pointer-events: none;
    }





    .hero-img-section1 .hero-img-wrapper {
        height: 200px;
        overflow: hidden;
    }



    .hero-img-section1 .hero-img {
        margin-top: 120px;
        height: 250px;
        background-position: 50% 70%;
    }


    .offer-text p.offer a {
        text-decoration: underline;
    }

    .work-section-wrapper {
        padding-top: 12px;
    }


        .offer-text p.offer {
            font-size: 12px;
        }

    /* 
HERO IMG SECTION        HERO IMG SECTION        HERO IMG SECTION        HERO IMG SECTION         */


    .hero-img-header .hero-img {
        background-position: 42% top;
    }

    /* <!-- GALLERY-SECTION          GALLERY-SECTION          GALLERY-SECTION          GALLERY-SECTION          GALLERY-SECTION      --> */


    .portfolio-img {
        height: auto;
        aspect-ratio: 3/2;
        object-fit: cover;
    }



    /* <!-- BLOG-SECTION     BLOG-SECTION    BLOG-SECTION    BLOG-SECTION    BLOG-SECTION    BLOG-SECTION --> */

    .blog-section,
    .blog-section-wrapper {
        height: 330vw;
    }

    .blog-section .title,
    .blog-section .offer-text {
        padding-top: 0px;
        padding-bottom: 16px;
    }

    .blog-section .img-container {
        justify-content: center;
        width: 100vw;
    }

    .blog-img,
    .blog-img .blog-bg {
        width: 75vw;
        height: 95vw;
    }

    .blog-section .title {
        font-size: 16px;
    }

    .img-container {
        margin: 0px;
    }

    .blog-section .title {
        line-height: 0px;
    }



    .text-section p.text {
        font-size: 12px;
        line-height: 20px;

    }


    /* <!-- HERO-IMG-SECTION1 HERO-IMG-SECTION1     HERO-IMG-SECTION1       HERO-IMG-SECTION1       HERO-IMG-SECTION1 --> */


    .hero-img-section-title h3 {
        font-size: 28px;
        line-height: 38px;
    }


    .hero-img-section1 .hero-img {
        background-position: center;
    }


    .hero-img-section1 h2 {
        width: 200px;
        font-size: 30px;
    }




    /* <!-- GALLERY-SECTION          GALLERY-SECTION          GALLERY-SECTION          GALLERY-SECTION          GALLERY-SECTION      --> */

    .row1,
    .row2,
    .row3 {
        flex-direction: column;
    }

    .portfolio-img {
        width: 99vw;

        margin-bottom: 3px;
        pointer-events: none
    }

    div.portfolio-section-container .row1 {
        width: 99vw;
        height: 66vw;
        padding-bottom: 20px;
    }


    div.portfolio-section-container .row1 a {
        width: 100%;
        margin-bottom: 2px;
    }



    /* neeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeew */



    /* SLIDER-REVIEWS  SLIDER-REVIEWS      SLIDER-REVIEWS      SLIDER-REVIEWS  */
    .slider {
        height: 250px;
    }

    .slider__nav {
        width: 90vw;
        min-width: 360px;
    }

    .slider__slide .title {
        font-size: 16px;
        padding-bottom: 0;
    }

    .slider__slide .text {
        font-size: 12px;
        line-height: 16px;
        width: 80%;
    }

    .slider__slide .name {
        font-size: 10px;
        padding-top: 0;
    }

    .slider__navlink {
        height: 8px;
        width: 8px;
        margin: 0 18px 0 18px;
    }

}





@media (max-width: 1150px) {


    

    /* <!-- HERO-IMG    HERO-IMG    HERO-IMG    HERO-IMG    HERO-IMG    HERO-IMG    HERO-IMG    HERO-IMG --> */
    /* HEADER HERO-IMG     HEADER HERO-IMG     HEADER HERO-IMG     HEADER HERO-IMG     HEADER HERO-IMG */

    .hero-img-wrapper {
        margin-top: 0;
    }

    .hero-text h1 {
        font-size: 30px;
        line-height: 40px;
    }




    /* <!-- TEXT-SECTION    TEXT-SECTION    TEXT-SECTION    TEXT-SECTION    TEXT-SECTION    TEXT-SECTION    TEXT-SECTION     */



    .text-section-wrapper {
        width: 90%;
    }

    .about-me-section-text-wrapper {
        width: 90%;
        flex-direction: column;
    }

    .text-section h2 {
        font-size: 28px;
        line-height: 38px;
    }




    .text-section h3,
    .gallery-section p.text {
        font-size: 18px;
        line-height: 30px;
    }

    .text-section p.quote {
        font-size: 14px;
        line-height: 20px;
    }



    .portfolio-section-wrapper img {
        width: 100%;
        max-width: 800px;
        height: auto;
        display: block;
        padding-bottom: 4px;
    }


    /* neeeeeeeeeeeeeeeeeeeeeeeeeeeeeewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww */

    /* WORK SECTION    WORK SECTION    WORK SECTION    WORK SECTION    WORK SECTION */

    .about-me-section-wrapper,
    .work-section-wrapper {
        width: 90%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    .text-wrapper {
        width: 80vw;
    }

    .img-wrapper {
        width: 80vw;
        height: 120vw;
        max-width: 330px;
        max-height: 500px;
    }

    .text-wrapper h1 {
        font-size: 18px;
        line-height: 31px;
        padding: 10px;
    }

    .text-wrapper p.desc {
        font-size: 12px;
        line-height: 20px;
        padding: 10px;
    }

    .text-section {
        width: 100%;
        background-color: #fff;
        padding-top: 70px;
    }

    /* PORTFOLIO    PORTFOLIO   PORTFOLIO   PORTFOLIO   PORTFOLIO   PORTFOLIO   PORTFOLIO */

    .portfolio-grid-section {
        margin-top: 0px;
        width: 100%;
        overflow: hidden;
    }

    .slider__navlink {
        height: 10px;
        width: 10px;

    }



}

@media (min-width: 601px) and (max-width: 1150px) {



    .hero-img-section1 .hero-text p {
        font-size: 20px;
    }

    /* <!-- BLOG-SECTION     BLOG-SECTION    BLOG-SECTION    BLOG-SECTION    BLOG-SECTION    BLOG-SECTION --> */


    .blog-section .img-container {
        justify-content: space-around;
        width: 90vw;

    }

    .blog-section .title,
    .blog-section .offer-text {
        padding-top: 0px;
        padding-bottom: 16px;
    }

    .blog-img,
    .blog-img .blog-bg {
        width: 27vw;
        height: 35vw;
    }

    .img-container .blog-title {
        font-size: 18px;
        line-height: 20px;
    }

    .blog-section .title {
        font-size: 20px;
    }

    .text-section p.text {
        font-size: 14px;
        line-height: 20px;

    }




    /* <!-- HERO-IMG-SECTION1 HERO-IMG-SECTION1     HERO-IMG-SECTION1       HERO-IMG-SECTION1       HERO-IMG-SECTION1 --> */


    .hero-img-section-title h3 {
        font-size: 35px;
        line-height: 45px;
    }


    .hero-img-section1 .hero-img {
        background-position: center;
    }


    .hero-img-section1 h2 {
        width: 400px;
        font-size: 40px;
    }




    /* NEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEW */

    .work-section {
        max-height: 550px;
    }

    .about-me-section-wrapper,
    .work-section-wrapper {
        padding-top: 24px;
        flex-direction: row;
    }

    .text-wrapper h1 {
        font-size: 24px;
        line-height: 33px;
        padding: 10px;
    }

    .text-wrapper p.desc {
        font-size: 14px;
        line-height: 22px;
        padding: 10px;
    }

    .text-section {
        width: 100%;
        background-color: #fff;
        padding-top: 70px;
    }

    .text-section h2 {
        font-size: 30px;
        line-height: 40px;
    }

    .text-section h3,
    .gallery-section p.text {
        font-size: 20px;
        line-height: 32px;
    }

    .text-section p.text {
        font-size: 14px;
        line-height: 20px;
    }

    .text-section p.quote {
        font-size: 16px;
        line-height: 22px;
    }

    .offer-text p.offer {
        padding-bottom: 24px;
        font-size: 12px;
    }

    .blog-section .title,
    .blog-section .offer-text {
        padding-top: 0px;
        padding-bottom: 0px;
    }


    .img-container {
        margin-top: 0px
    }

    .blog-img .blog-title {
        margin-top: 140px;

    }

    .slider {
        height: 300px;
    }

    .slider__slide .title {
        font-size: 20px;
        padding-bottom: 10px;
    }

    .slider__slide .text {
        width: 85%;
        font-size: 14px;
        line-height: 24px;
    }

    .slider__slide .name {
        padding-top: px;
        font-size: 16px;
        line-height: 24px;
    }

}

@media (max-width: 360px) {

    .blog-img .blog-title {
        margin-top: 140px;
        font-size: 20px;
        line-height: 24px;
    }

    .slider__slide .text {
        font-size: 10px;
        line-height: 14px;
        width: 80%;
    }

}