.faq-list {
    display: flex;
    flex-direction: column;
    margin: 33px 0 0;
}
.faq-quest {
    position: relative;
    border: solid 3px transparent;
    margin-bottom: 20px;
    animation: noActiveQuest 1s ease;
    background-color: #0f2f70;
    color: #ffffff;
    padding: 20px 48px 20px 20px;
    font-size: larger;
}
.faq-quest:after {
    position: absolute;
    content: '';
    top:0;
    bottom: 0;
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffffff'%3E%3Cpath d='M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E");
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    height: 100%;
    width: 48px;
}

@keyframes noActiveQuest {
    from {
        border-color: #9ac2fa;
    }
    to {
        border-color: transparent;
    }
}

.faq-quest.active {
    border-color: #9ac2fa;
    animation: activeQuest 1s ease;
}
.faq-quest.active:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffffff'%3E%3Cpath d='M480-528 296-344l-56-56 240-240 240 240-56 56-184-184Z'/%3E%3C/svg%3E");
}

@keyframes activeQuest {
    from {
        border-color: transparent;
    }
    to {
        border-color:  #9ac2fa;
    }
}
.faq-answ > ul:not(:last-child),
.faq-answ > p:not(:last-child) {
    margin-bottom: 20px;
}

.faq-answ {
    animation: showAnsw 1s ease;
    padding: 0 20px;
    margin-bottom: 20px;
}

@keyframes showAnsw {
    from {
        opacity: 0;
        height: 0;
        padding: 0;
        margin-bottom: 0;
    }
    to {
        opacity: 1;
        height: fit-content;
        padding: 0 20px;
        margin-bottom: 20px;
    }
}
.faq-answ.hidden {
    opacity: 0;
    height: 0;
    padding: 0;
    animation: hideAnsw 1s ease;
    margin-bottom: 0;
}
@keyframes hideAnsw {
    from {
        opacity: 1;
        height: fit-content;
        padding: 0 20px;
        margin-bottom: 20px;
    }
    to {
        opacity: 0;
        height: 0;
        padding: 0;
        margin-bottom: 0;
    }
}
.faq-answ.hidden p {
    height: 0;
    overflow: hidden;
    margin-bottom: 0;
    animation: hideAnswPar 1s ease;
}
@keyframes hideAnswPar {
    from {
        height: fit-content;
    }
    to {
        height: 0;
    }
}

.faq-answ p {
    animation: showAnswPar 1s ease;
}
@keyframes showAnswPar {
    from {
        height: 0;
    }
    to {
        height: fit-content;
    }
}