.faq_section{
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    padding-top: 150px;
    padding-bottom: 150px;
    padding-left: 18%;
    padding-right: 18%;
}

/* faq section decoratove image */

.faq_section_decorative_image{
    width: fit-content;
    height: fit-content;
    margin-top: 40px;
    max-width: 100%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

/* --- Faq elements --- */

.faq_elements{
    width: 100%;
    height: fit-content;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Faq element --- */

.faq_element{
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    padding: 40px;
    border-radius: 20px;
    background: var(--component);
}

.faq_element.active img{ transform: rotate(180deg); }

/* answer */

.faq_element p{
    width: 60%;
    max-height: 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text2);
    opacity: 0.8;
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}

/* --- Faq element button --- */

.faq_element button{
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    background: none;
    transition: 0.3s;
}

.faq_element button:hover{
    cursor: pointer;
    opacity: 0.7;
}

/* text */

.faq_element button h4{
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    color: var(--text1);
    opacity: 0.9;
}

/* --- Square --- */

.faq_element button div{
    width: 52px;
    height: 52px;
    display: flex;
    flex-shrink: 0;
    border-radius: 6px;
    background: white;
}

/* icon */

.faq_element button div img{
    width: 16px;
    height: 16px;
    margin: auto;
    opacity: 0.6;
    transition: 0.3s;
}


/* --- MEDIA --- */

@media screen and (max-width: 1300px) {
    
    .faq_element p{
        width: 90%;
    }

    /* Faq element button text */

    .faq_element button h4{
        width: 80%;
    }
}

@media screen and (max-width: 820px) {
    
    .faq_section{
        padding-top: 90px;
        padding-bottom: 90px;
        padding-left: 8%;
        padding-right: 8%;
    }

    /* --- Faq element button --- */

    .faq_element button{
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

@media screen and (max-width: 500px) {    

    .faq_element p{
        font-size: 13px;
    }

    /* --- Faq element button --- */

    .faq_element button{
        padding-top: 15px;
        padding-bottom: 15px;
    }

    /* text */
    
    .faq_element button h4{
        width: 70%;
        font-size: 14px;
    }

    /* --- Circle --- */

    .faq_element button div{
        width: 42px;
        height: 42px;
    }

    /* image */

    .faq_element button div img{
        width: 12px;
        height: 12px;
    }
}