@import "header.css";
@import "menu.css";
@import "footer.css";
*{
    padding: 0;
    margin: 0;
}

main{
    width: 100%;
    height: auto;
    direction: rtl;
    background-color: #ffffff;

}
@font-face {
    font-family: iransans;
    src: url("../fonts/ttf/IRANSansWeb.ttf");
    src: url("../fonts/eot/IRANSansWeb.eot");
    src: url("../fonts/woff/IRANSansWeb.woff");
    src: url("../fonts/woff2/IRANSansWeb.woff2");
}
@font-face {
    font-family: chunk;
    src: url("../fonts/Chunk Five Print.otf");
    src: url("../fonts/ChunkFive-Regular.otf");
}
@media only screen and (min-width: 700px) and (max-width: 1980px){

    .accordion-content {
        width: 90%;
        margin: 0 auto;
        padding: 2rem;
        margin-top: 15px;
        background: #fff;
        box-shadow: 1px 4px 16px rgba(0, 0, 0, 0.09);
        border-radius: 8px;
    }


    .accordion-content>h2{
        font-size: 32px;
        padding-top: 4px;
        font-weight: 600;
        padding-right: 3px;
        padding-bottom: 7px;
        font-family: iransans;
    }
    .item-icon {
        margin-top: 8px;
        flex: 0 0 25px;
        display: grid;
        place-items: center;
        font-size: 1.25rem;
        height: 25px;
        width: 25px;
        border-radius: 4px;
        background: #ff6600;
        cursor: pointer;
        box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.09);
    }

    .item-question {
        font-size: 20px;
        padding-top: 4px;
        font-weight: 600;
        padding-bottom: 4px;
        font-family: iransans;
    }


    .item-answer {
        opacity: 0.8;
        font-size: 18px;
        font-weight: 700;
        font-family: iransans;
        width: 90%;
        padding-bottom: 6px;
    }



}
@media screen and (max-width: 750px) {
    .accordion-content {
        width: 94%;
        margin: 0 auto;
        background: #fff;
        box-shadow: 1px 4px 16px rgba(0, 0, 0, 0.09);
        border-radius: 8px;
    }
    .item-question {
        font-size: 13px;
        padding-top: 4px;
        font-weight: 600;
        padding-bottom: 4px;
        font-family: iransans;
    }


    .item-answer {
        opacity: 0.8;
        font-size: 12px;
        font-weight: 700;
        font-family: iransans;
        width: 90%;
        padding-bottom: 6px;
    }

    .item-icon {
        margin-top: 8px;
        flex: 0 0 15px;
        display: grid;
        place-items: center;
        font-size: 0.9rem;
        height: 18px;
        width: 18px;
        border-radius: 4px;
        background: #ff6600;
        cursor: pointer;
        box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.09);
    }
    .accordion-content>h2{
        font-size: 24px;
        padding-top: 4px;
        font-weight: 600;
        padding-right: 3px;
        padding-bottom: 7px;
        font-family: iransans;
    }
}
.accordion-item {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.09);
    cursor: pointer;
    background: #fff;

}
.item-content {
    max-height: 0;
    overflow: hidden;
    transition: all 300ms ease;
}
.item-header {
    display: flex;
    justify-content: space-between;
    column-gap: 0.2em;
}

.item-icon i {
     transition: all 0.25s cubic-bezier(0.5, 0, 0.1, 1);
     color: white;
 }

.active .item-icon i {
    transform: rotate(180deg);
}
