:root {
    --box-shadow: 0 4px 8px 0 rgb(0 0 0 / 30%);
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.justify-content-between {
    justify-content: space-between !important;
}

#FAQ {
    background: #ffedce;
    padding-bottom: 15px;
    max-height: 70vh;
    overflow-y: scroll;
    overflow-x: visible;
}

#FAQ::-webkit-scrollbar {
    right: -15px;
    width: 4px;
    background: #fefefd;
}

#FAQ::-webkit-scrollbar-thumb {
    background: #282929;
}

#FAQ .question {
    border-radius: 20px;
    background: #FFF;
    text-align: center;
    padding: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
}

#FAQ .answer {
    border-radius: 20px;
    background: #ffaf21;
    text-align: center;
    padding: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
}

#FAQ .question .avatar,
#FAQ .answer .avatar {
    position: absolute;
    top: -50px;
}


@media (max-width: 900px) {

    #FAQ .answer,
    #FAQ .question {
        margin-top: 20px;
    }

    #FAQ .question .avatar {
        left: 0px;
    }

    #FAQ .answer .avatar {
        right: 0px;
    }
}

@media (min-width: 900px) {

    #FAQ .question .avatar {
        left: -50px;
    }

    #FAQ .answer .avatar {
        right: -50px;
    }

    #FAQ .question::after {
        content: '';
        position: absolute;
        right: 100%;
        background-image: url(../img/chuyennha/arrow_q.png);
        background-size: cover;
        background-repeat: no-repeat;
        width: 21px;
        height: 18px;
        top: 20px;
    }

    #FAQ .answer::after {
        content: '';
        position: absolute;
        left: 100%;
        border-left: 0px solid #AB7800;
        border-bottom: 15px solid transparent;
        border-left: 15px solid #AB7800;
        top: 20px;
    }
}


@media (max-width: 767px) {

}

@media (min-width: 768px) {
    
}

#FAQ .answer {
    background: var(--main-color);
}

#FAQ .question p,
#FAQ .answer p {
    color: #000;
    font-size: 21px;
    font-family: inter;
    text-align: justify;
}