section.text-image-block {
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
    gap: 5vw;
}

section.text-image-block div.content {
    flex-basis: 50%;
    margin: auto 0;
    font-weight: 300;
    letter-spacing: 1px;
    text-align: left;
    z-index: 10;
    position: relative;
}

section.text-image-block div.image-container {
    flex-grow: 1;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-basis: 50%;
}

section.text-image-block div.image-container img {
    /* max-height: 100vh; */
    height: 100vh;
    width: auto;
    object-fit: cover;
}

main {
    background-color: var(--dominant-color);
}

section.text-image-block h2 {
    width: 100%;
}

b {
    font-weight: 600;
}

.video-container {
    position: absolute;
    height: 100vh;
    width: 100%;
    left: 0;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-container::after {
    content: "";
    position: absolute;
    left: 0;
    z-index: 1;
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(to top left, color-mix(in srgb, var(--gradient-color-first), transparent 40%), color-mix(in srgb, var(--gradient-color-second), transparent 40%) 90%);
}

/* TYP MODUŁU: TEKST NA ŚRODKU */

section.text-image-block.text-center {
    flex-direction: row;
    background-image: linear-gradient(to top left, color-mix(in srgb, var(--gradient-color-first), transparent 40%), color-mix(in srgb, var(--gradient-color-second), transparent 40%) 90%), var(--bg-url);
    padding: 0 5vw 0 10vw;
}

section.text-image-block.text-center div.image-container {
    display: none;
}

section.text-image-block.text-center h2 {
    text-align: center;
}

section.text-image-block.text-center p {
    text-align: left;
}

/* TYP MODUŁU: TEKST PO LEWEJ */

section.text-image-block.text-left {
    flex-direction: row;
    background-image: linear-gradient(to top left, color-mix(in srgb, var(--gradient-color-first), transparent 40%), color-mix(in srgb, var(--gradient-color-second), transparent 40%) 90%), var(--bg-url);
    padding: 0 5vw 0 10vw;
}

section.text-image-block.text-left h2 {
    text-align: left;
}

/* TYP MODUŁU: TEKST PO PRAWEJ */

section.text-image-block.text-right {
    flex-direction: row-reverse;
    background-image: linear-gradient(to top right, color-mix(in srgb, var(--gradient-color-first), transparent 40%), color-mix(in srgb, var(--gradient-color-second), transparent 40%) 90%), var(--bg-url);
    padding: 0 10vw 0 5vw;
}

section.text-image-block.text-right h2 {
    text-align: left;
}

/* MODUŁ TYTUŁOWY */

section.title-block {
    height: 90vh;
    width: 100vw;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
}


section.title-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, var(--dominant-color), color-mix(in srgb, var(--dominant-color), transparent 50%) 60%), var(--bg-url);
    background-size: 20%;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

section.title-block div.content {
    margin: 3vh 12vw 2vh 12vw;
    z-index: 5;
    font-size: 1.1em;
    letter-spacing: 1px;
    font-weight: 300;
    text-align: center;
}

section.title-block div.content h1 span.social-media {
    display: block;
}

/* BLOK POWITALNY */

section.home-block {
    height: 90vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
    gap: 10vw;
    overflow: hidden;
}

section.home-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, var(--dominant-color), color-mix(in srgb, var(--dominant-color), transparent 50%) 60%), url('/static/img/AllInUJ_Pattern_White.png');
    background-size: 20%;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

section.home-block div.content {
    text-align: left;
    align-content: center;
    height: 90vh;
    box-sizing: border-box;
    position: absolute;
    z-index: 51;
}

section.home-block div.content h1 {
    z-index: 1;
    text-align: center;
    font-size: 5em;
    text-shadow: rgba(0, 0, 0, 0.8) 0px 8px 8px;
    margin: 0 0 15vh 0;
    word-spacing: 100vw;
    line-height: 5.2rem;
    animation: tracking-in-expand 1.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

section.home-block div.image-container {
    overflow: hidden;
    position: relative;
    z-index: 20;
    align-self: flex-end;
    flex-basis: 50%;
    display: flex;
}

section.home-block div.image-container img {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: contain;
    align-self: flex-end;
}

section.home-block div.image-container:first-of-type img {
    animation: slide-in-fwd-left .4s cubic-bezier(.25, .46, .45, .94) 0.5s both;
}

@keyframes slide-in-fwd-left {
    0% {
        transform: translateZ(-1400px) translateX(-1000px);
        opacity: 0
    }

    100% {
        transform: translateZ(0) translateX(0);
        opacity: 1
    }
}

section.home-block div.image-container:last-of-type img {
    animation: slide-in-fwd-right .4s cubic-bezier(.25, .46, .45, .94) 0.2s both;
}

@keyframes slide-in-fwd-right {
    0% {
        transform: translateZ(-1400px) translateX(1000px);
        opacity: 0
    }

    100% {
        transform: translateZ(0) translateX(0);
        opacity: 1
    }
}

section.home-block div.image-container::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 10px;
    filter: blur(10px);
}

/* BLOK STATYSTYK */

section.stats-block {
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow: hidden;
    background-image: linear-gradient(to bottom, var(--dominant-color), color-mix(in srgb, var(--dominant-color), transparent 50%) 60%), url('../img/contact-background.jpg');
}

section.stats-block div.stats-container {
    display: flex;
    justify-content: space-around;
    padding: 5vh 10vw;
}

section.stats-block h2 {
    word-spacing: 0.3em;
    font-size: 5em;
    font-family: 'Monoton', sans-serif;
}

section.stats-block div.stats-container .single-stats {
    width: 20vw;
}

@property --num {
    syntax: "<integer>";
    initial-value: 0;
    inherits: false;
}

section.stats-block div.stats-container .single-stats .stats-value {
    width: 20vw;
    height: 20vw;
    border-radius: 50%;
    color: var(--dominant-color);
    background-color: #fff;
    text-align: center;
    font-family: "Monoton", sans-serif;
    font-size: 6vw;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    line-height: 20vw;
    margin: 0;
    counter-reset: num var(--num);
}

section.stats-block div.stats-container .single-stats .stats-value.animated-counter {
    animation: counter 1.2s ease forwards;
}

section.stats-block div.stats-container .single-stats .stats-value::before {
    content: counter(num);
}

@keyframes counter {
    0% {
        --num: 0;
    }

    85% {
        font-size: 6vw;
    }

    90% {
        font-size: 7.5vw;
        --num: var(--num-stop);
    }

    100% {
        font-size: 6vw;
        --num: var(--num-stop);
        transform: scale(1);
    }
}

section.stats-block div.stats-container .single-stats .stats-title {
    margin-top: 2vh;
    font-size: 1.5em;
    font-weight: 300;
    position: relative;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
    z-index: 21;
}

section.stats-block div.image-container {
    overflow: hidden;
    position: absolute;
    z-index: 20;
    display: flex;
    height: 100vh;
}

section.stats-block div.image-container:last-of-type {
    right: 3vw;
}

section.stats-block div.image-container:first-of-type {
    left: 3vw;
}

section.stats-block div.image-container img {
    width: 100%;
    height: 100%;
    max-height: 60vh;
    object-fit: contain;
    align-self: flex-end;
}

/* MODUŁ FILARÓW */

section.pillars-block {
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-image: linear-gradient(to top left, color-mix(in srgb, var(--dominant-color), transparent 40%), color-mix(in srgb, #000000, transparent 40%) 90%), var(--bg-url);
    padding: 5vh 5vw;
}

section.pillars-block h2 {
    font-size: 4em;
    font-family: 'Monoton', sans-serif;
    word-spacing: 0.3em;
}

section.pillars-block div.pillars-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4vh 4vw;
    justify-items: center;
    align-items: center;
    padding: 5vh 10vw;
    height: 80vh;
    box-sizing: border-box;
}

section.pillars-block div.pillars-container .single-pillar {
    /* width: 35vh; */
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

section.pillars-block div.pillars-container .single-pillar img {
    width: 100%;
    height: 100%;
}

/* MODUŁ WSPÓŁPRAC */

section.collaborations-block {
    height: 50vh;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    padding: 5vh 5vw;
    box-sizing: border-box;
}

section.collaborations-block h2 {
    font-size: 3em;
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin-bottom: 5vh;
    text-transform: none;
}

section.collaborations-block div.collaborations-container {
    display: flex;
    justify-content: space-around;
    gap: 1vw;
    flex-wrap: nowrap;
    width: 90vw;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

section.collaborations-block div.collaborations-container div.collaborations-track {
    display: flex;
    gap: 5vw;
    align-items: center;
    animation: scroll 25s linear infinite;
}

section.collaborations-block div.collaborations-container div.collaborations-track:hover {
    animation-play-state: paused;
}

section.collaborations-block div.collaborations-container div.collaborations-track a.single-collaboration {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20vh;
}

section.collaborations-block div.collaborations-container div.collaborations-track a.single-collaboration img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 2.5vw))
    }
}

/* MODUŁ ZAPROSZENIE DO WSPÓŁPRACY */

section.collaboration-invitation-block {
    height: 50vh;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5vh 2vw;
    gap: 2vw;
    box-sizing: border-box;
    background-image: linear-gradient(to top left, color-mix(in srgb, var(--dominant-color), transparent 40%), color-mix(in srgb, #000000, transparent 40%) 90%), var(--bg-url);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

section.collaboration-invitation-block div.invitation-container {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    gap: 1vw;
    flex-wrap: nowrap;
    margin: 0;
    overflow: hidden;
    position: relative;
    max-width: 70vw;
    flex-basis: 60%;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
}

section.collaboration-invitation-block .invitation-container h2 {
    font-size: 3em;
    color: #ffffff;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-transform: none;
}

section.collaboration-invitation-block div.invitation-container .intivation-content {
    text-align: left;
    font-size: 1.1em;
}

section.collaboration-invitation-block .invitation-coordinator {
    text-align: center;
    flex-basis: 20%;
}

section.collaboration-invitation-block .invitation-coordinator div.img-container {
    width: 20vh;
    height: 20vh;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
}

section.collaboration-invitation-block .invitation-coordinator div.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.collaboration-invitation-block .invitation-coordinator p.role {
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
    margin: 0;
}

section.collaboration-invitation-block .invitation-coordinator p.name {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 1vh 0;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
}

section.collaboration-invitation-block .invitation-coordinator a {
    font-weight: 200;
    margin-bottom: 5px;
    color: #ffffff;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
    transition: .2s;
}

section.collaboration-invitation-block .invitation-coordinator a:hover {
    filter: brightness(85%);
    transition: .2s;
}

section.collaboration-invitation-block .invitation-coordinator p.socialmedia {
    margin: 0.5vh 0 0 0;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
}

section.collaboration-invitation-block .invitation-coordinator p.role {
    font-size: 1.2em;
}

section.collaboration-invitation-block .invitation-coordinator p.name {
    font-size: 1.2em;
}

section.collaboration-invitation-block .invitation-coordinator a {
    font-size: 1em;
}

/* MODUŁ NADCHODZĄCE WYDARZENIA */
section.upcoming-events {
    text-align: center;
    padding: 5vh 0;
    background-image: linear-gradient(to top, var(--dominant-color), color-mix(in srgb, var(--dominant-color), transparent 50%) 0%), url('../img/contact-background.jpg');
}

section.upcoming-events h2 {
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
    word-spacing: 0.3em;
    font-size: 3em;
    font-family: 'Monoton', sans-serif;
    color: #ffffff;
}

.events-scroll {
    display: flex;
    gap: 1.5vw;
    overflow-x: auto;
    padding-bottom: 1vh;
    align-items: center;
    width: 90vw;
    margin: 2vh 5vw;
    justify-content: center;
    align-items: stretch;

    scroll-snap-type: x mandatory;
}

.event-card {
    flex: 0 0 260px;
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;

    scroll-snap-align: start;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.event-card__cover {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
}

.event-card__content {
    padding: 0.75rem 1rem 1rem;
}

.event-card__date {
    font-size: 0.8rem;
    opacity: 0.7;
}

.event-card__title {
    font-size: 1rem;
    margin: 0.25rem 0;
}

.event-card__place {
    font-size: 0.85rem;
    opacity: 0.8;
}

.events-scroll::-webkit-scrollbar {
    height: 6px;
}

.events-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}



@media (max-width: 480px) {
    section.text-image-block {
        flex-direction: column;
        gap: 0;
        padding: 0;
        background-size: auto 100vh;
        height: auto;
        background-position: top;
    }

    section.text-image-block div.content {
        min-height: 100vh;
        margin: auto 0;
        font-size: 1em;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 5vh 5vw;
        box-sizing: border-box;
        flex-basis: auto;
        text-align: center;
        max-height: 100vh;
    }

    section.text-image-block div.image-container {
        flex-grow: 0;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        flex-basis: auto;
        min-height: 0vh;
    }

    section.text-image-block div.image-container img {
        width: 100vw;
        min-height: 50vh;
        max-height: 100vh;
    }

    /* TYP MODUŁU: TEKST NA ŚRODKU */

    section.text-image-block.text-center {
        flex-direction: column;
        background-image: linear-gradient(to top left, color-mix(in srgb, var(--gradient-color-first), transparent 40%), color-mix(in srgb, var(--gradient-color-second), transparent 40%) 90%), var(--bg-url);
        padding: 0;
    }

    section.text-image-block.text-center div.content {
        flex-basis: 100%;
    }

    section.text-image-block.text-center h2 {
        text-align: center;
    }

    section.text-image-block.text-center p {
        text-align: center;
    }

    section.text-image-block.text-center div.image-container {
        display: none;
    }

    /* TYP MODUŁU: TEKST PO LEWEJ */

    section.text-image-block.text-left {
        flex-direction: column;
        background-image: linear-gradient(to top left, color-mix(in srgb, var(--gradient-color-first), transparent 40%), color-mix(in srgb, var(--gradient-color-second), transparent 40%) 90%), var(--bg-url);
        padding: 0;
    }

    section.text-image-block.text-left h2 {
        text-align: center;
    }


    /* TYP MODUŁU: TEKST PO PRAWEJ */

    section.text-image-block.text-right {
        flex-direction: column;
        background-image: linear-gradient(to top right, color-mix(in srgb, var(--gradient-color-first), transparent 40%), color-mix(in srgb, var(--gradient-color-second), transparent 40%) 90%), var(--bg-url);
        padding: 0;
    }

    section.text-image-block.text-right h2 {
        text-align: center;
    }

    /* MODUŁ TYTUŁOWY */

    section.title-block {
        height: 90vh;
    }

    section.title-block::after {
        background-size: 40%;
        top: 0;
        height: 100vh;
    }

    section.title-block div.content {
        margin: 3vh 5vw 2vh 5vw;
        /* font-size: 0.8em; */
        justify-content: space-around;
    }

    section.title-block div.content h1 {
        font-size: 2em;
    }

    section.title-block div.content p {
        margin: 0.5em 0;
    }

    section.title-block div.content div.text {
        max-height: 80vh;
    }


    /* BLOK POWITALNY */

    section.home-block {
        height: 90vh;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        color: white;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: stretch;
        text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
        gap: 10vw;
    }

    section.home-block::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(to bottom, var(--dominant-color), color-mix(in srgb, var(--dominant-color), transparent 50%) 60%), url('/static/img/AllInUJ_Pattern_White.png');
        background-size: 20%;
        background-position: center;
        opacity: 0.2;
        z-index: 1;
        pointer-events: none;
        height: 100vh;
    }

    section.home-block div.content {
        text-align: center;
        align-content: center;
        height: 90vh;
        box-sizing: border-box;
        position: absolute;
        z-index: 10;
        padding: 5vh 5vw;
    }

    section.home-block div.content h1 {
        margin: 0 0 40vh 0;
    }

    section.home-block div.image-container {
        overflow: hidden;
        position: relative;
        z-index: 20;
        align-self: flex-end;
        flex-basis: 100%;
        display: flex;
    }

    section.home-block div.image-container img {
        width: 100%;
        height: 100%;
        max-height: 40vh;
        object-fit: contain;
        align-self: flex-end;
    }

    section.home-block div.image-container:first-of-type {
        display: none;
    }

    section.home-block div.image-container:last-of-type img {
        animation: slide-in-fwd-bottom .4s cubic-bezier(.25, .46, .45, .94) 0.2s both;
    }

    @keyframes slide-in-fwd-bottom {
        0% {
            -webkit-transform: translateZ(-1400px) translateY(800px);
            transform: translateZ(-1400px) translateY(800px);
            opacity: 0;
        }

        100% {
            -webkit-transform: translateZ(0) translateY(0);
            transform: translateZ(0) translateY(0);
            opacity: 1;
        }
    }

    section.home-block div.image-container::before {
        content: "";
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 10px;
        filter: blur(10px);
    }

    /* BLOK STATYSTYK */

    section.stats-block {
        padding: 5vh 5vw;
        height: 100vh;
        box-sizing: border-box;
    }

    section.stats-block div.stats-container {
        padding: 0;
        flex-direction: column;
        align-items: center;
    }

    section.stats-block h2 {
        font-size: 2.5em;
        margin-bottom: 2vh;
    }

    section.stats-block div.stats-container .single-stats {
        width: 80vw;
        text-align: center;
        margin-bottom: 2vh;
    }

    section.stats-block div.stats-container .single-stats:last-of-type {
        margin-bottom: 0;
    }

    section.stats-block div.stats-container .single-stats .stats-value {
        width: 20vh;
        height: 20vh;
        font-size: 15vw;
        line-height: 20vh;
        display: inline-block;
        counter-reset: num var(--num-stop);
    }

    section.stats-block div.stats-container .single-stats .stats-value.animated-counter {
        /* animation: counter 1.2s ease forwards; */
        animation: none;
    }

    section.stats-block div.stats-container .single-stats .stats-value::before {
        /* content: counter(num); */
    }

    @keyframes counter {
        0% {
            --num: 0;
        }

        85% {
            font-size: 15vw;
        }

        90% {
            font-size: 17vw;
            --num: var(--num-stop);
        }

        100% {
            font-size: 15vw;
            --num: var(--num-stop);
        }
    }

    section.stats-block div.stats-container .single-stats:last-of-type .stats-value {
        font-size: 12vw;
    }

    section.stats-block div.stats-container .single-stats .stats-title {
        margin-top: 0.5vh;
        margin-bottom: 0;
        font-size: 1.2em;
        font-weight: 400;
        color: #ffffff;
    }

    /* MODUŁ FILARÓW */

    section.pillars-block {
        height: 100vh;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        color: white;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        background-image: linear-gradient(to top left, color-mix(in srgb, var(--dominant-color), transparent 40%), color-mix(in srgb, #000000, transparent 40%) 90%), var(--bg-url);
        padding: 5vh 5vw;
        overflow: hidden;
    }

    section.pillars-block h2 {
        font-size: 2em;
    }

    section.pillars-block div.pillars-container {
        display: flex;
        padding: 0;
        justify-content: center;
        flex-direction: column;
        gap: 2vw;
        flex-wrap: wrap;
        width: 90vw;
        height: 60vh;
        align-items: center;
        margin: 0 auto;
    }

    section.pillars-block div.pillars-container .single-pillar {
        width: 40vw;
        height: 40vw;
        border-radius: 50%;
        overflow: hidden;
    }

    section.pillars-block div.pillars-container .single-pillar img {
        width: 100%;
        height: 100%;
    }

    section.stats-block div.image-container {
        overflow: hidden;
        position: absolute;
        z-index: 20;
        display: flex;
        height: 100vh;
    }

    section.stats-block div.image-container:first-of-type {
        left: 0;
    }

    section.stats-block div.image-container:first-of-type img {
        translate: -30%;
    }

    section.stats-block div.image-container:last-of-type {
        right: 0;
    }

    section.stats-block div.image-container:last-of-type img {
        translate: 20%;
    }

    section.stats-block div.image-container img {
        width: 100%;
        height: 100%;
        max-height: 50vh;
        object-fit: contain;
        align-self: flex-end;
    }


    /* MODUŁ WSPÓŁPRAC */

    section.title-block[section-title="partnerstwa"] div.content h1 {
        font-size: 1.8em;
    }

    section.title-block[section-title="teamy wewnętrzne"] div.content h1 {
        font-size: 1.8em;
    }

    section.collaborations-block {
        height: auto;
        color: white;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: #fff;
        padding: 5vh 5vw;
        box-sizing: border-box;
        overflow: hidden;
    }

    section.collaborations-block h2 {
        font-size: 1.8em;
        color: #000;
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        margin-bottom: 2vh;
        text-transform: none;
    }

    section.collaborations-block div.collaborations-container {
        display: flex;
        justify-content: space-around;
        gap: 1vw;
        flex-wrap: nowrap;
        width: 90vw;
        align-items: center;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
    }

    section.collaborations-block div.collaborations-container div.collaborations-track {
        display: flex;
        gap: 5vw;
        align-items: center;
        animation: scroll 20s linear infinite;
    }

    section.collaborations-block div.collaborations-container div.collaborations-track:hover {
        animation-play-state: paused;
    }

    section.collaborations-block div.collaborations-container div.collaborations-track a.single-collaboration {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 15vh;
    }

    section.collaborations-block div.collaborations-container div.collaborations-track a.single-collaboration img {
        height: 100%;
        width: auto;
        object-fit: contain;
        display: block;
    }

    @keyframes scroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-50% - 2.5vw))
        }
    }

    /* MODUŁ ZAPROSZENIE DO WSPÓŁPRACY */

    section.collaboration-invitation-block {
        height: auto;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5vh 5vw;
        gap: 5vh;
        box-sizing: border-box;
        background-image: linear-gradient(to top left, color-mix(in srgb, var(--dominant-color), transparent 40%), color-mix(in srgb, #000000, transparent 40%) 90%), var(--bg-url);
    }

    section.collaboration-invitation-block div.invitation-container {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        gap: 2vw;
        flex-wrap: nowrap;
        margin: 0;
        max-width: 100%;
        overflow: hidden;
        position: relative;
        flex-basis: auto;
    }

    section.collaboration-invitation-block .invitation-container h2 {
        font-size: 2em;
        color: #ffffff;
        text-align: center;
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        text-transform: none;
    }

    section.collaboration-invitation-block div.invitation-container .intivation-content {
        text-align: center;
        max-width: 100%;
    }

    section.collaboration-invitation-block .invitation-coordinator {
        text-align: center;
        flex-basis: auto;
    }

    section.collaboration-invitation-block .invitation-coordinator div.img-container {
        width: 30vw;
        height: 30vw;
        border-radius: 50%;
        overflow: hidden;
        display: inline-block;
    }

    section.collaboration-invitation-block .invitation-coordinator div.img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    section.collaboration-invitation-block .invitation-coordinator p.role {
        font-weight: 600;
        text-transform: uppercase;
        color: #ffffff;
        text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
        margin: 0;
    }

    section.collaboration-invitation-block .invitation-coordinator p.name {
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #ffffff;
        margin: 1vh 0;
        text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
    }

    section.collaboration-invitation-block .invitation-coordinator a {
        font-weight: 200;
        margin-bottom: 5px;
        color: #ffffff;
        text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
        transition: .2s;
    }

    section.collaboration-invitation-block .invitation-coordinator a:hover {
        filter: brightness(85%);
        transition: .2s;
    }

    section.collaboration-invitation-block .invitation-coordinator p.socialmedia {
        margin: 0.5vh 0 0 0;
        text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 2px;
    }

    section.collaboration-invitation-block .invitation-coordinator p.role {
        font-size: 1.2em;
    }

    section.collaboration-invitation-block .invitation-coordinator p.name {
        font-size: 1.2em;
    }

    section.collaboration-invitation-block .invitation-coordinator a {
        font-size: 1em;
    }

    section.upcoming-events h2 {
        font-size: 2em;
    }
}