:root {
    --hero: #4bea55;
    --cosmetic: #9436ff;
    --background: #e6e6e6;
}

*{
    margin: 0;
    padding: 0;
    height: auto;
    font-family: 'Poppins', sans-serif;
}

html, body {
    width: 100%; 
    overflow-x: hidden;
    scroll-behavior: smooth;
} 

.page-background {
    height: 100%; 
    width: 100%; 
    position: fixed; 
    top: 0px; 
    background-color: var(--background); 
    z-index: -10;
}

.flex {
    display: flex;
}

ul {
    list-style: none;
}

p, li {
    color: #000;
    line-height: normal;
    font-size: 0.75rem;
    font-weight: 300;
    line-height: normal;
}
p {
    padding: 20px 0;
}

h1, h2{
    font-size: 2rem;
    line-height: 2.2rem;
    font-weight: 600;
}

h3 {
    line-height: 30px;
    font-weight: 700;
    font-size: 26px;
    color: 000; 
}

h5 {
    font-size: 0.9rem;
    line-height: 1.3rem;
    font-weight: 400;
}

button {
   border: none; 
   background: transparent;
}
a, button a {
    font-size: 0.75rem;
    color: #000;
    font-weight: 400;
    letter-spacing: 0.3px;
    padding-bottom: 5%;
    text-decoration: none;
}

a:hover {
    color: #fff;
}

button a {
    font-weight: 400;
}

@media (min-width: 1635px) {
    h1, h2{
        font-size: 3.5rem;
        font-weight: 800;
        line-height: 3.8rem;
    }
}

@media (max-width: 1634px) and (min-width: 900px) {
    h1, h2{
        font-size: 3rem;
        font-weight: 600;
        line-height: 3.5rem;
    }
}

@media (min-width: 900px) {
    h3{
        line-height: 40px;
        font-weight: 700;
        font-size: 36px;
    }
    h5 {
        font-size: 18px;
        font-weight: 400;
        line-height: 28px;
    }
    p, a, button a, li:not(.contact-footer-li) { 
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.4rem;
    }
    button a {
    font-weight: 500;
    }
}



/*-------------- Shorthand ----------------*/

.shorthand{
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: left;
    align-items: center;
    background-color: #000;
    height: 30px;
}

.shorthand-contact {
    display: none;
}
.shorthand-contact a {
    display: flex;
    width: max-content;
}

.shorthand a {
    font-weight: 200;
    padding: 0 10px;
    color: #fff;
    padding-right: 10px;
}

.shorthand a:hover {
    color: var(--hero);
}

.shorthand img{
    width: 150px;
    margin-right: 10px;
    padding: 0;
    margin-top: 2px;
}

.shorthand-contact img {
    padding-right: 7px;
}

.shorthand-contact a img, .shorthand-menu__label img {
    height: 1.4rem;
    width: auto;
    margin: auto 0;
}
.shorthand-menu__label img {
    margin-left: 5px;
    height: 28px;
}
.shorthand-contact a:hover, .shorthand-menu__label:hover {
    filter: invert(18%) sepia(81%) saturate(479%) hue-rotate(54deg) brightness(91%) contrast(101%);
    -webkit-filter: invert(18%) sepia(81%) saturate(479%) hue-rotate(54deg) brightness(91%) contrast(101%);
    transition: all 150ms ease-in;
}


.shorthand-menu {
    position: fixed;
    top: 0;
    right: 0px;
}

.shorthand-menu__label {
    color: var(--hero);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: right;
    margin: auto 0;
    margin-top: 10px;
    margin-right: 20px;
}

.shorthand-menu__label p {
    display: none;
    line-height: 16px;
}


.menu-links{
    background-color: var(--cosmetic);
    text-align: right;
    position: fixed;
    height: 100%;
    width: 400px;
    top: 0;
    right: -400px;
    text-align: right;
    z-index: 2;
    transition: 0.5s;
    overflow: hidden;
}

.menu-links > img{
    display: block;
    height: 28px;
    width: auto;
    cursor: pointer; 
    padding-right: 7%;
    padding-top: 25px;
    color: #fff;
}

.menu-links > img:hover {
    filter: invert();
    -webkit-filter: invert();
}

.menu-links ul li{
    padding: 4px 0;
    list-style: none;
    display: block;
    position: relative;
}

.menu-links ul{
    padding: 40px;
    padding-right: 5%;
    margin-bottom: 40px;
    margin-top: 30px;
}
.menu-links a{
    font-size: 16px;
    padding: 10px 0;
    font-weight: 400;
    width: max-content;
    position: relative;
}

.menu-links a:hover {
    color: #fff;
}

.menu-links a::after {
    content: '';
    width: 0%;
    height: 3px;
    background-color: #fff;
    display: block;
    transition: all 0.5s ease-out;
    margin-right: 0;
    margin-left: 45%;
    text-align: right;
    position: absolute;
    right: 0;
}

.menu-links a:hover::after{
    width: 100%;
}

.menu-links img:not(.close-icon) {
    display: none;
    position: absolute;
    right: 40px;
    bottom: 40px;
    width: 380px;
    height: auto;
    z-index: -1;
}
.menu-links .close-icon {
    position: absolute;
    top: 0;
    right: 0;
    height: 28px;
    width: auto;
    z-index: 5;
}

.menu-contact {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin-top: 30px;
}
.menu-contact a::after {
    content: none;
}

.menu-contact a{
    font-size: 14px;
    text-align: right;
    align-items: center;
    padding-top: 0;
    color: #fff;
}

.menu-contact a:hover {
    color: #000;
}


@media (min-width: 350px) {
    .shorthand-menu__label p {
        display: inline;
        font-weight: 400;
        color: #fff;
        padding: 0;
        font-size: 22px;
        font-weight: 300;
    }
    .menu-links ul, .menu-links > img:not(.close-icon) {
        padding-right: 40px
    }
    .menu-links a {
        font-size: 20px;
    }
    .menu-contact a{
        font-size: 18px;
    }
}

@media (min-width: 950px) and (min-height: 700px) {
    .shorthand{
        padding: 22px 0 20px 40px;
    }
    .shorthand-contact {
        display: block;
    }
    .shorthand-menu__label {
        margin-right: 40px;
        margin-top: 12px;
    }
    .shorthand-menu__label p {
            padding: 15px 0;
    }
    .menu-links ul li{
        padding: 8px 0;
    }
    .menu-contact {
        display: none;
    }
    .menu-links > img:not(.close-icon){
        display: block;
    }
}

@media (min-width: 950px){
    .menu-links a{
    font-size: 24px;
    }
    .menu-links ul li {
     padding: 10px 0;
    }
    .menu-contact {
    display: none;
    }
    .menu-contact {
    align-items: flex-start;
    margin-top: 0;
    }
    .shorthand-contact {
        display: inherit;
    }
}

/*-------------- Landing ----------------*/


.header{
    margin-top: 15px;
    min-height: 100vh;
    width: 100%;
    /* background-image: linear-gradient(
        rgba(126, 126, 126, 0.7),
        rgba(38, 38, 38, 0.7)); */
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    z-index: 7;
}

.header overlay {
    background: linear-gradient(
        rgba(0, 0, 0, 0.2) 20%,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.2) 80%);
    position: absolute;
    opacity: 1;
    height: 100%;
    width: 100%;
    z-index: 2;
    transition-duration: 1s;
}

.text-box{
    transform: translate(-50%, -55%);
    width: 80%;
    max-width: 900px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    z-index: 3;
}

.text-box h1{
    margin-top: 60px;
}

.text-box h5{
    margin: 40px auto;
    color: #fff;
    max-width: 600px;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    padding: 15px 35px;
    font-size: 16px;
    position: relative;
    cursor: pointer;
    transition: 1s;
    background: var(--hero);
    color: #000;
    border: none;
}

.hero-btn:hover{
    background: var(--cosmetic);
}

.hero-btn:hover a{
    color: #fff;
}



.header__label {
    display: none;
}

.arrow-down{ 
    height: 40px;
    width: auto;
    margin-top: 0.2rem;
    filter: invert(18%) sepia(81%) saturate(479%) hue-rotate(54deg) brightness(91%) contrast(101%);
    -webkit-filter: invert(18%) sepia(81%) saturate(479%) hue-rotate(54deg) brightness(91%) contrast(101%);
}
.arrow-down:hover, .arrow-down:active {
    filter: none;
    -webkit-filter: none;
    transition: all 150ms ease-in;
}

@media (min-width: 900px) {
    .text-box{
    transform: translate(-50%, -50%);
    }
    .header__label {
        display: block;
        position: absolute;
        bottom: 60px;
        right: 0;
        margin-right: 40px;
        z-index: 2;
        text-align: right;
    }

    .header__label p {
        color: #fff;
        padding: 0;
        margin-bottom: -2px;
        font-weight: 400;
    }

    .header__label a {
        color: var(--hero);
    }

    .header__label a:hover {
        color: #fff;
    }

    .header__label-text {
        position: relative;
    }

    .label1 {
        transform: translateY(200%);
        opacity: 1;
        animation-name: ban1;
        animation-delay: 0s;
    }
    .label2 {
        transform: translateY(100%);
        opacity: 0;
        animation-name: ban2;
        animation-delay: 8s;
    }
    .label3{
        opacity: 0;
        animation-name: ban3;
        animation-delay: 16s;
    }

    div.label1, div.label2, div.label3 {
        opacity: 0%;
        animation-duration: 24s;
        animation-iteration-count: infinite;
    }

    .header__label-text::after {
        content: '';
        width: 80%;
        height: 2px;
        margin: 10px 0 10px 20%;
        background-color: var(--hero);
        display: block;
    }
}


.ba {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 61% 0%;
    z-index: -3;
    /*filter: contrast(60%);*/
}
    
div.ban1, div.ban2, div.ban3 {
    opacity: 0%;
    animation-duration: 24s;
    animation-iteration-count: infinite;
}

div.ban1 {
    animation-name: ban1;
    animation-delay: 0s;
}

div.ban2 {
    animation-name: ban2;
    animation-delay: 8s;
}

div.ban3 {
    animation-name: ban3;
    animation-delay: 16s;
}

@keyframes ban1 {
    0%   {opacity: 0%;}
    5%  {opacity: 100%;}
    33.3%  {opacity: 100%;}
    35%  {opacity: 0%;}
    100% {opacity: 0%;}
}

@keyframes ban2 {
    0%   {opacity: 0%;}
    5%  {opacity: 100%;}
    33.3%  {opacity: 100%;}
    35%  {opacity: 0%;}
    100% {opacity: 0%;}
}

@keyframes ban3 {
    0%   {opacity: 0%;}
    5%  {opacity: 100%;}
    33.3%  {opacity: 100%;}
    35%  {opacity: 0%;}
    100% {opacity: 0%;}
} 



/*-------------- Intro + Partnerzy ----------------*/

.partnerzy {
    width: 90%;
    margin: 140px auto;
    margin-bottom: 0;
}

.partnerzy-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.partnerzy-flex a {
    padding-bottom: 0;
}

.partnerzy-flex img {
    height: 40px;
    filter: grayscale(100%);
}

.partnerzy-flex img:hover {
    filter: none;
}

@media (min-width: 900px) {
.partnerzy-flex img {
    height: 50px;
    transition: height 0.25s ease-out;
    }
.partnerzy-flex img:hover {
    height: 60px;
    }
}

/*-------------- AR Baner ----------------*/

.AR-banner {
    width: 90%;
    margin: 140px auto;
    height: 100%;
}
.AR-banner .flex-container {
    display: grid;
    grid-template-columns: 4fr 6fr;
    grid-template-rows: 1fr;
    gap: 0;
    height: 100%;
}

.flex-container .flex-col-1 img {
    height: 100%;
    width: 100%;
    margin-bottom: -7px;
    object-fit: cover;
    object-position: 35% 65%;
}

.flex-container .flex-col-2 {
    background-color: #fff;
    height: 100%;
}
.flex-container .flex-col-2 .container {
    padding: 30px;
    position: relative;
}
.flex-container .flex-col-2 .container h2 {
    margin-top: 30px;
    text-align: right;
    font-weight: 700 !important;
    /* line-height: 3.7rem; */
}

.flex-container .flex-col-2 .container.green {
    padding: 30px;
    background-color: var(--hero);
}
.flex-container .flex-col-2 .container.green img {
    filter: invert();
    width: 100%;
    max-width: 300px;
    height: auto;
}

.AR-banner h4 {
    font-size: 1.1rem;
    line-height: 1.4rem;
}
.AR-banner h4.big {
    text-transform: uppercase;
}
.flex-container .flex-col-2 .container > h4 {
    margin-bottom: 30px;
}
.flex-container .flex-col-2 .container > h4::after {
    margin-top: 30px;
    content: '';
    width: 33%;
    height: 4px;
    background: #000;
    display: block;
}
.flex-container .flex-col-2 .container div h4 {
    margin-bottom: 15px;
}
.flex-container .flex-col-2 .container div ul {
    list-style: square;
    list-style-position: inside;
}
.flex-container .flex-col-2 .container div ul li {
    font-weight: 600;
}

.flex-container .flex-col-2 .container .background-arrow {
    display: none;
}
    
.AR-banner .cta-container {
    background: linear-gradient(
        to right, 
        rgb(114, 19, 222),
        var(--hero));
    padding: 30px;
    position: relative;
    z-index: 1;
}
.AR-banner .cta-container:hover {
    transition: all 500ms ease-out;
    background: var(--cosmetic);
}
.AR-banner .cta-container button {
    width: 100%;
    display: flex;
    background-color: transparent;
    justify-content: right;
    align-items: center;
}

.AR-banner .cta-container button img {
    margin-left: 30px;
    height: 3rem;
    -webkit-filter: brightness(0);
    filter: brightness(0);
}
.AR-banner .cta-container:hover img {
    margin-left: 20px;
    transition: all 500ms ease-out; 
    -webkit-filter: brightness(1000%);
    filter: brightness(1000%);
}
.AR-banner .cta-container button h4 {
    text-align: right;
    max-width: 500px;
}
.AR-banner .cta-container:hover h4 {
    color: #fff;
}

@media screen and (min-width: 1500px) {
    .flex-container .flex-col-2 .container > h4,
.flex-container .flex-col-2 .container div {
    margin-left: 150px;
}
    .flex-container .flex-col-2 .container .background-arrow {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        transform: translateX(-54.5%);
        height: 100%;
        width: auto;
        /* -webkit-filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(1149%) hue-rotate(188deg) brightness(115%) contrast(80%);
        filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(1149%) hue-rotate(188deg) brightness(115%) contrast(80%); */
    }
    .AR-banner .flex-container {
        display: flex;
        align-items: flex-end;
    }
    .flex-container .flex-col-2 .container.green {
        padding: 60px;
    }
    .flex-container .flex-col-1 {
        flex-basis: 40%;
    }
    .flex-container .flex-col-2 {
        flex-basis: 60%;
    }
    .flex-container .flex-col-1 img {
        width: 100%;
        height: auto;
    }
}

@media screen and (min-width: 900px) {
    .flex-container .flex-col-2 .container,
    .flex-container .flex-col-2 .container.green {
        padding: 40px;
    }
    .flex-container .flex-col-2 .container h2 {
        margin-top: 40px;
    }
    .flex-container .flex-col-2 .container > h4 {
        margin-bottom: 20px;
    }
    .flex-container .flex-col-2 .container > h4::after {
        margin-top: 20px;
    }
    .flex-container .flex-col-2 .container div h4 {
        margin-bottom: 20px;
    }
    .AR-banner .cta-container button img {
        margin-left: 30px;
    }
}

@media screen and (min-width: 1200px) {
    .AR-banner {
        width: 80%;
    }
}

@media screen and (min-width: 500px) {
    .AR-banner h4.big {
        font-size: 1.5rem;
        line-height: 1.9rem;
    }
    .flex-container .flex-col-2 .container div ul li {
        font-weight: 600;
        font-size: 1rem;
    }
}

@media screen and (max-width: 899px) {
    .AR-banner .flex-container {
        grid-template-columns: 1fr;
        grid-template-rows: 30vh 1fr;
    }
}
@media screen and (max-height: 599px) {
    .AR-banner .flex-container {
        grid-template-rows: 40vw 1fr;
    }
}
@media screen and (max-width: 400px) {
    .AR-banner {
        width: 100%;
    }
}

/*-------------- Oferta ----------------*/

.oferta{
    width: 90%;
    margin: 0 auto;
    padding-top: 140px;
    text-align: center;
}

.row{
    display: flex;
    justify-content: space-between;  
    opacity: 0.5;
    transform: translateY(50px);
}
.row.animating {
    transform: translateY(0%);
    opacity: 1;
    transition: transform 500ms ease-in-out, opacity 250ms ease-in-out;
}

.oferta-pic{
    flex-basis: 50%;
    display: block;
    margin-bottom: 50px;
    text-align: left;
    filter: none;
    position: relative;
}
.oferta-pic img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.oferta-pic-desc {
    background: transparent;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    transition: all 500ms ease-in;
}
.oferta-pic:hover .oferta-pic-desc {
    bottom: 30px;
    background: rgba(35, 35, 35, 0.7);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.oferta-pic-desc h5 {
    margin: 0;
    margin-bottom: 50px;
    font-weight: 500;
    color: var(--hero);
    left: 0px;
    position: absolute;
    opacity: 0;
    transition: bottom 500ms, opacity 500ms, color 250ms;
    padding: 0 20px !important;
    z-index: 5;
}
.oferta-pic:hover h5 {
    opacity: 1;
}
.oferta-pic-desc h5:hover {
    color: #fff;
}
.oferta-pic-desc span {
    color: #fff;
}
.bottom-pic .oferta-pic-desc h5 {
    top: 40px;
}
.top-pic .oferta-pic-desc h5 {
    bottom: 0px;
}

.oferta-desc{
    min-height: 400px;
    padding: 30px;
    flex-basis: 50%;
    display: block;
    margin-bottom: 50px;
    text-align: left;
    background-color: #fff;
}
.oferta-desc p{
    padding: 0;
    margin: 30px 0;
}
.oferta-desc h3{
    margin-bottom: 20px;
    color: 000;
}
.oferta-desc h3::after{
    content: '';
    width: 50%;
    height: 5px;
    background: #000;
    display: block;
    margin-top: 25px;
}

@media (min-width: 1400px) {
    .oferta-pic {
       flex-basis: 70%; 
    }
    .oferta-desc {
        flex-basis: 30%;
        padding: 60px;
        min-height: 500px;
    }
    .top-desc{
        margin-top: 93.75px;
    }
    .top-pic, .top-pic .oferta-pic-desc {
    clip-path: polygon(
        240px 0%, 
        100% 0, 
        100% 100%,  
        0% 100%, 
        0% 240px)
    }
    .bottom-desc {
        margin-top: 0; 
        margin-bottom: 10%; 
    }
    .bottom-pic, .bottom-pic .oferta-pic-desc {
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% 100%, 
        240px 100%, 
        0 calc(100% - 240px), 
        0 0);
    }
    .oferta-pic-desc h5 {
        font-size: 1.4rem;
        padding: 0 30px !important;
    }
}

@media (min-width: 900px) {
    .oferta-desc p{
        margin: 50px 0;
    }    
    .oferta{
        width: 80% !important;
    }
}

@media (min-width: 500px) {
    .top-desc {
        clip-path: polygon(
            0 0, 
            calc(100% - 120px) 0, 
            100% 120px, 
            100% 100%, 
            0 100%);
    }
    
    .bottom-desc {
        clip-path: polygon(
            0 0, 
            100% 0, 
            100% calc(100% - 120px), 
            calc(100% - 120px) 100%, 
            0 100%);
    }
}

@media (max-width: 750px) {
    .row {
        flex-direction: column;
    }
    .oferta-pic {
        margin-bottom: 0;
    }
    .oferta-desc{
        flex-basis: 100%;
        min-height: 200px;
    }
    .top-desc {
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% calc(100% - 120px), 
        calc(100% - 120px) 100%, 
        0 100%);
    }
    .oferta-pic-desc h5 {
        margin-bottom: 40px;
    }
}

@media (max-width: 500px) {
    .top-desc {
        clip-path: none;
    }
}



/*---------- Liczby -------*/

.liczby{
    margin-top: 120px;
    width: 100%;
    background-image: linear-gradient(
        to right, 
        rgb(114, 19, 222), 
        var(--hero));
    background-color: var(--cosmetic);
    background-position: center;
    background-size: cover;
    text-align: left;
    padding: 150px 10%;
    box-sizing: border-box;
    transition: all 0.5s ease-in-out;
    transition-delay: 0.5s;
}

.liczby h3 {
    color: #fff;
    font-weight: 400;
    width: 50%;
}

.liczby h3::after {
    content: '';
    width: 50%;
    height: 3px;
    background-color: #fff;
    margin-top: 15px;
    display: block;
}

.liczby-flex {
   display: flex; 
   justify-content: space-around;
   flex-wrap: wrap;
   column-gap: 80px;
   row-gap: 30px;
   text-align: center;
   transition: all 5s ease-in-out;
   transition-delay: 2s;
}

.liczby-label {
    display:none;
}

.liczby.animating h4 {
    font-size: 75px;
    transition: all 500ms ease-in-out;
    transition-delay: 500ms;
}

.liczba_container {
    display: block;
}

.liczby h4 {
    color: #fff;
    font-weight: 600;
    font-size: calc(20px + 4vw);
    letter-spacing: -2px;
    margin-top: 30px;
    font-size: 60px;
    transition: all 500ms ease-in-out;
}

.liczby h5 {
    color: #fff;
    margin-top: 20px;
    padding-bottom: 0px;
    line-height: normal;
}

@media (min-width: 1535px) {
    .liczby {
        width: 70%;
        margin-left: 10%;
        margin-top: 120px;
        padding: 180px 120px;
        padding-right: 15%;
        clip-path: polygon(
        0% 0%, 
        calc(100% - 250px) 0%, 
        100% 50%, 
        calc(100% - 250px) 100%, 
        0% 100%);
    }
    .liczby.animating {
        width: 85%;
    }
    .liczby-flex {
        column-gap: 60px;
        justify-content: space-between;
    }
    .liczby h4 {
        font-size: 80px;
    }
    .liczby.animating h4 {
        font-size: 100px;
    }
    .liczby h5 {
        padding-bottom: 30px;
    }
    .liczby-label {
        transform: translateY(-100%);
        margin-bottom: 0px;
        display: block;
    }
}

@media (max-width: 1534px) and (min-width: 1210px) {
    .liczby {
        width: 85%;
        margin-top: 120px;
        padding: 180px 120px;
        padding-right: 15%;
        clip-path: polygon(
        0% 0%, 
        calc(100% - 250px) 0%, 
        100% 50%, 
        calc(100% - 250px) 100%, 
        0% 100%);
    }
    .liczby.animating {
        width: 100%;
    }
    .liczby h4 {
        font-size: 75px;
    }
    .liczby.animating h4 {
        font-size: 95px;
    }
    .liczby-flex {
        column-gap: 60px;
        justify-content: space-between;
    }
    .liczby h5 {
        padding-bottom: 30px;
    }
    .liczby-label {
        transform: translateY(-100%);
        margin-bottom: -10px;
        display: block;
    }
}

@media (max-width: 1209px) and (min-width: 988px) {
    .liczby {
        padding-right: 15%;
        clip-path: polygon(
        0% 0%, 
        calc(100% - 250px) 0%, 
        100% 50%, 
        calc(100% - 250px) 100%, 
        0% 100%);
    }
    .liczby-flex{
        justify-content: left;
    }
    .liczby-label {
        transform: translateY(-100%);
        margin-bottom: -30px;
        display: block;
    }
}

@media (max-width: 987px) and (min-width: 650px) {
    .liczby {
        padding-right: 15%;
        clip-path: polygon(
        0% 0%, 
        calc(100% - 250px) 0%, 
        100% 50%, 
        calc(100% - 250px) 100%, 
        0% 100%);
    }
    .liczby-flex{
        justify-content: left;
    }
    .liczby-label {
        margin-bottom: 40px;
        display: block;
    }
}



/*---------------- Kroki ----------------*/

.kroki{
    padding-top: 140px;
    padding-bottom: 100px;
    text-align: left;
}

.label {
    padding-bottom:0;
    text-align: left;
    grid-area: label;
    padding-right: 30px;
}

.label h3::after{
    content: '';
    width: 25%;
    height: 5px;
    background: #000;
    display: block;
    margin-top: 35px;
}

.grid {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-areas: 
        'label'
        'col-1'
        'col-2'
        'col-3';
    gap: 30px;
}

.kroki h5 {
    padding: 20px 0;
    margin-top: 5px;
}

.kroki-col{
    padding: 40px;
    background-color: #fff;
    position: relative;
    clip-path: polygon(
        calc(100% - 100px) 0, 
        100% 120px, 
        100% 100%, 
        0 100%, 
        0 0);
    opacity: 0;
}

.col-1 {
    grid-area: col-1;
    transform: translateY(50px);
}

.col-2 {
    grid-area: col-2;
    transform: translateY(50px);
}

.col-3 {
    grid-area: col-3;
    transform: translateY(50px);
}

.kroki-col.animating {
    transform: translateY(0);
    opacity: 1;
    transition: transform 500ms ease-in-out, opacity 250ms ease-in-out;
}

.kroki-col img{
    height: 60px;
    padding-bottom: 20px;
}

.kroki-col-number {
    bottom: -150px;
    position: absolute;
    left: 40px;
    padding: 0px 20px 0px 9px;
    z-index: -2;
}
.kroki-col-number p {
    font-size: 300px;
    font-weight: 900;
    color: rgb(0, 0, 0);
    opacity: 0.1;
}

.kroki p{
    margin-bottom: 60px;
    padding: 25px 0;
}


@media (min-width: 1510px){
    .kroki{
        padding-top: 200px;
        padding-bottom: 150px;
    }
    .kroki p{
        margin-bottom: 100px;
        line-height: 1.4rem;
    }
    .label {
        padding-bottom: 30px;
    }
    .kroki .grid:not(.portfolio__grid-AR){
        grid-template-columns: 
            calc(33% - 20px) calc(33% - 20px) calc(33% - 20px);
        grid-template-areas: 
            'label label .'
            'col-1 col-2 col-3';
        column-gap: 40px;
        row-gap: 180px;
    }
    .col-1 {
        transform: translateY(-70px);
    }
    .col-1.animating {
        transform: translateY(-120px);
    }
    .col-3.animating {
        transition-delay: 250ms;
    }
    .col-3 {
        transform: translateY(169px);
    }
    .col-3.animating {
        transform: translateY(119px);
        transition-delay: 500ms;
    }
    .kroki-col-number {
        bottom: 20px;
    }
} 

@media (min-width: 1100px) and (max-width: 1509px){
    .grid:not(.portfolio__grid-AR){
        grid-template-columns: calc(50% - 15px) calc(50% - 15px);
        grid-template-areas: 
        'label col-1'
        'col-2 col-3';
        gap: 30px;
    }
    .col-2.animating {
        transform: translateY(-33%);
        transition-delay: 250ms;
    }
    .col-2 {
        transform: translateY(23%);
    }
    .col-3.animating {
        transition-delay: 700ms;
    }
    .kroki{
        padding-top: 200px;
        padding-bottom: 150px;
    }
    .label {
        padding-bottom: 30px;
    }
    .kroki-col-number {
        bottom: 20px;
    }
    .kroki p{
        margin-bottom: 100px;
        line-height: 1.4rem;
    }
}

@media (min-width: 800px) and (max-width: 1099px){
    .col-1{
        margin-right: 200px;
    }
    .col-2{
        margin-left: 200px;
    }
    .col-3{
        margin-right: 200px;
    }
    .kroki p{
        margin-bottom: 100px;
        line-height: 1.4rem;
    }
    .kroki-col-number {
        bottom: 20px;
    }
 }


/*---------- O nas --------*/

.onas {
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 40px;
    margin-bottom: -80px;
    text-align: left;
    color: #fff;
}

.onas h2 {
    margin-bottom: 30px;
    color: #fff;
    transform: translateY(50px);
    opacity: 0;
}
.onas h2.animating {
    transform: translateY(0);
    opacity: 1;
    transition: transform 500ms ease-in-out, opacity 250ms ease-in-out;
}

.onas h2::after {
    content: '';
    width: 0%;
    height: 5px;
    background: #fff;
    display: block;
    margin-top: 40px;
}
.onas h2.animating::after {
    width: 33%;
    transition: width 500ms ease-in-out;
    transition-delay: 250ms;
}

.onas p {
    color: #fff;
    margin-bottom: 50px;
}


.onas-col {
    margin-bottom: 5%;
    padding: 120px 10% 120px 45%;
    box-sizing: border-box;
    transition: .5s;
    background-image: 
        linear-gradient(
            to right, 
            rgba(0, 255, 17, 0.4) 25%, 
            rgba(119, 0, 255, 0.7)), 
        url("./images/1920/wk.webp"),
        url("./images/jpg/wk.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-clip: inherit;
    background-position: 45% 0%;
    background-blend-mode: color;
}


.signature p {
    font-size: 30px;
    letter-spacing: -6px;
    font-weight: 400;
}

.signature img { 
    width: 50%;
    height: 50%;
    min-width: 300px;
    margin-left: -10px;
}

.signature {
    display: flex;
    justify-content: flex-end;
}


@media (min-width: 1400px) {
    .onas-col {
        background-position: 30% 0%; 
        padding: 120px 10% 120px 55%;   
    }
}

@media (max-width: 1100px) {
    .onas-col {
        background-position: 32% 0% !important; 
        padding: 120px 10% 120px 40%;   
    }
    .onas-col h2 {
        font-size: 1.9rem;
        line-height: 2.3rem;
        font-weight: 700;
        margin-bottom: 20px;
    }
    .onas h2::after {
        margin-top: 25px;
        height: 4px;
    }
}

@media (max-width: 800px) {
    .onas {
        padding-top: 50px;
    }
    .onas-col {
        background-position: 5% 0%; 
        padding: 60px 5%;   
        text-align: center;
    }
    .onas h2::after {
        margin: auto;
        margin-top: 25px;
    }
    .onas-col h2 {
        line-height: 2.1rem;
        font-size: 1.7rem;
    }
    .signature img { 
        width: 60%;
        height: 60%;
        min-width: 200px;
    }
}


/*---------------- testimonials ------------------*/

.testimonials{
    padding-top: 300px;
}

.testimonials__container{
    height: 600px;
    position: relative;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.testimonials__track-container{
    position: relative;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    clip-path: polygon(
        120px 0, 
        100% 0, 
        100% calc(100% - 120px), 
        calc(100% - 120px) 100%, 
        0 100%, 
        0 120px);
}

.testimonials__track {
    display: flex;
    flex-shrink: 0;
    width: 500%;
    transition: transform 500ms ease-in-out;
}

.testimonials__slide{
    display: flex;
    flex-basis: 20%;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.testimonials__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scaleY(150%);
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 2;
}
.testimonials__button--left {
    left: -65px;
    top: calc(50% - 100px);
   
}
.testimonials__button--right {
    right: -65px;
    top: calc(50% - 100px);
}

.testimonials__button svg {
    width: 40px;
    transform: scaleY(90%);
}

.testimonials__button svg:hover .cls-1 {
    fill: var(--cosmetic);
    stroke: var(--cosmetic)
}

.testimonials__button--left svg {
    transform: scaleX(-1) scaleY(90%);
}

.testimonials__nav {
    margin-top: -90px;
    display: flex;
    justify-content: center;
    padding: 0;
}

.testimonials__indicator {
    border: 0;
    width: 15px;
    height: 15px;
    margin: 0 10px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.testimonials__indicator.current-slide {
    background-color: var(--hero);
}

.is-hidden {
    display: none;
}

.testimonial {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 10%;
    background: #fff;
}

.testimonial span {
    color: var(--cosmetic)
}

.testimonials__slide p{
    padding: 40px 0;
}
.testimonials__slide h3{
    text-align: center;
}

.quote p {
    font-size: 400px;
    font-weight: 600;
    font-stretch: semi-condensed;
    margin-top: 0;
    margin-left: -130px;
    margin-bottom: -150px;
    padding: 0;
    font-style: italic;
    color: var(--cosmetic);
    position: relative;
    z-index: 2;
}




@media (min-width: 1300px) {
    .testimonials__container {
        width: 60%;
    }
    .testimonials__button--left {
        left: -140px;
    }
    .testimonials__button--right {
        right: -140px;
    }
    .testimonials__button svg {
        width: 70px;
    }
    .testimonials__nav {
        padding-bottom: 130px
    }
}

@media (min-width: 900px) and (max-width: 1399px) {
    .testimonials__container {
        width: 70%;
    }
    .testimonials__button--left {
        left: -80px;
    }
    .testimonials__button--right {
        right: -80px;
    }
    .testimonials__button svg {
        width: 50px;
    }
    .testimonials__nav {
        padding-bottom: 100px
    }
}

@media (max-width: 900px) {
    .testimonials__container{
    height: 550px;
    }
    .testimonials__track-container {
        margin-top: -60px;
        height: 500px;
    }
    .quote {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .quote p {
        position: absolute;
    }
    .testimonials__button--left, .testimonials__button--right {
        display: none;
    }
    .testimonials__nav {
        padding-top: 20px
    }
}

@media (max-width: 600px) {
    .testimonials__container{
        width: 100%;
    }
    .testimonials {
        padding-top: 180px;
        margin-top: 120px;
    }
    .testimonials__track-container{
        clip-path: none;
    }
    .testimonial {
        padding: 0 10%;
    }
    .testimonials h5 {
        margin-bottom: -30px;
    }
    .testimonials__nav {
        padding-top: 0px
    }
}



/*-------- Contact CTA----------*/


.contact-cta-container.portfolio-cta {
    margin-top: 150px;
}

.contact-flex {
    width: 90%;
    margin-top: 140px;
    margin: auto;
    padding: 0;
    display: flex;
    justify-content: center;
}


.contact-cta {
    width: 100%;
}

.contact-cta-img {
    flex-basis: 50%;
    object-fit: cover;
    max-width: 30%;
    margin-top: 100px;
}
.contact-cta ul img {
    filter: invert();
    -webkit-filter: invert();
}
.contact-cta ul li a {
    display: flex;
    gap: 0.5rem;
}
.contact-cta ul li a:hover, .contact-cta ul li a:active {
    transition: all 150ms ease-in;
}
.contact-cta ul li a:hover img, .contact-cta ul li a:active img {
    filter: none;
    -webkit-filter: none;
    transition: all 150ms ease-in;
}

.contact-col{
    padding: 10%;
    flex-basis: 70%;
    display: flex;
    align-items: left;
    justify-content: left;
    flex-direction: column;
    background-color: #fff;
    box-sizing: border-box;
    height: 100%;
}

.contact-col h3{
    margin-bottom: 50px;
}

.contact-col h3::after{
    content: '';
    width: 66%;
    height: 5px;
    background: #000;
    display: block;
    margin-top: 15px;
}

.contact-col ul {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 20px
}

.contact-col li {
    padding: 30px 10px;
    flex-basis: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4bea55;
}
.contact-col li > * {
    font-size: 1rem;
    padding: 0;
    font-weight: 600;
}


@media (max-width: 650px) {
    .contact-flex {
        margin-top: 100px;
    }
    .contact-col {
        flex-basis: 100%;
    }
    .contact-cta-img {
        display: none;
    }
    .contact-col li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .contact-flex {
        width: 100%;
    }
    .contact-col li > * {
        font-size: 0.9rem;
    }
    .contact-cta-container.portfolio-cta{
        margin-top: 0;
    }
}

@media (max-width: 900px) and (min-width: 651px) {
    .contact-flex {
        margin-top: 100px;
    }
    .contact-cta-img {
        display: none;
    }
}

@media (min-width: 651px) {
    .contact-col li {
        clip-path: polygon(40px 0%, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0% 40px);
    }    
    .contact-col li {
        padding: 50px 30px;
    }
    .contact-col li > * {
        font-size: 1.2rem;
    }
    .contact-cta-container.portfolio-cta .contact-col {
        background-color: #e6e6e6;
    }
}

@media (min-width: 1315px) {
    .contact-flex {
    width: 80%;
    }
    .contact-cta-img {
        object-fit: cover;
        max-width: 50%;
        clip-path: polygon(
        240px 0%, 
        100% 0, 
        100% 100%,  
        0% 100%, 
        0% 240px)
    }   
}

/*-------- Contact Footer ----------*/

.contact-footer {
    margin-top: 150px;
    background-color: #000;
    width: 100%;
    padding: 60px 10%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 60px;
    column-gap: 8%;
    box-sizing: border-box;
}

.contact-footer-col  *:not(i) {
    color: #fff;
}

.contact-footer-col h5, .contact-footer-menu h5 {
    margin-bottom: 20px;
}

.contact-footer-menu h5 {
    font-weight: 600;
}

.contact-footer-col h5::after{
    content: '';
    width: 100%;
    height: 3px;
    background: #fff;
    display: block;
    margin-top: 10px;
}

.contact-footer-menu h5::after {
    width: 100px;
}


.contact-footer-col ul {
    list-style: none;
    padding: inherit;
    margin: 0;

}

.contact-footer-col li, .contact-footer-menu li {
    margin-top: 10px;
    font-weight: 200;
}




.contact-footer-col span {
    font-weight: 400;
}

.contact-footer-col a {
    color: var(--hero);
}

.contact-footer-col a:hover {
    color: #fff;
}

.contact-menu li {
    background-color: transparent;
    padding: 0;
    text-align: left;
    font-weight: 400;
    list-style: none;
}

.contact-menu a::after {
    content: '';
    width: 0%;
    height: 2px;
    background-color: #fff;
    display: block;
    transition: all 0.5s ease-out;
}

.contact-menu a:hover::after{
    width: 100%;
}

.contact-menu a {
    color: var(--hero);
    font-weight: 400;
} 

.footer {
    background-color: var(--hero);
}

.footer-credit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: var(--hero);
    overflow-y: hidden;
}



.contact-footer-col img {
    height: 1.2rem;
    width: auto;
    margin-right: 0.5rem;
    margin-bottom: -2px;
}
.dojazd {
    text-align: center;
}
.dojazd img {
    display: flex;
    justify-content: center;
    height: 60px;
    width: auto;
    padding: 0;
}
.dojazd img:hover, .dojazd img:active {
    filter: invert(18%) sepia(81%) saturate(479%) hue-rotate(54deg) brightness(91%) contrast(101%);
    -webkit-filter: invert(18%) sepia(81%) saturate(479%) hue-rotate(54deg) brightness(91%) contrast(101%);
    transition: all 150ms ease-in;
}
.dane img {
    filter: invert(18%) sepia(81%) saturate(479%) hue-rotate(54deg) brightness(91%) contrast(101%);
    -webkit-filter: invert(18%) sepia(81%) saturate(479%) hue-rotate(54deg) brightness(91%) contrast(101%);
    transition: all 150ms ease-in;
}
.dane a:hover img, .dane a:active img {
    filter: none;
    -webkit-filter: none;
}

.footer-credit p {
    padding: 10px 5px;
    text-align: center;
    color: #000;
    font-weight: 600;
}

.footer-credit a {
    text-decoration: underline;
    font-weight: 500;
}
.footer-credit a:hover {
    color: #fff;
}
.open-icon {
    filter: invert();
    height: 1rem;
    width: auto;
}

.contact-footer *, .footer-credit * {
    font-size: 0.8rem;
}

@media (min-width: 900px) {
    .contact-footer *, .footer-credit * {
    font-size: 1rem;
}
}


/*--------------- PORTFOLIO PODSTRONA --------------*/



/*--------------- Portfolio Podstrona Landing --------------*/

.portfolio__header{
    min-height: 60vh;
    margin-top: 40px;
    width: 100%;
    background-image: linear-gradient(
        rgba(126, 126, 126, 0.7),
        rgba(38, 38, 38, 0.7));
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.portfolio__header overlay, .portfolio-item-container overlay {
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    opacity: 1;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.portfolio__text-box{
    width: max-content;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    text-align: center;
    z-index: 3;
    padding: 60px;
}

.portfolio__text-box h1{
    margin-bottom: 40px;
    margin-top: 40px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.text-box span {
    color: var(--hero);
}

.portfolio__menu li {
    background-color: transparent;
    padding: 5px 10px;
    font-weight: 600;
    list-style: none;
    border: #4bea55 solid 1px;
}



.portfolio__menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: space-between;
}

.portfolio__menu li:hover, .portfolio__menu li:hover a{
    color: #fff;
    border-color: #fff;
}

.portfolio__menu a {
    color: var(--hero);
    font-weight: 400;
    font-size: 18px;
} 



img.portfolio__ba {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 61% 15%;
    z-index: 0;
    filter: contrast(80%);
}

@media screen and (min-width: 1300px) {
    .portfolio__menu {
        flex-direction: row;
        gap: 30px;
    }
}
@media (max-width: 800px) {
    .portfolio__header{
        min-height: 80vh;
    }
    .portfolio__text-box {
        width: 90%;
    }
}
@media (max-width: 500px) {
    .portfolio__header{
        min-height: 100vh;
    }
}

.to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 100%;
}
.to-top img {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    padding: 15px;
    height: 3rem;
    width: auto;
    display: flex;
    justify-content: center;
    margin-top: -3px;
    margin-bottom: 3px;
}
.to-top:hover img {
    filter: invert(18%) sepia(81%) saturate(479%) hue-rotate(54deg) brightness(91%) contrast(101%);
    -webkit-filter: invert(18%) sepia(81%) saturate(479%) hue-rotate(54deg) brightness(91%) contrast(101%);
    transition: all 150ms ease-in;
}

/*--------------- Portfolio Podstrona Main --------------*/

.portfolio {
    width: 90%;
    margin: auto;
    margin-bottom: -60px;
}

.portfolio__leading {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 90px;
    column-gap: 70px;
}

.portfolio__leading.reverse-column {
    flex-direction: column-reverse;
}

.portfolio__leading-col{
    box-sizing: border-box;
    padding-bottom: 20px;
    max-width: 600px;
}
.portfolio__leading-col h2{
    padding-bottom: 20px;
    line-height: 38px;
    max-width: 500px;
}
.portfolio__leading-img{
    height: 300px;
    width: 100%;
}
.leading-img img{
    height: 300px;
    margin-bottom: -6px;
}

.portfolio__grid {
    width: 100%;
    margin-top: 30px;
}

.portfolio-item-container {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.leading-img {
    height: 100%;
}

.portfolio-img {
    height: 100%;
}

.portfolio-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.portfolio-desc {
    padding: 30px;
    text-align: left;
    overflow: hidden;
}

.portfolio-desc span {
    font-weight: 600;
    color: #fff;
}

.portfolio-desc h5 {
    line-height: 1.5rem;
    font-size: 1.1rem;
}

.portfolio-item-layer {
    background: transparent;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    transition: all 500ms ease-in;
}

.portfolio-item-layer:hover {
    bottom: 30px;
    background: rgba(35, 35, 35, 0.7);
}

.portfolio-item-layer h5 {
    font-weight: 500;
    color: var(--hero);
    bottom: -30px;
    left: 0px;
    position: absolute;
    opacity: 0;
    transition: bottom 500ms, opacity 500ms, color 250ms;
    padding: 0 30px;
}
.portfolio-item-layer:hover h5{
    bottom: 30px;
    opacity: 1;
} 

.portfolio-item-layer h5:hover {
    color: #fff;
}

.portfolio-item-layer img {
    position: absolute;
    bottom: 0px;
    height: 60px;
    width: auto;
    filter: invert(18%) sepia(81%) saturate(479%) hue-rotate(54deg) brightness(91%) contrast(101%);
    -webkit-filter: invert(18%) sepia(81%) saturate(479%) hue-rotate(54deg) brightness(91%) contrast(101%);
    opacity: 0;
    transition: color 250ms;
}

.portfolio-item-layer:hover img{
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    opacity: 1;
} 

.portfolio-item-layer img:hover {
    filter: none;
    -webkit-filter: none;
    transition: all 150ms ease-in;
}

@media (min-width: 951px) and (max-width: 1509px){
 .portfolio__leading {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        padding-top: 90px;
        column-gap: 70px;
    }
    .portfolio__leading.reverse-column {
        flex-direction: row;
    }
    .portfolio__leading-col{
        flex-basis: calc(50% - 35px);
        box-sizing: border-box;
        padding-bottom: 30px;
        max-width: none;
    }
    .portfolio__leading-col h2{
        padding-bottom: 20px;
        line-height: 60px;
        max-width: none;
    }
    .portfolio__leading-col p {
        padding-bottom: 0;
    }
    .portfolio__leading-img{
        flex-basis: 50%;
        height: auto;
    }
    .leading-img .portfolio-img img{
        height: 600px;
        object-fit: cover;
    }   
}

@media (min-width: 1510px){  
    .portfolio__grid{
        row-gap: 40px;
        margin-top: 40px;
        width: 100%;
        margin-top: 30px;
    }
    .grid:not(.portfolio__grid-AR){
        grid-template-columns: calc(33% - 15px) calc(33% - 15px) calc(33% - 15px);
        grid-template-areas: 
        'label label col-1'
        'col-2 col-3 col-4';
        gap: 30px;
    }
    .portfolio__leading {
        justify-content: space-between;
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        padding-top: 90px;
        column-gap: 70px;
    } 
    .portfolio__leading.reverse-column {
        flex-direction: row;
        justify-content: flex-start !important;
    }
    .portfolio__leading-col{
        flex-basis: 40%;
        box-sizing: border-box;
        padding-bottom: 30px;
        max-width: 600px;
    }
    .portfolio__leading-col p {
        padding-bottom: 0;
    }
    .portfolio__leading-col h2{
        padding-bottom: 20px;
        line-height: 60px;
        max-width: none;
    }
    .portfolio__leading-img{
        flex-basis: 60%;
        height: auto;
    }
    .leading-img .portfolio-img img{
        width: 100%;
    }
    .portfolio-item-container {
        height: 300px;
        overflow: hidden;
        position: relative;
    }
    .leading-img {
        height: 100%;
    }
}



/*-------------- Image preview popup ----------------*/

.popup-container {
    background-color: rgba(0, 0, 0, 0.35);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 70;
    transform: scale(100%);
    opacity: 1;
    transition: all 150ms ease-in-out;
}

.popup-container .flex {
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.popup-container.hidden .flex .flex{ 
    transform: scale(75%);
}

.popup-container .flex > * {
    box-sizing: border-box;
}

.popup-container .flex .flex {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    width: max-content;
    height: max-content;
    max-height: 85vh;
}
  
.popup-container > img {
    height: 1.8rem;
    width: auto;
    background-color: rgba(255, 255, 255, 0.35);
    padding: 20px 24px; 
    position: fixed;
    z-index: 50;
    text-align: center;
}
.popup-container .arrow-left, .popup-container .arrow-right {
    margin: 0;
    top: 75%;
    transform: translateY(-50%);
}
.popup-container .arrow-left {
    transform: translateY(-50%) rotate(180deg);
    left: 0;
}
.popup-container .arrow-right {
    text-align: right;
    right: 0;
}
.popup-container .close-icon {
    right: 0;
    top: 0;
    padding: 16px 20px;
}
.popup-container > img:hover {
    filter: saturate(0) brightness(500%);
    -webkit-filter: saturate(0)  brightness(500%);
    background-color: transparent;
    border: #fff 2px solid;
    transition: all 150ms ease-in;
}

.enlarged-image {
    position: relative;
}
.enlarged-image img{
    object-fit: contain;
    margin-bottom: -4px;
    box-shadow: #000 0px 0px 10px;
    max-height: 85vh;
    max-width: 100%;
}

@media screen and (min-width: 900px) {
    .popup-container .arrow-left, .popup-container .arrow-right {
        margin: 40px;
        top: 50%;
        transform: translateY(calc(-50% - 40px));
    }
    .popup-container .arrow-left {
        transform: translateY(-50%) rotate(180deg);
    }
    .popup-container .close-icon {
        right: 40px;
        top: 40px;
    }
}



/* AGENCJA REKLAMOWA PODSTRONA */

.portfolio.AR .portfolio__leading {
    padding-top: 70px;
}

.portfolio-item-container.AR {
    width: 100%;
    height: auto;
}
.portfolio-item-container.AR .portfolio-img {
    height: auto;
    width: 100%;
}
.portfolio-item-container.AR img {
    object-fit: contain;
}
.portfolio-item-container.AR h3 {
    text-transform: uppercase;
}

.portfolio-img > img {
    margin-bottom: -7px;
}

.portfolio__grid-AR {
    width: 100%;
    max-width: 800px;
    padding-bottom: 120px;
}
.portfolio__grid-AR .flex {
    align-items: flex-start;
    gap: 0;
    margin-top: 0;
}
.portfolio__grid-AR .flex .container {
    padding: 40px;
    background-color: #fff;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    margin-right: -1px;
}
.portfolio__grid-AR .flex.reversed {
    flex-direction: row-reverse;
}
.portfolio__grid-AR .flex .container div > * {
    padding: 0;
    padding-bottom: 20px;
}
.portfolio__grid-AR .flex .container div .flex {
    padding: 0;
}
.portfolio__grid-AR .flex .container p.tagi {
    font-weight: 600;
}

.portfolio__grid-AR .flex .container button {
    align-self: flex-end;
    background-color: #000;
    color: #fff;
    font-size: 0.9rem;
}

.web-preview-container {
    display: none;
}

/* PAKIETY WEBDEV */

.pakiety-webdev .pakiety-label {
    margin: 20px 0;
    max-width: 800px;
}
.pakiety-webdev .pakiety-label h3 {
    margin-bottom: 30px;
}
.pakiety-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.pakiety-grid > div {
    background-color: #fff;
    padding: 30px;
}
.pakiety-grid > div > img {
    height: 150px;
    opacity: 0.2;
}
.pakiety-grid > div > h3 {
    margin: 20px 0;
}

.pakiety-grid ul::before {
    width: 33%;
    content: '';
    height: 3px;
    background-color: #000;
    display: block;
    margin-bottom: 2rem;
}
.pakiety-grid ul {
    margin-top: 0.5rem;
    list-style-position: inside;
    list-style-type: none;
}
.pakiety-grid ul li {
    margin-bottom: 1rem;
    font-weight: 600;
}
.pakiety-grid ul li:last-child {
    margin-bottom: 0.5rem;
}
.pakiety-grid ul li.highlighted {
    text-decoration: underline;
    font-weight: 800;
}
.inne-uslugi {
    padding: 30px;
    margin: 0 auto;
    margin-top: 20px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}
.inne-uslugi * {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    max-width: 600px;
}

@media (max-width: 499px) {
    .portfolio__grid-AR .flex .container, .kroki-col, .partnerzy {
        padding: 7.5%;
    }
    .testimonial {
        padding: 0 7.5%;
    }
    .contact-footer, .contact-col, .liczby {
        padding: 30px 7.5%;
    }
    .oferta {
        margin-top: 0;
        padding-top: 0;
    }
    .oferta-desc {
        margin-bottom: 30px;
    }
    .partnerzy {
        margin: 30px 0;
    }
    .AR-banner {
        margin: 30px auto;
        padding-bottom: 60px;
    }
    .liczby {
        margin-top: 30px;
    }
    .liczby h4, .liczby h5  {
        margin: 0;
    }
    .liczby-flex:last-child h5 {
        margin-bottom: 30px
    }
    .testimonials__track-container {
        height: 380px;
    }
    .testimonials__container{
        height: 435px;
    }
    .label h3::after {
        margin-top: 25px;
        width: 50%;
    }
    .kroki {
        padding-top: 51px;
        padding-bottom: 18px;
    }
    .kroki-col {
        clip-path: none;
    }
    .testimonials, .contact-footer {
        margin-top: 60px;
    }
    .testimonials p {
        padding: 25px 0;
    }
    .testimonials__nav {
        margin-bottom: -30px;
    }
    .contact-col input, .contact-col textarea {
        font-size: 0.9rem
    }
    .contact-col h3 {
        margin-bottom: 30px;
    }
    .contact-col h3::after {
        margin-top: 10px;
    }
    .contact-footer {
        row-gap: 30px
    }
}
@media (min-width: 400px) {
    .pakiety-grid > div {
        clip-path: polygon(
            calc(100% - 100px) 0, 
            100% 120px, 
            100% 100%, 
            0 100%, 
            0 0);
    }
}
@media (min-width: 500px) {
    .portfolio__grid-AR .flex .container {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 90px 100%, 0 calc(100% - 90px));
    }
    .portfolio__grid-AR .flex .container button {
        margin-bottom: 20px;
    }
}
@media (min-width: 650px) {
    .pakiety-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 20px;
    }
    .portfolio__grid-AR .flex .container button {
        align-self: flex-end;
        margin-bottom: 60px;
    }
    .portfolio__grid-AR .flex.reversed .container button {
        align-self: flex-start;
    }
    .web-preview-container {
        display: block;
        position: relative;
        max-height: 100%;
        padding: 0;
        align-self: stretch;
        max-width: 250px;
    }
    .web-preview-container img {
        padding: 40px 0;
    }
    .web-preview-bg{
        position: absolute;
        top: 0;
        width: 50%;
        height: 100%;
        background-color: #fff;
        z-index: -1;
    }
    .reversed .web-preview-bg{
        right: 0;
    }
    .portfolio__grid-AR .flex.reversed .container {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 90px), calc(100% - 90px) 100%, 0 100%);
    }
}
@media (min-width: 1400px) {
    .inne-uslugi {
        margin-top: 0;
    }
    .pakiety-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .portfolio__grid-AR {
        grid-template-columns: auto auto;
        gap: 60px;
        max-width: none;
        padding-bottom: 40px;
    }
}

/* KROKI WEBDEV */


.etapy-web {
    margin: 140px auto;
    margin-bottom: 50px;
    width: 90%;
    max-width: 1200px;
}
.etapy-web h2 {
    margin-bottom: 60px;
    max-width: 800px;
}

.etapy-web-main {
    position: relative;
}
.grid-etapy-web {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 1fr 1fr 1fr;
    column-gap: 60px;
    row-gap: 60px;
    align-items: center;
    padding-left: 30px;
}
.grid-etapy-web img {
    height: 100px;
}
.number {
    display: none;
}
.number.right {
    justify-self: right;
}
.number p {
    font-size: 250px;
    line-height: 150px;
    font-weight: 900;
    color: #fff;
    padding: 10px;
}

.slider-track {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    height: 100%;
    width: 5px;
}
.slider {
    width: 100%;
    height: 33.33%;
    background-color: var(--hero);
}

@media screen and (min-width: 500px) {
    .grid-etapy-web {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        padding-left:0;
    }
    .slider-track {
        left: 50%;
        transform: translateX(-50%);
    }
    .number {
        display: block;
    }
}
@media screen and (min-width: 850px) {
    .portfolio.AR .portfolio__leading {
        padding-top: 90px;
    }
    .pakiety-webdev .pakiety-label {
        margin: 60px 0;
    }
    .etapy-web {
        margin: 220px auto;
    }
    .grid-etapy-web {
        row-gap: 100px;
        column-gap: 10vw;
    }
    .number p {
        font-size: 300px;
        line-height: 200px;
    }
}