.bg-faq {background: url("../images/bg-faq.png"); background-size: cover;}
/*body {background: url("../../images/alternatywne_tlo_podstrony.jpg") fixed; background-size: cover;}*/

#faq ul {
    list-style: none;
    padding: 0 0 50px 0;
    width: 95%;
    min-height: 450px;
}
#faq ul li:not(:first-of-type) {
    padding-top: 10px;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid black;
    cursor: pointer;
    user-select: none;
}
.faq-answer {
    margin-top: 10px;
    max-height: 500px;
    overflow: hidden;
    transition: height 0.3s, transform 0.3s, opacity 0.3s;
    transform-origin: top;
    height: 0;
}
.answer-hidden {
    opacity: 0;
}
.arrow {
    transition: transform 0.3s;
}
.arrow span {
    display: inline-block;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(135deg);
}
.arrow-rotated {
    transform: rotate(-180deg);
}

@media (max-width: 991px) {
    #faq {padding-bottom: 4rem;}
    #faq ul {min-height: 200px;}
    #faq img {width: 60%;}
}
@media (max-width: 767px) {
    h2 {margin-top: 60px!important;margin-bottom: 30px!important;}
    #faq .faq-column {
        margin-bottom: 0;
    }
    #faq ul li:not(:first-of-type) {
        padding-top: 20px;
    }
}
@media (max-width: 575px) {
    #faq ul {min-height: 34.8vw; padding: 0 0 8.7vw 0;}
    #faq ul li:not(:first-of-type) {padding-top: 2.4vw;}
    .faq-answer {margin-top: 1.7vw;}
    .arrow span {
        width: 2.6vw;
        height: 2.6vw;
        border-top-width: 0.35vw;
        border-right-width: 0.35vw;
    }
    h6{
        font-size: 1.6rem;
    }
    #faq-img {
        display: none;
    }
}