.questions {
    width: 87%;
    padding: 96px 5px 48px 5px;
    margin: 0 auto;
}

.questionsHeader {
    text-align: left;
}

.questionsHeader p {
    padding: 0;
    margin: 0;
}

.questionsHeader p:nth-child(1) {
    font-size: 48px;
    font-weight: 600;
    color: var(--main-blue);
    margin-bottom: 8px;
}

.questionsHeader p:nth-child(2) {
    color: #4B5563;
    font-size: 20px;
}

.questionsContentBlock {
    margin: 48px auto;
}

.questionsBlockHeader {
    font-size: 32px;
    color: var(--main-blue);
    font-weight: 500;
    margin-bottom: 32px;
}

.questionsBlockHeaderAdditional {
    margin-top: 42px;
}

.questionAnswer {
    padding: 0;
    margin: 0 !important;
}

.questionsContent ul li {
    min-height: 102px !important;
}

.transition, .questionsContent ul li .questionChevron, .questionAnswer {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, transform 0.3s ease-in-out, margin-top 0.3s ease-in-out, padding-top 0.3s ease-in-out;
}

.flipIn, ul li, h1 {
    animation: flipdown 0.3s ease both;
}

.no-select, .questionHeader {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.questionsContent {
    display: inline-block;
    width: 100%;
    height: 100%;
}

@media (max-width: 550px) {
    .questionsContent {
        box-sizing: border-box;
        transform: translate(0, 0);
        max-width: 100%;
        min-height: 100%;
        margin: 0;
        left: 0;
    }

    .questionsBlockHeader {
        text-align: left !important;
    }
}

.questionHeader {
    font-size: 24px;
    font-weight: 500;
    display: block;
    grid-column: 1;
    grid-row: 1;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.questionAnswer {
    color: #424242;
    font-size: 20px;
    font-weight: 300;
    grid-column: 1 / -1;
    grid-row: 2;
    position: relative;
    overflow: hidden;
    max-height: 1000px;
    opacity: 1;
    transform: translate(0, 0);
    margin-top: 24px;
    z-index: 2;
    padding-top: 30px;
}

.questionsContent ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.questionsContent ul li {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    column-gap: 24px;
    align-items: center;
    padding: 32px !important;
    margin: 0 0 32px 0;
    border: 1px solid #E5E7EB;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.questionsContent ul li:nth-of-type(1) {
    animation-delay: 0.5s;
}

.questionsContent ul li:nth-of-type(2) {
    animation-delay: 0.75s;
}

.questionsContent ul li:nth-of-type(3) {
    animation-delay: 1s;
}

.questionsContent ul li:last-of-type {
    padding-bottom: 0;
}

.questionsContent ul li .questionChevron {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    display: block;
    width: 32px;
    height: 32px;
    pointer-events: none;
    transform: rotate(180deg);
}

.questionsContent ul li .questionChevron img {
    display: block;
    width: 100%;
    height: 100%;
}

.questionsContent ul li input[type=checkbox] {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
}

.questionsContent ul li input[type=checkbox]:checked ~ .questionAnswer {
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    transform: translate(0, 50%);
    padding-top: 0;
}

.questionsContent ul li input[type=checkbox]:checked ~ .questionChevron {
    transform: rotate(0deg);
}

@keyframes flipdown {
    0% {
        opacity: 0;
        transform-origin: top center;
        transform: rotateX(-90deg);
    }
    5% {
        opacity: 1;
    }
    80% {
        transform: rotateX(8deg);
    }
    83% {
        transform: rotateX(6deg);
    }
    92% {
        transform: rotateX(-3deg);
    }
    100% {
        transform-origin: top center;
        transform: rotateX(0deg);
    }
}

@media (max-width: 550px) {
    .questions {
        width: 100%;
        padding: 48px 20px;
        margin: 0;
    }

    .questionsHeader p:nth-child(1) {
        font-weight: 600;
        font-size: 22px;
        line-height: 30px;
        text-align: center;
        margin: 0 auto;
    }

    .questionsHeader p:nth-child(3) {
        color: #4B5563;
        text-align: center;
        font-weight: 400;
        font-size: 12px;
        line-height: 18px;
        margin: 24px auto;
        width: 100%;
    }

    .questionsContentBlock {
        margin: 0 auto;
    }

    .questionsBlockHeader {
        font-size: 18px;
        line-height: 26px;
        text-align: left;
        padding: 10px;
        margin: 0 0 16px 0;
        font-weight: 600;
    }

    .questionsContent ul li {
        position: relative;
        padding: 16px 8px !important;
        margin: 0 0 16px 0;
        border: 1px solid #E5E7EB;
        border-radius: 12px;
        height: fit-content !important;
        min-height: auto !important;
        /*display: flex;*/
        /*flex-direction: row;*/
        /*flex-wrap: nowrap;*/
        /*justify-content: space-between;*/
    }

    .questionHeader {
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        height: fit-content !important;
    }

    .questionAnswer {
        color: #424242;
        font-size: 15px;
        padding-top: 16px;
    }

    .questionsContent ul li .questionChevron {
        width: 32px;
        height: 32px;
    }

}
