.question {
    color: rgba(50, 50, 49, 1);
    margin-bottom: 16px;
    font-size: 16px;
}

#quiz hr {
    opacity: 1;
    height: 4px;
}

#quiz .stage {
    display: none;
}

#quiz .stage.show {
    display: block;
}

#quiz .general-red-button {
    padding: 8px 18px;
}

#quiz h3 {
    font-size: 24px;
}


#quiz label {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 8px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 16px;
    font-family: 'Eastman Regular', serif;
}

#quiz label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.stage1 .checkmark,
.stage11 .checkmark,
.stage12 .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 1px solid rgba(233, 233, 231, 1);
    border-radius: 6px;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 1px solid rgba(233, 233, 231, 1);
    border-radius: 50px;
}

.quiz-stars {
    position: absolute;
    left: 0;
    top: -50px;
}

#quiz label:hover input~.checkmark {
    background-color: #ccc;
}

#quiz label input:checked:disabled~.checkmark {
    opacity: 0.5;
}


#quiz label input:checked~.checkmark {
    background-color: rgba(225, 59, 34, 1);
}

.answers_title {
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}


.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


#quiz label input:checked~.checkmark:after {
    display: block;
}

.back-button {
    background-color: rgba(251, 249, 245, 1);
    border: 1px solid rgba(233, 233, 231, 1);
    padding: 8px 18px;
    flex-shrink: 0;
}

.back-button:hover {
    color: rgba(50, 50, 49, 1);
}

#quiz label .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.stage1_checkox {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 40px;
}

.quiz-success-modal {
    padding: 40px;
}

.quiz-success-modal__text {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(50, 50, 49, 1);
}

.quiz-success-modal__image {
    max-width: 220px;
}

.quiz_buttons {
    display: flex;
    gap: 12px;
}

.quiz_content.mb-4 {
    height: 216px;
}

.form-inputs-quiz label {
    padding-left: 0 !important;
}

.stage4_checkox {
    max-width: 380px;
}

.stage4 .quiz_content {
    height: 236px;
}

.stage {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.stage.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease;
}

.stage.show.fade-in {
    animation: fadeIn 1s forwards;
}

.quiz-stars-2,
.quiz-stars-3 {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(0px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 1016px) {
    #quiz .col-4 {
        display: none;
    }
}

@media (max-width: 640px) {
    .stage1_checkox {
        gap: 0 20px;
    }
}

@media (max-width: 630px) {
    .stage4 .quiz_content {
        height: 215px;
    }
}

@media (max-width: 768px) {
    #quiz h3 {
        font-size: 20px;
    }

    .quiz-stars svg {
        width: 35px;
    }
}

@media (max-width: 576px) {
    #quiz h3 {
        font-size: 18px;
    }

    .stage1_checkox {
        grid-template-columns: repeat(2, 1fr);
        height: 234px;
    }
}

@media (max-width: 500px) {
    .stage1_checkox {
        grid-template-columns: repeat(1, 1fr);
    }

    .quiz-stars svg {
        width: unset;
    }

    .quiz-stars {
        display: none;
    }

    .quiz-stars-2 {
        position: absolute;
        top: 50%;
        right: 20px;
    }

    .quiz-stars-3 {
        position: absolute;
        top: 30%;
        right: 20%;
    }

    .quiz-stars-3 svg{
        width: 30px;
    }

    .quiz-stars-2,
    .quiz-stars-3 {
        display: block;
    }

}