* {
    font-family: "Poppins", "sans-serif";
    font-size: 10px;
    font-weight: 500;
}

body {
    background-color: #F4F4F4;
    margin: 0;
}

.header {
    height: 53.8rem;
    overflow: hidden;
    transform: translateY(0);
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 144rem;
    z-index: 2;
}

.nav_container {
    /*height: 53.8rem;*/
    border-radius: 0 0 1rem 1rem;
    transform: translateY(0);
    overflow: hidden;
    margin: 0 8.7rem;
}

.menu {
    position: relative;
    margin: 13.1rem auto 0 auto;
    padding: 0 0 0.5rem 0;
    border-radius: 2rem;
    background-color: #E3E3E3;
    max-width: 30rem;
    z-index: 10;
    overflow: hidden;
}

.menu a {
    display: block;
    height: 4.6rem;
    padding: 0 0 2.5rem 0;
    text-align: center;
    font-size: 1.6rem;
    text-decoration: none;
    color: #010202;
    cursor: default;
    font-style: normal;
    letter-spacing: 0.08rem;
}

nav {
    padding: 5.5rem 0 0 0;
}

.overlay {
    filter: brightness(80%) blur(0.1rem);
}

.overlay_background {
    background-color: #dcdcdc;
}

.hide {
    display: none;
}

.x-mark {
    position: absolute;
    right: 0;
    margin: 1.3rem 1.3rem 0 0;
    font-size: 2rem;
}

.phone_position {
    position: relative;
    background: #E3E3E3;
    line-height: 5rem;
    margin: 2rem 0 0 0;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.30), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
    border-radius: 1.6rem;
    z-index: 10;

    font-size: 1.4rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.07rem;
}

.background_container {
    /*background: #D9D5D5;*/
    margin: 0 2rem;
    transform: translateY(-2rem);
    padding: 2rem 0 5rem 0;
    overflow: hidden;
}

.nav_container_video {
    width: auto;
    height: auto;
}

.menu_btn {
    position: absolute;
    right: 2rem;
    display: flex;
    font-size: 1.4rem;
    width: 7.9rem;
    height: 3.8rem;
    margin: 4rem 0 0 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
    border-radius: 10rem;
    border: 1px solid #79747E;
    background-color: #D9D9D9;
}

.logo {
    position: absolute;
    top: 4rem;
    left: 2rem;
    height: 4rem;
    width: 15rem;
}

.main_container {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-radius: 2rem;
    background: #FFF;
    z-index: 1;
    margin: 0 2rem 0 2rem;
}

.main_container img {
    width: 100%;
    flex-shrink: 0;
    border-radius: 1rem 1rem 0 0;
    /*background: #D9D5D5;*/
}

.image_wrapper {
    margin: 0 2rem;
}

.main_container h2 {
    margin: 0 2rem;
    padding: 1rem 0;
    font-weight: 600;
    font-size: 2rem;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.1rem;
}

.main_container p {
    margin: 2rem;
    color: #000;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.06rem;
}

.orange_button {
    border: none;
    border-radius: 10rem;
    background: #EB6017;
    color: #FFF;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.01rem;
    padding: 1rem 2.4rem;
}

.margin_top_position {
    margin: 5rem 2rem 0 2rem;
}

.center {
    display: flex;
    justify-content: center;
    padding: 0 0 2rem 0;
}

.main_header {
    margin: 2rem 2rem 1rem 2rem;
    color: #010202;
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3.4rem; /* 141.667% */
    letter-spacing: 0.12rem;
}

.describe_header {
    margin: 0 2rem;
    color: #010202;
    font-size: 1.2rem;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.06rem;
}

.highlight {
    color: #EB6017;
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3.4rem;
    letter-spacing: 0.12rem;
}

.white_font {
    color: #fff;
}

.slider_container {
    position: relative;
    background: #D9D5D5;
    margin: 0 2rem;
    order: 0;
    transform: translateY(-2rem);
    padding: 2rem 0 5rem 0;
    overflow: hidden;
}

.slider_foundation{
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.foundation_container_height{
    height: 27rem;
}

.slider_buttons_foundation{
    position: absolute;
    right: 2rem;
    bottom: 1.8rem;
}

#prev_foundation, #next_foundation{
    font-size: 2rem;
    padding: 0 0.5rem;
    cursor: pointer;
}

.member{
    min-width: 100%;
}

.slider_container_foundation {
    position: relative;
    order: 0;
    overflow: hidden;
}

.slider_container #prev, #next {
    position: absolute;
    top: 15rem;
    font-size: 2rem;
    margin: 0 2rem 0 2rem;
}

.slider_container #next {
    right: 0;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider_bgc_transparent {
    background-color: transparent;
}

.fill_background {
    /*position: absolute;*/
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

.background_container, .main_container {
    position: relative;
}

.background_container div {
    margin: 0 2rem;
}

.background_container h2 {
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3rem; /* 125% */
    letter-spacing: 0.12rem;
    margin: 0.5rem 2rem 1rem 2rem;
}

.background_container textarea {
    width: 100%;
    height: 26.9rem;
    border-radius: 1.5rem;
    border: 1px solid #fff;
    z-index: 0;
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
    font-size: 1.4rem;
    padding: 1rem;
}

.paragraph_contact {
    margin: 5rem 2rem 0 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.05rem;
}

.paragraph_questions {
    font-size: 1.2rem;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.06rem;
    margin: 0 2rem 0 2rem;
}

.home_form input[type="email"] {
    border-radius: 10rem;
    border: 1px solid #fff;
    width: 100%;
    height: 3.8rem;
    padding: 1.6rem 2.6rem;
    margin: 2rem 0 2rem 0;
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
    font-size: 1.4rem;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.07rem;
}

.form_button {
    display: flex;
    justify-content: center;
}

.badminton_tile_position {
    margin: -4rem 2rem 0 2rem;
}

.benefits {
    min-width: 100%;
    padding: 5rem 2rem 0 2rem;
    text-align: center;
    color: #010202;
}

.benefits h3 {
    font-size: 1.6rem;
    letter-spacing: 0.08rem;
}

.benefits p {
    font-size: 1.2rem;
    letter-spacing: 0.06rem;
}

.transform_footer {
    margin-top: -2rem;
}

.footer {
    display: flex;
    justify-content: space-between;
    margin: 3rem 2rem 2rem 2rem;
    border-bottom: 0.1rem solid #000;
}

.footer_links {
    display: flex;
    margin-right: 1rem;
    width: 17.5rem;
    justify-content: space-around;
    align-items: center;
}

.footer_links a {
    color: #000;
}

.footer_links a:hover {
    text-decoration: none;
    color: #AAA;
}

.footer img {
    margin-left: 1rem;
    width: 9.1rem;
    padding-bottom: 1rem;
}

.news_flex_container {
    display: flex;
    flex-direction: column;
}

.news_container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid #000;
    margin: 0 2rem 5rem 2rem;
}

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

.gallery_picture_height {
    height: 24rem;
}

.news_container_height {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 24rem;
    overflow: hidden;
}

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

.news_container h3 {
    color: #010202;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.06rem;
    margin: 1rem 0 1.25rem 1.3rem;
}

.news_container p {
    color: #010202;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.04rem;
    margin: 0 0 1rem 1.3rem;
}

.news_container_button {
    width: 6.6rem;
    height: 2.6rem;
    align-items: center;
    gap: 0.8rem;
    border: none;
    border-radius: 10rem;
    background: #EB6017;

    color: #FFF;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 2rem;
    letter-spacing: 0.01rem;
}

.news_container_button_position {
    position: absolute;
    bottom: 1.7rem;
    right: 1.4rem;
}

.news_container_top_button {
    position: absolute;
    top: 1.35rem;
    right: 2.2rem;
    height: 2.0645rem;
    padding: 0 2rem;
    border-radius: 3rem;
    border: 1px solid #000;
    background: #F4F4F4;

    font-size: 0.6rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.03rem;
}

.list_news {
    padding-left: 3.5rem;
}

.list_news li {
    font-size: 1.2rem;
}

.layout_for_contact_container {
    background: #D9D5D5;
    padding: 6.4rem 2.3rem 3rem 2.3rem;
    margin: 0 2rem;
    transform: translateY(-2rem);
}

.contact_container {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    align-items: center;
    margin: 0 0 5rem 0;
    background-color: transparent;
    height: 10.8rem;
    border-radius: 3rem;
    border: 1px solid #000;
}

.contact_container h3 {
    margin: 0 0 0 2.2rem;
    width: 100%;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3rem;
    letter-spacing: 0.08rem;
}

.contact_container p {
    margin: 0;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.04rem;
}

.paragraph_wrapper {
    margin: 0 1.8rem 0 0;
}

.main_container_size {
    height: 22.7rem;
    display: flex;
    justify-content: center;
}

.phone_email {
    height: 5.4rem;
    border-radius: 3rem;
    border: 1px solid #000;
    margin: 1rem 7.6rem 1rem 7.6rem;
    padding: 0;
    background-color: transparent;
}

.no-phone{
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.07rem;
}

.no-phone a {
    text-decoration: none;
    color: inherit;
    pointer-events: none;
    cursor: default;
}

.statute_list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 0 7.2rem;
}

.statute_list li {
    margin: 1rem 0 3rem 0;
    width: 32.5rem;
    font-size: 1.4rem;
    letter-spacing: 0.07rem;
}

.paragraph_center {
    text-align: center;
}

.merry_go_round {
    height: 22rem;
    padding: 0.8rem 1.6rem;
    border: 1px solid #000;
    margin: 0 0 5rem 0;
}

.brands_container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 2rem 3.5rem 5rem 3.5rem;
}

.brands_container div > img{
    height: 20rem;
    width: auto;
}

.circle {
    border-radius: 50%;
    border: 1px solid #000;
    width: 6.2rem;
    height: 6.2rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center; /* Centrowanie obrazu w kontenerze */
    align-items: center; /* Centrowanie obrazu w kontenerze */
    overflow: hidden; /* Ukryj części obrazu, które wykraczają poza kontener */
    background-color: transparent; /* Ustawienie tła na przeźroczyste */
}

.modal-content img {
    width: 100%; /* Zmieniamy szerokość na 100%, aby obraz wypełnił kontener */
    height: 100%; /* Zmieniamy wysokość na 100%, aby obraz wypełnił kontener */
    object-fit: contain; /* Dopasowanie obrazu do kontenera, zachowując proporcje */
    display: block; /* Ustawienie obrazu jako elementu blokowego */
    margin: 0 auto; /* Automatyczne centrowanie obrazu */
    border: none; /* Usunięcie obramowania */
}

.close {
    position: absolute;
    top: 1rem;
    right: 2.5rem;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev-button {
    left: 1rem;
    font-size: 5rem;
}

.next-button {
    right: 1rem;
    font-size: 5rem;
}

.contact_buttons {
    display: flex;
    flex-direction: column;
    margin: 4rem 0;
}

.contact_form {
    margin: 0 19.3rem;
}

.desktop_contact{
    display: none;
}

.center_statut_button{
    display: flex;
    justify-content: center;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    /*.menu_desktop{*/
    /*    display: flex;*/
    /*    width: 100%;*/
    /*}*/
    .menu_btn {
        display: none;
    }

    .nav_container {
        margin: 0 9.3rem;
    }

    nav {
        width: 100%;
        padding: 0 6.3rem 0 0;
        margin: 3.5rem 0 0 0;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 4rem;
        height: 4.6rem;
    }

    nav a {
        font-size: 1.6rem;
        color: #fff;
    }

    nav a:hover {
        text-decoration: none;
        color: #ccc;
    }

    .logo {
        top: 3.5rem;
        margin: 0 0 0 6.3rem;
        width: 23.1rem;
        height: 4.6rem;
    }

    .x-mark {
        display: none;
    }

    .header {
        margin: 0 9.3rem;
        border-radius: 0 0 3rem 3rem;
        height: 80rem;
    }

    header {
        position: absolute;
    }

    .position_video {
        top: -33%;
        left: -33%;
    }

    /*.main_header, .describe_header{*/
    /*    display: none;*/
    /*}*/
    .margin_top_position, .badminton_tile_position {
        margin: -11rem 15.6rem 0 15.6rem;
    }

    .main_container h2 {
        margin: 0 7.2rem;
        padding: 3rem 0;
        font-size: 4rem;
    }

    .main_container p {
        margin: 2rem 7.2rem 3.1rem 7.2rem;
        font-size: 1.6rem;
        font-style: normal;
        letter-spacing: 0.08rem;
    }

    .image_wrapper {
        margin: 0 7.2rem;
    }

    .center {
        padding: 0 0 3rem 0;
        justify-content: flex-end;
    }

    .orange_button {
        margin: 0 3rem 0 0;
    }

    .background_container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 111.7rem; /*być może do zmiany*/
        border-radius: 3rem;
        margin: 0 9.3rem;
        transform: translateY(-5.5rem);
    }

    .background_container div {
        margin: 0;
    }

    .background_container h2 {
        font-size: 4rem;
        line-height: 5rem;
        width: 40.8rem;
    }

    .background_container textarea {
        font-size: 2rem;
    }

    form input[type="email"] {
        font-size: 2rem;
    }

    .paragraph_contact {
        margin: 0;
        font-size: 2rem;
    }

    .paragraph_questions {
        width: 28.8rem;
        font-size: 2rem;
    }

    .background_container h2, .paragraph_questions, .paragraph_contact {
        margin-left: 25.5rem;
    }

    .home_form {
        margin: 5rem 25.5rem 0 25.5rem;
    }

    #submit {
        margin: 0;
    }

    .home_slider {
        margin: 0 13.8rem;
    }

    .home_slider div {
        display: flex;
    }

    .benefits {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: auto;
        max-width: 25%;
    }

    .news_flex_container {
        flex-direction: row;
        justify-content: space-between;
        margin: 0 7.2rem;
        gap: 2.4rem;
    }

    .news_container {
        width: 50%;
        margin: 2.5rem 0;
    }

    .news_container:only-child {
        width: calc(50% - 1.2rem);
    }

    .news_container h3 {
        margin: 1.5rem 0 0 2rem;
        font-size: 1.8rem;
    }

    .news_container p {
        margin: 2rem 0 1.5rem 2rem;
        font-size: 1.4rem;
    }

    .news_container_top_button {
        font-size: 1rem;
        height: 3.2rem;
        line-height: 3.2rem;
    }

    .news_container_button {
        font-size: 1.4rem;
        padding: 1rem 2.4rem;
        width: auto;
        height: auto;
        line-height: 2rem;
    }

    .news_orange_button {
        margin: auto;
    }

    .list_news {
        padding-left: 1.8rem;
    }

    .list_news li {
        font-size: 1.6rem;
        margin: 0 7.2rem;
    }

    .contact_container {
        margin: 5rem 16.8rem;
        height: 23rem;
        gap: 0;
    }

    .contact_container h3 {
        font-size: 4rem;
        line-height: 5rem;
        width: 34.8rem;
        margin-left: 5.6rem;
    }

    .paragraph_wrapper h3 {
        margin: 0;
        font-size: 2rem;
        font-weight: 500;
    }

    .paragraph_wrapper p {
        margin: 0;
        font-size: 1.6rem;
    }

    .foundation_desktop {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 35.3rem;
        margin: 8rem 0 10rem 0;
    }

    .foundation_text_desktop {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 50%;
        height: 100%;
    }

    .foundation_text_desktop h2 {
        /*margin: 0 0 0 9.6rem;*/
        padding: 0 0 1rem 0;
    }

    .foundation_text_desktop p {
        /*margin: 0 0 0 9.6rem;*/
        font-weight: 400;
    }

    .foundation_desktop_tile {
        max-width: 36rem;
        height: 35.3rem;
        margin-right: 9.6rem;
    }

    .slider_buttons_foundation{
        bottom: 2.8rem;
    }

    .gallery_picture_height {
        height: 37.2rem;
        cursor: pointer;
    }

    .footer {
        margin: 3rem 9.3rem 2rem 9.3rem;
    }

    .footer_links {
        margin-right: 13.5rem;
        width: 17.5rem;
    }

    .footer_links a {
        font-size: 1rem;
        color: #000;
    }

    .footer_links a:hover {
        text-decoration: none;
        color: #AAA;
    }

    .footer img {
        margin-left: 13.5rem;
        width: 14.9rem;
    }

    .contact_header {
        font-size: 4rem;
        font-weight: 600;
        letter-spacing: 0.2rem;
        margin: 3rem 0 0 7.2rem;
    }

    .form_header {
        display: flex;
        justify-content: center;
    }

    .form_header h2 {
        font-size: 4rem;
        font-weight: 600;
        letter-spacing: 0.2rem;
    }

    .contact_form textarea{
        width: 100%;
        height: 29.1rem;;
        border-radius: 1.5rem;
        border: 1px solid #000;
        background: #FFF;
        margin-bottom: 3rem;
        font-size: 2rem;
        font-style: normal;
        line-height: normal;
        letter-spacing: 0.07rem;
        padding: 1rem;
    }

    .contact_form input[type="email"]
    {
        display: inline;
        width: 35.8rem;
        height: 4rem;
        padding: 1.6rem 2.6rem;
        margin-right: 2.4rem;
        border-radius: 10rem;
        border: 1px solid #000;
    }

    .desktop_contact{
        display: block;
        margin-bottom: 6.3rem;
    }

    .contact_buttons{
        display: none;
    }

    .desktop_target {
        position: absolute;
        bottom: 0;
        margin: 0 0 18rem 9.4rem;
        width: 51rem;
    }

    .desktop_target h1 {
        font-size: 6.4rem;
        font-weight: 700;
        line-height: 8rem;
        color: #fff;
    }

    .highlight {
        font-size: 6.4rem;
        font-weight: 700;
        line-height: 8rem;
    }

    .desktop_target p {
        color: #fff;
        font-size: 2rem;
    }

    .fundator {
        margin: 0 0 1.5rem 2rem !important;
    }
}

@media (min-width: 1440px) {
    html {
        background: #F4F4F4;
    }

    body {
        max-width: 144rem;
        margin: auto;
    }
}
