﻿.question_block {
    margin-bottom: 8px;
    cursor: pointer;
}


.question_level_1 {
    background: #7924CE;
    box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    width: 100%;
    color: white;
    font-family: 'Montserrat';
    align-items: center;
    display: inline-grid;
    text-align: left;
    min-height: 70px;
    position: relative;
}

.question_level_1_text {
    font-size: 17px;
    line-height: 1.3;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: bold;
    padding-right: 70px;
    padding-left: 40px;
}

.level_2_text {
    position: relative;
    text-align: left;
    font-family: 'Open Sans';
    font-weight: 400;
    display: none;
    line-height: 1.5;
    background-color: white;
    padding: 30px;
    border-radius: 0 0 10px 10px;
    font-size: 15px;
    border: 2px solid #03D0A6;
    margin-bottom: 5px;
    padding-left: 100px;
    padding-right: 60px;
    box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.10);
}

.open .question_level_1 {
    font-size: 17px;
    background: #03D0A6;
    line-height: 1.3;
    border-radius: 10px 10px 0 0;
    font-family: Open Sans;
    font-style: normal;
    font-weight: bold;
}

.open .level_2_text {
    display: block !important;
}

.bulet_2 {
    width: 30px;
    left: -51px;
    top: 14px;
    height: 4px;
    background-color: #876CD6;
    position: relative;
    right: 40px;
}

.arrow {
    width: 25px;
    position: absolute;
    right: 40px;
    animation: arrow_moove_2 ease-in-out 0.4s forwards;
}


.open .arrow {
    width: 25px;
    position: absolute;
    right: 40px;
    animation: arrow_moove ease-in-out 0.4s forwards;
}


@keyframes arrow_moove {

    0% {
        transform: rotateX(0) scale(1);
    }

    50% {
        transform: rotateX(90deg) scale(0.5);
    }


    100% {
        transform: rotateX(180deg) scale(1);
    }
}


@keyframes arrow_moove_2 {

    0% {
        transform: rotateX(180deg);
    }

    50% {
        transform: rotateX(90deg) scale(0.5);
    }


    100% {
        transform: rotateX(0);
    }
}




.question_wrap {
    width: 100%;
    max-width: 860px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 767px) {


    .question_level_1_text {
        font-size: 15px;
        line-height: 1.3;
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 400;
        padding-right: 40px;
        padding-left: 20px;
    }

    .arrow {
        width: 15px;
        position: absolute;
        right: 20px;
        animation: arrow_moove_2 ease-in-out 0.4s forwards;
    }


    .open .arrow {
        width: 15px;
        right: 20px;
    }

    .question_wrap {
    max-width:400px;
    }


    .level_2_text {
        padding: 20px;
        padding-left: 60px;
        padding-right: 40px;
    }


    .bulet_2 {
        width: 20px;
        left: -41px;
        top: 14px;
        height: 4px;
        background-color: #876CD6;
        position: relative;
        right: 40px;
    }

}

@media (max-width: 400px) {

    .question_level_1_text {
        font-size: 14px;
        line-height: 1.2;
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 400;
        padding-right: 40px;
        padding-left: 15px;
    }



}