body {
    position: relative;
    top: 0;
    left: 0;
}

.card-level-test .card-header h3{
    line-height: 1.1 !important;
}

main {
    padding: 0 75px 40px 75px;
    background-color: #F8FAFE;
    /* background-image: url(../img/bg-quizz.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; */

    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}

.level-test header{
    padding: 25px 0;
}

.level-test header .logo{
    width: 12.5rem;
}

.block-timer{
    background-color: #fff;
    border-radius: 30px;
    padding: 5px 6px 5px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.block-timer p{
    margin-bottom: 0;
    padding: 0 8px;
}

.block-timer .timer{
    background-color: #5366F5;
    display: flex;
    border-radius: 27px;
    padding: 0 15px;
}

.card-level-test {
    border-radius: 25px;
}

#quiz-result-level-test .card-header,
.card-level-test .card-header {
    border-radius: 25px 25px 0 0;
    border-bottom: none;
    background: url("../img/bg-test-level.png") #5366F5;
    background-position: top left;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 2rem 2rem 1.5em !important
}

.block-timer .timer div{
    text-align: center;
    padding: 0 10px;
}

.block-timer .timer div,
.card-level-test .card-header h3 {
    color: #fff
}

.card-level-test .card-body{
    padding: 2.5rem;
}
.card-level-test .card-body fieldset{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.card-level-test fieldset img{
    display: block;
    margin: 30px auto;
    width: 100%;
}

.card-level-test .btn-primary{
    margin: 2rem 0 1rem;
}

.card-level-test fieldset:not(:first-of-type) {
    display: none
}
.progress {
    display: flex;
    height: 0.7rem;
    overflow: hidden;
    font-size: .75rem;
    background-color: #E9EBFF;
    border-radius: 9px;
    width: 50%;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #5569EC;
    transition: width .6s ease;
    border-radius: 9px;
    width: 10%;
}

.btn-primary.previous {
    background-color: #F8FAFE !important;
    border-color: #F8FAFE !important;
    color: #677788 !important;
}

.question-test{
    list-style: none;
}

.question-test .form-check label{
    margin-bottom: 0;
    cursor: pointer;
    color: #363636;
    font-weight: bold;
    width: 100%;
}
.question-test .form-check {
    text-align: left;
    border: 2px solid #5366F5;
    border-radius: 0.15em;
    padding: 15px 16px;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 1.5em;
    margin: 10px;
    cursor: pointer;
    width: 100%;
}
.question-test input[type="radio"],
.question-test input[type="checkbox"] {
    cursor: pointer;

    appearance: none;
    background-color: rgba(255, 255, 255, 0);
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.8em;
    height: 1.8em;
    border: 2px solid #5366F5;
    border-radius: 0.15em;
    transform: translateY(-0.075em);

    display: grid;
    place-content: center;
}

.question-test input[type="radio"]::before,
.question-test input[type="checkbox"]::before {
    content: "";
    width: 1.8em;
    height: 1.8em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--form-check-color);
    background-color: #5366F5;
    cursor: pointer;
}
  
.question-test input[type="radio"]:checked::before,
.question-test input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.question-test input[type="radio"]:checked::after,
.question-test input[type="checkbox"]::after {
    content: '';
    display: none;
    position: absolute;
    top: 2px;
    left: 9px;
    width: 6px;
    height: 14px;
    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.question-test input[type="radio"]:checked::after,
.question-test input[type="checkbox"]:checked::after{
    display: block;

}

.question-test .form-check + .form-check {
    margin-top: 1em;
}

.bg-active {
    background: #E9EBFF;
}

#quiz-result-level-test .card-header div{
    padding: 30px;
}

#header-quiz-final{
    display: none;
    position: relative;
    padding: 30px;
    width: 100%;
}

#quiz-result-level-test .card-header img,
#header-quiz-final img{
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#quiz-final {
    padding-top: 95px;
}
#quiz-final div{
    width: 100%;
}

#quiz-final .form-group{
    padding: 0 20px;
}

#quiz-final h3 {
    text-align: center;
    margin-bottom: 2rem;
}
#quiz-final label {
    color: #363636;
    font-weight: bold;
}

#quiz-result-level-test .card-body {
    margin-top: 75px;
}
#quiz-result-level-test .card-with-no-color-no-border .card-body {
    margin-top: 15px;
}

#quiz-result-level-test .card-with-no-color-no-border{
    background-color: #F7F8FA;
}

#quiz-result-level-test .card-footer{
    border-radius: 0 0 25px 25px;
}
#quiz-result-level-test .score{
    text-align: center;
    color: #5366F5;
}

#loadMore {
    color: #5366F5;
    text-decoration: underline;
}

.alphabet{
    position: absolute;
    font-weight: bold;
    top: 16px;
    left: 25px;
    color: #5568f6;
}

.fa-times-circle{
    color: red;
}

.fa-check-circle{
    color: #4DB217;
}

.modal-content {
    background-color: transparent;
}
.close{
    position: absolute;
    right: -40px;
    top: -40px;
  
    font-size: 3.5rem;
    color: #fff;
    text-shadow: none;
    opacity: 1;
}
.close img{
    height: 32px;
}
.quizz-header-img{
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-quizz{
    background-color: #5568f6;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    position: relative;
    margin-right: 20px;
    /* box-shadow: 0px 0px 9px #80808073; */
}
.image-quizz img{
    position: absolute;
}

.image-quizz .urlimage{
    top: 23px;
    left: 24px;
    width: auto !important;
    margin: 0 !important;
}

.image-quizz .urlaudio{
    top: 20px;
    left: 22px;
    width: auto !important;
    margin: 0 !important;
}

.pulse{
    animation: pulse 1900ms infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #5568f6;
    }
    75% {
        box-shadow: 0 0 0 15px #648DE500;
    }
}

@media screen and (max-width: 991px) {
    main {
        padding: 0 15px;
    }
    
    .level-test header {
        padding: 40px 0;
    }

    .question-test {
        padding-inline-start: 0;
    }

    .question-test .form-check{
        margin: 10px 0;
    }
    .close {
        right: -4px;
        top: -52px;
        font-size: 3rem;
    }
    .quizz-header-img{
        flex-direction: column;
    }
}

@media screen and (max-width: 500px) {
    main {
        padding: 0px;
    }

    .card-level-test .card-header{
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .card-level-test .card-header #header-quiz{
        margin-bottom: 10px;
    }

    .card-level-test .card-body {
        padding: 1rem 1.3rem;
    }
}