: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;
}

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 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 i {
    padding-right: 7px;
}

.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-right: 20px;
    margin-top: 14px;
}

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

.shorthand-menu__label i:hover {
    color: #fff;
}

.shorthand-menu__label i {
    padding: 0;
    padding-left: 10px;
    cursor: pointer;
    font-size: 20px;
}

.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 i{
    display: block;
    font-size: 28px;
    cursor: pointer; 
    padding-right: 5%;
    padding-top: 25px;
    color: #fff;
}

.menu-links i:hover {
    color: #000;
}

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

.menu-links ul{
    padding: 40px;
    padding-right: 5%;
    margin-bottom: 40px;
}
.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 {
    display: none;
    position: absolute;
    right: 40px;
    bottom: 40px;
    width: 380px;
    z-index: -1;
}


.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;
}

.menu-contact i {
    padding: 7px;
}

@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 i {
        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{
        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: block;
    }
}

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


.header{
    margin-top: 15px;
    min-height: 100vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    z-index: 7;
}

.header overlay {
    background: linear-gradient(
        rgba(0, 0, 0, 0.4) 20%,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.4) 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 i {
    margin-top: 20px;
    font-size: 20px;
    color: var(--hero);
}

@media (min-width: 900px) {
    .text-box{
    transform: translate(-50%, -50%);
    }
}


img.ba {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 61% 0%;
    z-index: -3;
    /*filter: contrast(60%);*/
}



/*---------------- 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;
    }
    .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;
    }
}

@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;
    }
    .kroki-col-number {
        bottom: 20px;
    }
 }



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


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

.contact-flex img {
    flex-basis: 50%;
}

.contact-cta {
    width: 100%;
}

.contact-cta-container img {
    object-fit: cover;
    max-width: 30%;
    margin-top: 100px;
}

.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;
}
.contact-col li i {
    margin-right: 5px;
}


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

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

@media (max-width: 900px) and (min-width: 651px) {
    .contact-flex {
        margin-top: 100px;
    }
    .contact-cta-container 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 i {
        margin-right: 10px;
    }
    .contact-col li {
        padding: 50px 30px;
    }
    .contact-col li > * {
        font-size: 1.2rem;
    }
}

@media (min-width: 1315px) {
    .contact-flex {
    width: 80%;
    }
    .contact-cta-container 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 i {
    padding-right: 7px;
}

.dojazd {
    text-align: center;
}

.fa-location-dot {
    font-size: 60px;
}

.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;
}


.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;
}

.contact-footer *:not(i), .footer-credit * {
    font-size: 0.8rem;
}

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



/*--------------- 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: 0px;
    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 i {
    position: absolute;
    bottom: 0px;
    font-size: 60px;
    color: var(--hero);
    opacity: 0;
    transition: color 250ms;
}

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

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

@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 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 img{
        width: 100%;
    }
    .portfolio-item-container {
        height: 300px;
        overflow: hidden;
        position: relative;
    }
    .leading-img {
        height: 100%;
    }
}



/* AGENCJA REKLAMOWA */

.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 {
    background-color: #e6e6e6;
}

.pakiety-webdev .container {
    width: 90%;
    margin: 0 auto;
    padding: 100px 0;
}

.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;
    filter: invert(76%) sepia(61%) saturate(563%) hue-rotate(63deg) brightness(95%) contrast(92%);
}
.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 {
        padding: 7.5%;
    }
    .contact-footer, .contact-col {
        padding: 30px 7.5%;
    }
    .label h3::after {
        margin-top: 25px;
        width: 50%;
    }
    .kroki {
        padding-top: 51px;
        padding-bottom: 18px;
    }
    .kroki-col {
        clip-path: none;
    }
    .contact-footer {
        margin-top: 60px;
    }
    .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;
    }
    .pakiety-grid > div {
        padding: 60px;
    }
    .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;
        margin-top: 100px;
    }
    .grid-etapy-web {
        row-gap: 100px;
        column-gap: 10vw;
    }
    .number p {
        font-size: 300px;
        line-height: 200px;
    }
}