/* czionki */

.main {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

#referencje
{
    background-image: url('../img/Depositphotos_265553552_XL.png');
    background-size: cover;
    background-position: center;
}

.home_desc {
    width: 45%;
    padding-left: 2rem;
    color: white;
    font-size: 1.25rem;
}

.home_desc a {
    margin-top: 2em;
}

.page_content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    color: white;
}

.page_content .right img {
    width: 70%;
    height: auto;
}

#blok_1 .page_content div,
#blok_3 .page_content div,
#blok_5 .page_content div {
    padding-right: 1rem;
}


.right div {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
}

.left,
.right {
    float: left;
    width: 49.8%;
    height: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.left > .description,
.right > .description
{
    margin-left: 0.75rem;
}


.left {
    text-align: right;
}

.right {
    text-align: left;
}

.centerY {
    position: relative;
    top: 50%;
    padding-left: 1%;
    padding-right: 1%;
    transform: translateY(-50%);
}
.centerX {
    text-align: center;
}
.center_Y_100 {
    position: relative;
    top: 100%;
    transform: translateY(-100%);
}

.centerY p {
    /* color: rgba(128, 0, 0, 0.9); */
    padding: 0;
    margin: 0;
    padding-left: 20px;
}

.centerY .link_o {
    color: rgba(241, 87, 34, 0.89);
    padding: 0;
    margin: 0;
    text-decoration: none;
}

.centerY .button {
    padding: 1%;
    border: 1px solid rgba(128, 0, 0, 0.9);
    color: rgba(128, 0, 0, 0.9);
    text-decoration: none;
    cursor: pointer;
}

.centerY .button:hover {
    transition: 1s;
    background-color: rgba(128, 0, 0, 0.9);
    color: white;
}

.svg-fh-rotated {
    position: absolute;
    top: 50%;
    left: 50%;
  }

.svg-fh-rotated h2 {
    color: white;
    transform:  translateX(-50%) translateY(-50%) rotate(-90deg);
    font-size: 4.5rem;
}  

/* home */

    #referencje .center_Y_100 svg
    {
        width: 300px;
    }

    #referencje .wektor_prowadnica
    {
        height: 75%;
        margin-top: 50vh;
    }

    #referencje .wektor
    {
        margin-top: -5px;
    }

/* dane */

    .aplikacja .left
    {
        padding: 0;
        text-align: right;
        background-size: cover;
    }

@media only screen and (max-width: 1200px) {
    * {
        font-size: 16px;
    }

    p {
        margin-left: 20px !important;
    }
}


@media only screen and (max-width: 900px) {
      
    .btn
    {
        margin-left: 10px;
        margin-right: 10px;
    }

    #referencje {
        height: 100vh;
    }
    
    #referencje .left {
        height: 50vh;
    }

    .main {
        height: 100%;
    }
    
    .lastly_b
    {
        float: none !important;
    }
    
    .blocks-box
    {
        display: block;
    }
    
    .blocks-box > div
    {
        height: 300px;
    }
    
    #stopka, #page_1
    {background-size: cover;}
    
    #page_1 {
        /*height: 750px;*/
        height: 100%;
    }
            
    .left,
    .right {
        width: 100%;
        height: 375px;
        margin-left: 0%;
    }

    .right,
    .right div {
        background-size: contain !important;
        padding: 1em;
    }
    
    .page_content:nth-child(4) .left,
    .page_content:nth-child(4) .right
    {
        width: 100%;
        height: 250px;
        margin-left: 0%;
    }
    
    .description-whatthefox
    {
        margin-left: -10%;
    }
    
    .svg-fh-rotated h2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* transform: rotate(90deg); */
        height: 40vh;
        margin-top: -20%;
        /* margin-left: 0%; */
        text-align: center;
    }

    .home_desc {
        width: 90%;
        text-align: center;
    }

    .home_desc a {
        margin-left: 0;
    }
    
    .desc-down {
        position: absolute;
        width: 100%;
        height: 50%;
    }
    

    .desc-down > * {
        position: relative;
        margin-top: 0%;
    }
    
    .content-for-whatthefox {
        left: 0%;
        top: 50px;
        width: 100% !important;
    }
    
    .content-for-whatthefox > svg {
        margin-left: 6% !important;
        width: 75% !important;
        height: 300px;
    }

    .centerY {
        padding-right: 3em;
    }
    
    #referencje .center_Y_100 svg
    {
        width: 90%;
        margin-left: -20px;
    }
    
    .description-whatthefox {
        position: relative;
        clear: both;
        width: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        top: 5pt;
        font-size: 20.5pt !important;
        text-align: right;
        height: 600px !important;
        margin-top: 40px;
        word-break: break-word;
    }
    
    .description-whatthefox > div {
        top: 25%;
        transform: translateY(25%);
        position: relative;
        height: 700px !important;
    }
    
    .white_element {
        height: 1000px;
        width: 100%;
    }
    
    /* formularz */

    .right:nth-child(6) {
        height: 100%;
    }
    
    .content-for-whatthefox .btn {
        position: absolute;
        bottom: 50px;
        left: calc(50% - 1rem);
    }
    
    .under-middle {
        margin: 0;
        padding: 0;
        top: 0;
        left: 0;
    }
      
}
      

@media only screen and (max-width: 576px) {

    * {
        font-size: 14px;
    }

    #referencje .right {
        height: 250px;
    }

    .home_desc {
        font-size: 1.1rem;
    }

    .svg-fh-rotated h2 {
        font-size: 3.5rem;
    }

    #referencje .centerY {
        padding-right: 0;
    }

    .center_Y_100 {
        margin-left: 0;
    }

}


@media only screen and (max-width: 440px) {

    .btn {
        width: 210px !important;
        float: none !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    #referencje .right, 
    #referencje .right div {
        padding: 0;
    }

    #referencje p {
        width: 85%;
    }

    .svg-fh-rotated h2 {
        font-size: 2.5rem;
    }

    .home_desc {
        text-align: left;
    }

    .centerY {
        padding-right: 0;
    }

    .centerY h3 {
        text-align: left;
        margin-left: 0px;
        margin-right: 20px;
    }

    .centerY p {
        text-align: left;
        margin-right: 20px;
    }

    #blok_1 .page_content div, 
    #blok_3 .page_content div, 
    #blok_5 .page_content div {
        padding-right: 0;
    }

    .content-mobile{
        text-align: left;
        padding-left: 10px;
        padding-right: 10px !important;
    }

    #formularz h3 {
        font-size: 1.5rem;
    }

    #formularz .formularz {
        padding: 1.5em;
    }
}