.section {
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.section-heading, .section-text {
    margin: 0;
}

.question-text {
    margin-bottom: 1rem;
}

.card-body {
    font-size: 1.2rem;
    padding: 1.23rem;
}

.answer-option {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.answer-radio-block {
    display: flex;
    gap: 1rem;
}

.question-card {
    margin-bottom: 1rem;
    scroll-margin: 5rem;
}

.question-anchor {
    position: absolute;
    top: -100px;
}

.test-section {
    display: flex;
    gap: 2rem;
}

.questions-section {
    flex: 1;
}

a {
    text-decoration: none;
}

.answers {
    display: flex;
    flex-direction: column;
}

/* Контейнер для кнопок */
.navigation-btn-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;

    /* Прибираємо фіксовану ширину */
    width: 250px; /* Контейнер займатиме всю доступну ширину */
    margin-bottom: 20px;
    gap: 5px;
}

/* Стилі для кожної кнопки */
.navigation-btn-block .btn {
    /* Робимо ширину адаптивною, щоб поміщалося 5 кнопок */
    width: calc(20% - 4px); /* 20% мінус відступи */
    height: 45px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}
