@charset "UTF-8";

.questions {
    padding: 80px 0 60px
}

.questions h2 {
    font-size: 80px;
    font-weight: 900;
    line-height: 92.8px;
    text-transform: uppercase;
    text-align: center
}

.questions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 60px
}

.questions-content-col {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.questions-item {
    border: 2px solid #e4e4e4;
    border-radius: 20px;
    padding: 30px;
    padding-bottom: 10px;
    cursor: pointer;
    overflow: hidden;
    max-height: 140px;
    transition: max-height .3s ease-out, background-color .3s ease-out
}

.questions-item__top {
    font-size: 32px;
    font-weight: 600;
    line-height: 37.59px;
    position: relative
}

.questions-item__top:before {
    content: url(../images/arrowAccor.svg);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    transition: transform .3s ease-out
}

.questions-item__bottom {
    font-size: 20px;
    font-weight: 400;
    line-height: 23.49px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out;
    padding-top: 20px;
    box-sizing: content-box
}

.questions-item.active {
    background: #e4e4e4
}

.questions-item.active .questions-item__top:before {
    transform: translateY(-50%) rotate(180deg)
}

@media (max-width:1400px) {
    .questions h2 {
        font-size: 60px
    }

    .questions-item__top {
        font-size: 24px;
        line-height: 30px
    }
}

@media (max-width:1150px) {
    .questions-content {
        display: flex;
        flex-direction: column
    }
}

@media (max-width:900px) {
    .questions h2 {
        font-size: 48px;
        line-height: 60px
    }

    .questions h2 br {
        display: none
    }
}

@media (max-width:650px) {
    .questions {
        padding: 30px 0
    }

    .questions .container {
        padding: 0 10px
    }

    .questions h2 {
        font-size: 30px;
        line-height: 34px
    }

    .questions-item {
        padding-right: 8px
    }

    .questions-item__top br {
        display: none
    }
}