* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}



/*////////////////////////////////////*/
/*////////////////////////////////////*/
/*////////////////////////////////////*/
/*////////////////////////////////////*/


.parallax {
    position: relative;
    top: 0;
    perspective: 100px;
    width: 100%;
    height: 100vh;

    overflow-x: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;

    transition: all 2s ease;
    scroll-behavior: smooth;
}

#parallaxContainer {
    scroll-behavior: smooth;
}

.parallax__no {
    position: relative;
    transform-style: preserve-3d;
    width: 100%;
    height: auto;
}

.parallax__group {
    position: relative;
    transform-style: preserve-3d;
    width: 100vw;
    height: 100vh;

    /*transform: translate3d(300px, 0, -800px) rotateY(30deg);*/
}

.parallax__layer {
    position: absolute;
    top: 20vh;
    bottom: 0;
    left: 0;
    right: 0;
}

    .parallax__picture {
        width: 101%;
        height: 101vh;
    }

    #parallax__imagetext {
        display: block;
        width: 75%;
        height: auto;
        margin-right: auto;
        margin-left: auto;

        padding-top: 300px;
    }

    .parallax__after {
        margin: 0;
        max-width: 100%;
    }

    @media only screen and (min-width: 900px) {
        #parallax__imagetext {
        width: 50%;
        padding-bottom: 500px;
        padding-top: 1000px;
        }
    }



/*  Z-INDEX   */

.parallax__layer--back {
    transform: translateZ(-300px) scale(4);
    
}

.parallax__layer--middle {
    transform: translateZ(-200px) translateY(-150px)  scale(3);
}

.parallax__layer--front {
    transform: translateZ(-100px) scale(2);
    margin-top: -200px;
}




#pgroup0 { /*SECTIUNILE DE INCEPUT RESPECTIV DE SFARSIT, DIN AFARA EFECTULUI PARALLAX*/
    margin-bottom: -70vh;
    z-index: 1;
}

#pgroup100 {
    z-index: -1;
    top:-67vh
}

#pgroup1 { /*SECTIUNILE PARALLAX*/
    z-index: -4;
}

#pgroup2 {
    z-index: -3;
}

#pgroup3 {
    z-index: -2;
}

#pgroup4 {
    z-index: -1;
}

#pgroup5 {
    z-index: -4;
}

#pgroup6 {
    z-index: -2;

}

#pgroup7 {
    z-index: -1;
}


/*////////////////////////////////////*/
/*////////////////////////////////////*/
/*////////////////////////////////////*/
/*////////////////////////////////////*/



p {
    text-align: center;
    font-size: 30px;
    color: #027091;
}



/*.parallax__valuri {
    width: 200vw;
    height: 1vh;
    margin-left: -50vw;
    transition: all 2s ease;
    animation: pvaluri 2s linear infinite;
}

@keyframes pvaluri {
    50% {
        transform: translateX(50px);
    }    
}*/