* {
    box-sizing: border-box;
}

.about_content-container-ekrany {
    background: #F5F5F5;
    background: -webkit-linear-gradient(2deg, rgba(245, 245, 245, 1) 0%, rgba(255, 242, 242, 1) 60%, rgba(245, 245, 245, 1) 100%);
    background: -moz-linear-gradient(2deg, rgba(245, 245, 245, 1) 0%, rgba(255, 242, 242, 1) 60%, rgba(245, 245, 245, 1) 100%);
    background: linear-gradient(2deg, rgba(245, 245, 245, 1) 0%, rgba(255, 242, 242, 1) 60%, rgba(245, 245, 245, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#F5F5F5", endColorstr="#F5F5F5", GradientType=0);
    margin: 0;
    padding: 0;
}

#about_content_left {
    width: 30%;
    margin: 30px auto 20px auto;
    float: left;
    text-align: justify;
    line-height: 1.5;
}

#about_content_right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 67%;
    margin: 25px auto 0px auto;
    float: left;
    height: 100%;
    text-align: justify;
    line-height: 1.5;
}

.img {
    height: 150px;
    margin-left: -10px;
    width: 210px;
    text-align: center;
}

.main-text {
    width: 100%;
    padding: 4rem 3% 0px 3%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}
.main-text section {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.sekcja-zdjecie {
    flex: 1 1 60%;
    min-width: 0;
    width: 100%;
    display: flex;
    overflow: hidden;
}
.sekcja-zdjecie img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 320px;
    max-height: 650px;
    filter: grayscale(20%) brightness(97%) saturate(80%);
    transform: scale(1);
    transition:
        filter 0.4s ease-in-out,
        transform 0.4s ease;
}
.sekcja-zdjecie img:hover {
    filter: grayscale(0%) brightness(100%) saturate(105%);
    transform: scale(1.08);
    opacity: 1;
    cursor: pointer;
}

.sekcja-tekst {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 3vw, 4rem);
    background-color: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    z-index: 4;
}
.sekcja-tekst h1,
.sekcja-tekst p,
.sekcja-tekst li {
    margin: 0;
    font-family: 'Century Gothic', roboto, sans-serif;
    color: #5f5f5f;
}
.sekcja-tekst h1 {
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    font-family: "Archivo Black", roboto, sans-serif;
}
.sekcja-tekst p {
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    line-height: 1.8;
    color: #5f5f5f;
}
.sekcja-tekst li {
    line-height: 1.8;
    color: #5f5f5f;
}
.sekcja-tekst ul {
    list-style-image: url('../../../public/images/plus.png');
    list-style-position: outside;
    padding-left: 18px;
}

#basy-przycisk {
    font-family: 'Century Gothic', roboto, sans-serif;
    font-weight: bold;
    color: #c82822;
}
#basy-przycisk:hover {
    text-decoration: none;
    opacity: 0.5;
}
#basy-przycisk:active {
    opacity: 0.2;
}

.dark .sekcja-tekst, .dark .sekcja-zdjecie img {
    background: #FF0000;
    background: -webkit-linear-gradient(47deg, rgba(255, 0, 0, 1) 0%, rgba(206, 1, 1, 1) 58%, rgba(173, 2, 2, 1) 100%);
    background: -moz-linear-gradient(47deg, rgba(255, 0, 0, 1) 0%, rgba(206, 1, 1, 1) 58%, rgba(173, 2, 2, 1) 100%);
    background: linear-gradient(47deg, rgba(255, 0, 0, 1) 0%, rgba(206, 1, 1, 1) 58%, rgba(173, 2, 2, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FF0000", endColorstr="#AD0202", GradientType=0);
}
.dark.reverse .sekcja-tekst, .dark.reverse .sekcja-tekst img {
    background: #FF0000;
    background: -webkit-linear-gradient(313deg, rgba(255, 0, 0, 1) 0%, rgba(206, 1, 1, 1) 50%, rgba(173, 2, 2, 1) 100%);
    background: -moz-linear-gradient(313deg, rgba(255, 0, 0, 1) 0%, rgba(206, 1, 1, 1) 50%, rgba(173, 2, 2, 1) 100%);
    background: linear-gradient(313deg, rgba(255, 0, 0, 1) 0%, rgba(206, 1, 1, 1) 50%, rgba(173, 2, 2, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FF0000", endColorstr="#AD0202", GradientType=0);
}
.dark .sekcja-tekst h1 {
    color: white;
}
.dark .sekcja-tekst p {
    color: rgb(235, 235, 235);
}


#pelne_dane_href {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 30px;
}
#pelne_dane_href a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #a1a1a1;
    background: -webkit-linear-gradient(306deg, rgba(161, 161, 161, 1) 0%, rgba(122, 122, 122, 1) 41%, rgba(112, 112, 112, 1) 100%);
    background: -moz-linear-gradient(306deg, rgba(161, 161, 161, 1) 0%, rgba(122, 122, 122, 1) 41%, rgba(112, 112, 112, 1) 100%);
    background: linear-gradient(306deg, rgba(161, 161, 161, 1) 0%, rgba(122, 122, 122, 1) 41%, rgba(112, 112, 112, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#A1A1A1", endColorstr="#707070", GradientType=0);
    padding: 16px 20px;
    width: 100%;
    border: none;
    border-radius: 10px;
    font-size: clamp(1rem, 5vw, 1.7rem);
    font-family: 'Century Gothic', roboto, sans-serif;
    font-weight: bold;
    color: rgb(241, 241, 241);
    transition: opacity 0.35s ease;
}
#pelne_dane_href a:hover {
    text-decoration: none;
    background: #7a7a7a;
    background: -webkit-linear-gradient(306deg, rgba(122, 122, 122, 1) 0%, rgba(84, 84, 84, 1) 41%, rgba(61, 61, 61, 1) 100%);
    background: -moz-linear-gradient(306deg, rgba(122, 122, 122, 1) 0%, rgba(84, 84, 84, 1) 41%, rgba(61, 61, 61, 1) 100%);
    background: linear-gradient(306deg, rgba(122, 122, 122, 1) 0%, rgba(84, 84, 84, 1) 41%, rgba(61, 61, 61, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#7A7A7A", endColorstr="#3D3D3D", GradientType=0);
}
#pelne_dane_href a:active {
    opacity: 0.8;
}

.do_pobrania_link {
    margin-top: 18px;
    margin-left: 20px;
}
.do_pobrania_link a {
    color: #c92928;
    font-family: 'Century Gothic', roboto, sans-serif;
    font-size: 18px;
    transition: opacity 0.15s ease,
                color 0.15s ease;
}
.do_pobrania_link img {
    margin-right: 10px;
    transition: opacity 0.15s ease;
}
.do_pobrania_link a:hover, .do_pobrania_link img:hover {
    opacity: 0.7;
}
.do_pobrania_link img:active, .do_pobrania_link a:active {
    opacity: 0.5;
    color: #9c1f1f;
}
.do_pobrania_link a:visited {
    color: #c92928;
}
.do_pobrania_link a:link {
    color: #c92928;
}

@media (max-width: 1000px) {
    .main-text section {
        gap: 0;
    }

    .sekcja-zdjecie {
        flex: 1 1 55%;
    }

    .sekcja-tekst {
        flex: 1 1 45%;
    }
}

@media (max-width: 800px) {
    .main-text {
        padding: 2rem 1rem;
    }
    .main-text section {
        flex-direction: column-reverse;
        border-radius: 18px;
    }

    section.reverse {
        flex-direction: column;
    }

    .sekcja-zdjecie img {
        width: 100%;
        height: auto;
        min-height: unset;
        max-height: 420px;
        object-fit: cover;
    }

    .sekcja-tekst {
        width: 100%;
        padding: 2rem 1.4rem;
    }
    .sekcja-tekst h1 {
        font-size: clamp(1.6rem, 8vw, 2.5rem);
    }
    .sekcja-tekst p {
        font-size: 1rem;
        line-height: 1.7;
    }
    .sekcja-tekst li {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    #pelne_dane_href a {
        padding: 12px 17px;
        font-size: clamp(0.8rem, 4vw, 1.3rem);
    }
}