/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Анимация исчезания */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

#testing-question-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px); /* Размытие */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    z-index: 99;
}

#testing-question-form{
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--neutral-background-color);
    z-index: 100;
}

.tqf-btn-round {
    background-color: var(--main-select-color);
    border-color: transparent;
    font-size: 2rem;
}
.tqf-btn-round:hover {
    background-color: var(--main-select-color);
    border-color: transparent;
}

#tqf-complexity {
    font-weight: bold;
    line-height: 2rem;
    text-align: center;
    height: 2rem;
    width: 2rem;
    background-color: transparent;
    border-radius: 50%;
    border: 2px var(--round-container-border-color) solid;
    color: var(--btn-font-color);
}

#tqf-cntdwn-val {

}

.tqf-btn-panel {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
}

#testing-question-form-overlay.show {
    visibility: visible;
    opacity: 1;
    animation: fadeIn 0.3s ease forwards;
}

#testing-question-form-overlay.hide {
    animation: fadeOut 0.3s ease forwards;
}